Draft template docs and assets with OpenAI, Notion, and SMTP email
Ready for 3.0What this workflow does
This AI workflow has 46 nodes and runs when someone submits an n8n form (“Template Publishing Assistant”). Along the way it connects OpenAI and Notion. It also calls raw.githubusercontent.com, api.openai.com and api.notion.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Template Publishing Assistant”).
- Email configuration (Edit Fields (Set)): sets 2 fields: mailFrom, mailTo
- Scan and redact workflow secrets (Code): runs custom JavaScript code
- Analyze uploaded JSON (Code): runs custom JavaScript code
- Read GitHub repository README (HTTP Request): calls raw.githubusercontent.com
- Documentation URL provided? (If): checks a condition and branches into true / false
- AI - Unified documentation (OpenAI): uses OpenAI
- AI - Gumroad delivery and metadata (OpenAI): uses OpenAI
- AI - Visual prompts (OpenAI): uses OpenAI
- Use supplied documentation URL (Code): runs custom JavaScript code
- Wait for canonical README (Merge): merges the data from its input branches
…plus 35 more steps. See the full node list below.
Services it uses
Other OpenAI + Notion templates (157)
HTTP calls to: raw.githubusercontent.com, api.openai.com, api.notion.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Merge
n8n-nodes-base.merge - Send Email
n8n-nodes-base.emailSend - If
n8n-nodes-base.if - Notion
n8n-nodes-base.notion - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow assists in preparing and publishing n8n workflow templates by sanitizing secrets, generating documentation, creating visual assets, and packaging deliverables for distribution. How it works 1. Triggered by uploading an exported…