Learn how to automate sending WhatsApp messages on Razorpay payments using Pabbly Connect with this detailed step-by-step tutorial. Discover how to seamlessly connect your essential tools through accessible instructions that make powerful automation available to professionals at every skill level.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Razorpay WhatsApp Automation

To start using Pabbly Connect for automating WhatsApp messages on Razorpay payments, first, visit the Pabbly Connect dashboard. You can access it by searching for ‘Pabbly Connect’ in your browser and signing up for a free account or logging into your existing account.

After logging in, click on ‘Create Workflow’ to initiate the setup process. Name your workflow, such as ‘Razorpay to WhatsApp’, and click on ‘Create’ to proceed with the integration steps.


2. Setting Up the Trigger Event in Pabbly Connect

In this section, we will configure the trigger event using Pabbly Connect. In the trigger window, select Razorpay as the app and choose the ‘Payment Captured’ event. This setup will allow Pabbly Connect to capture payment details whenever a payment is made on your Razorpay account.

  • Select Razorpay from the app list.
  • Choose ‘Payment Captured’ as the trigger event.
  • Copy the webhook URL provided by Pabbly Connect.

Next, navigate to your Razorpay dashboard, go to Settings, and click on Webhooks. Here, add a new webhook using the copied URL and select the ‘Payment Captured’ event. This connection enables Pabbly Connect to receive payment data from Razorpay.


3. Testing the Webhook Connection with Pabbly Connect

After setting up the webhook, it’s essential to test the connection. You can do this by making a test payment through your Razorpay payment page. When the payment is successful, Pabbly Connect will capture the payment details.

To perform the test, go back to your Razorpay payment page and enter dummy customer details to complete a payment. Once the payment is processed, return to Pabbly Connect. You should see the payment data captured in the response section.

  • Enter dummy customer data for the test payment.
  • Complete the payment process.
  • Observe the captured payment details in Pabbly Connect.

After successfully capturing the payment details, you can proceed to format the payment amount correctly, as Razorpay returns it without decimal values.


4. Formatting the Payment Amount Using Pabbly Connect

To ensure the payment amount is accurately reflected, you need to format it using Pabbly Connect. Add a new action step and select the ‘Number Formatter’ app. Choose the action event ‘Perform Math Operation’ to divide the captured amount by 100.

In the configuration, select the amount you captured from Razorpay and input ‘100’ to divide it. This step will correct the amount to reflect the actual payment made by the customer.

Select ‘Number Formatter’ as the app. Choose ‘Perform Math Operation’ as the action event. Input the captured amount and divide by 100.

Once the operation is complete, the correct payment amount will be available for the next step, where we will send the WhatsApp message.


5. Sending WhatsApp Messages Using Pabbly Connect

Now that you have the correct payment amount, it’s time to send a WhatsApp message. In this step, select the ‘WhatsApp Cloud API’ as the action app in Pabbly Connect. Choose the action event ‘Send Template Message’ to send the payment confirmation.

Connect your WhatsApp Cloud API account by entering the required details such as Phone Number ID and WhatsApp Business Account ID. You will also need a permanent access token to establish the connection. Once connected, select the template you created in your WhatsApp Cloud API account.

Select ‘WhatsApp Cloud API’ as the action app. Choose ‘Send Template Message’ as the action event. Map the customer’s mobile number and payment details in the template fields.

After mapping all necessary fields, click on ‘Save and Send Test Request’. If successful, the customer will receive a WhatsApp message confirming their payment.


Conclusion

In this tutorial, we explored how to automate sending WhatsApp messages on Razorpay payments using Pabbly Connect. By following the steps outlined, you can efficiently notify customers of their payment confirmations, enhancing their experience and ensuring timely communication.

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