M365 Agent Trigger icon

M365 Agent Trigger

Receive activities from Azure Bot Service. Validates JWT, parses Activity, exposes conversationReference + activity envelope.

M365 Agent Trigger

AI-generated

Summary

Inputs

None.

Output shape

object

M365 Agent Trigger (Default) receives incoming activities from Azure Bot Service (M365 Agent) via HTTP POST, validates JWT based on the selected authentication kind, optionally filters by activity type, channel, and invoke name, and outputs an envelope object containing conversationReference, activity, parsed activity, raw activity, plus optional invokeName and authContext. If filtering excludes the activity, the node returns an empty workflow with a 200 HTTP response.

Examples

Example 1: Receive a message activity from Microsoft Teams and continue the workflow.

Authentication Kind = Classic Bot (Azure Bot Service); Response Mode = Immediate (onReceived); Activity Filter Mode = Simple; Activity Types = Message; Channel Filter = Microsoft Teams; Invoke Names = (empty).

Links

Discussion