Automate Obsidian Notes with n8n, Google Drive & AI

Struggling to manually update your Obsidian Vault with workflow results? This n8n automation creates and syncs Markdown notes via Google Drive, using AI to format content seamlessly for instant knowledge management.
googleDrive
agent
executeWorkflowTrigger
+5
Workflow Identifier: 2145
NODES in Use: executeWorkflowTrigger, if, googleDrive, agent, outputParserStructured, lmChatOpenAi, set, stickyNote
Automate Obsidian notes with n8n and Google Drive

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This n8n workflow takes outputs from any other n8n workflow and turns them into organized Markdown notes saved in Google Drive.
It handles text and binary files like images, and formats notes with AI to work well in Obsidian Vault.
Users get instant, well-structured notes synced in their Obsidian without manual work.

The main problem solved is the tedious manual copying and formatting of notes and files after running workflows.
This automation cuts down that time from hours to seconds.


Who should use this workflow

This workflow helps knowledge workers who run many n8n workflows and want automatic note-taking.
It suits people who use Obsidian Vault on desktop and want their workflow results quickly saved as Markdown notes.

The workflow is good for anyone overwhelmed by copying outputs into notes or losing workflow insights.


Tools and services used

  • n8n: Builds and runs the automation workflows.
  • Google Drive: Storage for Markdown notes and binary files.
  • OpenAI API: Creates structured Zettelkasten notes from raw data.
  • LangChain Agent nodes in n8n: Calls AI for note content and metadata.
  • Obsidian app: Reads and organizes the saved Markdown notes.
  • Google Drive desktop sync: Keeps Google Drive files synced on the user’s computer.
  • Symbolic Links (symlinks): Connects Google Drive folder to Obsidian Vault folder on desktop.

Inputs, processing steps, and output

Inputs

The workflow receives JSON output from any other n8n workflow via the Execute Workflow Trigger.
It can include text data and binary attachments like images.

Processing steps

  1. Check if incoming data has binary files with an If node.
  2. If binary data exists, save files separately to Google Drive.
  3. Use an AI LangChain Agent node to create a Zettelkasten style note from raw JSON input.
  4. Pass the note to a second AI agent to generate YAML frontmatter metadata.
  5. Restructure the AI output JSON into fields: title, content, frontmatter, and references.
  6. Save the formatted Markdown note text including frontmatter into Google Drive in the synced folder.
  7. Use desktop symbolic links to connect this Drive folder to the Obsidian Vault for instant access.

Output

Users get clean, atomic Markdown notes inside Obsidian automatically.
Attachments are saved in folders synced with the notes.
Notes include metadata for better organization in Obsidian.


Beginner step-by-step: How to use this workflow in n8n

Download and Import the Workflow

  1. Click the Download button on this page to get the workflow JSON file.
  2. Open your n8n editor.
  3. Click on the menu and choose “Import from File”.
  4. Select the downloaded JSON file to load the workflow.

Configure Credentials and Settings

  1. Go to Credentials in n8n and add or update Google Drive OAuth credentials.
  2. Make sure your OpenAI API Key is added for the LangChain Agent nodes.
  3. Update the Google Drive folder IDs if needed in Google Drive nodes.
  4. Check and edit the filename expression to fit your naming preferences.
  5. Review the AI agent prompt texts; copy and paste prompts from this guide if needed to improve note style.

Test and Activate

  1. Run a test by triggering input JSON data in the Execute Workflow Trigger node.
  2. Verify the Markdown note and attachments appear in your synced Google Drive folder.
  3. If all works well, activate the workflow to run automatically.

This setup works for both n8n cloud and self-host n8n instances.


Customizations you can make

  • Change Google Drive folders for notes and files by updating Folder IDs in nodes.
  • Edit AI prompt texts to shift note style, length, or metadata included.
  • Add date/time prefixes or suffixes to filenames in the Google Drive node.
  • Expand YAML frontmatter with extra fields like author, priority, or status.
  • Insert extra nodes to create image thumbnails before saving attachments.

Troubleshooting common problems

  • Google Drive upload fails: Refresh OAuth credentials and check folder permissions.
  • AI agent gives bad JSON or empty output: Check prompt syntax and OpenAI API limits.
  • Notes don’t appear in Obsidian: Verify symlink paths and Obsidian Vault settings.

Pre-production checklist

  • Confirm Google Drive credentials and folder IDs are correct.
  • Test trigger node with sample input data.
  • Validate AI-generated note JSON and YAML structure.
  • Check symbolic link creation and synced folder contents.
  • Backup existing Obsidian Vault data before starting.

Deployment guide

When ready, activate the workflow in n8n.
Connect other workflows to its Execute Workflow Trigger node to automate note creation.
Monitor logs for errors or rate limits during use.
Consider adding webhook triggers for external invocations.


Summary of key benefits and results

✓ Saves hours by automating note creation from workflow outputs.
✓ Produces well-structured Markdown notes with metadata for Obsidian.
✓ Automatically handles binary file attachments.
✓ Keeps notes instantly synced between Google Drive and Obsidian Vault.
✓ Easy to configure and customize for different use cases.


Automate Obsidian notes with n8n and Google Drive

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Download the workflow JSON, import it using Import from File in n8n editor, add your Google Drive and OpenAI API credentials, update folder IDs, then test and activate.
Google Drive failures often happen due to expired OAuth credentials or lack of write permissions on the target folder.
Invalid results usually come from prompt errors or hitting OpenAI API usage limits.
Check that symbolic link paths between Google Drive and Obsidian Vault folders are correct and the vault sync options allow the folder.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.