Button pressed
FreeTrigger 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
| Field | Type | Required | Notes |
|---|---|---|---|
| Mode | select | yes | Exact match, By prefix, Any button |
| callback data | text | — | The value (or prefix) to match |
| Save payload to variable | text | — | Saves 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}}"