Create reusable prompt templates that can be shared across multiple agents for consistent behavior and reduced maintenance
Global Prompts are reusable instruction templates that can be assigned to multiple agents, enabling you to maintain consistent behavior, policies, and guidelines across your entire agent ecosystem without duplicating content.
Global prompts are appended to an agent’s system prompt at runtime. When a conversation starts:
The agent’s base system prompt is loaded
All assigned global prompts are retrieved from the database
Global prompts are concatenated and appended to the system prompt
The combined prompt guides the agent’s behavior throughout the conversation
Copy
// Final System Prompt StructureFinal System Prompt = Base System Prompt + Node-Specific Instructions + Global Prompt 1 + Global Prompt 2 + ... (up to 10 global prompts)
Runtime Injection: Global prompts are dynamically injected when the agent initializes, ensuring agents always use the latest version without requiring manual updates.
Enforce consistent policies across all customer-facing agents:
Brand Voice & Tone
Communication style guidelines
Language and terminology standards
Personality and character traits
Customer interaction principles
Legal & Compliance
Data privacy policies
GDPR/CCPA compliance rules
Disclosure requirements
Terms of service references
Example Global Prompt:
Copy
COMPANY VOICE GUIDELINES:- Always use a friendly, professional tone- Address customers by their first name when known- Never make promises we can't keep- Escalate pricing questions to human agents- Follow our brand voice: Helpful, Clear, and Trustworthy
Technical Constraints
Define technical rules and output formatting requirements:
Copy
OUTPUT FORMATTING RULES:- Always respond in valid JSON when using structured output- Maximum response length: 500 characters for each response- Include source citations for all factual claims- Use markdown formatting for emphasis- Never output sensitive information (passwords, API keys, etc.)API USAGE GUIDELINES:- Always verify data before calling external tools- Use the KB-Search tool before answering factual questions- Handle API errors gracefully with fallback responses
Technical Prompts: Keep technical constraints in separate global prompts from behavioral guidelines for better organization.
Industry-Specific Knowledge
Share domain expertise and terminology across specialized agents:
Healthcare
Copy
HEALTHCARE GUIDELINES:- Never provide medical advice- Use HIPAA-compliant language- Direct users to healthcare professionals- Understand medical terminology- Be empathetic and supportive
Financial Services
Copy
FINANCIAL GUIDELINES:- Provide educational info only- Include regulatory disclaimers- Never give investment advice- Explain financial terms clearly- Prioritize security and privacy
Agent Coordination
Coordinate behavior across agent teams for seamless experiences:
Copy
HANDOFF PROTOCOL:- Always capture: name, email, and inquiry type before handoff- Use the transfer_to_agent tool for complex requests- Provide context summary when neededAGENT SPECIALIZATIONS:- Sales Agent: Handle purchases and product inquiries- Support Agent: Technical issues and troubleshooting- Billing Agent: Invoices, payments, and account questionsWhen a user's request is outside your expertise, immediatelytransfer to the appropriate specialized agent.
Seasonal Campaigns
Quickly deploy campaign-specific messaging across all agents:
Copy
HOLIDAY SALE CAMPAIGN (Dec 1-31, 2024):- Mention our "Holiday Special: 25% off all products"- Offer free shipping on orders over $50- Highlight gift wrapping services- Promote extended return policy through January 15- Use festive but professional languageRESPONSE EXAMPLES:- "Great timing! We're offering 25% off during our holiday sale."- "Would you like free shipping? Orders over $50 qualify!"
Quick Deployment: Create a campaign global prompt, assign it to all agents, and remove it when the campaign ends-no need to edit individual agents.
Maximum Limit: Each agent can have up to 10 global prompts assigned
Current Usage: The UI shows how many prompts each agent already has
Multi-Select: Assign one prompt to multiple agents at once
Instant Update: Changes take effect immediately for new conversations
Assignment Limit: If an agent already has 10 global prompts, you must remove one before assigning another. This prevents prompt overload that could affect agent performance.
Before saving, review how your prompt will appear:
Copy
# Your Global Prompt PreviewThis is how your prompt content will be appended to theagent's system prompt. You can use:- **Bold text** for emphasis- `code blocks` for technical instructions- Lists for structured guidelines- Clear headings for organization
Click the Edit icon next to the prompt you want to modify
2
Make Changes
Update the prompt content, name, or agent assignments
3
Save Changes
Click “Save” to deploy updates to all assigned agents immediately
4
Verify Update
Test a conversation with an assigned agent to confirm the changes
Immediate Effect: Changes to global prompts affect all assigned agents immediately for new conversations. Existing conversations continue using the version from when they started.
Managing Assignments
You can modify agent assignments at any time:
Add Agents
Select additional agents from the dropdown
Respect the 10-prompt limit per agent
Changes apply immediately
Remove Agents
Uncheck agents to remove assignments
Agent reverts to base system prompt
No impact on other agents
Bulk Operations: You can assign one prompt to many agents or remove it from many agents in a single operation.
Deleting Prompts
When you delete a global prompt:
⚠️ Deletion Impact
The prompt is immediately removed from all assigned agents
Agents revert to using only their base system prompts
Deletion is permanent and cannot be undone
Active conversations will not experience behavior changes
Best Practice: Before deleting, export or copy the prompt content in case you need to recreate it later. Consider removing agent assignments first to test the impact before full deletion.
When configuring an individual agent, you can see all assigned global prompts:
1
Open Agent Settings
Navigate to your agent’s configuration page
2
Find Instructions Section
Look for the “Global Prompts” section in the Instructions or System Prompt area
3
View Assignments
See a list of all global prompts currently assigned to this agent
4
Manage from Prompts Page
Click “Manage Prompts” to navigate to the Prompts dashboard for editing
Read-Only in Agent Settings: While you can view assigned global prompts in agent settings, you must use the Prompts dashboard to modify them. This prevents accidental changes that would affect multiple agents.
❌ Combined: “Brand Voice and Data Privacy and Formatting”
Clear & Concise Writing
Writing Guidelines:
Use clear, direct language
Bullet points for rules and lists
Examples to illustrate expectations
Avoid ambiguity and vagueness
Structure:
Copy
GOAL: [What this prompt achieves]RULES:- Rule 1 with specific guidance- Rule 2 with concrete examplesEXAMPLES:- Good: [Example response]- Bad: [What to avoid]
Avoid Conflicts
Conflict Prevention:
Review all prompts assigned to an agent
Ensure instructions don’t contradict
Test combined behavior thoroughly
Use clear priority indicators if needed
Warning Signs:
Copy
❌ Prompt 1: "Always be brief, max 2 sentences"❌ Prompt 2: "Provide detailed explanations"✅ Prompt 1: "For FAQs: Be brief, max 2 sentences"✅ Prompt 2: "For complex inquiries: Provide details"
Solution: Review all prompt layers and resolve conflicts
Prompt Not Applied
Assignment didn’t save properly
Prompt was removed after conversation started
Caching issues in the system
Solution: Verify assignment, start new conversation
Debug Steps:
Check Prompts dashboard - is the agent listed as assigned?
View agent settings - do global prompts appear in instructions?
Start a fresh conversation (old ones use old prompts)
Test with a clear, simple instruction to verify prompt is active
Check for conflicting instructions in other prompt layers
Prompt Limit Reached
When you can’t assign more prompts:
1
Identify Low-Value Prompts
Review all 10 assigned prompts and identify which are least critical
2
Consolidate If Possible
Combine related prompts into a single, comprehensive prompt
3
Remove Outdated Prompts
Delete expired campaigns or obsolete guidelines
4
Prioritize Current Needs
Remove lower-priority prompts to make room for more critical ones
10-Prompt Limit: This limit prevents prompt overload which can confuse the AI and degrade performance. If you consistently need more, consider consolidating related prompts or embedding some instructions in the agent’s base system prompt.
Performance Issues
If agents respond slowly after adding prompts:
Prompt Length
Very long prompts increase token usage
More tokens = higher latency and cost
Aim for concise, focused instructions
Optimization: Remove unnecessary examples and verbose explanations
Too Many Prompts
8-10 prompts may be excessive
Each adds processing overhead
Complex instruction sets confuse the AI
Optimization: Consolidate related prompts, remove redundant ones
Token Budget: Each global prompt adds to the system prompt, consuming tokens from your model’s context window. Keep prompts concise to preserve space for conversation history.
Scenario: Global prompt says “Always be brief”Node Prompt: “For this technical explanation, provide detailed step-by-step instructions”Result: Node-specific prompt takes precedence for that node
Use Case: Node Enhancement
Scenario: Global prompt defines brand voiceNode Prompt: “Apply brand voice while explaining our refund policy”Result: Both prompts work together harmoniously
Global prompts work with both text and voice agents:
Voice-Specific Prompts
Copy
VOICE CONVERSATION GUIDELINES:- Keep responses under 30 seconds- Use natural, conversational language- Avoid complex terminology- Confirm understanding before proceeding- Use verbal cues like "I understand" or "Got it"
Channel-Agnostic Prompts
Copy
GENERAL CUSTOMER SERVICE RULES:- Always be polite and professional- Never share personal customer data- Escalate billing issues to specialists- Follow GDPR data handling rules(These apply to text, voice, and all channels)
Voice Considerations: Voice agents benefit from shorter, more conversational prompts. Consider creating voice-specific versions of your global prompts for optimal performance.
Use global prompts across different deployment channels:
Standard prompts with UI Engine formatting
Add brevity guidelines, avoid complex formatting
Conversational tone, shorter responses
More formal, can be longer and detailed
Channel Detection: You can create channel-specific global prompts and assign them only to agents deployed on those channels for optimal user experience.
Moving from Agent-Specific Prompts to Global Prompts
1
Identify Common Instructions
Review your agents and find instructions that are duplicated across multiple agents
2
Create Global Prompts
Extract common instructions into global prompts with descriptive names
3
Assign to Agents
Assign the new global prompts to all relevant agents
4
Remove Duplicates
Remove the duplicated instructions from individual agent prompts
5
Test Thoroughly
Verify each agent still behaves correctly with the new global prompts
Migration Testing: Always test agents in a development environment before removing instructions from production agents. Ensure global prompts are properly assigned and working before cleanup.