Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a new built-in tool of Slack Incoming Webhook #4067

Merged
merged 1 commit into from May 4, 2024

Conversation

ericyangpan
Copy link
Contributor

Description

Add a new built-in tool of Slack Incoming Webhook to send message.

Fixes #4066

Type of Change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  1. Create a new Agent.
  2. Add a workflow of the new added Slack Incoming Webhook built-in tool.
  3. Create a Slack App in your Slack workspace.
  4. Get Slack Incoming Webhook url from Slack App interface.
  5. Config the webhook url to the built-in tool.
  6. Run the Agent to trigger an invoke of the Slack Incoming Webhook built-in tool.
  7. Got the message in Slack.

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 💪 enhancement New feature or request 🔨 feat:tools Tools for agent, function call related stuff. labels May 3, 2024
@takatost takatost requested a review from Yeuoly May 3, 2024 14:24
Copy link
Collaborator

@Yeuoly Yeuoly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 4, 2024
@Yeuoly Yeuoly merged commit 5940564 into langgenius:main May 4, 2024
7 checks passed
@gabilanbrc
Copy link

Hi there. I'm not able to find it in the built in list. I have already checked and the slack folder is included in api\core\tools\provider\builtin
image
Am I missing something obvious?

rennokki pushed a commit to rennokki/dify that referenced this pull request May 9, 2024
@takatost takatost mentioned this pull request May 9, 2024
evnydd0sf pushed a commit to evnydd0sf/dify that referenced this pull request May 10, 2024
@gabilanbrc
Copy link

Hi Team, after installing the 0.6.7 version I am receiving messages in Slack (for example with the text answered by an Agent), thanks for the update. My plan is to create a Slackbot that interacts with Dify. So the question is how to implement the part of receiving messages from slack and then using is as inputs for the Agent? Thanks in advance (maybe I will create an issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request 🔨 feat:tools Tools for agent, function call related stuff. lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Slack Incoming Webhook Message
3 participants