10-05-2023 06:06 AM
Hi,
I would like to inquire whether it's possible to call the WxCC API within a flow. My intention is to modify the value of a global variable within the flow, enabling authorized business users to update the global variable status using phone calls.
For example, I have created a global variable called "Emergency_Status," which I've incorporated into two of my flows:
I understand that WxCC doesn't support the concept of persistent variables, and the only way to update them is through the CCMP (CH) interface. However, I am exploring the possibility of using the activation flow to update this variable's value. While I'm aware that even if I manage to update the value, it will only be valid within the session and not outside the flow. Nevertheless, if I can utilize the WxCC API to update the value within the flow, it may allow me to achieve my desired outcome.
I found the following resource that can be used for global variable API.
https://developer.webex-cx.com/documentation/global-variables/v1/retrieve-global-variables-by-id
Could any one please advise if there is a way to use the WxCC API within the flow designer?
Regards,
Shalid
10-25-2023 08:15 AM
Hello,
Apologies for the delay. Have you tried using the HTTP Request Flow Control? I'm just testing that on my side, by creating a custom connector and adding details for that in the HTTP request flow control. Will let you know how that goes but you can possibly try testing that too.
01-04-2024 02:47 PM
Any luck?
04-11-2024 05:22 AM
Sorry for the delay in getting back. You can use the HTTP Request flow control for this. You will have to create a custom connector (i.e. an integration, see this: Integrations | Webex Contact Center for Developers) so that you can then use the resulting OAuth access token created from that to make the API request. This is possible.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide