Can You Listen to a Gmail Inbox with Pipedream to Carry Out an Action, Similar to <http://Make.com|Make.com>?

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

Is there a way to listen to a gmail inbox with pipedream, in order to carry out an action on it? I did find this to be possible with make but I’d like to do the same within pipedream.

Hi Mark, the current supported way that you can do this is by creating your own Gmail app, and creating a Custom OAuth client on Pipedream - you can see our docs here. Once you’ve configured your own custom client, you’ll be able to specify the scopes you need to accomplish listening to your gmail inbox.

That being said - if you’re able to wait a few weeks, we’re in the process of getting our scopes expanded with Google to include a broader set of permissions that would enable exactly what you’re looking for. I estimate that we’ll be able to support this natively in about 3 weeks time.

Oh that’s awesome!! Yea, I would definitely wait for an official integration. Thanks for the info, I’m glad I asked about this :sweat_smile:

Will follow up here once this is ready.

Hi Micheal, Hi Mark, I’m interested in understanding your limitation, I’ve triggered workflows before on new labeled emails or new attachments received + filter on labeled emails. What is the difference here with the “listening to an inbox” request and “new email received” for example? Why are the custom scopes necessary to answer Mark’s needs? I;m just not following along and think this development might in someway be useful for my workflows too

Hey Diego, if you’re using the sources that you mentioned - you’re using your the Gmail (Developer App), where you’ve configured your own client id and client secret, along with the appropriate scopes necessary to be able to use the triggers and actions for the Gmail (Developer App).

What I’ve mentioned to Mark is that, with the official Pipedream client - our Gmail app, is limited to only Send Mail functionality today, as restricted scopes are necessary for anything beyond this.

Once we get these approved, users will not have to configure their own Gmail client, and can instead use the Pipedream official Gmail client for our components. Does that make sense?

oh yes ok I get it, still I found the gmail developer app rather easy to use

Glad to hear that! If you’ve set up clients in Google Cloud before, it’s not too difficult but I feel like setting up the first app can take a bit of trial and error. Hope the directions were helpful :slightly_smiling_face: