Trigger a webhooks with parameters


Anybody know if this is possible? inside a workflow went you create a trigger a webhook, add parameters to that URL like email contact, name…




I want that too!
I thought that was the case of using a webhook, calling a webservices with a set of parameters.
Maybe we will have to wait for a next version… or find a hook to this webhook :slight_smile:




@ethos you can add parameters to the web-hook URL however not in a dynamic way, only in a static way at the moment.



I have answered to this post without understanding the magic behind webhooks!!
We don’t need parameters since everything is already in the JSON sent by the webhook.

The code behind the called URL has just to parse the JSON and extract all is needed to do the right job.

Thanks anyway and special thanks to Mathias Cothenet :slight_smile:


Hi, how can I add parameters into a webhook url?


@John_R Inside of a workflow you can simply add a query string at the end of your url


But can the query string have variables? Like properties?


Hi @Sergio,

This isn't possible. Workflow webhook actions are fairly simple, and don't allow dynamic URLs. One (somewhat hacky) workaround would be to create if/then branches based on contact properties, and have webhook actions with different query parameters in the different branches.


I also need to be able to send paramters in Json to external links. Bumping the thread.


When "dynamic url" is used in conversation here, does that mean we cannot use contact property tokens in a webhook URL to pull only the relevant data from the contact record? We must always send a full payload and then parse the JSON to retrieve the necessary data?


Hi @kbuckles,

The webhook action in workflows does not support customizing the webhook payload or URL; a POST request will send the full contact JSON, but that's the extent of the functionality. You might want to investigate the new Workflow Extensions functionality instead. They still don't support query parameters at this time, but you have full control over the payload of the request: