Json POST request to a webhook

  • 6 June 2020
  • 1 reply

Hi everyone !

I have some issue with the Code by Zapier action.

I would like to send from a main zap (containing the code), Json data (if not empty), to a webhook URL that is related to another zap (which after do some stuff).

Here’s my code, I got no error, but the zap with the (catch) Webhook doesn’t receive anything.

let optionsPost = { 
  method: 'POST', 
  headers: authHeaders 

fetch('', {
    }).then(function(response) {
        return response.text();
    }).then(function(responsebody) {
        var output = ;
        callback(null, output);
    }).catch(function(error) {


I’ll be reaaaaally greatfull if someone could help me solve this problem.
My goal is to collect data from the Airtable API, sort them, and activate many other zap by posting thos data to the right URL.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +12

Hi @Mathieu Quiniou


If you’ve not done this already, could you try using an app like Postman to test the webhook that’s being sent. That’s a good first step. If that doesn’t give you any clues, let us know!