Learn how to automate eBook delivery on payment using Pabbly Connect, Razorpay, Google Drive, and Gmail in this detailed tutorial. Develop expertise in application integration and learn how to design streamlined automation workflows using proven, simplified approaches.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for eBook Delivery

To automate eBook delivery on payment in Razorpay, you first need to set up Pabbly Connect. Start by opening your browser and navigating to Pabbly Connect. Sign up for a free account if you haven’t already, or log in to your existing account. Once logged in, you will find yourself on the dashboard where you can create workflows.

Click on the ‘Create Workflow’ button and name your workflow, for example, ‘Razorpay Payments to eBook Delivery’. This sets the stage for integrating Razorpay with Google Drive through Pabbly Connect. You’ll be prompted to set up a trigger and an action, which are essential for your automation.


2. Integrating Razorpay with Pabbly Connect

In this step, you will connect Razorpay to Pabbly Connect using a webhook URL. Select Razorpay as your trigger app and choose the trigger event as ‘Payment Captured’. This event will initiate the workflow whenever a payment is successfully made.

  • Copy the webhook URL generated by Pabbly Connect.
  • Log in to your Razorpay dashboard and navigate to Settings.
  • Select the Webhooks option and paste the copied webhook URL.
  • Enable the ‘Payment Captured’ event for this webhook.

After saving the webhook, Pabbly Connect will wait for a response from Razorpay. This indicates that you have successfully set up the connection and are ready to collect payment data.


3. Collecting Payment Data in Pabbly Connect

Now that Razorpay is connected to Pabbly Connect, it’s time to collect the payment data. Make a test payment through your Razorpay payment page. This step is crucial as it sends the data back to Pabbly Connect.

Once the payment is successful, Pabbly Connect will capture the payment details including the customer’s name, email, and phone number. You will see this data reflected in your Pabbly Connect dashboard, confirming that the integration is functioning correctly.


4. Filtering Data for Specific eBook Delivery

In this section, you will apply filters in Pabbly Connect to ensure that only specific eBooks are sent based on the payment amount. Click on the action button and choose ‘Filter by Pabbly’. You will set conditions to filter the data based on the payment entity notes and amount.

  • Select the payment entity notes to filter the specific eBook.
  • Set the filter type to ‘Equal To’ and enter the eBook’s name.
  • Add another filter condition for the payment amount to ensure it matches the eBook price.

After setting up these filters, Pabbly Connect will only allow the workflow to proceed when the specific conditions are met, ensuring the correct eBook is delivered to the right customer.


5. Sending eBook from Google Drive via Pabbly Connect

Finally, you will send the eBook from Google Drive using Pabbly Connect. Select Google Drive as the action app and choose ‘Share a File’ as the action event. Connect your Google Drive account by authorizing Pabbly Connect to access your files.

Once connected, you will need to select the file ID of the eBook you wish to send. Map the customer’s email address to ensure the eBook is sent to the correct recipient. After confirming all details, click on ‘Save and Send Test Request’. This action will send the eBook directly to the customer’s email.

Upon successful execution, the customer will receive an email with the eBook attached, demonstrating the seamless integration facilitated by Pabbly Connect. This concludes the automation setup for eBook delivery upon payment in Razorpay.


Conclusion

In this tutorial, we explored how to automate eBook delivery on payment using Pabbly Connect, Razorpay, Google Drive, and Gmail. By following the steps outlined, you can efficiently set up an automated workflow that saves time and 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.