Vyyy
03/03/2026, 4:55 PMAI Evy
03/03/2026, 4:55 PMAI Evy
03/03/2026, 4:55 PMAI Evy
03/03/2026, 4:55 PMgeneral_prompt field contains the global prompt appended to the system prompt no matter what state the agent is in. [(2) ]()
For Conversation Flow Agents:
- The global_prompt field is used in every node of the conversation flow. [(3) ]() [(4) ]()
## How to Set Global Prompts
Via API for Conversation Flow:
javascript
const conversationFlowResponse = await client.conversationFlow.create({
model_choice: { model: 'gpt-4.1', type: 'cascading' },
global_prompt: "You are a helpful customer service agent.",
nodes: [
{
id: 'start',
instruction: { text: 'Greet the customer and ask how you can help them.', type: 'prompt' },
type: 'conversation',
},
],
start_speaker: 'agent',
}) ;
[(3) ]()
## Best Practice: Use Sectional Prompts
Break large global prompts into focused sections for better organization: [(5) ]()
///## Identity
You are a friendly AI assistant for [Company Name].
///## Style Guardrails
Be concise: Keep responses under 2 sentences unless explaining complex topics.
Be conversational: Use natural language and contractions.
///## Response Guidelines
Return dates in spoken form: Say "January fifteenth" not "1/15".
Ask one question at a time.AI Evy
03/03/2026, 4:55 PMAI Evy
03/03/2026, 4:55 PM