I want to save the content of a message sent to Zapiers webhook in Json-fomat.
Where would you like to save it?
Do you want to save the entire JSON body, or a message that is contained within the body?
For that, you can use a formatter, code, or AI step to pull it out, then you can send it off to wherever you want to save it.
Hi David,
I want to save the entire Json body.
And save it to a text-file in Google drive.
You can use a Google Docs step to create a new document and fill the document content field with the json body. Then use a Google Drive step to upload the document to a specific folder in your Drive.
Ok, but how do I fill the document with the entire Json body?
Inside the configuration step for the Google Doc, click the plus sign next to the “Document Content” field. Then select the previous step that contains the JSON body, and then the field that contains the JSON body. It will get dynamically filled each time the zap runs.
David, that is the problem I am facing. I want the whole message from step 1 not a field in the underlaying stucture. I can only select fields not the whole message.
Ah. There’s a workaround for this, but it requires a second zap. Or if you can “catch raw hook” from a Zapier webhook step, that might just give you the whole body too.
Can you post a screenshot of your entire zap setup, and point out where the JSON body is coming from (if it’s not clearly obvious)?
In the trigger, have you selected to catch raw hook?
Hi
Try this Zap trigger: Webhook - Catch RAW Hook
Or try this workaround:
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.