Write SEO-ready research-backed articles with Gemini, Wikipedia and Gmail
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs when someone submits an n8n form (“Topic to article”). Along the way it connects Google Gemini Chat Model, Wikipedia, Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Topic to article”).
- Research Agent (AI Agent): runs an AI agent, with model: Research Model; 1 tool (Wikipedia)
- Write Draft with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Writer Model
- Edit and Optimise with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Editor Model
- Split Article, Title and Meta (Code): runs custom JavaScript code
- Log Article (Google Sheets): append
- Email the Article (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 (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow collects a topic, audience, and keyword in an n8n form, researches the topic with Wikipedia, writes and SEO-edits a ~500-word article using Google Gemini, then logs the result to Google Sheets and emails the finished article via…