What do you want to automate

with Gmail and Notion (API Key)?

Prompt, edit and deploy AI agents that connect to Gmail, Notion (API Key) and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Add Label to Email with Gmail API on New Comment Created from Notion (API Key) API
Notion (API Key) + Gmail
 
Try it
Add Label to Email with Gmail API on New Database Created from Notion (API Key) API
Notion (API Key) + Gmail
 
Try it
Add Label to Email with Gmail API on New or Updated Page in Database from Notion (API Key) API
Notion (API Key) + Gmail
 
Try it
Add Label to Email with Gmail API on New Page in Database from Notion (API Key) API
Notion (API Key) + Gmail
 
Try it
Add Label to Email with Gmail API on Page or Subpage Updated from Notion (API Key) API
Notion (API Key) + Gmail
 
Try it
New Comment Created from the Notion (API Key) API

Emit new event when a new comment is created in a page or block. See the documentation

 
Try it
New Attachment Received from the Gmail API

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

 
Try it
New Database Created from the Notion (API Key) API

Emit new event when a database is created. See the documentation

 
Try it
New Email Matching Search from the Gmail API

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

 
Try it
New or Updated Page in Database from the Notion (API Key) API

Emit new event when a page is created or updated in the selected database. See the documentation

 
Try it
Add Label to Email with the Gmail API

Add label(s) to an email message. See the docs

 
Try it
Append Block to Parent with the Notion (API Key) API

Append new and/or existing blocks to the specified parent. See the documentation

 
Try it
Approve Workflow with the Gmail API

Suspend the workflow until approved by email. See the documentation

 
Try it
Create Comment with the Notion (API Key) API

Create a comment in a page or existing discussion thread. See the documentation

 
Try it
Archive Email with the Gmail API

Archive an email message. See the documentation

 
Try it
Integrate the Gmail API with the Notion (API Key) API
Setup the Gmail API trigger to run a workflow which integrates with the Notion (API Key) API. Pipedream's integration platform allows you to integrate Gmail and Notion (API Key) remarkably fast. Free for developers.

Overview of Gmail

By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.

Connect Gmail

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    gmail: {
      type: "app",
      app: "gmail",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Notion (API Key)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    notion_api_key: {
      type: "app",
      app: "notion_api_key",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.notion.com/v1/users/me`,
      headers: {
        Authorization: `Bearer ${this.notion_api_key.$auth.api_secret}`,
        "Notion-Version": `2021-08-16`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo