> ## 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.

# FlowRoute

> Interface exported by @botmesh/core.

Defined in: [flows/inventory.ts:23](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/inventory.ts#L23)

One trigger → handler registration, in registration order.

## Properties

### seq

```ts theme={null}
readonly seq: number;
```

Defined in: [flows/inventory.ts:25](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/inventory.ts#L25)

Registration sequence number; breaks ties in dispatch order (same specificity → lower `seq` wins).

***

### trigger

```ts theme={null}
readonly trigger: Trigger;
```

Defined in: [flows/inventory.ts:27](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/inventory.ts#L27)

The trigger exactly as passed to `bot.when()` / `bot.use()` / `bot.conversation()`.

***

### target?

```ts theme={null}
readonly target?: string;
```

Defined in: [flows/inventory.ts:29](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/inventory.ts#L29)

Conversation entered by this route; `undefined` for a plain `bot.when(trigger, handler)`.


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