Templates / Save starred Gmail emails as Markdown notes in an Obsidian Google Drive folder

Save starred Gmail emails as Markdown notes in an Obsidian Google Drive folder

Ready for 3.0

by 43 Sunsets ✓ · 24 views · created 2026-07-17 · File Management

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 7 nodes and runs on a schedule (every day at 07:00). Along the way it connects Gmail and Google Drive.

How it runs

Trigger: On a schedule (every day at 07:00).

  1. ⚙️ Your settings (Edit Fields (Set)): sets 2 fields: searchQuery, noteTag
  2. Find starred emails (Gmail): get many
  3. Build the note (Code): runs custom JavaScript code
  4. One email at a time (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Save note to vault (Google Drive): create from text
  6. Mark email saved (Gmail): add labels

Services it uses

GmailGoogle Drive

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (6)

From the author

Quick overview This workflow runs daily, finds starred Gmail emails that are not yet labeled as saved, converts each email into a Markdown note with YAML frontmatter, uploads the note to a Google Drive folder synced with your Obsidian vault, and then labels…

Excerpt from 43 Sunsets'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.