## Syntax

`think(text, data)`

## Description

Restarts Flow execution with a simulated input. **Parameters:**

- `text`: `string` — simulated input text.
- `data`: `Record<string, unknown>` — simulated input data.

**Returns:** `void`

## Example

```
think("I want to book a flight", {
  userLocation: "Berlin",
  destination: "Paris"
});
```

Last modified on March 19, 2026
