Skip to main content

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"
});
I