Learn how to instantly deliver files to customers after successful payments using Pabbly Connect and Razorpay in this step-by-step tutorial. Eliminate manual repetitive tasks from your workflow. Discover proven automation methods with intuitive steps designed for efficiency-minded professionals.

Watch Step By Step Video Tutorial Below


1. Create a Payment Page Using Pabbly Connect

To deliver files instantly after successful payment, we first need to create a payment page using Pabbly Connect. Start by setting up a payment page on Razorpay for your product, for instance, a course named ‘Course 101’ at a price of 101 rupees. Ensure you collect the customer’s email and phone number during this process.

After filling in the required details, publish the payment page. This action will generate a unique URL that you can share with your customers. They will be informed that they will receive the files instantly upon successful payment.


2. Set Up Webhook in Razorpay with Pabbly Connect

The next step involves setting up a webhook in Razorpay to communicate with Pabbly Connect. Navigate to the settings section in Razorpay and locate the webhook settings. You can either delete an existing webhook or edit it to add a new one.

To receive notifications whenever a payment is authorized or captured—indicating a successful transaction—you need to input a webhook URL. To get this URL, log in to Pabbly Connect and create a new workflow. Name it appropriately, for example, ‘Deliver File When Sale Occurs in Razorpay.’ This will generate a webhook URL that you will copy and paste into your Razorpay account.


3. Test the Payment Page with Pabbly Connect

Once your webhook is set up, it’s time to test the payment page. Copy the URL of the payment page you created earlier and open it in your browser. Enter the required customer details, such as email and phone number, and proceed to make a payment of 101 rupees.

Before confirming the payment, return to Pabbly Connect and click on the ‘Capture Webhook Response’ button. This will prepare Pabbly Connect to receive the payment data from Razorpay once the transaction is successful.


4. Integrate Google Drive with Pabbly Connect to Deliver Files

After successfully capturing the payment, the next step is to integrate Google Drive through Pabbly Connect to send the files. Select Google Drive as the app and choose the action to share a file. Connect your Google Drive account by authorizing Pabbly Connect to access your files.

Once connected, select the specific file you want to deliver, such as ‘Content Marketing for SaaS Software.’ Map the email of the customer obtained from the webhook response to ensure they receive the file. Set the permission level for the file, typically to view, so the customer can access it immediately.


5. Finalize Integration and Test Delivery with Pabbly Connect

After configuring the Google Drive integration, save the workflow in Pabbly Connect. To verify that everything works as intended, send a test request. This action will trigger the file delivery process, and you should see the customer receiving an email with access to the file.

Repeat the payment process using different customer details to ensure that the integration works seamlessly. Each successful transaction will automatically deliver the specified file to the respective customer’s email, demonstrating the power of Pabbly Connect in automating file delivery after payments.


Conclusion

In this tutorial, we explored how to use Pabbly Connect to instantly deliver files to customers after successful payments through Razorpay. By setting up a payment page, configuring webhooks, and integrating Google Drive, you can automate file delivery efficiently. This integration not only streamlines your workflow but also enhances customer 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.