Overview
The system prompt tells the AI:- Who it is (persona/role)
- What it knows (context/knowledge)
- How it should behave (guidelines)
- What it cannot do (constraints)
Writing Effective System Prompts
Structure
Organize your prompt into clear sections:Example System Prompt
Key Components
Identity
Define who the agent is:Business Context
Provide relevant information:Behavioral Guidelines
Specify how the agent should interact:Constraints
Define clear boundaries:Prompt Patterns
Customer Support Agent
Customer Support Agent
Sales Representative
Sales Representative
Appointment Scheduler
Appointment Scheduler
Global vs Node-Specific
The system prompt applies globally. Individual nodes can extend it:Best Practices
Be Specific
Vague prompts lead to inconsistent behavior. Provide concrete guidelines.
Include Examples
Show the AI how to respond in common scenarios.
Set Boundaries
Explicitly state what the agent cannot or should not do.
Test Extensively
Try edge cases and adversarial inputs to verify behavior.
Common Mistakes
Related
Conversation Stage
Stage-specific prompts
Global Settings
Where to configure system prompt
Voice Settings
Complement prompt with voice personality