Teams Actions
Teams Actions allow you to interact with Microsoft Teams messaging.
Actions
teams.send_message
Send message to a specific Teams channel
Parameters:
webhook - URL of the channel webhook, as given in Microsoft Teams.
message - Message to be sent on channel
Returns:
This action has no returns
Exceptions:
NotificationFailed - Returns the error if message could not be delivered on channel webhook
Usage Example
Creating a Webhook
To interact with Teams, first of all, it is necessary to create a webhook on your channel, to integrate with Marvin.
Configure Channel
Go to your Teams "Team" tab and click on ...
on the channel you want to add webhook then Connectors
Add Incomming Webhook
At connector list, select Incoming Webhook
connector and click Configure
Configure Incoming Webhook
Now you can configure your webhook with a Name and Avatar image. After that click on Create
button
Webhook created
Now your webhook is done, copy the URL returned, this is the value you will pass as webhook parameter