Actions9
- Message Actions
- Activity Actions
- Conversation Actions
- Streaming Actions
Activity → Send Activity
AI-generatedSummary
Send a custom activity message to a specified Microsoft Teams conversation using the Bot Framework API, optionally supporting streaming activity types for progressive content delivery.
Inputs
- Service URL (required) — The service URL from the Bot Framework activity to which the request is sent, e.g. https://smba.trafficmanager.net/amer/
- Conversation ID (required) — The ID of the conversation to which the activity will be sent.
- Stream Type — Optional streaming type for this activity; can be 'none' (default) for no streaming, 'informative' to show a status message, 'streaming' to stream content progressively, or 'final' to send the final streaming message.
- Activity Text — The text content of the activity message to send.
- Activity Type — The type of activity to send (e.g., 'message', 'typing', 'event'); only applicable when Stream Type is 'none'.
- Stream ID — The stream ID from a previous start stream request, required for 'streaming' or 'final' stream types.
- Stream Sequence — The sequence number for the stream; used for 'informative' or 'streaming' stream types to indicate message order.
Output shape
a JSON object representing the created activity, including the activity ID and stream ID if applicable
For streaming activities, the output includes a streamId field from the Bot Framework response to track the stream. Regular activities return the API response JSON for the posted activity. Errors from the Bot Framework API are returned as node errors or included in the output if continue on fail is enabled.