Skip to main content
navigate makes the web widget call the page’s onNavigate handler with a path and query parameters, so your site can route the end user to pricing, a product, or checkout. It renders nothing in the chat and works only in the web widget. The platform never teaches this block: include the syntax in the persona or a skill context, scoped to the widget, which reports pop as its channel. See Response formatting. Verified against lua-cli 3.33.0.

Syntax

Fields

Example

A reply that sends the end user to the pricing page:
The page receives it through onNavigate:
The handler receives ("/pricing", { query: { source: "chat" } }). With a router, call it instead of setting location.href. Because navigation is immediate, put a sentence before the block so the jump isn’t a surprise.

Where it renders

See also