Send a test message
Post one message to a rule’s destination — a channel, or the person it direct-messages — so somebody can see what routing looks like before switching it on. Give connection_id and user_id instead of rule to send the same card to one person with no rule at all, which is how somebody answers "can this instance reach me in Slack?" before writing anything. It is the real card with invented content, not "Hello from Datum". The rule’s filter is deliberately not consulted: the question is whether the token, the scope and the bot’s membership of the channel are in order, and a test that also had to find a matching event would fail on a quiet workspace for a reason that has nothing to do with what was being tested. It reports sent: false with a reason rather than throwing, because every failure here is one somebody can fix. Pass the event’s data.event_id as event_id for actions responding to an event; Datum derives the retry key. Add idempotency_key only to separate workflows for the same event/tool. Completed retries return the first result even if text changes, with replayed: true and input_differed: true when different.
Parameters
Validate and render the card without posting or consuming a cooldown.
Optional retry key (1–200 characters). Prefer event_id for event-driven actions; add this key only to distinguish workflows acting on the same event. Completed retries return the first result even if input changes, with replayed: true and input_differed: true when different. Retained for 30 days.
Pass the event’s data.event_id on any action taken in response to an MCP event. Datum derives the retry key from workspace, tool, principal and event; add idempotency_key only to separate workflows. Unknown, foreign or erased events return NOT_FOUND.
The rule whose destination to post a test message to. The rule’s filter is not consulted: this proves the destination is reachable, not that anything matches.
With user_id: send the sample card to a person with no rule at all. The Slack Web API connection that posts it.
With connection_id: the person to direct-message, as Slack’s U…/W… id. This is the "can this instance reach me in Slack?" question, asked before any rule exists.
CLI flags
Event data.event_id; derives a retry key for 30 days
Optional retry key or workflow discriminator with --event-id (1–200 characters; 30 days)
Send the sample card to this person instead (Slack’s U… id)
The same, resolved through the connection’s member list
With --user: the Slack connection that posts it