• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

How to email error message to user when a flow fails?

apps

Member
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 <Username>
The flow <Name of flow> failed at this step:
- <Stepname>.

Please check fix the error in your submission and retry.

If you need further help please contact <email of a person>.
---

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?
 

ArshilAhmad

Moderator
Staff member
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.
1712168364207.png


 

ArshilAhmad

Moderator
Staff member
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.
1712248514713.png
 

apps

Member
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.
1712258681475.png

This is my Pabbly manager workflow.

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
1712258564222.png


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.
 

ArshilAhmad

Moderator
Staff member
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.
View attachment 40517
This is my Pabbly manager workflow.

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
View attachment 40516

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
 

apps

Member
Thanks!

About number 2. actually I have my flows setup like this:
1712302347054.png

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?
 

Supreme

Well-known member
Staff member
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.
 

ArshilAhmad

Moderator
Staff member
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.
View attachment 40517
This is my Pabbly manager workflow.

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
View attachment 40516

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.
 
Top