capture the response of a webhook in order to use it to fire another trigger
1. Created Webhook with Get call ,Response Body as result
"results": [
{
"id": 1505865345961,
"url": "https://{SUBDOMAIN}/api/v2/users/{USERID}.json",
"name": "Name here"}]
2. Created Webhook with PUT call, able to use this webhook in trigger by giving JSON Body to update require fields.
{"ticket":{"custom_fields":[
{"id":4412729343881,"value":"{{webhookResponse.body.results.id}}"}]}}
Usecase : Not able to use this response body in Triggers /Automations
-
Hi Kirthi IH,
While you can't use webhooks to orchestrate multiple API calls, it may be possible for you to leverage User placeholders as per this article to update the ticket. Just keep in mind that this type of workflow is not recommended for use with webhooks as it can cause errors or behave in unexpected ways as outlined by this article.
Alternatively, you may want to consider leveraging Zendesk Integration Services for this use case, if you or your team has development capabilities
Please sign in to leave a comment.
1 Comments