on 2019 Oct 16 5:33 AM
Hi,
when i call a webhook i get certain data, how do i use the same response data to make a new quick reply.
thanks
Hi ravi_yadav, if you are using our new api_response_service (https://help.sap.com/viewer/a4522a393d2b4643812b7caadfe90c18/1909/en-US/31f328484e0f40f98d12a507e6f7...) you can store the response into an object into the memory or directly use it in a message such as {{api_service_response.MY_OBJECT}} if you are using the webhook system the return of your webhook needs to be compliant to the JSON message format see here: https://help.sap.com/viewer/a4522a393d2b4643812b7caadfe90c18/1909/en-US/75174bf0017548fa86d602f22751...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
You can use below format for quick reply . in your webhook as response, Please look at this link for further structure messages.
https://cai.tools.sap/docs/concepts/structured-messages
{"type":"quickReplies","content":{"title":"TITLE","buttons":[{"title":"BUTTON_TITLE","value":"BUTTON_VALUE"}]}}
regards,
Sudip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.