Skip to content

Commit 11aa51e

Browse files
committed
improve slack docs
1 parent 2a00ca9 commit 11aa51e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/integrations/slack.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,17 @@ the `/windmill` command in your Slack workspace to trigger the Script. Try it
9393
out with `/windmill foo` and you should get back `ROGER foo`. Go ahead and
9494
customize the Script to your needs.
9595

96+
In addition to response_url, the script/flow can use the following parameters, simply by having them as inputs with the proper name:
97+
98+
```
99+
channel_id
100+
user_name
101+
user_id
102+
command
103+
trigger_id
104+
api_app_id
105+
```
106+
96107
![Use the Windmill command](../assets/integrations/slack-5-slack-command.png.webp)
97108

98109
You won't be able to have Slack interact with your [resources](../core_concepts/3_resources_and_types/index.mdx) and [variables](../core_concepts/2_variables_and_secrets/index.mdx) before adding them to the `slack` [group](../core_concepts/8_groups_and_folders/index.mdx#groups) that was automatically created by Windmill after you set up your Slack workspace on Windmill. Tutorial below.

0 commit comments

Comments
 (0)