Automations

Wait Mismatch

When a customer sends the “wrong” kind of message while an Ask or wait is open, Automations applies an onMismatch policy instead of inventing a fake button tap or double-replying with live FAQ.

Not a separate node type

Wait Mismatch is configured on Ask / wait nodes (onMismatch). The canvas may show a mismatch port when you use cancel_and_reroute. It is not Meta WhatsApp Flows.

Free text ≠ Interactive default

Unmatched option ids still use the Interactive default port. Free text and wrong-type inbound use Wait Mismatch policies — never faked as a button id.

Policies

nudge (default)

Send a short “please use the buttons / share a pin / submit the form” style hint. Wait stays open. Button tap / pin / form submit / correct free text still resumes.

clarify

Send custom clarify text (mismatchClarifyText; expressions allowed, including {{vars.mismatchText}}). Wait stays open.

answer_then_remind

One outbound that answers the free-text (channel AI) and reminds them of the open Ask. Wait stays open. Needs a bound AI provider; otherwise falls back to clarify/nudge. Cap with mismatchMaxSideReplies.

cancel_and_reroute

End the wait and continue on the mismatch canvas port. Sets vars.mismatchText / mismatchReason / mismatchWaitKind. Publish requires the mismatch edge to be wired (otherwise WAIT_MISMATCH_UNWIRED).

Covered waits (v1)

Media waits are out of Wait Mismatch v1 — they keep prior media-wait behavior until the product contract is amended.

Cancel → AI Brain pattern

  1. Set Ask onMismatch = cancel_and_reroute
  2. Wire the mismatch port to AI Brain
  3. Brain Input text: {{vars.mismatchText}} (also vars.mismatchWaitKind)
  4. Declare intents (FAQ / stay in flow / Run automation / handoff) and wire each intent port to fixed nodes — Brain does not free-jump the canvas

Portal: open Automations, select an Ask node → Parameters → Unexpected reply (Wait Mismatch).

Ownership tip

Prefer exclusive inbound reply ownership so live FAQ does not also answer the same mismatch turn. Mismatch handling claims and satisfies the inbound turn when it sends or reroutes.

Related