> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Input and Output

The *Input and Output* functions handle communication for a conversation.
You can use `say` to send messages to the user and `addToInput` to pass data to the next Node.

## [`addToInput`](/ai/for-developers/function-reference/input-and-output/addToInput)

**Syntax:** `addToInput(key, value)`

Writes a value into the Input object for the execution.
This function allows you to store data in the Input object, which can be accessed later in the execution context.

## [`output`](/ai/for-developers/function-reference/input-and-output/output)

**Syntax:** `output: TSayFunction`

**Alias:** `say`

Sends a message to the user.

## [`say`](/ai/for-developers/function-reference/input-and-output/say)

**Syntax:** `say: TSayFunction`

**Alias:** `output`

Sends a message to the user.
