Templates / Send labeled email to a Notion database

Send labeled email to a Notion database

Ready for 3.0

by n8n Team ✓ · 7,843 views · created 2023-08-02 · Personal Productivity

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 13 nodes and runs on a schedule (every minute) (plus 1 other trigger). Along the way it connects Gmail and Notion. It also calls gmail.googleapis.com over HTTP.

How it runs

Trigger: On a schedule (every minute) (plus 1 other trigger).

  1. Derive last request time (Date & Time): formats or calculates dates
  2. If: checks a condition and branches into true / false
  3. Get emails from label and last request time (Gmail): get many
  4. Remove label from target email (Gmail): remove labels
  5. Try get database page (Notion): get many (database page)
  6. Merge: merges the data from its input branches
  7. If: checks a condition and branches into true / false
  8. Find my email address (HTTP Request): calls gmail.googleapis.com
  9. Create database page (Notion): work with database page

Services it uses

GmailNotion

HTTP calls to: gmail.googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

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…

Excerpt from n8n Team's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.