Learn how to integrate Razorpay and Twilio for SMS notifications on refunds using Pabbly Connect. Step-by-step guide with detailed instructions. 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. Accessing Pabbly Connect for Razorpay and Twilio Integration
To begin the integration process, first access Pabbly Connect by visiting the URL Pabbly.com/connect. This platform serves as the central hub for integrating Razorpay and Twilio for SMS notifications.
If you are an existing user, simply click on ‘Sign In.’ New users can sign up for free, with 100 tasks available upon account creation. Once signed in, navigate to the dashboard where you will create a new workflow.
2. Creating a New Workflow in Pabbly Connect
After signing into Pabbly Connect, click on the ‘Create Workflow’ button located on the right side of the dashboard. Name your workflow, for instance, ‘Razorpay to Twilio Integration,’ and then proceed to click on the ‘Create’ button.
- Click on the ‘Create Workflow’ button.
- Name your workflow appropriately.
- Click on ‘Create’ to proceed.
You will now see two sections: Trigger and Action. The Trigger is Razorpay, while the Action will be Twilio. This setup will allow you to send SMS notifications whenever a refund is created in Razorpay.
3. Setting Up Razorpay as the Trigger Application
In this step, select Razorpay as your trigger application within Pabbly Connect. The trigger event you need to choose is ‘Refund Created.’ This event will initiate the workflow whenever a refund request is processed.
Upon selecting the event, Pabbly Connect will generate a webhook URL. Copy this URL as it will be used to connect Razorpay with Pabbly Connect. Next, log into your Razorpay account and navigate to the ‘Webhooks’ section under settings.
4. Configuring Webhooks in Razorpay
Once in your Razorpay account, click on ‘Settings’ and then select ‘Webhooks.’ Here, click on ‘Add New Webhook.’ Paste the copied webhook URL from Pabbly Connect into the designated field. Set the event to ‘Refund Created’ and click on ‘Create Webhook’ to finalize this step.
After saving the webhook, return to Pabbly Connect to test the connection. You will need to perform a test refund in Razorpay to generate a webhook response that can be captured by Pabbly Connect for verification.
5. Sending SMS Notifications Using Twilio
With the webhook successfully set up, the next step is to configure Twilio in Pabbly Connect. Choose Twilio as your action application and select the action event as ‘Send SMS Message.’ Connect your Twilio account by entering the required credentials: Account SID, Auth Token, and Phone Number.
Compose your SMS message using dynamic fields from the Razorpay refund data. For example, the message could read: ‘Dear [Client Name], we have processed a refund of [Amount] for [Product Name].’ After setting up the message, test the SMS action to ensure everything is working correctly.
Finally, verify the entire process by issuing a real refund in Razorpay and checking if the SMS notification is received as expected. This integration will streamline your refund notifications effectively.
Conclusion
In this tutorial, we demonstrated how to use Pabbly Connect to integrate Razorpay and Twilio for sending SMS notifications upon refund creation. This automation enhances communication with clients, ensuring they are promptly informed about their refunds.
Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.
- Check out Pabbly Connect – Automate your business workflows effortlessly!
- Sign Up Free – Start your journey with ease!
- 10,000+ Video Tutorials – Learn step by step!
- Join Pabbly Facebook Group – Connect with 21,000+ like minded people!