How to email error message to user when a flow fails?
Status: Open · Asked by Anders Nielsen on · 0 views
Is there a way to send an errors message everytime a workflow fails at a step? I would like to email a custom error mail like this to users:
---
Hi
The flow failed at this step:
- .
Please check fix the error in your submission and retry.
If you need further help please contact .
---
I can easily make an email action in a flow but if I want to be able to send emails on every error flows make, how could I do that?
Hi @apps,
You can set up a new workflow with 'Pabbly Connect Manager: New Workflow Error' as your trigger step. This workflow will be triggered every time there is a failed step during the execution of any of your workflows. Along with this, you can use Gmail as your action step to send emails.
Thanks @ArshilAhmad ! Can I limit the ons that send the error message to be only from workflows that are inside a certain folder in Pabbly Connect?
For that, you can add a Filter as Step 2 of your workflow. This will ensure that the Gmail step is executed only if the workflow is triggered for an error in a workflow present in a specific folder.
Thanks! Sounds great but I have two issues.
1. I can't seem to make the error trigger even though I have added the Webhook to settings in Pabbly, activated it.
This is my Pabbly manager workflow.
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzA1MjZkNTUzNzUxM2Ii_pc
it does not seem to trigger even when I trigger it by causing this error:
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzI1MjZhNTUzNTUxM2Ii_pc. which sends to this: https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzI1MjZhNTUzNTUxMzYi_pc
And fails
But still I get no response from the Pabbly Manager Workflow.
2. I can't see when testing that it sends the name of the step where the workflow fails? I would like to send the name of the step that fails along with the error message because the step name tells the user what caused the issue.
Thanks! Sounds great but I have two issues.
1. I can't seem to make the error trigger even though I have added the Webhook to settings in Pabbly, activated it.
This is my Pabbly manager workflow.
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzA1MjZkNTUzNzUxM2Ii_pcit does not seem to trigger even when I trigger it by causing this error:
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzI1MjZhNTUzNTUxM2Ii_pc. which sends to this: https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzI1MjZhNTUzNTUxMzYi_pcAnd fails
But still I get no response from the Pabbly Manager Workflow.
Please allow us some time to look into your concern. We will get back to you with an update soon.
2. I can't see when testing that it sends the name of the step where the workflow fails? I would like to send the name of the step that fails along with the error message because the step name tells the user what caused the issue.
Currently, we do not include this information in the 'New Workflow Error' trigger response. If you would like this information to be captured in the trigger response, please submit your request on our dedicated platform: https://pabbly.featureos.app/b/Feature-Request
Thanks!
About number 2. actually I have my flows setup like this:
What I would like to do is to send an alert whenever the flows stops at one of these filters, because then the user would know that they haven't provided what's required. Eg. if it stops at step 4, I would like to email them that "4. STOP if no profile photo found" did not complete - so they know they have to add a profile photo. How can i do this? And can I somehow restructure the workflow to make it so that I can provide this info as the workflows stops?
What I would like to do is to send an alert whenever the flows stops at one of these filters, because then the user would know that they haven't provided what's required. Eg. if it stops at step 4, I would like to email them that "4. STOP if no profile photo found" did not complete - so they know they have to add a profile photo. How can i do this? And can I somehow restructure the workflow to make it so that I can provide this info as the workflows stops?
You can set up a Router action step with separate routes. These routes can be used to filter conditions where missing data, such as the profile picture or other information, can be processed within the route and a notification can be sent.
Thanks! Sounds great but I have two issues.
1. I can't seem to make the error trigger even though I have added the Webhook to settings in Pabbly, activated it.
This is my Pabbly manager workflow.
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzA1MjZkNTUzNzUxM2Ii_pcit does not seem to trigger even when I trigger it by causing this error:
https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzI1MjZhNTUzNTUxM2Ii_pc. which sends to this: https://connect.pabbly.com/workflow/mapping/IjU3NjUwNTZiMDYzMDA0MzI1MjZhNTUzNTUxMzYi_pcAnd fails
But still I get no response from the Pabbly Manager Workflow.
Our team suggests that you try creating a new workflow. Set up Pabbly Connect Manager as the trigger step in this new workflow in a similar manner to what you did previously, and see if this new workflow captures the errors.