---
title: "Start Chat"
description: "Open a system-initiated conversation on a connected channel and continue when that session ends."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/chat/start-chat"
---
# Start Chat

> Open a system-initiated conversation on a connected channel and continue when that session ends.

<block-meta block="Yes" channels="Any" folder="chat" group="Chat" groupTo="/build/workflows/blocks/chat" hitl="Yes" icon="i-lucide-play-circle" pipe="Value" scope="Any" tool="Yes" type="chat.start-chat">



</block-meta>

**Start Chat** is for **system-initiated** conversations: the [agent](https://docs.vettero.com/build/agents) or [workflow](https://docs.vettero.com/build/workflows) opens a session on a connected [channel](https://docs.vettero.com/build/channels) with a chosen agent (WhatsApp, email, voice call, and similar). Use it when your system should reach someone — not when a person has already started the chat inbound.

The run **waits** until that session finishes, fails, or hits the timeout, then continues. Starting a new chat for the same channel and identifier ends other active sessions for that conversation. **Channel identifier** is required (customer phone, email, or similar). Channel setup is covered on [Channels](https://docs.vettero.com/build/channels).

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Channel
      </strong>
    </td>
    
    <td>
      Connected channel to start on (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Channel identifier
      </strong>
    </td>
    
    <td>
      Customer phone, email, or other conversation id on that channel (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        User identifier
      </strong>
    </td>
    
    <td>
      Optional. The person on that channel. Defaults to the channel identifier
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Agent
      </strong>
    </td>
    
    <td>
      Agent that runs the conversation (required). Linked agents are hidden. A voice channel lists voice and realtime agents. Other channels list non-voice agents (chat, WhatsApp, UI, and general)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Agent input
      </strong>
    </td>
    
    <td>
      Shown when the selected agent has an input schema. Fill each field with a literal or variable
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Timeout (minutes)
      </strong>
    </td>
    
    <td>
      How long to wait for the session to end. Default <strong>
        5
      </strong>
      
      , at least 1
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Generate summary
      </strong>
    </td>
    
    <td>
      After the session ends, generate a summary and save it on that session
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Prompt
      </strong>
    </td>
    
    <td>
      Instructions for that summary (shown when <strong>
        Generate summary
      </strong>
      
       is on)
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after the session ends
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`).

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        sessionId
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Session id of the conversation that was started
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        status
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      <code>
        finished
      </code>
      
       or <code>
        failed
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        reason
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      End reason when present (timeout, superseded, and similar). May be empty on a normal end
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        summary
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Present when <strong>
        Generate summary
      </strong>
      
       is on and a summary was produced
    </td>
  </tr>
</tbody>
</table>

## Use case

- Send a reminder, follow-up, or notification on WhatsApp, email, or another channel from a cron, webhook, or another workflow.
- Place an outbound voice call (for example Exotel Voice Call) by passing the callee number as **Channel identifier**.
- Collect a summary of that conversation before updating a table or sending a message.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
