Skip to main content

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 @matanper!

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 @matanper!

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 @matanper!

You certainly can! Here’s our docs on the ability/limitations of using Django logic:

Best,

Brian


Hey @Brian Turcotte, The link isn’t working


Hi @matanper!

Sorry about that! Should be fixed now. 

 

Best,

Brian


Reply