Greeting Message Behavior

Agents can start conversations in different ways depending on the configured greeting mode.
The greeting_message_mode field controls whether the agent waits for the human to speak first or delivers a greeting automatically.

greeting_message_mode

Defines how the agent starts the conversation and how the greeting message is delivered.

ModeDescription
humanThe agent waits for the human to speak first. No greeting is played automatically.
agent_staticThe agent immediately speaks the configured greeting_message once the call is established.
agent_dynamicThe agent dynamically generates a greeting using the agent prompt and speaks it once the call is established.

Example

1{
2 "greeting_message_mode": "agent_static"
3}

Notes

  • agent_static uses the exact text provided in greeting_message.
  • agent_dynamic ignores the static greeting_message value and generates the greeting using the agent’s prompt context.
  • human mode is useful when the caller is expected to initiate the conversation (for example, inbound support calls).

greeting_message_human_talk_timeout

Defines how long the agent waits for the human to speak when greeting_message_mode is set to human.

If the caller does not speak within the configured time, the agent will automatically start the conversation.

FieldTypeNullableExample
greeting_message_human_talk_timeoutintegeryes3

Example

1{
2 "greeting_message_mode": "human",
3 "greeting_message_human_talk_timeout": 3
4}

Behavior

  1. The call connects.
  2. The agent waits for the human to speak.
  3. If the human speaks → the agent responds normally.
  4. If the timeout is reached → the agent automatically begins the conversation.

Complete Example

Example with agent static mode:

1{
2 "agent": {
3 "greeting_message": "Hello! How can I help you today?",
4 "greeting_message_mode": "agent_static"
5 }
6}

Example with agent dynamic mode:

1{
2 "agent": {
3 "greeting_message": "",
4 "greeting_message_mode": "agent_dynamic"
5 }
6}

Example with human-first mode with 3-second timeout and dynamic greeting message:

1{
2 "agent": {
3 "greeting_message_mode": "human",
4 "greeting_message_human_talk_timeout": 3
5 }
6}

Example with human-first mode with 3-second timeout and static greeting message:

1{
2 "agent": {
3 "greeting_message_mode": "human",
4 "greeting_message_human_talk_timeout": 3,
5 "greeting_message": "Hello! How can I help you today?"
6 }
7}