How to Set Up Dify and Slack Integration for Automated Responses with Chatbot
How to Set Up Dify and Slack Integration for Automated Responses with Chatbot
Learn more about Yoom
Try this template
How to Set Up Dify and Slack Integration for Automated Responses with Chatbot
How to Integrate Applications

2025-09-04

How to Set Up Dify and Slack Integration for Automated Responses with Chatbot

m.wadazumi
m.wadazumi

Are you spending too much time replying to messages, leaving other tasks unfinished? 

This common issue can be solved by integrating Slack with Dify to automate your response tasks. With this automation, you can respond to messages smoothly without delays, improving your communication efficiency. 

In this article, we’ll guide you through the step-by-step setup for implementing this automation.

Meet Yoom: No-Code Automation

Yoom is a next-generation no-code automation that lets you connect and automate tasks between your favorite apps. Connecting different apps can be challenging for non-engineers, but Yoom makes automation accessible to everyone.

  • 🌐 Connect with apps like Slack, Dify, and more.
  • 📖 Use automation templates - no technical setup required
  • 📈 Boost productivity and reduce human errors

You don't need to go through a complex setup and IT jargon, you can build your automation workflows with just a few clicks :) It's designed for those who want to streamline their daily work and save hours of time and stress from repetitive work.

👉 Sign Up for Yoom Here – Quick and Easy in Just 30 Seconds!

In this guide, you'll learn the step-by-step process of how to use Yoom to connect Slack and Claude to create a chatbot using Dify and Slack.

✨ Recommended for

  • Support teams managing a high volume of inquiries
  • Anyone who wants to save time on answering frequently asked questions
  • Managers looking to maintain consistent response quality and content

✔️ For Those Who Want to Try It Now

Yoom offers ready-made templates for easy setup in creating an automated response flow by integrating Slack and Dify. Click the "Try it" button to get started now

We'll also walk you through the step-by-step process of creating this automation flow in the following section of this article.


This is the flow where, when a message is posted on Slack, it is automatically generated and responded to by Dify's chatbot.

🚀 Let’s Create a Simple Chatbot Using Slack and Dify

Let's walk through how to set up a flow that automatically generates and sends responses using Dify when messages are posted on Slack.

⏱️ Setup time: 10 minutes

🔧 What You’ll Need

  • A free Yoom account
  • Access to Slack & Dify

If you don’t have a Yoom account yet, register now from this registration form!

Step 1: Register Slack and Dify in Yoom

After logging into Yoom, go to "My Apps" from the left side menu and click "+ Add".

Connect Slack

Search for "Slack" from the app list and select it.

Select the Slack workspace and the channel where messages should be posted.

Click "Allow" to grant permissions and complete the integration.

📚 Reference: For more detailed steps on how to connect Slack, refer to this guide here.

Connect Dify

Similarly, go to "My Apps" from the left side menu, and click the "+ Add" button.

Search for "Dify" from the app list and select it.

Enter the account name. Use a name that's easy to recognize, such as your company name or the person responsible for the account.

To get the access token, refer to this guide for the detailed steps.

Once all the required fields are filled in, click "Add" to complete registration.

__wf_reserved_inherit

Step 2: Copy the Template

Click the "Try It" button to copy the pre-built template into your project.


This is the flow where, when a message is posted on Slack, it is automatically generated and responded to by Dify's chatbot.

Click "Try this template".

__wf_reserved_inherit

Click "OK" and assign a name to the Flowbot for recognition.

The template will be copied to your "My Project".

__wf_reserved_inherit

Step 3: Set Up Slack Trigger

Let’s set up the trigger action. Click on the Slack app trigger item.

__wf_reserved_inherit

Give your trigger a title (optional). Confirm the pre-configured settings and click “Next”.

__wf_reserved_inherit

Set your trigger interval (how often you want Yoom to check Slack for new updates). It can be set to 5 minutes, 10 minutes, 15 minutes, 30 minutes, or 60 minutes. We recommend setting the trigger to the shortest activation interval available for your plan. 

⚠️ Note: The trigger interval varies depending on your Yoom plan. Be sure to check your current plan’s limit.

Select the Channel ID (where you want to check for updates) from the displayed options.

Send a test message to the channel you just specified. It’s recommended to include some questions you want to process with Claude. 

Once you’ve sent the message, click “Test”. If the test succeeds, click “Save”.

Step 4: Generate Text with Dify

Next, let’s set up Dify action. Click on the Dify action item.

Same as before, give an action a title (optional). Confirm the settings, and click “Next”.

__wf_reserved_inherit

Click inside the box, and select “Message Content” from Slack’s retrieved value of the previous action. You can add instructions to Dify here.

By setting it up this way, the value is being referenced, allowing you to use the value obtained by the trigger action directly. If you enter fixed content here, the same result will be generated every time the flow is activated, so make sure to select from the retrieved value instead.

📚 Reference: For more details on retrieved values and how to set them up, see the guide here.

__wf_reserved_inherit


Set the user.
Entering a new value like 'user123' will start a chat as a new user, while entering an existing user's ID will allow you to continue the chat with that user's history.Once the setup is complete, click “Test”. If everything looks good, click “Save”.

__wf_reserved_inherit

Step 5: Send a Message in Slack

Finally, let’s set up to send the generated content by Dify in Slack. Click on the Slack action item.

Select the Destination Channel ID (where you want to post the message) from the displayed options.

__wf_reserved_inherit

Set the Message to be shared on Slack.
Use the retrieved values from the previous actions and customize your message. By setting it up as below, you can automatically send the generated content from Dify to Slack. 

Once set, run a test. If successful, the message will be sent in Slack. Then hit "Save".

__wf_reserved_inherit

Step 6: Activate the Flowbot

Toggle the "Trigger On" button to activate your flow!

Check if the Flowbot you set up is working properly.

That’s it! 🎉 The Flowbot is now complete!

💡 Other Automation Examples of Slack and Dify

By integrating Slack and Dify, you can unlock a wide range of automation possibilities that simplify your workflows. Here are some examples you can explore for your next automation!


This is the flow where, when a message is posted on Slack, it is automatically generated and responded to by Dify's chatbot.

Automation Example Using Slack

Notify Slack When an Event is Created in Google Calendar

Automatically send notifications to Slack when events are created in Google Calendar, ensuring that no scheduled events are missed.


■Overview
Are you spending a lot of time handling inquiries on Microsoft Teams one by one? Responding to routine questions is especially time-consuming. By using this workflow, when a message is posted to Teams, Dify's AI chatbot automatically generates content and replies, reducing the burden on staff and enabling quick responses.

■Recommended for
・Those who spend a lot of time handling routine inquiries on Microsoft Teams
・Those who want to leverage AI such as Dify to streamline customer support or internal help desks
・Team leaders who want to automate manual reply tasks and create an environment that allows focus on core work

■Notes
・Please connect Yoom with both Dify and Microsoft Teams.
・Microsoft 365 (formerly Office 365) has consumer and business plans (Microsoft 365 Business). If you are not subscribed to a business plan, authentication may fail.
・You can choose trigger intervals of 5, 10, 15, 30, or 60 minutes.
・The minimum trigger interval varies by plan, so please be aware.
・Please refer to the following for how to connect Dify My Apps.
https://intercom.help/yoom/en/articles/9618925

Notify Slack When a New Lead is Registered in Salesforce

Every time a lead is registered in Salesforce, receive a notification in Slack, enabling team members to respond promptly.


This is a flow to generate and respond automatically with Dify's chatbot when a message is posted on LINE WORKS.

Automatically Notify Slack of Messages Posted on Google Chat

Automate the process of notifying Slack when messages are posted on Google Chat, eliminating the need for manual transcription and preventing errors. This is especially useful for teams using multiple chat tools.


This is a flow that notifies Slack of messages posted in Google Chat.

Automation Example Using Dify

Create a Response with Dify and Notify via Gmail When an Inquiry Email is Received

Dify can be used not only with Slack but also to automate responses for email inquiries in Gmail, streamlining email management.


This flow creates a response in Dify and notifies Slack when an inquiry is made on HubSpot.

This is a flow to create the response content with Dify and notify it to Chatwork when there is an inquiry in HubSpot.

This is a flow to create a response in Dify and notify Microsoft Teams when there is an inquiry on HubSpot.

Automatically Summarize and Append Content in Google Sheets Using Dify

Automatically summarize and append data in Google Sheets, ensuring consistency and quality in the content you manage.


This is a flow to create response content with Dify and notify on Google Chat when an inquiry email is received in Gmail.

This is a flow to create a reply in Dify and notify Discord when an inquiry email is received in Gmail.

Automatically Generate Text Based on Google Form Responses and Reply via Gmail

Dify can generate text automatically from Google Form submissions and send replies via Gmail, saving your time and effort.


This workflow creates a response in Dify when a new conversation is created in Intercom and notifies Microsoft Teams.

👏 Benefits of Integrating Slack with Dify

Benefit 1: Prevent Overlooked Responses

If you often miss replies on Slack due to a busy schedule, Dify’s chatbot auto-generation can help. For example, when a team member posts a message about the system, Dify can automatically generate a response. This automation ensures consistent answers to team questions and prevents missed responses, enabling smoother task management even when juggling multiple responsibilities.

Benefit 2: Streamlined Workflow

By leveraging Dify’s auto-generation feature, teams can focus on other prioritized tasks rather than spending time on repetitive inquiries. For example, when an inquiry about labor rules is posted, the chatbot can automatically generate a response. Automation enhances individual productivity and provides smoother team workflow, allowing tasks to progress faster and reducing time spent on repetitive inquiries.

📖 Summary

Integrating Slack with Dify allows you to automate message responses, providing instant responses, and ensuring no inquiries go unanswered. In this article, we focused on how to automatically generate and send responses by setting up Dify’s chatbot when a message is posted on Slack. This helps save valuable time, ensure consistency in response, and boost overall productivity.

Best of all, no technical expertise is needed, and anyone can easily set it up! Ready to simplify your workflows? Sign up for Yoom and try it today!

👉 Create your free Yoom account now

With Yoom, you can easily build the kind of collaboration
described here without programming knowledge.
Try Yoom for free
About the Author
m.wadazumi
m.wadazumi
Having transitioned from a career in child welfare to working as a writer, I am currently blogging for Yoom. I am continually amazed by the efficiency improvements Yoom enables and am eager to share this excitement with others to contribute to society. I will be sharing insights on app integrations and automation that even someone like me, with zero programming knowledge, can accomplish.
Tags
Automatic
Automation
Dify
Integration
Notification
Slack
Related Apps