Learn how to integrate Razor Pay with WhatsApp Cloud API using Pabbly Connect for seamless payment recovery. Step-by-step guide included. Transform complex automation concepts into accessible, actionable steps that eliminate unnecessary manual work while maximizing existing application capabilities.
Watch Step By Step Video Tutorial Below
1. Accessing Pabbly Connect for Integration
To start integrating Razor Pay with WhatsApp Cloud API, first, you need to access Pabbly Connect. Visit the Pabbly Connect homepage and sign up for a free account if you are a new user or log in if you already have an account.
Once logged in, you will see the dashboard of Pabbly Connect. From here, you can create workflows that will automate the process of sending WhatsApp messages when a payment fails on Razor Pay.
2. Creating a Workflow in Pabbly Connect
To create a workflow in Pabbly Connect, click on the ‘Create Workflow’ button located at the top right corner of the dashboard. You will be prompted to name your workflow; for instance, name it ‘Send WhatsApp Message to Recover Razor Pay Card Abandon Payment’.
- Select your folder as ‘Automations’ or create a new folder.
- Click on the ‘Create’ button to finalize your workflow setup.
Now, you will see the workflow created with two essential components: Trigger and Action. The trigger is the event that starts the workflow, while the action is what happens in response.
3. Setting Up the Trigger in Pabbly Connect
The next step is to set up the trigger for your workflow in Pabbly Connect. Select Razor Pay as your trigger application. The trigger event you want to select is ‘Payment Failed’. This means whenever a payment fails, it will trigger the workflow.
Once selected, Pabbly Connect will generate a webhook URL. Copy this URL to connect Razor Pay with your workflow. Go to your Razor Pay account, navigate to the ‘Webhooks’ section under ‘Account Settings’, and add a new webhook using the URL you just copied.
- Paste the webhook URL in the designated field in Razor Pay.
- Select the active events you want to monitor, specifically ‘Payment Failed’.
After setting this up, you can proceed to test the webhook connection to ensure it’s working correctly.
4. Configuring the Action in Pabbly Connect
Now that you have your trigger set up, it’s time to configure the action in Pabbly Connect. Select WhatsApp Cloud API as your action application and choose the action event ‘Send Template Message’. This will allow you to send a WhatsApp message whenever a payment fails.
To connect WhatsApp Cloud API with Pabbly Connect, you will need to enter your WhatsApp Business Account ID, Phone Number ID, and Access Token. These details can be obtained from your WhatsApp Cloud API account.
Enter the required details to establish the connection. Map the customer’s phone number and name dynamically from the trigger response.
After entering all the required data, click on ‘Save and Send Test Request’ to verify that the WhatsApp message is sent successfully. You should see a confirmation message indicating that the message was accepted.
5. Testing the Integration in Pabbly Connect
Once everything is set up, it’s essential to test the integration in Pabbly Connect. Go back to your Razor Pay payment page and simulate a failed payment by entering dummy data and canceling the transaction without entering an OTP.
After doing this, check your WhatsApp account to see if you received the message. The message should remind the customer about their abandoned cart items, helping to recover lost sales.
Enter a new dummy email and phone number to test the workflow. Make sure to cancel the payment to trigger the WhatsApp message.
Check your WhatsApp account after a few moments. If everything is configured correctly, you should receive the automated message confirming the workflow is functioning as intended.
Conclusion
This tutorial demonstrates how to use Pabbly Connect to integrate Razor Pay with WhatsApp Cloud API effectively. By following these steps, you can automate the process of sending reminders for abandoned payments, enhancing customer engagement and boosting sales.
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!