Skip to main content

Hi everyone,

I want to catch a web hook but NOT define the fields that I am expecting ahead of time. Basically a catch all - whatever the payload comes in - I want to see that json sent to me as an e-mail for example.

How do I do that? The catch webhook expects that I define what I am expecting to catch and that’s the one thing I can’t do - I don’t know how it will show up and that is why I want to simply catch whatever json shows up at the door and send it to me unmodified?

Is it possible? If yes please share your suggestions with me

Thank you

Hi @bubba198 ,

You can just use a trigger with a Webhook Catch and don't need to fill in anything.

This you can later then re-use in your automation. 

 

If the fields you are getting with this webhook are always dynamic, different etc. you can use some Code by Zapier step to make sure it comes into the right format.

Let me know if this helps.

~Bjorn


@ForYourIT Thank you for the quick reply Bjorn, I did just that but I had to specify an action as well - I opted for simple e-mail. Then when I POST to my webhook end point for a test it fails here because the body of the e-mail could not be populated since I didn’t specify what to fill it with since I didn’t have anything to select (because I want catch all not specific fields)

 

 


Then use the Catch Raw Hook as event. This will give you the possibility to use the raw body in later workflow actions;

 


@ForYourIT That was it. Thank you! You’re awesome sir!