## 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`](https://docs.cognigy.com/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`](https://docs.cognigy.com/ai/for-developers/function-reference/input-and-output/output)

**Syntax:** `output: TSayFunction`  **Alias:** `say`  Sends a message to the user.

## [`say`](https://docs.cognigy.com/ai/for-developers/function-reference/input-and-output/say)

**Syntax:** `say: TSayFunction`  **Alias:** `output`  Sends a message to the user.

Last modified on April 21, 2026
