How to Integrate Custom Google OAuth with Pipedream for User Authentication and Workflow Deployment?

This topic was automatically generated from Slack. You can find the original thread here.

Hey everyone :wave:
I’m working on integrating custom Google OAuth (from my GCP console) with Pipedream so I can authenticate my users’ Gmail accounts.
Here’s what I’ve done so far:
:one: Created a custom OAuth client in Google Cloud.
:two: Added it to Pipedream’s OAuth configuration successfully.
:three: I’m a bit confused about how to move forward from here.
My goal:
Each of my SaaS users should connect their own Gmail account through my platform, and I want to run a Pipedream workflow for each user, which triggers whenever a new email arrives in their inbox.
That workflow should then fetch those emails and send them to my Django backend for storage and further processing.
The support team mentioned that I can use Pipedream Connect, but since I’m still new to this, I’d really appreciate help with these questions:
• How can I connect (link) each of my users’ Gmail accounts to Pipedream’s Gmail integration using my custom OAuth client?
• Once linked, how can I verify or list which users/accounts are connected, similar to how LinkedIn or other apps show their connected integrations?
• Finally, how can I dynamically deploy or run workflows per user once they’ve connected their Gmail via OAuth?
Thanks so much for your patience and for reading — any guidance, examples, or pointers would be hugely appreciated :pray:

We have extensive documentation available here, you should have a look