Hi,
i have two forms named form A and form B in two different pages and on airtable when the webhook is received, i need to run a script to check whether the data is coming is either form A or form B( either by form name or by hidden field).
Am new into this and am not able to run the script functionality using this. am confused about data fetching. Could anyone please help how to update script code to check conditionally which form is submitted when a webhook is received?
Answer
Webhook automation data sorting from different forms
Best answer by Bill_French
It’s difficult to provide guidance concerning your code without seeing your code.
@Ben.Young is right - the payload sent to your automation Webhook should have a field indicating the source of each update. From that, you simply test that value to determine which branch of the automation script to execute.
Bottom line - there has to be a way to infer the origin of your calls to a single webhook listener.
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
