SergioRota | 2018-05-08 09:15:11 UTC | #1
Hi,
how Can I use Data Actions in PureCloud outside of Architect?
ex. I have a Custom Action that check the status of Edges, how can I see It in PureCloud or use the action for send notification email when the edge stops?
Thanks
Jason_Mathison | 2018-05-08 12:30:21 UTC | #2
I don't have any experience embedding code inside of the PureCloud UI, so I can't help you there.
The API for executing an action is public https://developer.mypurecloud.com/developer-tools/#/api-explorer -> Integrations -> Actions -> Post
The easiest way to see this in action is to open up a developer console in your browser and then test an action from the PureCloud administrative UI. You will see the /test route run against your action. You can change that to /execute to run the action normally.
If you wanted to run your edge action every minute you could create a pretty small application that takes care of OAuth authentication and then executes the action on a schedule.
SergioRota | 2018-05-08 14:16:46 UTC | #3
Thanks Jason,
Jason_Mathison, post:2, topic:2829
developer console
Can you give me a example for a developer console?
tim.smith | 2018-05-08 14:20:45 UTC | #4
https://developer.chrome.com/devtools
SergioRota | 2018-05-08 14:37:27 UTC | #5
Thanks Tim,
Jason_Mathison, post:2, topic:2829
small application
Instead how can I create an application to run this action every minute?
tim.smith | 2018-05-08 14:46:36 UTC | #6
You can use any language/platform/framework you like to write an application to interact with PureCloud APIs as long as it's able to make REST requests. Your app will need to authorize with PureCloud before it can make those requests. If custom app development is outside the scope of your company's offerings, Genesys Professional Services can be contracted to gather requirements and build the custom app for you.
system | 2018-06-08 14:46:37 UTC | #7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 2829