Learn how to send email alerts for failed Razorpay payments to accounting teams using Pabbly Connect in this step-by-step tutorial. Discover hidden automation capabilities within your existing tools. This guide shows you how to connect your essential applications and permanently eliminate redundant manual processes.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Email Alerts

In this tutorial, we will use Pabbly Connect to send email alerts for failed Razorpay payments to our accounting teams. To begin, open the Pabbly Connect website by searching for it in your browser. If you’re new, you can sign up for free to get started with 100 tasks monthly.

Once on the landing page, click on the ‘Sign In’ button if you are an existing user. After logging in, you will see various Pabbly applications. Click on ‘Access Now’ under Pabbly Connect to start working on your automation.


2. Creating a Workflow in Pabbly Connect

After accessing Pabbly Connect, you will be directed to your dashboard. Click on the ‘Create Workflow’ button to begin setting up your automation. You will be prompted to name your workflow; enter ‘Send Email Alerts for Failed Razorpay Payments to Accounting Teams’ and choose the folder for saving it.

  • Click on ‘Create’ to open the workflow window.
  • In the workflow, you will set a trigger and an action.
  • Select Razorpay as the trigger application.

This setup ensures that every time a payment fails in Razorpay, your workflow is activated to send an email alert via Pabbly Connect.


3. Setting Up the Trigger for Failed Payments

In this step, you will configure the trigger for your workflow. Select Razorpay as the trigger application and choose the event as ‘Payment Failed’. This event will initiate the workflow whenever a payment fails.

After selecting the trigger event, Pabbly Connect will provide you with a webhook URL. Copy this URL as it will be used to link your Razorpay account with the workflow. Next, log into your Razorpay account and navigate to the ‘Webhooks’ section under settings.

  • Click on ‘Add New Webhook’.
  • Paste the copied webhook URL into the designated field.
  • Select the event as ‘Payment Failed’ to ensure you only receive alerts for failed transactions.

Finally, click ‘Create Webhook’ to finalize the integration. This connection allows Pabbly Connect to receive data from Razorpay whenever a payment fails.


4. Filtering Payments for Specific Products

To ensure that alerts are sent only for specific products, we will add a filter condition in Pabbly Connect. This step is crucial as it allows you to limit the notifications to only those transactions that meet your criteria.

In your workflow, add a new action step and select ‘Filter’ as the application. Set the filter condition to check if the payment amount equals 1,000 (representing your specific product). Click on ‘Save and Send Test Request’ to confirm that the filter operates correctly.

This filter ensures that only failed payments for the t-shirt sale trigger email alerts. If the payment fails for any other product, no alert will be sent.

This targeted approach enhances the efficiency of your email notifications, ensuring that your accounting team only receives relevant alerts through Pabbly Connect.


5. Sending Email Alerts to Accounting Teams

Now that we have set up the trigger and filter, the next step is to send email alerts to your accounting team using Pabbly Connect. In your workflow, add another action step and select Gmail as the application.

Choose the action event as ‘Send Email V2’. Connect your Gmail account by following the prompts to authorize Pabbly Connect to send emails on your behalf. Enter the email address of your accounting team, set the subject as ‘Urgent Failed Razorpay Payment Notification’, and customize the email content to include relevant details about the failed payment.

Map the customer’s phone number and email from the Razorpay response to dynamically populate the email content. This ensures that the email contains all necessary information for your accounting team to follow up.

Finally, click on ‘Save and Send Request’ to send the email. Your accounting team will now receive alerts for any failed Razorpay payments, ensuring prompt follow-up and resolution through the seamless integration provided by Pabbly Connect.


Conclusion

In this tutorial, we demonstrated how to use Pabbly Connect to send email alerts for failed Razorpay payments to accounting teams. By following these steps, you can streamline your payment management process and improve communication within your team.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.

Utilizing Pabbly Connect for automating email notifications enhances your operational efficiency, enabling quicker responses to payment issues. Start implementing this integration today for better financial management!