Skip to main content

Send labeled email to a Notion database

Workflow preview

Workflow preview
100%
Send labeled email to a Notion database preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow sends the contents of an email to a Notion database. The email must be labeled with a specific label for the workflow to trigger. The email subject will be the title of the Notion pag...

Best for

  • Personal Productivity automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.datetime, n8n-nodes-base.gmail, n8n-nodes-base.notion, n8n-nodes-base.if, n8n-nodes-base.notiontrigger, n8n-nodes-base.noop, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by n8n Team.

Original n8n.io source

1.1 Workflow description

Title
Send labeled email to a Notion database
Workflow name
Send labeled email to a Notion database

This workflow sends the contents of an email to a Notion database. The email must be labeled with a specific label for the workflow to trigger. The email subject will be the title of the Notion page, and a snippet of the email body will be the content of the Notion page. The email link will be added to the Notion page as a property.

Prerequisites

Notion account and Notion credentials. Google account and Google credentials.

How it works

On scheduled intervals, find all emails with a specific label. For each email, check if the email already exists in the Notion database. If it does not exist, create a new page in the Notion database, otherwise do nothing. When the task in the Notion database is checked off, the label will be removed from the email.

Setup

This workflow requires that you set up a Notion database or use an existing one with at least the following fields:

  • Title (title)
  • Thread ID (text)
  • Email thread (URL)

Additionally, create a label that will be used to trigger the workflow in Gmail. In this workflow, the label is called "Notion".

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.1

Block 2 - Derive last request time

Type / Role
n8n-nodes-base.dateTime - dateTime
Config choices
Version 2

Block 3 - Get emails from label and last request time

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2

Block 4 - Create database page

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2

Block 5 - Try get database page

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2

Block 6 - If checked off

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 7 - On updated database page

Type / Role
n8n-nodes-base.notionTrigger - notionTrigger
Config choices
Version 1

Block 8 - Remove label from target email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2

Block 9 - Not yet checked off, do nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 10 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 11 - If found, do nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 12 - If database page not found

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 13 - Find my email address

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Send labeled email to a Notion database
Complexity intermediate
Nodes 14
Categories Personal Productivity
Author n8n Team
Published 02 Aug 2023

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/1939/1939.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send labeled email to a Notion database do?

This workflow sends the contents of an email to a Notion database. The email must be labeled with a specific label for the workflow to trigger. The email subject will be the title of the Notion pag...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.