n8n Workflow Automation Architect

Expert n8n workflow automation architect specializing in building AI-powered agents with complete implementation details from trigger to output.

Tags

automation
n8n
ai-agent
workflow
integration
api
llm
development
You are an expert n8n workflow automation architect specializing in building AI-powered agents.

I need you to design and build a complete n8n workflow for the following use case:

[DESCRIBE YOUR USE CASE HERE - be specific about what you want automated]

# REQUIREMENTS

## 1. WORKFLOW STRUCTURE
- Design the complete node structure from trigger to output
- Identify all required n8n nodes (HTTP Request, Set, IF, Code, AI Agent, etc.)
- Map data flow between nodes
- Include error handling and fallback logic

## 2. AI AGENT CONFIGURATION
If this workflow needs AI capabilities, specify:
- Which LLM to use (OpenAI, Anthropic, local model)
- System prompt for the agent
- Tools the agent should have access to
- Memory/context management approach
- Token limits and cost optimization

## 3. DATA HANDLING
- Input data structure and validation
- Data transformation steps
- Output format specification
- Database/storage requirements if needed

## 4. INTEGRATION POINTS
For each external service/API:
- Authentication method
- Required API endpoints
- Request/response format
- Rate limiting considerations
- Error handling for API failures

## 5. LOGIC & DECISION MAKING
- All conditional branches (IF nodes)
- Switch/router logic
- Loop conditions
- Retry logic for failures

## 6. STEP-BY-STEP IMPLEMENTATION

Provide:
1. Complete node-by-node breakdown
2. Configuration for each node (exact settings)
3. Code snippets for any Code nodes
4. JSON structure for HTTP requests
5. Expressions for data mapping
6. Credentials setup instructions

## 7. TESTING & VALIDATION
- Test cases to verify workflow works
- Sample input data
- Expected output format
- Edge cases to handle

## 8. OPTIMIZATION
- Suggestions for reducing execution time
- Cost optimization (API calls, LLM tokens)
- Scalability considerations

# OUTPUT FORMAT

Structure your response as:

**WORKFLOW OVERVIEW**
[High-level description of what this workflow does]

**ARCHITECTURE DIAGRAM** (in text)
[Visual representation of node flow using arrows and text]

**NODE CONFIGURATION** (for each node)
Node 1: [Name]
- Type: [Node type]
- Purpose: [What it does]
- Configuration: [Exact settings]
- Code/Expression: [If applicable]
- Connected to: [Next nodes]

**COMPLETE SETUP INSTRUCTIONS**
[Step by step guide to build this in n8n]

**PROMPTS & TEMPLATES**
[Any AI prompts, JSON templates, or expressions needed]

**TESTING GUIDE**
[How to test and validate]

**DEPLOYMENT CHECKLIST**
[Final steps before going live]

# CONSTRAINTS
- Use n8n's native nodes when possible (avoid unnecessary Code nodes)
- Optimize for reliability over complexity
- Include monitoring/logging for production use
- Design for easy debugging
- Keep it maintainable (clear naming, documentation)

Now, build me this workflow with complete implementation details.

## HOW TO USE IT

1. Copy the entire prompt above
2. Replace [DESCRIBE YOUR USE CASE HERE] with your specific automation need
3. Paste into ChatGPT (GPT-4) or Claude (Sonnet 4.5)
4. Get a complete, production-ready n8n workflow design
5. Follow the implementation steps it gives you

Want to save this prompt for later?

Get Promptlight to instantly access all your saved prompts with a keyboard shortcut.

Try Promptlight UI live

Type, search, and enhance right here. It’s interactive.

Enhancer mode

Turn rough drafts into polished prompts.

Switch viaPromptlight iconorTab
  • Drop messy notes and get a structured prompt.
  • Modes like Clarity, Detailed, and Creative.
  • Preview and copy refined output instantly.
  • Grammar and spelling get auto-fixed.
  • Summon anywhere to refine fast.

Everything You Need

Promptlight brings together powerful search, seamless integration, and effortless workflow to make working with AI prompts a breeze.

Lightning-Fast Search

Fuzzy search through your prompts instantly. Find what you need in milliseconds with intelligent matching.

Enhancer Mode

Turn rough prompts into clear, detailed, or creative versions with one click.

Keyboard-First Workflow

Every action in Promptlight is keyboard-first. Launch with a shortcut, browse with a shortcut, copy with a shortcut.

Private & Secure Data

Your prompts are stored locally on your machine. No need to worry about your data being stored online. Your data is always private and secure.

Edit with Any App

Your prompts are plain markdown files. Edit them in VS Code, Obsidian, or any editor—changes sync instantly both ways.

Favorite Prompts

Mark your favorite prompts to pin them for quick access. No need to search for them every time.

Get Started Today

Download Promptlight for free and supercharge your AI workflow.

Download for macOS

Version 1.2.1 • 17.8 MB • macOS 10.13 (High Sierra) or later