Learn how to automate the process of giving temporary access to a Google Drive folder after a Razorpay payment using Pabbly Connect. Step-by-step tutorial included.
Watch Step By Step Video Tutorial Below
1. Setting Up Pabbly Connect for Integration
To begin automating the process of giving temporary access to a Google Drive folder after a Razorpay payment, you need to set up Pabbly Connect. Start by signing up for a free account on Pabbly Connect, which will allow you to create automation workflows.
Once logged in, navigate to the dashboard and click on the ‘Create Workflow’ button. Name your workflow, for example, ‘Razorpay to Google Drive’, and select a folder for your workflow. This setup is essential as it lays the foundation for the integration between Razorpay and Google Drive through Pabbly Connect.
2. Connecting Razorpay to Pabbly Connect
In this step, you will connect your Razorpay account to Pabbly Connect. Select Razorpay as your application in the trigger step. Choose the trigger event as ‘Payment Captured’. This event will initiate the workflow whenever a payment is made.
- Select Razorpay as the application.
- Choose ‘Payment Captured’ as the trigger event.
- Copy the webhook URL provided by Pabbly Connect.
- Paste the webhook URL in your Razorpay account under Webhooks.
After setting up the webhook, every time a payment is captured in Razorpay, the details will be sent to Pabbly Connect, allowing you to automate further actions seamlessly.
3. Filtering Payments for Specific Products
Once Razorpay is connected, the next step in Pabbly Connect is to filter the payments based on specific products. This ensures that only customers who purchased a particular product receive access to the Google Drive folder.
In the action step, select the ‘Filter’ option and set the condition based on the product name. This is crucial as it controls who gets access to the folder. You will need to map the product name from the Razorpay response to the filter condition.
- Select ‘Filter’ from the action options.
- Map the product name from Razorpay to the filter condition.
- Set the filter to only proceed if the product matches.
This filtering process is essential to ensure that only the right customers receive access, maintaining control over your digital products.
4. Sharing Google Drive Folder Access
After filtering the payments, the next step in Pabbly Connect is to share access to the Google Drive folder. Select Google Drive as the action application and choose the ‘Share a File or Folder’ action event.
Connect your Google Drive account to Pabbly Connect by signing in and allowing the necessary permissions. Then, specify the folder you want to share and map the email address of the customer from the Razorpay payment details.
Select ‘Share a File or Folder’ as the action event. Map the customer’s email address to share access. Choose the access level (e.g., ‘Can View’).
This step ensures that the customer receives an email notification about their access to the folder, completing the first part of the automation.
5. Revoking Access After a Set Duration
The final step in your automation with Pabbly Connect is to revoke access to the Google Drive folder after a specified time. This is crucial for maintaining control over your digital assets.
To do this, add a delay step in your workflow, specifying how long to wait before revoking access. After the delay, select Google Drive again and choose the ‘Remove File or Folder Access’ action event.
Add a delay action to set the duration (e.g., 30 days). Select ‘Remove File or Folder Access’ as the action event. Map the customer’s email and the folder ID to revoke access.
This ensures that after the set duration, the customer’s access to the folder is automatically revoked, securing your content.
Conclusion
Using Pabbly Connect, you can seamlessly automate the process of granting and revoking access to a Google Drive folder based on Razorpay payments. This integration not only saves time but also ensures that your digital products are protected and accessible only to paying customers.
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!