# Draft template docs and assets with OpenAI, Notion, and SMTP email

> 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 n8n workflow JSON file through the Upload workflow form trigger. 2. The Email configuration node sets sender and recipient email addresses for notifications. 3. The uploaded workflow JSON is scanned and sanitized by Scan and redact workflow secrets to remove sensitive information. 4. The sanitized workflow is analyzed in Analyze uploaded JSON to extract metadata and prepare for documentation. 5. The latest repository README is fetched by Read GitHub repository README for reference. 6. AI nodes generate unified documentation (AI - Unified documentation), Gumroad delivery page content (AI - Gumroad delivery and metadata), and visual prompts (AI - Visual prompts). 7. Visual prompts are used to generate thumbnail and cover images via Ope

- **Domain**: `n8n-workflow-22117.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/22117
- Page (HTML): https://agenstry.com/agents/n8n-workflow-22117.n8n.io
- Documentation: https://n8n.io/workflows/22117
