Generate Cold Emails & Sales Letters with OpenAI GPT & Google Docs via Chat
How it works Trigger: Listens for an incoming chat message Copy Assistant: Feeds the message (plus memory) into an OpenAI Chat Model and exposes two “tools”
Cold Email Writer Tool
Sales Letter Tool•
Tool execution: Depending on the user’s intent, the appropriate tool generates the copy • Save output: Writes the generated email or sales letter into your target document via the Update a document node
Set up steps • Configure your OpenAI Chat Model credentials in n8n (no hard-coded keys!) • Add and authenticate the Simple Memory credential (to keep context across messages) • Create Google Docs (or MS Word) credentials for the Update a document node • Ensure your Chat trigger is pointing at your incoming-message endpoint • Mandatory: Drop sticky-note annotations on each tool node explaining where to enter API keys and how to tweak prompts
Once everything’s wired up, send a test chat message like “Write me a cold email for a fintech startup” and watch the workflow spin up a polished draft in your document.
How to use
Import the workflow JSON into n8n.
Configure your Chat trigger (webhook or form) to receive incoming messages.
Send a chat prompt like:
“Write me a cold email for a B2B SaaS offering.”
The “Copy Assistant” custom GPT picks the right tool (Cold Email or Sales Letter).
Generated copy is written directly into your linked Google Doc or Word document.
Requirements OpenAI API Key (with Chat Completions & Custom GPTs enabled)
Custom Assistant created in your ChatGPT dashboard (Assistant ID pasted into the Chat Model node)
n8n instance (Cloud or self-hosted) with credentials set up for:
Simple Memory (to persist context)
Google Docs or Microsoft Word (for document output)
Customising this workflow Tweak system and user prompts inside the Copy Assistant node to fit your brand voice.
Swap in Slack, Teams or email nodes instead of a document writer to deliver copy where you need it.
Add or remove tools (e.g., “Follow-up Email Writer”) by duplicating the existing tool pattern.
Use sticky-note annotations on every node to explain where to enter API keys, Assistant IDs, or prompt tweaks.
Related Templates
Get Airtable data via AI and Obsidian Notes
I am submitting this workflow for the Obsidian community to showcase the potential of integrating Obsidian with n8n. Whi...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments