12-13-2021 02:26 AM
Hello,
We want to do the following:
- When an call arrives open an HTTP url;
Content type: application/JSON
url: https://example/user/callid
body:
{
"phoneNumber": "${fromAddress}"
}
the API will send an response.
Can we display the response in Finesse with the default workflow features or do we need to programm an custom gadget for this?
The API will send an
Solved! Go to Solution.
12-13-2021 05:02 AM - edited 12-13-2021 05:02 AM
Yes - this is very possible to do and not that difficult.
The built in workflows in Finesse is not the way to do this - as they are for just firing off a request but cannot deal with responses etc.
But you can create a custom gadget - and there is a very good sample gadget which will get you a lot of the way there.
Check out the "External Rest API Sample Gadget"
https://developer.cisco.com/docs/finesse/#!sample-gadgets/sample-gadgets
Direct link:
(note for Finesse versions above 11 - you just use the Finesse 11 version).
Regards,
Gerry
12-13-2021 05:02 AM - edited 12-13-2021 05:02 AM
Yes - this is very possible to do and not that difficult.
The built in workflows in Finesse is not the way to do this - as they are for just firing off a request but cannot deal with responses etc.
But you can create a custom gadget - and there is a very good sample gadget which will get you a lot of the way there.
Check out the "External Rest API Sample Gadget"
https://developer.cisco.com/docs/finesse/#!sample-gadgets/sample-gadgets
Direct link:
(note for Finesse versions above 11 - you just use the Finesse 11 version).
Regards,
Gerry
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