Actions9
- Message Actions
- Activity Actions
- Conversation Actions
- Streaming Actions
Message → Send
AI-generatedSummary
Send a message to a Microsoft Teams conversation using the Bot Framework by specifying the service URL, conversation ID, and message content with optional formatting and additional fields.
Inputs
- Service URL (required) — The service URL from the Bot Framework activity, e.g., https://smba.trafficmanager.net/amer/
- Conversation ID (required) — The conversation ID to which the message will be sent
- Message Text (required) — The text content of the message to send
- Message Type (required) — The format of the message text; can be text, HTML, or markdown
- Attachments — A JSON array string defining any attachments to include with the message
- Entities — A JSON array string of entities such as mentions to include with the message
- Suggested Actions — A JSON object string defining suggested actions to include with the message
Output shape
a single JSON object representing the created message activity response, including the message ID and other metadata
Returns the raw JSON response from the Bot Framework POST /activities endpoint. If an error occurs, detailed error messages are provided. The output can be used to track or update the sent message.
Examples
Example 1: Basic message sending
Service URL, Conversation ID, message text as plain text, and message type set to text
Example 2: Sending a message with attachments and mentions
Includes JSON for attachments and entities fields to enrich message content
Example 3: Sending a markdown formatted message
Sets message type to markdown and provides markdown text in message text field