Daily morning haiku generation with OpenRouter AI, Google Docs and Gmail
Ready for 3.0Ready 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-10-19.
What this workflow does
This AI workflow has 9 nodes and runs on a schedule (every day at 07:00). Along the way it connects Google Docs, Gmail and OpenRouter Chat Model.
How it runs
Trigger: On a schedule (every day at 07:00).
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model
- Code: runs custom JavaScript code
- Edit Fields (Edit Fields (Set)): sets 2 fields: documentTitle, documentBody
- Create a document (Google Docs): uses Google Docs
- Prepare Append (Edit Fields (Set)): sets 2 fields: docId, text
- Update a document (Google Docs): update
- Send a message (Gmail): uses Gmail
Services it uses
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 (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Google Docs
n8n-nodes-base.googleDocs - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
How it works This workflow automatically generates a new haiku poem every morning using AI, formats it in 5-7-5 structure, saves it to Google Docs, and sends it to your email inbox. Workflow steps: 1. Schedule Trigger – Runs daily at 7:00 AM. 2. AI Agent –…