Skip to main content

Hi everyone

 

Flow is a great feature. However I am trying to achieve a case is:

Sending a flow webhook but the url needs to be dynamic for user profile field

Like this

https://www.test.com?user_id={{ person.id|default:'' }}

However when saving it will show error : “Invalid webhook URL, please try again”

Is there anything I am doing wrong here?

Hi @Darrell, welcome to the dev group community here.

My understanding is you can’t use personalization/event variables as part of the Webhook URL at the moment.  I tried a bunch of other variables as well, and it doesn’t work.

The best workaround I can think of is to pass the ID as part of the JSON Body and parse it out on your webhook receiver and then route it accordingly. 


Hi @retention 

Thanks for the solution. Yes it’s part of my last solution to come up with. Since that might require another server or something like cloud function to use as middleware. 

We would really like to have some similar function like this since we used another cross channel marketing platform before and it can be done easily on there.

I know use parameter on URL might cause some url encode issue. 


Reply