n8n-nodes-msteams-botframework 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,7 +28,8 @@ class MsTeamsBotFrameworkTrigger {
|
|
|
28
28
|
{
|
|
29
29
|
name: 'default',
|
|
30
30
|
httpMethod: 'POST',
|
|
31
|
-
responseMode: '
|
|
31
|
+
responseMode: '={{$parameter["respondWhen"]}}',
|
|
32
|
+
responseData: '={{$parameter["responseData"]}}',
|
|
32
33
|
path: 'webhook',
|
|
33
34
|
},
|
|
34
35
|
],
|
|
@@ -68,6 +69,64 @@ class MsTeamsBotFrameworkTrigger {
|
|
|
68
69
|
required: true,
|
|
69
70
|
description: 'The events to listen to',
|
|
70
71
|
},
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Respond',
|
|
74
|
+
name: 'respondWhen',
|
|
75
|
+
type: 'options',
|
|
76
|
+
options: [
|
|
77
|
+
{
|
|
78
|
+
name: 'Immediately',
|
|
79
|
+
value: 'immediately',
|
|
80
|
+
description: 'Respond immediately (useful for keeping connection alive)',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: 'When Last Node Finishes',
|
|
84
|
+
value: 'lastNode',
|
|
85
|
+
description: 'Wait for workflow to complete before responding',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'Using Respond to Webhook Node',
|
|
89
|
+
value: 'responseNode',
|
|
90
|
+
description: 'Use a Respond to Webhook node to control the response',
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
default: 'immediately',
|
|
94
|
+
description: 'When to respond to the webhook call',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
displayName: 'Response Data',
|
|
98
|
+
name: 'responseData',
|
|
99
|
+
type: 'options',
|
|
100
|
+
displayOptions: {
|
|
101
|
+
show: {
|
|
102
|
+
respondWhen: ['lastNode'],
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
options: [
|
|
106
|
+
{
|
|
107
|
+
name: 'All Entries',
|
|
108
|
+
value: 'allEntries',
|
|
109
|
+
description: 'Return all entries from the workflow',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'First Entry JSON',
|
|
113
|
+
value: 'firstEntryJson',
|
|
114
|
+
description: 'Return only the JSON of the first entry',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'First Entry Binary',
|
|
118
|
+
value: 'firstEntryBinary',
|
|
119
|
+
description: 'Return only the binary data of the first entry',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: 'No Response Body',
|
|
123
|
+
value: 'noData',
|
|
124
|
+
description: 'Return success status without response body',
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
default: 'allEntries',
|
|
128
|
+
description: 'What data should be returned',
|
|
129
|
+
},
|
|
71
130
|
{
|
|
72
131
|
displayName: 'Options',
|
|
73
132
|
name: 'options',
|