Skip to content

Commit 9535373

Browse files
feat(slack): add slash command triggers
1 parent 4484c85 commit 9535373

12 files changed

Lines changed: 320 additions & 241 deletions

File tree

apps/docs/content/docs/integrations/slack.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,7 @@ A **Trigger** is a block that starts a workflow when an event happens in this se
19121912

19131913
### Slack
19141914

1915-
Trigger from Slack events (mentions, messages, reactions)
1915+
Trigger from Slack events, interactions, and slash commands
19161916

19171917
#### Configuration
19181918

@@ -1934,6 +1934,7 @@ Trigger from Slack events (mentions, messages, reactions)
19341934
| `emoji` | string | No | Comma-separated emoji names to restrict to. Leave empty to match any emoji. |
19351935
| `nameContains` | string | No | Only fire when the created channel name contains this text. |
19361936
| `interactionFilter` | string | No | Comma-separated action_ids \(buttons/selects\) or callback_ids \(modals\) to restrict to. Leave empty to fire on any interaction. |
1937+
| `commandFilter` | string | No | Restrict this trigger to one slash command. Leave empty to fire for every command configured on the bot. |
19371938
| `filterBotMessages` | boolean | No | Ignore messages sent by other bots. This app's own output is always ignored. |
19381939
| `includeOwnMessages` | boolean | No | Also fire on this app's own messages and reactions. Can cause loops — use with care. |
19391940
| `includeFiles` | boolean | No | Download and include file attachments from messages. Requires files:read. |

0 commit comments

Comments
 (0)