Daily morning haiku generation with OpenRouter AI, Google Docs and Gmail
Ready for 3.0What 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
Other Gmail + OpenRouter templates (135) · Other Gmail + Google Docs templates (105) · Other Google Docs + OpenRouter templates (27)
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 –…