Microsoft Teams
Use the Microsoft Teams node to automate work in Microsoft Teams, and integrate Microsoft Teams with other applications. n8n has built-in support for a wide range of Microsoft Teams features, including channels, channel and chat messages, chat members, online meetings, and tasks.
On this page, you'll find a list of operations the Microsoft Teams node supports and links to more resources.
Operations
Channel
Create
Delete
Get
Get Many
Update
Channel Message
Create
Get
Get Many
Get Many Replies
Reply
Chat Member
Add
Get Many
Chat Message
Create
Get
Get Many
Send and Wait for Response
Online Meeting
Create
Create or Get
Delete
Get
Update
Task
Create
Delete
Get
Get Many
Update
Waiting for a response
By choosing the Send and Wait for a Response operation, you can send a message and pause the workflow execution until a person confirms the action or provides more information.
Response Type
You can choose between the following types of waiting and approval actions:
Approval: Users can approve or disapprove from within the message.
Free Text: Users can submit a response with a form.
Custom Form: Users can submit a response with a custom form.
You can customize the waiting and response behavior depending on which response type you choose. You can configure these options in any of the above response types:
Limit Wait Time: Whether the workflow will automatically resume execution after a specified time limit. This can be an interval or a specific wall time.
Append n8n Attribution: Whether to mention in the message that it was sent automatically with n8n (turned on) or not (turned off).
Approval response customization
When using the Approval response type, you can choose whether to present only an approval button or both approval and disapproval buttons.
You can also customize the button labels for the buttons you include.
Free Text response customization
When using the Free Text response type, you can customize the message button label, the form title and description, and the response button label.
Custom Form response customization
When using the Custom Form response type, you build a form using the fields and options you want.
You can customize each form element with the settings outlined in the n8n Form trigger's form elements. To add more fields, select the Add Form Element button.
You'll also be able to customize the message button label, the form title and description, and the response button label.
Service Principal credential support
The Service Principal (App-Only) credential has no signed-in user, so the Microsoft Teams node can't run operations that act as one. The list below states what's available for each resource. For the unavailable resources and operations, the node hides their fields and shows a notice when you select this credential. A workflow that still uses one of them fails with an error before the node sends any request.
Channel: all operations.
Channel Message: Get, Get Many, and Get Many Replies. Create and Reply aren't available, because app-only Microsoft Graph only supports migration import for channel messages. Use an OAuth2 credential to send channel messages.
Chat Member: not available. The node's chat picker lists the signed-in user's chats, which app-only access can't do, so the node blocks the whole resource, including chats given by ID.
Chat Message: not available. The node sends and reads chat messages as the signed-in user.
Online Meeting: not available. The node creates and manages online meetings as the signed-in user.
Task: all operations. Get Many always lists the tasks of a plan: the node hides the Tasks For option, so Group Member isn't available. The node also hides the Team picker, and the Plan, Bucket, and Assigned To fields accept an ID only.
Refer to Microsoft Entra Service Principal credentials for the application permissions each operation needs.
Templates and examples
Browse Microsoft Teams node documentation integration templates or search all templates
Related resources
Refer to Microsoft Teams' API documentation for more information about the service.
What to do if your operation isn't supported
If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
You can use the credential you created for this service in the HTTP Request node:
In the HTTP Request node, select Authentication > Predefined Credential Type.
Select the service you want to connect to.
Select your credential.
Refer to Custom API operations for more information.
Last updated
Was this helpful?