Learn how to integrate WhatsApp and Razorpay using Pabbly Connect to automate notifications and streamline your payment processes. This comprehensive guide reveals exactly how to connect your applications and automate repetitive tasks — accessible for professionals of all technical backgrounds.

Watch Step By Step Video Tutorial Below


1. Access Pabbly Connect for Integration

To start integrating WhatsApp and Razorpay, you first need to access Pabbly Connect. This platform enables seamless automation between different applications. If you are a new user, sign up for an account, which will take only a few minutes. Existing users can simply sign in to reach the dashboard.

Once logged in, find the ‘Create Workflow’ tab on the right side of the dashboard. Click on it, and a dialog box will prompt you to name your workflow. For this integration, you can name it ‘Create Get Response Contact and Send Messages on WhatsApp When Order is Paid in Razorpay’.


2. Set Up Razorpay as the Trigger in Pabbly Connect

In this section, we will set Razorpay as the trigger application in Pabbly Connect. After naming your workflow, you will see options for Trigger and Action. Select Razorpay as your trigger application. The trigger event here will be ‘Order Paid’ which indicates that a payment has been successfully processed.

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

Next, navigate to your Razorpay account, go to ‘Accounts and Settings’, and select ‘Webhooks’. Click on ‘Add New Webhook’ and paste the copied URL. Set the active event to ‘Order Paid’ and click on ‘Create Webhook’. This will link Razorpay with Pabbly Connect for further automation.


3. Test the Webhook Connection

After setting up the webhook, it is crucial to test the connection to ensure that Pabbly Connect is receiving the data correctly. To do this, you need to create a test order in Razorpay. Navigate to the payment pages in Razorpay, select a product, and proceed to payment.

Fill in the payment details, including the first name, last name, email, and mobile number. After entering the payment details, complete the transaction. Once the payment is successful, return to Pabbly Connect and check if the webhook has received the response. You should see the details of the payment, including customer information and transaction amount.


4. Create a Contact in GetResponse

Now that we have successfully tested the webhook, the next step is to create a contact in GetResponse using the details received from Razorpay. In Pabbly Connect, choose GetResponse as your action application and select ‘Create Contact’ as the action event.

  • Connect your GetResponse account to Pabbly Connect.
  • Map the fields from Razorpay to GetResponse, including first name, last name, email, and phone number.
  • Select the campaign list where the contact will be added.

Once you have mapped the fields, click on ‘Save and Send Test Request’. This action will create a new contact in your GetResponse account with the details from the Razorpay transaction. Ensure you verify that the contact is created successfully in GetResponse.


5. Send a WhatsApp Message Using Interact

The final step involves sending a WhatsApp message to the customer using Interact. In Pabbly Connect, select Interact as your action application and choose ‘Send WhatsApp Template Message’ as the action event. You will need to connect your Interact account to Pabbly Connect.

To set up the connection, you will require the secret key from your Interact account. Once connected, fill in the required fields, including the country code and phone number. Map the phone number from the Razorpay response to ensure the message is sent to the correct recipient.

Enter the template code for the WhatsApp message. Fill in the header and body values for your message. Click on ‘Save and Send Test Request’ to send the message.

Check your WhatsApp to confirm that the message has been received. This step completes the integration process, successfully automating the notification system for Razorpay payments through Pabbly Connect.


Conclusion

In this tutorial, we explored how to integrate WhatsApp and Razorpay using Pabbly Connect. By following these steps, you can automate notifications and streamline your payment processing, enhancing customer communication and satisfaction.

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