n8n Prompt Library
20 production-ready AI prompts optimized for n8n workflows.
Copy-paste system prompts with model recommendations, cost estimates, and n8n integration tips.
Why This Exists
Building AI workflows in n8n is easy. Writing good prompts for them is hard.
This library gives you battle-tested system prompts that you can drop directly into your n8n OpenAI / Anthropic / Ollama nodes. Each prompt includes:
- The full system prompt text (copy-paste ready)
- Recommended model and temperature settings
- Estimated cost per run
- A user prompt template with
{{placeholders}}for n8n expressions - Real example output
- n8n-specific integration tips
Prompt Categories
Content Generation (5 prompts)
| Prompt | Description | Model | Cost |
|---|---|---|---|
| Twitter Thread Generator | Blog post to 5-7 tweet thread with hooks and CTAs | gpt-4o-mini | ~$0.003 |
| LinkedIn Post Writer | Article to professional LinkedIn post (1200-1800 chars) | gpt-4o-mini | ~$0.003 |
| Instagram Caption Creator | Content to caption with emojis, CTA, and hashtag block | gpt-4o-mini | ~$0.002 |
| Facebook Post Adapter | Content to conversational Facebook post that drives comments | gpt-4o-mini | ~$0.002 |
| YouTube Script Outline | Topic to structured 8-12 min video outline with B-roll ideas | gpt-4o-mini | ~$0.003 |
Data Processing (3 prompts)
| Prompt | Description | Model | Cost |
|---|---|---|---|
| Web Scrape Extractor | Raw HTML to structured JSON with title, data points, sentiment | gpt-4o-mini | ~$0.005 |
| CSV Data Cleaner | Fix dates, names, emails, duplicates in messy CSV data | gpt-4o-mini | ~$0.005 |
| JSON Schema Transformer | Transform JSON between schemas with field mapping rules | gpt-4o-mini | ~$0.003 |
Email (3 prompts)
| Prompt | Description | Model | Cost |
|---|---|---|---|
| Cold Email Writer | Personalized B2B outreach with subject line, no spam triggers | gpt-4o-mini | ~$0.003 |
| Email Reply Generator | Tone-matching replies with action item extraction | gpt-4o-mini | ~$0.003 |
| Newsletter Creator | Bullet points to complete newsletter with sections and CTA | gpt-4o-mini | ~$0.004 |
Classification (3 prompts)
| Prompt | Description | Model | Cost |
|---|---|---|---|
| Email Classifier | Classify into urgent/important/info/spam with confidence score | gpt-4o-mini | ~$0.001 |
| Sentiment Analyzer | Multi-dimensional sentiment with emotion detection and business signals | gpt-4o-mini | ~$0.001 |
| Lead Scorer | Score leads 1-100 based on company, role, engagement, recency | gpt-4o-mini | ~$0.002 |
Customer Support (3 prompts)
| Prompt | Description | Model | Cost |
|---|---|---|---|
| Support Ticket Responder | Empathetic, step-by-step support responses with escalation detection | gpt-4o-mini | ~$0.002 |
| FAQ Matcher | Match questions to FAQ entries with confidence and related suggestions | gpt-4o-mini | ~$0.002 |
| Escalation Detector | Detect frustrated customers, legal threats, churn signals | gpt-4o-mini | ~$0.001 |
SEO (3 prompts)
| Prompt | Description | Model | Cost |
|---|---|---|---|
| Meta Description Writer | 3 variants at 150-160 chars with keyword, benefit, CTA | gpt-4o-mini | ~$0.001 |
| Keyword Extractor | Primary, secondary, long-tail keywords with search intent | gpt-4o-mini | ~$0.002 |
| Blog Title Optimizer | 5 title variants: how-to, listicle, question, power-word, curiosity-gap | gpt-4o-mini | ~$0.001 |
How to Use in n8n
1. Pick a prompt
Browse the categories above and open the JSON file for the prompt you need.
2. Copy the system prompt
Each JSON file has a system_prompt field. Copy this into your n8n AI node's System Message field.
3. Set up the user prompt
Use the user_prompt_template as your User Message. Replace {{placeholders}} with n8n expressions:
// Example: Twitter Thread Generator
// In the User Message field:
Convert this blog post into a Twitter thread:
{{ $json.content }}
4. Configure the model
Each prompt specifies the recommended model and temperature. Set these in your n8n node's parameters.
5. Parse the output
Most prompts return JSON. Use n8n's Code node or JSON Parse to extract the fields you need.
Prompt File Format
Every prompt follows this schema:
{
"id": "unique-slug",
"name": "Display Name",
"category": "content-generation",
"description": "One-line description",
"model": "gpt-4o-mini",
"estimated_cost": "$0.003 per run",
"n8n_node": "OpenAI Chat Model",
"temperature": 0.7,
"max_tokens": 1000,
"system_prompt": "The full system prompt...",
"user_prompt_template": "Template with {{placeholders}}...",
"example_output": "What the prompt produces...",
"tips": ["n8n-specific tips"]
}
Cost Overview
Running all 20 prompts once costs approximately $0.05 with gpt-4o-mini.
| Use Case | Prompts Used | Cost per Run | Daily (50 runs) | Monthly |
|---|---|---|---|---|
| Content repurposing | 4 (Twitter + LinkedIn + IG + FB) | $0.010 | $0.50 | $15 |
| Email automation | 2 (Classifier + Reply) | $0.004 | $0.20 | $6 |
| Support bot | 3 (Responder + FAQ + Escalation) | $0.005 | $0.25 | $7.50 |
| SEO pipeline | 3 (Keywords + Titles + Meta) | $0.004 | $0.20 | $6 |
| Lead pipeline | 2 (Scorer + Cold Email) | $0.005 | $0.25 | $7.50 |
Want to calculate exact costs for your workflow? Use our n8n AI Cost Calculator.
Model Guide
| Task Type | Recommended | Why |
|---|---|---|
| Content generation | gpt-4o-mini | Best quality/cost ratio for creative text |
| Classification | gpt-4o-mini (temp 0.1) | Cheap, fast, accurate for structured output |
| Data extraction | gpt-4o-mini (temp 0.2) | Consistent output at low cost |
| Complex reasoning | gpt-4o | When mini's quality isn't sufficient |
| Free alternative | Llama 3.1 70B (Groq) | Zero cost, good for development |
| Local/private | Mistral 7B (Ollama) | No API calls, data stays local |
Contributing
Have a prompt that works well in your n8n workflows? Contributions are welcome!
- Fork this repo
- Add your prompt JSON to the appropriate category folder
- Follow the schema format above
- Include real, tested
example_output - Submit a PR
Also by Automatia BCN
- autoflow-n8n-workflows — 8 free AI automation workflows for n8n
- n8n-telegram-approval — Human-in-the-loop approval via Telegram
- n8n-cost-calculator — Estimate AI workflow costs before you build
- free-ai-prompts — 90 free AI prompts for ChatGPT, Gemini & more
License
MIT License — free for personal and commercial use.
If these prompts save you time, a star would mean a lot!