I have a workflow setup that runs on submission of a form. The workflow has two branches - for both branches, I want the Trigger Webhook function to run sending a JSON package to an external URL.
This works fine on the ‘else’ side (sending the JSON), but the Trigger Webhook action does not run if the conditions are met and ‘branch 1’ is executed - it is simply skipped while all other actions are running. I’ve tried adding a ‘wait for condition’ action as well ahead of it, but it does not change anything. All the data is available so that should not be stopping the action from running.
I’ve looked through the forum and exhausted the potential settings I can amend. Any idea for what I could do?
Yes - there are already notification actions above the trigger webhooks, which on both branches display correctly. In the log file it shows that all other actions trigger correctly, except for the Trigger Webhook on the left-hand branch.
I see that you have 5 conditions in the wait just before the Trigger Webhook.
Are you confident that all 5 of them are being met?
What do you see in the workflow run log? Check the exit status of the wait.
I would add a notification between the conditional wait action and the webhook trigger: if the notification doesn’t display, then you probably have to troubleshoot the conditional wait action.
I’ve also tried removing the ‘wait for conditions’ action, as it was solely placed there to see if it could help trigger the Trigger Webflow action. This did not help as the Trigger Webflow did not run either.
As a third option, I tried placing the Trigger Webflow at the beginning of the branch to see if the other actions would run. And yes, it skips right past the Trigger Webflow.
And @Darren_Murphy, there is no exit status of the wait in the log as it also seemed to skip this action.
Could it be that the published site doesn’t update to reflect the workflow with a Trigger Webhook on both branches as it initially only had the Trigger Webhook on the ‘else’ branch?
As you’ll see from the above workflow, I want to Trigger a Webhook that sends a JSON with the data from the original row in the data, which it does fine with the workflow above. But I also want to send a JSON with the new added row - adding a Trigger Webhook again after the ‘Add row’ action just sends the original row. How would I go about sending the new row that has been added as well?