Send message action allows to send a chat message in specified channel or to the user's personal chat in Microsoft Teams. To use this action you need to install skybow Solution Communicator for MS Teams.
Example of Send message action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
Note 1: In order to use the Send message action in Scheduled/Triggered Actions skybow Teams Connector has to be approved by a tenant administrator and site has to be added to Approved sites list before this action can be used. Learn more about skybow M365 Connectors
Note 2: When you deploy the solution to another SharePoint tenant, it requires approval of skybow Teams Connector on the deployment tenant as well.
To configure the action Send message additional properties should be specified:
Configuration
Property | Required | Type | Description |
Send message to | yes | String |
There are several options to send the message in Microsoft Teams:
|
Team | yes | String | Specify the Id or the name of the team |
Channel | yes | String | Specify the Id or the name of the channel |
Users | yes | String | Email addresses or an expression to be evaluated as the email addresses to be used as receivers of the message. The email addresses can be separated by semicolons or commas (";" or “,”). |
Message | yes | String | Actual message to be sent. You can type text directly into the Message field or use Expressions to dynamically generate this. |
Message is an adaptive card | no | Boolean |
|
Placeholders
- [[@Functions.Mention('people picker field with one or many users')]] - this placeholder is available only in Send message action (Context->Functions) and allows you to use only placeholders (i.e. [[@Functions.Mention([[SinglePerson]])]]).
- @mention('email') or @mention('email', 'displayName') - you can use this placeholder to mention someone in the message. This placeholder can be used in Send message action only.
Availability
Modern Forms | List Actions | Scheduled/Triggered Actions |
- | - | ✓ |
Output
Output Parameter | Type | Description |
TeamId | String | Returns the Id of the team |
ChannelId | String | Returns the Id of the channel |
UserEmails | String | Returns the email(s) of the receiver(s) of the message |
Message | String | Returns the message that was sent |