Generate professional emails with custom tones using OpenAI GPT
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 7 nodes and runs when someone submits an n8n form (“AI Email Generator”). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“AI Email Generator”).
- Extract Form Data (Edit Fields (Set)): sets 4 fields: recipient, subject, context…
- Build AI Prompt (Code): runs custom JavaScript code
- Generate Email (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Format Output (Edit Fields (Set)): sets 4 fields: email_body, subject, tone…
- Display Generated Email (n8n Form): shows the next form page
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 (6)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - n8n Form
n8n-nodes-base.form
From the author
AI Email Generator with Tone Selection Made by Biznova on Tiktok 📧 What This Does This workflow creates a professional email generator that allows users to: - Choose from multiple tones (Professional, Friendly, Formal, Casual) - Input recipient details,…