Learn how to automate sharing Google Drive folders upon Razorpay payments using Pabbly Connect 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. Accessing Pabbly Connect for Integration

To automate sharing a Google Drive folder upon Razorpay payment, the first step is accessing Pabbly Connect. You can reach it by typing the URL Pabbly.com/connect in your browser. Once there, you will find options to sign in or sign up for free, allowing you to create an account quickly.

After signing in, you will be directed to the dashboard of Pabbly Connect. Here, you can create and manage your workflows. Click on the ‘Create Workflow’ button to begin setting up your automation for sharing Google Drive folders upon receiving payments through Razorpay.


2. Creating a Workflow in Pabbly Connect

In this section, you will create a new workflow to share a Google Drive folder when a payment is received via Razorpay. Start by naming your workflow, for example, ‘Share Google Drive Folder on Razorpay Payment.’ Next, select the relevant folder for your automation. using Pabbly Connect

  • Name your workflow appropriately.
  • Select the folder related to digital courses.
  • Click on ‘Create’ to proceed.

Once the workflow is created, you will see two sections: Trigger and Action. The Trigger is the event that starts the workflow, and the Action is what happens as a result. For this automation, the Trigger will be Razorpay and the Action will be Google Drive.


3. Setting Up Razorpay as the Trigger

Now, you need to set Razorpay as the Trigger application in your Pabbly Connect workflow. Select Razorpay and then choose the trigger event ‘Payment Captured.’ This event will initiate the workflow whenever a payment is successfully captured.

After selecting the trigger event, Pabbly Connect will provide you with a webhook URL. This URL needs to be copied and added to your Razorpay account under the Webhooks section. Follow these steps:

  • Navigate to Razorpay’s ‘Accounts and Settings’.
  • Select ‘Webhooks’ and click on ‘Add New Webhook’.
  • Paste the copied webhook URL and select the event ‘Payment Captured’.

Once the webhook is set up, you can proceed to test the connection. Make a dummy payment on Razorpay to see if Pabbly Connect captures the payment details correctly.


4. Applying Filter in Pabbly Connect

After successfully capturing the payment details, the next step is to apply a filter in Pabbly Connect. This filter ensures that the workflow only continues if the payment is for the specific product, in this case, ‘The Ultimate Guide to Digital Marketing.’ This is crucial to avoid sharing the folder for every payment received.

Select the Filter application in your workflow and set the condition. You will map the product name from the previous step to check if it matches the specific product name. Here’s how to set it up:

Select the product name as the filter label. Set the filter type to ‘Equals’. Manually enter the product name for comparison.

Once the filter is applied, save the settings and test the filter to ensure it works correctly. If the condition is met, the workflow will proceed to share the folder; otherwise, it will stop.


5. Finalizing Google Drive Integration

The last step in this automation process is to finalize the integration with Google Drive in Pabbly Connect. Select Google Drive as your Action application and choose the action event ‘Share a File or Folder by ID.’ This action will allow you to share the designated Google Drive folder with the student.

When prompted, connect your Google Drive account to Pabbly Connect. Ensure you are logged into your Google account to streamline the connection process. After authorization, you will need to specify the folder ID of the Google Drive folder you wish to share. Here’s how to do it:

Enter the folder ID of the Google Drive folder. Map the email address of the student from the payment response. Set the role as ‘Can View’ and enable notification email.

After completing these steps, save your settings and test the action. You should receive confirmation that the folder has been shared successfully with the student. This completes the automation process using Pabbly Connect.


Conclusion

In this tutorial, we explored how to automate sharing a Google Drive folder upon receiving payments through Razorpay using Pabbly Connect. By following these detailed steps, you can streamline your online business operations without any coding knowledge. This integration not only saves time but also enhances the customer experience.

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