dify icon indicating copy to clipboard operation
dify copied to clipboard

Enable slack_webhook tool to request webhook URL based on Slack workflow

Open mabuchs opened this issue 2 years ago • 0 comments

Self Checks

  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I'd like to create agent app on dify. Since my slack workspace uses many workflows, I'd like dify agent to send requests to incoming webhook URL for workflows (https://hooks.slack.com/workflows/xxxxxxxxxx).
Since current URL validation doesn't allow this url, I can't achieve it. https://github.com/ericyangpan/dify/blob/e7d0640c8b556c4c3d08aa809cf1433f9dd716f9/api/core/tools/provider/builtin/slack/tools/slack_webhook.py#L23

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [X] I am interested in contributing to this feature.

mabuchs avatar Jul 07 '24 03:07 mabuchs