@@ -22,50 +22,67 @@ export const microsoftTeamsWebhookTrigger: TriggerConfig = {
2222 } ,
2323
2424 outputs : {
25- type : {
26- type : 'string' ,
27- description : 'Type of Teams message (e.g., message)' ,
28- } ,
29- id : {
30- type : 'string' ,
31- description : 'Unique message identifier' ,
32- } ,
33- input : {
34- type : 'string' ,
35- description : 'Input message' ,
36- } ,
37- timestamp : {
38- type : 'string' ,
39- description : 'Message timestamp' ,
40- } ,
41- localTimestamp : {
42- type : 'string' ,
43- description : 'Local timestamp of the message' ,
44- } ,
45- serviceUrl : {
46- type : 'string' ,
47- description : 'Microsoft Teams service URL' ,
48- } ,
49- channelId : {
50- type : 'string' ,
51- description : 'Teams channel ID where the event occurred' ,
52- } ,
53- from_id : {
54- type : 'string' ,
55- description : 'User ID who sent the message' ,
56- } ,
57- from_name : {
58- type : 'string' ,
59- description : 'Username who sent the message' ,
25+ // Expose the raw Teams message payload at the root for direct access
26+ id : { type : 'string' , description : 'Raw message ID' } ,
27+ code : { type : 'string' , description : 'Code (nullable)' } ,
28+ from : {
29+ id : { type : 'string' , description : 'Sender ID' } ,
30+ name : { type : 'string' , description : 'Sender name' } ,
31+ role : { type : 'string' , description : 'Sender role (nullable)' } ,
32+ aadObjectId : { type : 'string' , description : 'AAD Object ID' } ,
6033 } ,
61- conversation_id : {
62- type : 'string' ,
63- description : 'Conversation/thread ID' ,
34+ name : { type : 'string' , description : 'Top-level name (nullable)' } ,
35+ text : { type : 'string' , description : 'Message HTML content' } ,
36+ label : { type : 'string' , description : 'Label (nullable)' } ,
37+ speak : { type : 'string' , description : 'Speak (nullable)' } ,
38+ value : { type : 'string' , description : 'Value (nullable)' } ,
39+ action : { type : 'string' , description : 'Action (nullable)' } ,
40+ locale : { type : 'string' , description : 'Locale (e.g., en-US)' } ,
41+ summary : { type : 'string' , description : 'Summary (nullable)' } ,
42+ callerId : { type : 'string' , description : 'Caller ID' } ,
43+ entities : { type : 'array' , description : 'Array of entities (clientInfo, ...)' } ,
44+ channelId : { type : 'string' , description : 'Channel ID (msteams)' } ,
45+ inputHint : { type : 'string' , description : 'Input hint (nullable)' } ,
46+ listenFor : { type : 'string' , description : 'Listen for (nullable)' } ,
47+ recipient : { type : 'string' , description : 'Recipient (nullable)' } ,
48+ relatesTo : { type : 'string' , description : 'RelatesTo (nullable)' } ,
49+ replyToId : { type : 'string' , description : 'Reply to ID (nullable)' } ,
50+ timestamp : { type : 'string' , description : 'Timestamp' } ,
51+ topicName : { type : 'string' , description : 'Topic name (nullable)' } ,
52+ valueType : { type : 'string' , description : 'Value type (nullable)' } ,
53+ expiration : { type : 'string' , description : 'Expiration (nullable)' } ,
54+ importance : { type : 'string' , description : 'Importance (nullable)' } ,
55+ serviceUrl : { type : 'string' , description : 'Service URL' } ,
56+ textFormat : { type : 'string' , description : 'Text format (plain)' } ,
57+ attachments : { type : 'array' , description : 'Array of attachments' } ,
58+ channelData : {
59+ team : { id : { type : 'string' , description : 'Team ID' } } ,
60+ tenant : { id : { type : 'string' , description : 'Tenant ID' } } ,
61+ channel : { id : { type : 'string' , description : 'Channel ID' } } ,
62+ teamsTeamId : { type : 'string' , description : 'Teams team ID' } ,
63+ teamsChannelId : { type : 'string' , description : 'Teams channel ID' } ,
6464 } ,
65- text : {
66- type : 'string' ,
67- description : 'Message text content' ,
65+ conversation : {
66+ id : { type : 'string' , description : 'Composite conversation ID' } ,
67+ name : { type : 'string' , description : 'Conversation name (nullable)' } ,
68+ role : { type : 'string' , description : 'Conversation role (nullable)' } ,
69+ isGroup : { type : 'boolean' , description : 'Is group conversation' } ,
70+ tenantId : { type : 'string' , description : 'Tenant ID' } ,
71+ aadObjectId : { type : 'string' , description : 'AAD Object ID (nullable)' } ,
72+ conversationType : { type : 'string' , description : 'Conversation type (channel)' } ,
6873 } ,
74+ deliveryMode : { type : 'string' , description : 'Delivery mode (nullable)' } ,
75+ membersAdded : { type : 'array' , description : 'Members added (nullable)' } ,
76+ localTimezone : { type : 'string' , description : 'Local timezone' } ,
77+ localTimestamp : { type : 'string' , description : 'Local timestamp' } ,
78+ membersRemoved : { type : 'array' , description : 'Members removed (nullable)' } ,
79+ reactionsAdded : { type : 'array' , description : 'Reactions added (nullable)' } ,
80+ semanticAction : { type : 'string' , description : 'Semantic action (nullable)' } ,
81+ textHighlights : { type : 'string' , description : 'Text highlights (nullable)' } ,
82+ attachmentLayout : { type : 'string' , description : 'Attachment layout (nullable)' } ,
83+ historyDisclosed : { type : 'boolean' , description : 'History disclosed (nullable)' } ,
84+ reactionsRemoved : { type : 'array' , description : 'Reactions removed (nullable)' } ,
85+ suggestedActions : { type : 'string' , description : 'Suggested actions (nullable)' } ,
6986 } ,
7087
7188 instructions : [
0 commit comments