However when saving it will show error : “Invalid webhook URL, please try again”
Is there anything I am doing wrong here?
Best answer by retention
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 @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.
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.