This time, follow the steps below.
Let's set it up together!
- Integrate Microsoft Teams and Dify with My Apps.
- Copy the template "When a message is posted in Microsoft Teams, automatically generate and respond with Dify's chatbot".
- Trigger: Set "When a message is sent to a channel" in Microsoft Teams.
- Set "Send chat message" in Dify.
- Set "Notify Microsoft Teams", turn on the trigger, and you're done.
Step 1: My Apps Integration
Integrating My Apps first will make the subsequent setup smoother.
First, let's integrate the Microsoft Teams you are using with Yoom.
Select My Apps → New Connection from the left side of the Yoom page.

Please search for Microsoft Teams.
Please log in with your email address and password.
Note: Microsoft365 (formerly Office365) has a home plan and a general business plan (Microsoft365 Business), and there is a possibility of authentication failure if you are not subscribed to the general business plan.
Next, integrate with Dify.
Please enter the displayed items.
For API, please refer to here.
Once Microsoft Teams and Dify are displayed in My Apps, the integration is complete.
Step 2: Set Triggers and Actions
This time, we will use this template.
Open the template page and click "Try this template".
If you are using Yoom, please log in, or if you are new, please register as a member.
Once completed, the template is automatically copied to your workspace.
The template name can be changed as needed.
Click My Projects on the left to display the template you just copied.
Click the ellipsis (...) on the right and select Edit.

First, set the app trigger.
Select "When a message is sent to a channel".
You can change the title yourself.
After confirming the account information to be integrated, proceed to the next step without changing the action.
- Trigger activation interval: You can choose from intervals of 5 minutes, 10 minutes, 15 minutes, 30 minutes, and 60 minutes.
*The selection of activation intervals varies depending on the plan.

Once the setup is complete, send a test message to the channel.
*Since the flow bot will be activated for all posts in the channel, it is recommended to create a channel dedicated to questions.

Return to the flow bot settings and test.
If the message from the channel you posted earlier is reflected in the output, save it.
Next, click "Send chat message".
Please also confirm the account information to be integrated.
Proceed to the next step and set the items.

Embed the output in the message content.

Enter other items as desired.
Test this as well, and if the response content, etc., is reflected in the output, save it.
Next, click "Send message to channel".
Set the required items.

Create a message using the output obtained earlier.

Once the selection from the output is complete, test and save.
Finally, turn on the app trigger.
Thank you for your hard work on the setup.
Even I, who am not familiar with programming, was able to set it up easily.
Here is the flow bot used this time ↓