Learn how to automate sending WhatsApp messages after payment confirmation using Pabbly Connect with Razorpay integration. 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 Integration
To send automated WhatsApp messages after payment confirmation, you first need to set up Pabbly Connect. Begin by signing up for a free account on the Pabbly Connect dashboard. After logging in, click on ‘Create Workflow’ to start the integration process.
Once you create a workflow, name it something relevant, like ‘Razorpay to WhatsApp’. This will help you identify the specific integration later. The workflow interface has two main sections: the trigger and action windows, which are essential for setting up your automation.
2. Configuring the Trigger in Pabbly Connect
In the trigger section, select Razorpay as the application. Choose the trigger event as ‘Payment Captured’. This event will initiate the workflow whenever a new payment is successfully processed. After selecting the trigger event, Pabbly Connect will provide you with a webhook URL.
- Copy the webhook URL provided by Pabbly Connect.
- Log in to your Razorpay account and navigate to Settings.
- Select Webhooks and click on ‘Add New Webhook’.
- Paste the copied webhook URL and set the active event to ‘payment.captured’.
After completing these steps, click on the ‘Create Webhook’ button. This setup ensures that every successful payment in Razorpay sends the payment details to Pabbly Connect, allowing you to automate the WhatsApp message sending process.
3. Testing the Payment Capture
To verify that the integration works, you need to perform a test payment. Go to the Razorpay payment page you created and make a test payment using dummy credentials. Ensure the payment is successful to generate a response in Pabbly Connect. using Pabbly Connect
Once the payment is processed, return to Pabbly Connect. You should see the payment details captured in the workflow. This includes customer information, payment amount, and transaction ID. This data will be crucial for sending the WhatsApp message.
4. Adding Delay and Sending WhatsApp Message
After capturing the payment details, you need to add a delay of two days before sending the WhatsApp message. In Pabbly Connect, select the ‘Delay’ action and configure it to delay for 2 days. This step ensures that the WhatsApp message is sent only after the specified time. using Pabbly Connect
Next, add another action step to send the WhatsApp message. Choose ‘WhatsApp Cloud API’ as the application and select the action event as ‘Send Template Message’. Connect your WhatsApp Cloud API account by entering the required credentials such as token and phone number ID.
- Select the message template you created in your WhatsApp Cloud API account.
- Map the customer’s mobile number and payment details into the template fields.
- Click ‘Save and Send Test Request’ to check if the message is sent successfully.
If configured correctly, the customer should receive a WhatsApp message confirming their payment after the two-day delay. This automation streamlines communication and enhances customer experience.
5. Conclusion
In this tutorial, you learned how to automate sending WhatsApp messages after payment confirmation using Pabbly Connect and Razorpay integration. By following the steps outlined, you can ensure timely communication with your customers.
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!
Utilizing Pabbly Connect not only simplifies the process but also enhances your business’s efficiency. Set up your workflow today and enjoy seamless automation!