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:
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?
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 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
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