Skip to content

State Triggers Overview

State Triggers pair a URL pattern with one or more quick-action chip messages, so a widget can offer different prompts on different pages.

State Triggers are configured per widget — you add them on the Create Widget screen, scoped to the widget being created.

Each State Trigger has these parts:

  1. URL pattern — The page address the chips are meant for. You can use an exact path, a substring (contains), or a wildcard (*). Examples: /pricing, /about, or https://example.com/contact.
  2. Messages (chips) — One or more short prompts, each a tappable chip. At least one message is required.
  3. Widget — The widget the trigger belongs to.

The rules are stored against the widget, but nothing matches them against the current page today — the widget shows the chips from its Settings tab on every page. See Widget Customization.

On the Create Widget screen:

  1. In the State Triggers section, enter a URL Pattern.
  2. Add one or more Messages — each is a chip. Use Add message for more than one.
  3. Click Add State Trigger to stage it.
  4. Repeat for additional patterns. Staged triggers are saved when you create the widget.

The Create Widget screen accepts three pattern styles and stores whichever you type. What each is intended to match:

Style Example Matches
Exact /pricing Only the /pricing page.
Contains settings Any URL containing settings.
Wildcard /checkout/* Any URL under /checkout/.

You can also use a full URL (e.g. https://example.com/contact) when you want to match a specific absolute address.

Once the widget applies them, each rule is a page-specific set of chips:

  • Page-specific prompts — “Why was I charged twice?” on a billing page, “How do I reset my password?” on an account-security page.
  • Funnel coaching — On checkout pages, prompts that answer common pre-purchase questions.
  • Feature-area help — On a complex settings page, chips mapped to the most-asked questions for that surface.

State Triggers are about chips — short prompts the user can tap. Guides, which are Coming Soon, will be step-by-step walkthroughs instead. Neither is applied by the widget today; for end-to-end task instruction that works now, use the Widget’s Show mode. All of it is part of User Support.