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
- Check if incoming data has binary files with an If node.
- If binary data exists, save files separately to Google Drive.
- Use an AI LangChain Agent node to create a Zettelkasten style note from raw JSON input.
- Pass the note to a second AI agent to generate YAML frontmatter metadata.
- Restructure the AI output JSON into fields: title, content, frontmatter, and references.
- Save the formatted Markdown note text including frontmatter into Google Drive in the synced folder.
- 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
- Click the Download button on this page to get the workflow JSON file.
- Open your n8n editor.
- Click on the menu and choose “Import from File”.
- Select the downloaded JSON file to load the workflow.
Configure Credentials and Settings
- Go to Credentials in n8n and add or update Google Drive OAuth credentials.
- Make sure your OpenAI API Key is added for the LangChain Agent nodes.
- Update the Google Drive folder IDs if needed in Google Drive nodes.
- Check and edit the filename expression to fit your naming preferences.
- Review the AI agent prompt texts; copy and paste prompts from this guide if needed to improve note style.
Test and Activate
- Run a test by triggering input JSON data in the Execute Workflow Trigger node.
- Verify the Markdown note and attachments appear in your synced Google Drive folder.
- 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.
