You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7fa0424
Browse filesBrowse the repository at this point in the historyBrowse files
description: Send, update, delete messages, manage views and modals, add or remove reactions, manage canvases, get channel info and user presence in Slack
3
+
description: Send and manage Slack messages, Agent Sessions, streamed replies, views, reactions, conversations, and canvases
@@ -24,6 +24,7 @@ With the Slack integration in Sim, you can:
24
24
-**Read messages**: Retrieve recent messages from channels or DMs, with filtering by time range
25
25
-**Manage channels and users**: List channels, members, and users in your Slack workspace
26
26
-**Download files**: Retrieve files shared in Slack channels for processing within a workflow
27
+
-**Build Slack agents**: Manage Agent Sessions, stream replies, handle stop/title/context events, and configure Agent View actions and suggested prompts for custom bots
27
28
28
29
In Sim, the Slack integration enables your agents to programmatically interact with Slack as part of their workflows. This allows for automation scenarios such as sending notifications with dynamic updates, managing conversational flows with editable status messages, acknowledging important messages with reactions, and maintaining clean channels by removing outdated bot messages. The integration can also be used in trigger mode to start a workflow when a message is sent to a channel.
29
30
@@ -39,7 +40,7 @@ If you encounter issues with the Slack integration, contact us at [help@sim.ai](
39
40
40
41
## Usage Instructions
41
42
42
-
Integrate Slack into the workflow. Can send, update, and delete messages, send ephemeral messages visible only to a specific user, open/update/push modal views, publish Home tab views, create canvases, read messages, and add or remove reactions. Requires Bot Token instead of OAuth in advanced mode. Can be used in trigger mode to trigger a workflow when a message is sent to a channel.
43
+
Integrate Slack messaging and administration into a workflow. Custom Slack bots can manage Agent Sessions, stream incremental Markdown or structured chunks, react to Agent Session events, and configure Agent View suggested prompts. Standard messaging and management operations support both the Sim app and custom bot credentials.
43
44
44
45
45
46
@@ -802,73 +803,159 @@ Get a stable permalink URL to a specific Slack message.
802
803
|`channel`| string | Channel ID containing the message |
803
804
|`permalink`| string | The permalink URL to the message |
804
805
805
-
### Slack Set Assistant Status
806
+
### Slack Set Agent Suggested Prompts
806
807
807
-
Set or clear the assistant thread status indicator (the loading shimmer) on a Slack AI app thread. Pass an empty status to clear it.
808
+
Set suggested prompts in Slack Agent View, optionally scoped to a specific thread.
808
809
809
810
#### Input
810
811
811
812
| Parameter | Type | Required | Description |
812
813
| --------- | ---- | -------- | ----------- |
813
-
|`authMethod`| string | No |Authentication method: oauth or bot_token|
814
-
|`botToken`| string | No |Bot token for Custom Bot|
815
-
|`channel`| string | Yes |Channel ID containing the assistant thread \(e.g., C1234567890 or D1234567890\)|
816
-
|`threadTs`| string |Yes|Thread timestamp \(thread_ts\) of the assistant thread\(e.g., 1405894322.002768\)|
817
-
|`status`|string|No|Status text to display, e.g. 'Working on it…'. Omit or pass an empty string to clear the status.|
818
-
|`loadingMessages`|json| No | Optional list of messages to rotate through as an animated loading indicator \(max 10\).|
814
+
|`authMethod`| string | No |Slack authentication method|
| ↳ `text`| string | Message text content. For slash commands, the text after the command. For interactivity, the source message text \(falls back to the triggering action value\)|
1910
1997
| ↳ `timestamp`| string | Message timestamp from the triggering event |
1911
1998
| ↳ `thread_ts`| string | Parent thread timestamp \(if message is in a thread\)|
1999
+
| ↳ `streaming_message_ts`| array | Message timestamps streamed during a stopped agent session |
2000
+
| ↳ `title`| string | Current agent session title |
2001
+
| ↳ `previous_title`| string | Previous agent session title |
2002
+
| ↳ `tab`| string | App Home tab that was opened, including messages for Agent View |
2003
+
| ↳ `context`| json | Current Agent View context. Normalized from context on app_context_changed/app_home_opened or app_context on message.im |
0 commit comments