Learn how to integrate Razorpay with Slack using Pabbly Connect to send instant notifications for canceled payments. Step-by-step tutorial included. Develop expertise in application integration and learn how to design streamlined automation workflows using proven, simplified approaches.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for Razorpay and Slack Integration

To send Razorpay cancel payment notifications to your Slack channel, you need to use Pabbly Connect. Start by accessing the Pabbly Connect dashboard after creating your free account. This platform enables you to automate workflows without any coding skills.

Once logged in, click on the ‘Create Workflow’ button. Name your workflow, for example, ‘Razorpay to Slack Automation,’ and click on the ‘Create’ button. This will set up your workflow page where you can configure the trigger and action applications.


2. Configuring Razorpay as the Trigger Application

In this section, you will configure Razorpay as the trigger application in your Pabbly Connect workflow. Select Razorpay from the available applications and choose the trigger event as ‘Payment Failed.’ This event will initiate the workflow whenever a payment is canceled.

  • Select Razorpay as the trigger application.
  • Choose ‘Payment Failed’ as the trigger event.
  • Copy the webhook URL provided by Pabbly Connect.

Next, go to your Razorpay dashboard, navigate to Settings, and click on Webhooks. Add a new webhook by pasting the copied URL and selecting the active event for payment failures. This setup ensures that Razorpay sends cancellation notifications to Pabbly Connect.


3. Testing the Webhook Connection

After configuring the webhook, it’s crucial to test the connection to ensure that Pabbly Connect is receiving data from Razorpay. To do this, manually cancel a payment from your Razorpay payment page.

Once you cancel a payment, return to your Pabbly Connect workflow and check if the data has been captured. You should see details like the amount, currency, and customer information. This confirms that the webhook connection is successfully established.


4. Configuring Slack Channel Notifications

Now that Razorpay is set up as the trigger, the next step is to configure Slack as the action application in Pabbly Connect. Select Slack from the applications list and choose the action event as ‘Send Channel Message.’ This will allow you to notify your team about canceled payments.

  • Select Slack as the action application.
  • Choose ‘Send Channel Message’ as the action event.
  • Connect your Slack account by authorizing Pabbly Connect.

Once connected, select the channel where you want to send notifications. You can customize the message to include details such as the customer’s name, email, and the product involved in the canceled payment. This setup ensures that your team is instantly informed via Slack whenever a payment is canceled in Razorpay.


5. Finalizing the Automation Workflow

With Razorpay and Slack configured, the final step is to finalize your workflow in Pabbly Connect. Review the message format and ensure that all necessary details are included before saving the workflow.

Click on ‘Save and Send Test Request’ to verify that the message is sent to your Slack channel correctly. If successful, your team will receive a notification similar to ‘Hello team, we just got a payment canceled from Razorpay. The details are as follows…’ This confirms that your automation is working perfectly.

Once set up, this automation will run in the background, notifying your team automatically about any canceled payments without requiring further manual intervention.


Conclusion

This tutorial has shown you how to use Pabbly Connect to integrate Razorpay with Slack for sending notifications about canceled payments. By following these steps, you can streamline your payment management process and keep your team informed in real-time.

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