Graham
January 30, 2020, 7:22pm
1
Anyone know if it’s possible to handle a Webhook that handles different
data sets down it ?
I have the same Webhook in different scenarios and set the data structure but it appears the Webhook in each scenario will send a default response back - hence multiple responses and I can’t seem to turn it off.
Thanks
I would recommend adding a second Webhooks for the other scenarios. Or possibly adding a filter module to effectively make an if/then scenario?
Graham
January 30, 2020, 7:44pm
3
Needs to be the same Webhook - not in control of the other ends API
Think you need a different scenario for each different format of data so if/then don’t work.
Though I could have this all back to front
After the filter can you put in a router step to direct it? I’m new to Integromat still but I’ve had some luck with that.
Graham
January 30, 2020, 8:02pm
5
I’m using router with filter etc with Webhook responses on the end
But it appears if it doesn’t run one of the defined Webhook responses it does a default response.
So multiple responses if you have multiple scenarios with the same Webhook.
Graham
January 31, 2020, 12:50pm
6
In the end I crafted a REST call to simulate all the API so the webhook could get the dataset and then just did it in one scenario.
1 Like