In automations triggered by a webhook, is it possible to use the same webhook/automation with different data payload structures? For example, if I’m importing data from 2 different forms with different JSON properties, can I then use conditional logic in the automation to parse the data differently? I know when you test the webhook trigger, it lists the properties, but could you bypass it to handle variations?
I don’t believe that is possible, but you should be able to do that with Make’s custom webhooks, and then you can communicate with Airtable using Make’s Airtable modules. You can also parse JSON using their JSON modules.
But just to be sure, open up a support ticket with Make to verify the information I gave you above
Also, if you’ve never used Make before, I’ve assembled a bunch of Make training resources in this thread.
- ScottWorld, Expert Airtable Consultant
Ha, yeah, you can sorta do this but it’s clunky
Let’s assume the two payloads are:
{
"formType": "A",
"text": "A"
}
and
{
"formType": "B",
"number": 1
}
And so to get this to work, you’d manually send in a trigger via Postman or whatever with the combined payload structure:
{
"formType": "B",
"text": "A",
"number": 1
}
And then you can use conditionals to use the data selectively:
Thanks Adam and Scott. That’s what I figured.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.