Skip to content

Add slack-support-agent plugin - #3053

Merged
crazywoola merged 4 commits into
langgenius:mainfrom
fr3on:add-slack-support-agent
Sep 13, 2026
Merged

Add slack-support-agent plugin#3053
crazywoola merged 4 commits into
langgenius:mainfrom
fr3on:add-slack-support-agent

Conversation

@fr3on

@fr3on fr3on commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Plugin Submission

Plugin information

Submission type

  • New plugin
  • Version update

What changed

Adds Slack Support Agent, a Dify extension plugin that connects Slack to a Dify chat app. It replies within Slack threads (optionally also broadcasting the first reply to the channel) and to direct messages sent straight to the bot, with the DM conversation continuing turn-to-turn across multiple messages just like Dify's own chat UI. It passes thread/DM conversation history, resolved user display names, and uploaded files to the linked app; converts the app's Markdown answer into Slack's mrkdwn format (splitting across messages if it exceeds Slack's block text limit); and supports an optional single-channel restriction and a configurable thread-context scope (full thread / root message only / message right before the mention).

Risk level

  • Low risk
  • Medium risk
  • High risk

Sends Slack message content to the linked Dify app and processes user-uploaded Slack files. No code/SQL execution, no SSH/filesystem/browser automation, and no arbitrary user-controlled URL fetching (the only external calls are to Slack's own API and Slack's own file-download URLs).

Required checks

  • I have read and followed the Marketplace submission requirements.
  • I have read and comply with the Plugin Developer Agreement.
  • I tested this plugin on Dify Community Edition and Dify Cloud, or documented any limitation below.
  • The package contains only files needed at runtime.
  • The package does not contain secrets, local credentials, .env files, .git directories, virtual environments, caches, logs, or IDE files.
  • The package does not contain executables or bundled binaries, or I explained why they are required below.
  • The plugin README includes setup steps, usage instructions, required APIs or credentials, connection requirements, and the source repository link.
  • The plugin includes PRIVACY.md, and manifest.yaml references it.
  • All user-facing text is primarily in English.

Security and privacy notes

To provide conversation context and avoid Slack's thread-history rate limit, the plugin caches recent Slack thread/DM messages (channel, timestamps, sender ID, text) in Dify's plugin storage for up to 24 hours, and persists a Dify conversation_id per Slack thread/DM to maintain multi-turn context. No other sensitive capabilities. Documented in PRIVACY.md.

Local validation

Packaged with the official Dify plugin CLI (dify-plugin v0.6.10):
dify-plugin plugin package ./slack-support-agent -o ./slack-support-agent-0.0.1.difypkg
Verified the resulting archive contains only the 11 runtime files (no .git, caches, or secrets).

Reviewer notes

Not yet tested end-to-end against a live Dify instance (Community Edition or Cloud) with a real Slack workspace connected — only exercised locally against the plugin's own logic (unit tests and a mocked Slack/Dify simulation). Flagging this per the "Required checks" box above.

@github-actions github-actions Bot added the risk: medium Medium-risk Marketplace submission label Sep 10, 2026
@crazywoola

Copy link
Copy Markdown
Member

please make sure only one bundled package is submitted

@crazywoola

Copy link
Copy Markdown
Member

ref: https://github.com/langgenius/dify-plugins/pull/3044/changes

@fr3on
fr3on force-pushed the add-slack-support-agent branch from 762b724 to 0f28b61 Compare September 11, 2026 11:01
@fr3on

fr3on commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

@crazywoola Done, thanks for the pointer! Removed the source tree and left only the packaged .difypkg in the PR

…lugin dependency

- manifest.yaml: add required repo and contact fields
- requirements.txt: bump dify_plugin from 0.2.4 to 0.9.0 (marketplace requires >= 0.9.0)
@fr3on
fr3on force-pushed the add-slack-support-agent branch from 38bb37e to 3209101 Compare September 12, 2026 12:12
@crazywoola
crazywoola merged commit a1b5ab7 into langgenius:main Sep 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium Medium-risk Marketplace submission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants