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:
- In the general flow check the current status of the variable ({{Emergency_Status == true}}) to play or not to play emergency treatment.
- In the activation flow to update the variable
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