Button pressed

Free

Trigger when an inline button is pressed (exact, by prefix, or any).

Triggers when the user taps an inline button. Buttons carry callback data; this trigger matches on it.

Fields

FieldTypeRequiredNotes
ModeselectyesExact match, By prefix, Any button
callback datatextThe value (or prefix) to match
Save payload to variabletextSaves the callback data (useful with prefix mode)

Outcomes

  • default — continue the flow.

How it works

Use Exact for fixed buttons (menu), and By prefix for dynamic buttons whose data encodes an id — e.g. a Dynamic keyboard emitting item:42. Match prefix item: and save the payload to read 42.

Button pressed  mode: prefix  data: "item:"  →  save_var: picked
Send "You picked item {{var.picked}}"