Documentation

Conversational Flow

A conversational flow is the script your agent follows on every call. You define it as an ordered list of steps in context_breakdown. Each step has a title and a body of instructions for the LLM, and can be enabled or disabled without deleting it.

How steps work

Steps guide the conversation in order — a typical flow opens with an introduction, moves through qualifying questions, and finishes by confirming next steps. The agent still responds naturally and handles interruptions; the steps keep it on track toward your goal.

Example

cURL
curl -X POST "https://bkbharatai.blutec.ai/api/agents/create" \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Sales Agent",
    "welcome_message": "Hello! I am calling about your inquiry.",
    "context_breakdown": [
      {"title": "Introduction", "body": "Introduce yourself and the purpose of the call.", "is_enabled": true},
      {"title": "Qualify", "body": "Ask if they are the decision maker and confirm interest.", "is_enabled": true},
      {"title": "Close", "body": "Summarize next steps and thank them.", "is_enabled": true}
    ],
    "languages": ["en"]
  }'

Best practices

  • Write each step as a clear instruction, not a word-for-word script — the agent phrases it naturally.
  • Keep steps focused on one objective each (introduce, qualify, close).
  • Order matters: list steps in the sequence you want the call to follow.
  • Disable a step with is_enabled: false to A/B test flows without rewriting them.

For the full agent create payload, see the Agent API.