Short answer: In TinyCommand, add the Slack App Mentioned trigger to a workflow and publish. It listens through a Slack webhook and fires your workflow within seconds of the event, with no polling and no code. Add a filter if you only want some events to start a run.
Drop it on the canvas. Configure a couple of fields. Publish.
You don’t need to read this. TinyCommand auto-maps every field into the visual picker so downstream nodes can pull values by clicking. We show it here for power users who want to know what’s on the wire.
{"raw": {"type": "event_callback","event": {"ts": "1712835600.000100","text": "<@U_BOT> help me with something","type": "app_mention","user": "U0123DEF","channel": "C0123ABC","event_ts": "1712835600.000100"},"token": "verification_token","team_id": "T1234567890","event_id": "Ev1234567890","api_app_id": "A1234567890","event_time": 1712835600},"text": "help me with something","user": "U0123DEF","channel": "C0123ABC"}
Every field below can be referenced by name in any action or filter that comes after this trigger.
| Field | Type | Example |
|---|---|---|
| raw | object | { … } |
| raw.type | string | "event_callback" |
| raw.event | object | { … } |
| raw.event.ts | string | "1712835600.000100" |
| raw.event.text | string | "<@U_BOT> help me with something" |
| raw.event.type | string | "app_mention" |
| raw.event.user | string | "U0123DEF" |
| raw.event.channel | string | "C0123ABC" |
| raw.event.event_ts | string | "1712835600.000100" |
| text | string | "help me with something" |
| user | string | "U0123DEF" |
| channel | string | "C0123ABC" |