← Lesson
BitWithBite
n8n Automation · Quick Reference

Project 2 — AI-Powered Workflow Cheat Sheet

n8n Automation
In one line: Your final project combines N8N's automation power with GPT-4's intelligence. You will build a fully autonomous content pipeline: enter a topic once, and the workflow researches...

Key Ideas

1The AI Content Pipeline Full Workflow Architecture 1. Webhook Trigger — receives: topic, target_audience, tone ↓ 2. OpenAI Node (Research) — prompt: "List 7 key facts about: [topic]" ↓ 3. OpenAI Node (Outline) — prompt: "Create SEO blog outline using: [facts]" ↓ 4. OpenAI Node (Write) — prompt: "Write 800-word blog post from outline" ↓ 5. OpenAI Node (Social) — prompt: "Create LinkedIn post + Twitter thread from article" ↓ 6. Google Docs Node — create new doc, paste blog post ↓ 7. Gmail Node — email yourself: doc link + social media copy Section 2 Step-by-Step Build Guide 1 Set Up the Webhook Trigger Add a Webhook trigger. Test it by sending a POST request with JSON body: {"topic": "N8N automation", "audience": "marketers", "tone": "professional"}. You can trigger this from Postman, a simple HTML form, or even a Slack slash command. 2 Add the Research OpenAI Node OpenAI node. Model: gpt-4. System: "You are a research assistant. Be factual and concise." User: "List 7 key facts about: {{ $json.topic }}. Target audience: {{ $json.audience }}." Rename this node "Research" for clarity. 3 Add the Outline OpenAI Node Another OpenAI node. System: "You are an SEO content strategist." User: "Create a structured blog post outline using these facts: {{ $('Research').item.json.message.content }}" Rename this node "Outline". 4 Write the Full Article Third OpenAI node. System: "You are a professional content writer. Write in a {{ $('Webhook').item.json.tone }} tone." User: "Write an 800-word blog post for {{ $('Webhook').item.json.audience }} using this outline: {{ $('Outline').item.json.message.content }}" 5 Generate Social Media Copy Fourth OpenAI node. System: "You write viral social media content." User: "From this blog post, create: 1) A LinkedIn post (150 words) 2) A Twitter/X thread (5 tweets). Article: {{ $('Write').item.json.message.content }}" 6 Save to Google Docs & Email Google Docs node: Create a new document titled {{ $('Webhook').item.json.topic }} — {{ $now }}. Then Gmail node: send yourself the doc URL plus the social media copy. Activate the workflow, fire it, and watch content appear in minutes. 🎯 You built an AI employee. This workflow does the work of a researcher, content writer, and social media manager in under 2 minutes — for every topic you give it. That is the power of N8N + AI. You are now an automation builder. 🎉 Course Complete — You Did It! You have finished all 12 lessons and 2 real projects. You are now an N8N Automation Builder! Mark Complete ✓ ← Previous Project 1: Full Automation Workflow Return → Course Home 🎓 You've Completed N8N Workflow Automation!. Claim your official certificate — includes a unique ID and scannable QR code for instant verification.

Code Examples

1. Webhook Trigger — receives: topic, target_audience, tone ↓ 2. OpenAI Node (Research) — prompt: "List 7 key facts about: [topic]" ↓ 3. OpenAI Node (Outline) — prompt: "Create SEO blog outline using: [facts]" ↓ 4. O...