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

# thinkV2

## Syntax

`thinkV2(text, data)`

## Description

Restarts Flow execution with a simulated input using the provided text and data.

**Parameters:**

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

**Returns:** `void`

## Example

```js theme={null}
thinkV2("Check order status", {
  orderId: "A12345",
  customerType: "premium"
});
```
