Hey, is it possible to pass the entire event in a webhook and not just specific fields?
Any way I try get an invalid json error
Thanks
Hey, is it possible to pass the entire event in a webhook and not just specific fields?
Any way I try get an invalid json error
Thanks
Hi
Per our documentation on webhooks here:
For any metric-triggered flows, you can pass profile properties and dynamic event data associated with the triggering event. For instance, for a Placed Order event, you can include aspects such as the item(s) left behind, their price, the total for the cart, as well as the customer’s name and address.
There’s no way to copy and paste the entire event in the body of the webhook, but you can fill out a simulated version with the available event data. Just make sure you’re clicking View profile and event variables in the body statement and selecting the variables from there.
I hope this helps to clarify, and thanks for using the Community!
- Brian
Hi
Per our documentation on webhooks here:
For any metric-triggered flows, you can pass profile properties and dynamic event data associated with the triggering event. For instance, for a Placed Order event, you can include aspects such as the item(s) left behind, their price, the total for the cart, as well as the customer’s name and address.
There’s no way to copy and paste the entire event in the body of the webhook, but you can fill out a simulated version with the available event data. Just make sure you’re clicking View profile and event variables in the body statement and selecting the variables from there.
I hope this helps to clarify, and thanks for using the Community!
- Brian
Thanks for the quick response
Too bad it’s impossible… is there a way to add support for custom django filters? (like this https://gist.github.com/jtiai/5002929)
Hi
You certainly can! Here’s our docs on the ability/limitations of using Django logic:
Best,
Brian
Hey
Hi
Sorry about that! Should be fixed now.
Best,
Brian
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.