Skip to main content

Overview

The first_message field allows your AI agent to start the conversation automatically with a predefined greeting, instead of waiting for the user to speak first.

Basic Usage

Add first_message to your session configuration:
When the session starts, the agent will immediately speak this message to greet the user.

Examples

Professional Assistant

Customer Support

Interview Bot

Casual Companion

Best Practices

  • Keep it brief: Short, welcoming messages work best
  • Match your brand: Use language that fits your application’s tone
  • Stay consistent: Use similar greetings across sessions

Optional Field

The first_message field is optional. If you don’t include it, the session will start in listening mode, waiting for the user to speak first.