by solaoi · v0.0.5
Slack bot plugin for thread replies (optionally posting the first reply to the channel), mrkdwn formatting, referencing thread history and user list, and optional usage channel restriction.
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Read this in other languages: 日本語, 简体中文, Português.
Author: solaoi Version: 0.0.5 Type: extension
Slack bot plugin for thread replies (optionally posting the first reply to the channel), Slack file uploads, mrkdwn formatting, referencing thread history and user list, and optional usage channel restriction.
mrkdwn formatting in replieschannel_id, thread_ts) from a linked app[!NOTE] The
channel_idandthread_tsare primarily provided for advanced use cases. In most scenarios, you likely won't need to use them. However, if you have the Slack Post plugin installed, these parameters can be conveniently leveraged to post messages to specific channels or threads, enabling deeper integration between Slack Thread Bot and your apps.
To install this plugin, specify the following GitHub repository when selecting "Install Plugin":
https://github.com/solaoi/dify-plugin-slack-thread-bot
Follow the same setup procedure as the official SlackBot plugin. However, this plugin requires different scopes:
app_mentions:read, users:read, channels:history, groups:history, chat:write, groups:write, channels:read,
groups:read, files:read
For details on how to set up the official SlackBot plugin, see:
https://github.com/langgenius/dify-official-plugins/blob/main/extensions/slack_bot/README.md
In the start node of the chat flow app that you link to this plugin, you can reference the conversation history and the list of users in the thread using the following arguments:
| INPUT FIELD | FIELD TYPE |
|---|---|
| thread_history | Paragraph, Max length (e.g., 65535) |
| thread_users | Paragraph, Max length (e.g., 65535) |
| files | File List |
| thread_ts | Short Text, Max length (e.g., 48: Default) |
| channel_id | Short Text, Max length (e.g., 48: Default) |
Example (LLM node in the chat flow app):
You are an assistant on Slack who answers user questions.
Refer to the recent conversation history and provide an appropriate response.
If you need to mention a specific user, refer to the user list and mention them in the format `<@ID>`.
# Recent conversation history
Start.thread_history
# User list
Start.thread_users