Automate content publishing with GPT-4 via Google Sheets to email & Slack approval
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when a chat message arrives. Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Slack.
How it runs
Trigger: When a chat message arrives.
- Prepare Publishing Metadata (Edit Fields (Set)): sets 4 fields: intent, topic, content_id…
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Fetch Optimized Draft from Sheets); memory: Short-Term Memory; output parser: Output Parser (JSON Enforcement)
- Save Published Content to Sheets (Google Sheets): append or update
- Send Content for Approval (Gmail): send and wait for a reply
- Check Approval Status (If): checks a condition and branches into true / false
- Publish to Recipient (Gmail): uses Gmail
- Send Success Notification to Slack (Slack): uses Slack
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (11)
- Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger
From the author
Streamline the final stage of your content production workflow by automating publishing, formatting, metadata generation, and approval routing. This AI-powered subworkflow pulls optimized drafts from Google Sheets, enriches them with SEO metadata, converts…