Hey everyone,
I’m following up on a previous post I made here: [Link to previous post]. In that post, I shared how we successfully configured a Make.com scenario to upload multiple files from an HTTP payload to Google Drive. We used an Array Iterator and MIME-type filtering to download files and store them in the correct folders. That worked well for our use case, but now we’re facing a scalability challenge.
Project Overview Recap: Our automation uses Make.com to handle files uploaded through a custom form in Go High Level (GHL), then saves them to a designated Google Drive folder. Since we’re aiming to scale this to multiple client accounts (clients who don’t have access to Make.com), we realized we need a system to manage Google OAuth tokens securely and ensure the automation functions seamlessly for each client’s subaccount.
Current Setup:
- We created a Data Storage module in Make.com to store Google Auth tokens and refresh tokens for each client.
- The goal is to match these stored tokens dynamically with each client’s GHL account, allowing the automation to run for each client without them having a Make.com account or needing manual intervention.
The Challenge: I need help figuring out how to correctly and securely match and utilize these Google Auth tokens for multiple client subaccounts. Specifically:
- How can I get different clients authorized and store the tokens stored in Make.com Data Storage?
- What is the best way to handle token refresh operations?
- How do I ensure this all ties to the correct client subaccount in GHL and that no further action is required from them after the authorize?
Any advice, recommendations, or best practices on how to make this setup scalable would be greatly appreciated!
Thanks in advance for your help!