Forum Discussion

WaldoRemijn's avatar
WaldoRemijn
Qrew Member
3 years ago

Use field value in URL of Webhook HTTP Json PUT request

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
------------------------------
  • 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
    ------------------------------
    • WaldoRemijn's avatar
      WaldoRemijn
      Qrew Member
      Works like a charm Jeff, thank you !

      ------------------------------
      Waldo Remijn
      Founder
      Go Improve Ltd
      Sevenoaks United Kingdom
      ------------------------------