What are you trying to achieve?
I have a scenario with a webhook. If the webhook ‘fires’ then I ‘know’ that all I have to do is execute some sql that will go get new rows in the database. I don’t that data passed to the webhook. But the documentation seems to suggest that I need to create a data structure and pass the data.
So. Can I use a webhook without a data structure?
Thanks!!
Paul
Hi @Paul_Murray,
A data structure will be determined automatically, but it is not a required step. You can set up your webhook and then the rest of your scenario as you please.
However, the reason for determining the structure is that you can map the items in subsequent modules. If no structure is determined, Make cannot give you the items of the webhook payload for you to map. So if you can trigger the webhook to determine the structure, that would be best.
Cheers,
Henk
Thank you, Henk!
I would still be able to map data elements for the JSON / HTTP call from the elements specified in the SQL query, correct?
Thank you,
Paul
Hi @Paul_Murray,
Yes, that is correct. Make just assumes you would need the structure of an incoming webhook, but this is not always the case.
If your webhook is only used as trigge,r but contains no valuable payload then that is absolutely fine!
Cheers,
Henk
1 Like