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

# FlowTriggerOptions

> Interface exported by @botmesh/core.

Defined in: [core/flowRegistry.ts:44](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/flowRegistry.ts#L44)

Options of [Bot.triggerFlow](https://botmesh.afaya.com.co/api/core/classes/Bot.md#triggerflow) (mapped onto [Bot.trigger](https://botmesh.afaya.com.co/api/core/classes/Bot.md#trigger)'s `data` / `body`).

## Properties

### data?

```ts theme={null}
data?: Record<string, unknown>;
```

Defined in: [core/flowRegistry.ts:46](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/flowRegistry.ts#L46)

Shallow-merged into `c.state` before the first step runs (same as [Bot.trigger](https://botmesh.afaya.com.co/api/core/classes/Bot.md#trigger)'s `data`).

***

### ~~state?~~

```ts theme={null}
state?: Record<string, unknown>;
```

Defined in: [core/flowRegistry.ts:48](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/flowRegistry.ts#L48)

#### Deprecated

Use `data`. Alias kept for the alpha; passing both throws a `TypeError`.

***

### body?

```ts theme={null}
body?: string;
```

Defined in: [core/flowRegistry.ts:50](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/flowRegistry.ts#L50)

`ctx.body` of the synthetic triggering message. Default `''`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.