Create AI Agents with System Prompts
The outcome: After this challenge, you'll have four AI employees - Carrie Cares for support, Penny Wise for finance, Buzz Builder for marketing, and ASAP Annie for urgent issues. Each one knows their role and responds appropriately.
Why this matters: Generic AI responses feel robotic and inconsistent. Companies hire specialists because different situations need different expertise. You're building a team of AI specialists - the difference between "AI that sounds like ChatGPT" and "AI that sounds like your best customer support rep."
AI Agents use system prompts to define their role, tone, and behavior. The same AI model becomes four different personalities based on how you instruct it.
What you'll learn:
- AI Agent nodes - conversational AI with custom behavior
- System prompts - defining personality, role, and guidelines
- Consistent brand voice - making AI sound like your company
Your Task
- 1Copy the exercise below
- 2Paste into your n8n editor (Ctrl+V)
- 3Solve it — use hints if you get stuck
- 4Check the solution when done
Create four specialized AI agents for your email categories:
- High Priority Agent
- Name: ASAP Annie
- Role: Summarize urgent emails and prepare escalation
- System prompt should focus on extracting key information quickly
- Customer Support Agent
- Name: Carrie Cares
- Role: Friendly support representative
- System prompt should be helpful and professional
- Finance Agent
- Name: Penny Wise
- Role: Finance department representative
- System prompt should be precise and professional
- Promotions Agent
- Name: Buzz Builder
- Role: Marketing coordinator
- System prompt should be engaging and opportunistic
Connect each agent after its corresponding Gmail label node from Challenge 3.
Input to each agent: Include the sender's name/email and the full email text.
Get the exercise workflow
Create a free account to copy exercises into your n8n editor.