Learn how to automate file delivery on WhatsApp after a successful Razorpay payment using Pabbly Connect and WhatsApp Cloud API. Follow this detailed tutorial. 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. Accessing Pabbly Connect for Integration

To automate file delivery on WhatsApp after a successful Razorpay payment, the first step is to access Pabbly Connect. Start by navigating to the Pabbly Connect website at Pabbly.com/connect. If you don’t have an account, create a free account to get started.

Once signed in, you will be directed to the dashboard. Here, click on the ‘Create Workflow’ button to initiate a new automation process. Name your workflow, for example, ‘Razorpay WhatsApp Automation’, and click on the ‘Create’ button to proceed.


2. Setting Up Razorpay Trigger in Pabbly Connect

In this step, you will set up Razorpay as the trigger application in Pabbly Connect. Select ‘Razorpay’ from the list of applications and choose the trigger event as ‘Payment Captured’. This means that every time a payment is received, the automation will be activated.

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

Next, log into your Razorpay account and navigate to the settings. In the Webhooks section, add a new webhook using the URL you copied from Pabbly Connect. Set the action event to ‘Payment Captured’ and save the webhook. This step connects Razorpay with Pabbly Connect.


3. Testing the Razorpay Integration

After setting up the webhook, it’s essential to test the integration to ensure everything is functioning correctly. Initiate a test payment on your Razorpay payment page. Fill in the required details, including the WhatsApp number with the country code.

Once the payment is processed, return to Pabbly Connect to check if the payment data has been captured successfully. The response should display the payment details, confirming that Razorpay is now integrated with Pabbly Connect.

Now that the integration is tested and confirmed, proceed to set up the WhatsApp action to send the file. This is where you will connect the WhatsApp Cloud API through Pabbly Connect.


4. Configuring WhatsApp Cloud API for File Delivery

To send files via WhatsApp after a successful payment, select ‘WhatsApp Cloud API’ as the action application in Pabbly Connect. Choose the action event as ‘Send Template Message’. This enables you to send a pre-approved message template to the customer.

  • Connect your WhatsApp Cloud API account in Pabbly Connect.
  • Fill in the required fields: Token, Phone Number ID, and WhatsApp Business Account ID.
  • Select the message template you created for file delivery.

Ensure that the template message includes variables for the customer’s name and the file link. This personalization helps in delivering a tailored message to each customer. Once all fields are filled, save the configuration to finalize the setup.


5. Finalizing the Automation Workflow

With both Razorpay and WhatsApp Cloud API configured in Pabbly Connect, the final step is to test the entire workflow. Click on the ‘Save and Send Test Request’ button to send a test message through WhatsApp to confirm that the file is delivered correctly.

If the test is successful, your automation is now fully operational. Whenever a payment is captured in Razorpay, the corresponding file will be automatically sent to the customer’s WhatsApp via the WhatsApp Cloud API, facilitated by Pabbly Connect.

Congratulations! You have successfully set up an automation that delivers files on WhatsApp after successful Razorpay payments. This integration not only saves time but also enhances customer experience by providing immediate access to purchased files.


Conclusion

In this tutorial, we explored how to automate file delivery on WhatsApp after a successful Razorpay payment using Pabbly Connect. By following the detailed steps, you can streamline your payment process and enhance customer satisfaction effectively.

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