Skip to main content
Question

Use field value in URL of Webhook HTTP Json PUT request

  • July 8, 2022
  • 0 replies
  • 91 views

I have a webhook setup using the HTTP Json PUT request to update a value in a specific record of a 3rd party system, TopDesk. The body contains the change data instruction. All works well when I specify at the end of the URL the search value. Instead of using a hardcoded value entered in the pipeline I want to use a field value from the record that triggers this pipeline upon change. Can someone help me how to code the table & field name properly in the URL to make this work ? thank you !

https://ark.topdesk.net/tas/api/incidents/number/I076116



------------------------------
Waldo Remijn
------------------------------
This topic has been closed for replies.

SSNJeffP
Forum|alt.badge.img+11
  • Registered
  • July 8, 2022

Hi Waldo,  

You simply need to trigger this from a 'Record Updated' pipeline step.   
Trigger on Any Field = NO
Trigger on any of these specific fields = your field

Make sure this same field is also selected under 'Fields for Subsequent Steps'.

Then,  in your request step you will replace that last part of the URL with that field from step A like this:

https://ark.topdesk.net/tas/api/incidents/number/{{a.field_value}}



------------------------------
Jeff Peterson
------------------------------