Run a routine from a Slack event: Grok Bot prompt
An event-triggered routine, tested.
Are you the creator? Ask us to remove this.
Create a routine that starts only when [SLACK EVENT, e.g. a message in #channel containing "needs repro"] happens and runs /[SKILL]. Keep the matching rule narrow and never trigger on every message. Before enabling, tell me exactly what will trigger it, then run one test on a safe example that stops before posting, sending, or changing anything.
Fill in
- [SLACK EVENT, e.g. a message in #channel containing "needs repro"]
- [SKILL]
Connectors
Slack (Cursor integration)
Uses this feature
When should I use “Run a routine from a Slack event”?
Use “Run a routine from a Slack event” when you want the bot to do this job: “Create a routine that starts only when [SLACK EVENT, e.g. a message in #channel containing "needs repro"] happens and runs /[SKILL].” It is written to start when this happens: “when [SLACK EVENT, e.g. a message in #channel containing "needs repro"] happens and runs /[SKILL].” Try it on one real case before you save it to run the next time that happens.
What do I replace in “Run a routine from a Slack event” before I send it?
In “Run a routine from a Slack event”, where it says “that starts only when [SLACK EVENT, e.g. a message in #channel containing "needs repro"] happens and runs”, put the slack event you mean and where it says “[SKILL]”, put the skill you mean. Send it without [SLACK EVENT, e.g. a message in #channel containing "needs repro"] and [SKILL] still sitting in the text. Connect Slack on the bot first.
What output should I expect from “Run a routine from a Slack event”?
A finished run of “Run a routine from a Slack event” looks like this: “An event-triggered routine, tested.” Check the reply against the job you gave it: “Create a routine that starts only when [SLACK EVENT, e.g. a message in #channel containing "needs repro"] happens and runs /[SKILL].”
What goes wrong if I shorten “Run a routine from a Slack event”?
“Run a routine from a Slack event” is still the same job only while this stays in it: “Keep the matching rule narrow and never trigger on every message.” If a shorter draft of “Run a routine from a Slack event” drops that sentence, put it back before you run the prompt.