@camunda/connectors-element-templates 1.0.3 → 1.0.5

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.
Files changed (77) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +8 -2
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +323 -9
  5. package/src/element-templates/asana-connector.json +101 -101
  6. package/src/element-templates/automation-anywhere-outbound-connector.json +1777 -961
  7. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  8. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  9. package/src/element-templates/aws-dynamodb-outbound-connector.json +1373 -1373
  10. package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
  11. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  12. package/src/element-templates/aws-eventbridge-connector-start-event.json +23 -23
  13. package/src/element-templates/aws-eventbridge-outbound-connector.json +326 -326
  14. package/src/element-templates/aws-lambda-outbound-connector.json +231 -231
  15. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  16. package/src/element-templates/aws-sns-inbound-boundary.json +285 -285
  17. package/src/element-templates/aws-sns-inbound-intermediate.json +33 -33
  18. package/src/element-templates/aws-sns-inbound-message-start.json +227 -227
  19. package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
  20. package/src/element-templates/aws-sns-outbound-connector.json +370 -370
  21. package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
  22. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +532 -532
  23. package/src/element-templates/aws-sqs-outbound-connector.json +396 -396
  24. package/src/element-templates/aws-sqs-start-event-connector.json +389 -389
  25. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  26. package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
  27. package/src/element-templates/blue-prism-connector.json +13 -13
  28. package/src/element-templates/box-outbound-connector.json +30 -30
  29. package/src/element-templates/easy-post-connector.json +121 -121
  30. package/src/element-templates/email-outbound-connector.json +233 -233
  31. package/src/element-templates/github-connector.json +1259 -1259
  32. package/src/element-templates/github-webhook-connector-boundary.json +35 -35
  33. package/src/element-templates/github-webhook-connector-intermediate.json +31 -31
  34. package/src/element-templates/github-webhook-connector-start-event.json +34 -34
  35. package/src/element-templates/gitlab-connector.json +3333 -3333
  36. package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
  37. package/src/element-templates/google-drive-outbound-connector.json +414 -101
  38. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  39. package/src/element-templates/google-maps-platform-connector.json +489 -0
  40. package/src/element-templates/google-sheets-outbound-connector.json +2468 -2468
  41. package/src/element-templates/graphql-outbound-connector.json +1113 -1113
  42. package/src/element-templates/http-json-connector.json +2202 -1290
  43. package/src/element-templates/http-polling-boundary-catch-event-connector.json +6 -6
  44. package/src/element-templates/http-polling-connector.json +6 -6
  45. package/src/element-templates/hugging-face-connector.json +34 -34
  46. package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
  47. package/src/element-templates/jdbc-outbound-connector.json +36 -36
  48. package/src/element-templates/kafka-inbound-connector-boundary.json +540 -540
  49. package/src/element-templates/kafka-inbound-connector-intermediate.json +585 -585
  50. package/src/element-templates/kafka-inbound-connector.json +603 -0
  51. package/src/element-templates/kafka-outbound-connector.json +261 -261
  52. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  53. package/src/element-templates/microsoft-teams-outbound-connector.json +98 -98
  54. package/src/element-templates/openai-connector.json +517 -159
  55. package/src/element-templates/operate-connector.json +569 -53
  56. package/src/element-templates/power-automate-connector.json +1724 -0
  57. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +132 -132
  58. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +941 -941
  59. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +459 -459
  60. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +269 -269
  61. package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
  62. package/src/element-templates/salesforce-connector.json +44 -44
  63. package/src/element-templates/sendgrid-outbound-connector.json +787 -255
  64. package/src/element-templates/slack-inbound-boundary.json +215 -215
  65. package/src/element-templates/slack-inbound-intermediate.json +178 -178
  66. package/src/element-templates/slack-inbound-message-start.json +323 -323
  67. package/src/element-templates/slack-inbound-start-event.json +212 -212
  68. package/src/element-templates/slack-outbound-connector.json +777 -522
  69. package/src/element-templates/twilio-connector.json +29 -29
  70. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  71. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  72. package/src/element-templates/uipath-connector.json +8 -8
  73. package/src/element-templates/webhook-connector-boundary.json +1133 -1133
  74. package/src/element-templates/webhook-connector-intermediate.json +1380 -1380
  75. package/src/element-templates/webhook-connector-start-event.json +1370 -1370
  76. package/src/element-templates/webhook-connector-start-message.json +1171 -1171
  77. package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
@@ -0,0 +1,1724 @@
1
+ [
2
+ {
3
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
+ "name": "Power Automate connector",
5
+ "id": "io.camunda.connectors.PowerAutomate.v1",
6
+ "deprecated": {
7
+ "message": "Replace with 'Power Automate' template.",
8
+ "documentationRef": "https://marketplace.camunda.com/en-US/apps/427601/power-automate-connector"
9
+ },
10
+ "version": 1,
11
+ "description": "Orchestrate your Power Automate flows with Camunda",
12
+ "icon": {
13
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='96' height='96' viewBox='0 0 96 96' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='filter0_f'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='0.4' result='effect1_foregroundBlur'/%3E%3C/filter%3E%3Cfilter id='filter1_f'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='4' result='effect1_foregroundBlur'/%3E%3C/filter%3E%3ClinearGradient id='paint0_linear' x1='43' y1='55' x2='29' y2='10' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%230D36A5'/%3E%3Cstop offset='1' stop-color='%231152D4'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear' x1='46' y1='10' x2='46' y2='86' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2384CAFF'/%3E%3Cstop offset='1' stop-color='%2361B1FB'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint2_linear' x1='37.5' y1='10' x2='37.5' y2='86' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%233B90F5'/%3E%3Cstop offset='1' stop-color='%232A78EE'/%3E%3C/linearGradient%3E%3CclipPath id='clip0'%3E%3Crect width='96' height='96' fill='white'/%3E%3C/clipPath%3E%3CclipPath id='clip1'%3E%3Crect width='96' height='96' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23clip0)'%3E%3Cg clip-path='url(%23clip1)'%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='-1' y='10' width='97' height='76'%3E%3Cpath d='M61.2116 10C62.3496 10 63.4337 10.4847 64.1925 11.3328L94.6136 45.3328C95.9723 46.8514 95.9723 49.1486 94.6136 50.6672L64.1925 84.6672C63.4337 85.5153 62.3496 86 61.2116 86H3.94634C0.488777 86 -1.34012 81.9095 0.965366 79.3328L29 48L0.965366 16.6672C-1.34012 14.0905 0.488777 10 3.94634 10H61.2116Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Cpath d='M63 10L29 48L-5 10H63Z' fill='url(%23paint0_linear)'/%3E%3Cg filter='url(%23filter0_f)'%3E%3Cpath d='M63 10.4L-5 86.4H63L97 48.4L63 10.4Z' fill='black' fill-opacity='0.24'/%3E%3C/g%3E%3Cg filter='url(%23filter1_f)'%3E%3Cpath d='M63 12L-5 88H63L97 50L63 12Z' fill='black' fill-opacity='0.32'/%3E%3C/g%3E%3Cpath d='M-5 86L63 10L97 48L63 86H-5Z' fill='url(%23paint1_linear)'/%3E%3Cpath d='M-5 86L63 10L80 29L29 86H-5Z' fill='url(%23paint2_linear)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A"
14
+ },
15
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/power-automate/",
16
+ "category": {
17
+ "id": "connectors",
18
+ "name": "Connectors"
19
+ },
20
+ "appliesTo": ["bpmn:Task"],
21
+ "elementType": {
22
+ "value": "bpmn:ServiceTask"
23
+ },
24
+ "groups": [
25
+ {
26
+ "id": "operation",
27
+ "label": "Operation"
28
+ },
29
+ {
30
+ "id": "authentication",
31
+ "label": "Authentication"
32
+ },
33
+ {
34
+ "id": "configuration",
35
+ "label": "Configuration"
36
+ },
37
+ {
38
+ "id": "input",
39
+ "label": "Input"
40
+ },
41
+ {
42
+ "id": "output",
43
+ "label": "Output"
44
+ },
45
+ {
46
+ "id": "errors",
47
+ "label": "Error handling"
48
+ }
49
+ ],
50
+ "properties": [
51
+ {
52
+ "type": "Hidden",
53
+ "value": "io.camunda:http-json:1",
54
+ "binding": {
55
+ "type": "zeebe:taskDefinition",
56
+ "property": "type"
57
+ }
58
+ },
59
+ {
60
+ "label": "Operation type",
61
+ "id": "operationType",
62
+ "group": "operation",
63
+ "type": "Dropdown",
64
+ "value": "getStatusOfFlowRun",
65
+ "choices": [
66
+ {
67
+ "name": "Get the status of a flow run",
68
+ "value": "getStatusOfFlowRun"
69
+ },
70
+ {
71
+ "name": "Get flow outputs",
72
+ "value": "getFlowOutputs"
73
+ },
74
+ {
75
+ "name": "Trigger a flow run",
76
+ "value": "triggerFlowRun"
77
+ }
78
+ ],
79
+ "binding": {
80
+ "type": "zeebe:input",
81
+ "name": "operationType"
82
+ }
83
+ },
84
+ {
85
+ "label": "Organization URI",
86
+ "description": "Dynamics 365 URL. <a href=\"https://learn.microsoft.com/en-us/power-apps/developer/data-platform/discovery-service\">Find your organization url</a>. See also <a href=\"https://learn.microsoft.com/en-us/power-automate/web-api#compose-http-requests\">this page</a>",
87
+ "group": "configuration",
88
+ "type": "String",
89
+ "value": "",
90
+ "binding": {
91
+ "type": "zeebe:input",
92
+ "name": "organizationUri"
93
+ },
94
+ "constraints": {
95
+ "notEmpty": true
96
+ }
97
+ },
98
+ {
99
+ "type": "Hidden",
100
+ "value": "=organizationUri + \"/.default\"",
101
+ "binding": {
102
+ "type": "zeebe:input",
103
+ "name": "authentication.scopes"
104
+ },
105
+ "condition": {
106
+ "property": "authenticationType",
107
+ "equals": "oauth-client-credentials-flow"
108
+ }
109
+ },
110
+ {
111
+ "label": "Type",
112
+ "id": "authenticationType",
113
+ "group": "authentication",
114
+ "description": "Choose the authentication type",
115
+ "type": "Dropdown",
116
+ "choices": [
117
+ {
118
+ "name": "Bearer token",
119
+ "value": "bearer"
120
+ },
121
+ {
122
+ "name": "OAuth 2.0 client credentials",
123
+ "value": "oauth-client-credentials-flow"
124
+ }
125
+ ],
126
+ "binding": {
127
+ "type": "zeebe:input",
128
+ "name": "authentication.type"
129
+ }
130
+ },
131
+ {
132
+ "label": "Bearer token",
133
+ "group": "authentication",
134
+ "type": "String",
135
+ "feel": "optional",
136
+ "binding": {
137
+ "type": "zeebe:input",
138
+ "name": "authentication.token"
139
+ },
140
+ "constraints": {
141
+ "notEmpty": true
142
+ },
143
+ "condition": {
144
+ "property": "authenticationType",
145
+ "equals": "bearer"
146
+ }
147
+ },
148
+ {
149
+ "group": "authentication",
150
+ "label": "OAuth token endpoint",
151
+ "description": "Find out more <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/power-automate/#oauth-token-endpoint\">here</a>",
152
+ "type": "String",
153
+ "value": "",
154
+ "feel": "optional",
155
+ "binding": {
156
+ "type": "zeebe:input",
157
+ "name": "authentication.oauthTokenEndpoint"
158
+ },
159
+ "constraints": {
160
+ "notEmpty": true
161
+ },
162
+ "condition": {
163
+ "property": "authenticationType",
164
+ "equals": "oauth-client-credentials-flow"
165
+ }
166
+ },
167
+ {
168
+ "label": "Client Id (secret ID)",
169
+ "description": "Microsoft Azure Application Client id. <a href=\"https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application\">See where to find it</a>",
170
+ "group": "authentication",
171
+ "type": "String",
172
+ "feel": "optional",
173
+ "binding": {
174
+ "type": "zeebe:input",
175
+ "name": "authentication.clientId"
176
+ },
177
+ "constraints": {
178
+ "notEmpty": true
179
+ },
180
+ "condition": {
181
+ "property": "authenticationType",
182
+ "equals": "oauth-client-credentials-flow"
183
+ }
184
+ },
185
+ {
186
+ "label": "Client secret (Client secret value)",
187
+ "description": "Microsoft Azure Application Client Secret value. <a href=\"https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application\">See where to find it</a>",
188
+ "group": "authentication",
189
+ "type": "String",
190
+ "feel": "optional",
191
+ "binding": {
192
+ "type": "zeebe:input",
193
+ "name": "authentication.clientSecret"
194
+ },
195
+ "constraints": {
196
+ "notEmpty": true
197
+ },
198
+ "condition": {
199
+ "property": "authenticationType",
200
+ "equals": "oauth-client-credentials-flow"
201
+ }
202
+ },
203
+ {
204
+ "id": "authentication.clientAuthentication",
205
+ "group": "authentication",
206
+ "value": "basicAuthHeader",
207
+ "type": "Hidden",
208
+ "binding": {
209
+ "type": "zeebe:input",
210
+ "name": "authentication.clientAuthentication"
211
+ },
212
+ "condition": {
213
+ "property": "authenticationType",
214
+ "equals": "oauth-client-credentials-flow"
215
+ }
216
+ },
217
+ {
218
+ "id": "methodPost",
219
+ "group": "configuration",
220
+ "type": "Hidden",
221
+ "value": "post",
222
+ "binding": {
223
+ "type": "zeebe:input",
224
+ "name": "method"
225
+ },
226
+ "condition": {
227
+ "property": "operationType",
228
+ "oneOf": ["triggerFlowRun"]
229
+ }
230
+ },
231
+ {
232
+ "id": "methodGet",
233
+ "group": "configuration",
234
+ "type": "Hidden",
235
+ "value": "get",
236
+ "binding": {
237
+ "type": "zeebe:input",
238
+ "name": "method"
239
+ },
240
+ "condition": {
241
+ "property": "operationType",
242
+ "oneOf": ["getStatusOfFlowRun", "getFlowOutputs"]
243
+ }
244
+ },
245
+ {
246
+ "label": "Flow session ID",
247
+ "description": "Unique identifier for entity instances. You can find this in the response of the 'Trigger a flow run' method",
248
+ "feel": "optional",
249
+ "group": "input",
250
+ "type": "String",
251
+ "binding": {
252
+ "type": "zeebe:input",
253
+ "name": "flowSessionId"
254
+ },
255
+ "constraints": {
256
+ "notEmpty": true
257
+ },
258
+ "condition": {
259
+ "property": "operationType",
260
+ "oneOf": ["getStatusOfFlowRun", "getFlowOutputs"]
261
+ }
262
+ },
263
+ {
264
+ "label": "Workflow ID (flow ID)",
265
+ "description": "The ID of the desktop flow that you want to run",
266
+ "feel": "optional",
267
+ "group": "input",
268
+ "type": "String",
269
+ "binding": {
270
+ "type": "zeebe:input",
271
+ "name": "workflowId"
272
+ },
273
+ "constraints": {
274
+ "notEmpty": true
275
+ },
276
+ "condition": {
277
+ "property": "operationType",
278
+ "oneOf": ["triggerFlowRun"]
279
+ }
280
+ },
281
+ {
282
+ "label": "Connection name",
283
+ "description": "Identifies the connection to be used with the desktop flow script",
284
+ "feel": "optional",
285
+ "group": "input",
286
+ "type": "String",
287
+ "binding": {
288
+ "type": "zeebe:input",
289
+ "name": "connectionName"
290
+ },
291
+ "constraints": {
292
+ "notEmpty": true
293
+ },
294
+ "condition": {
295
+ "property": "operationType",
296
+ "oneOf": ["triggerFlowRun"]
297
+ }
298
+ },
299
+ {
300
+ "label": "Connection type",
301
+ "description": "Identifies which type of connection is used in the connectionName",
302
+ "group": "input",
303
+ "type": "Dropdown",
304
+ "value": "1",
305
+ "choices": [
306
+ {
307
+ "name": "Connection type",
308
+ "value": "1"
309
+ },
310
+ {
311
+ "name": "Connection reference type",
312
+ "value": "2"
313
+ }
314
+ ],
315
+ "binding": {
316
+ "type": "zeebe:input",
317
+ "name": "connectionType"
318
+ },
319
+ "constraints": {
320
+ "notEmpty": true
321
+ },
322
+ "condition": {
323
+ "property": "operationType",
324
+ "oneOf": ["triggerFlowRun"]
325
+ }
326
+ },
327
+ {
328
+ "label": "Run mode",
329
+ "description": "Choose between attended or unattended",
330
+ "group": "input",
331
+ "type": "Dropdown",
332
+ "value": "attended",
333
+ "choices": [
334
+ {
335
+ "name": "Attended",
336
+ "value": "attended"
337
+ },
338
+ {
339
+ "name": "Unattended",
340
+ "value": "unattended"
341
+ }
342
+ ],
343
+ "binding": {
344
+ "type": "zeebe:input",
345
+ "name": "runMode"
346
+ },
347
+ "constraints": {
348
+ "notEmpty": true
349
+ },
350
+ "condition": {
351
+ "property": "operationType",
352
+ "oneOf": ["triggerFlowRun"]
353
+ }
354
+ },
355
+ {
356
+ "label": "Run priority",
357
+ "feel": "optional",
358
+ "description": "Choose an option (normal, high) or add your own",
359
+ "group": "input",
360
+ "type": "String",
361
+ "value": "normal",
362
+ "binding": {
363
+ "type": "zeebe:input",
364
+ "name": "runPriority"
365
+ },
366
+ "optional": true,
367
+ "condition": {
368
+ "property": "operationType",
369
+ "oneOf": ["triggerFlowRun"]
370
+ }
371
+ },
372
+ {
373
+ "label": "Timeout",
374
+ "feel": "optional",
375
+ "description": "Timeout for Power Automate script execution in seconds (default = 3 hours, max = 24 hours)",
376
+ "group": "input",
377
+ "type": "String",
378
+ "binding": {
379
+ "type": "zeebe:input",
380
+ "name": "runTimeout"
381
+ },
382
+ "optional": true,
383
+ "condition": {
384
+ "property": "operationType",
385
+ "oneOf": ["triggerFlowRun"]
386
+ }
387
+ },
388
+ {
389
+ "label": "Inputs",
390
+ "description": "The desktop flow script input parameters (json serialized string)",
391
+ "group": "input",
392
+ "type": "String",
393
+ "feel": "required",
394
+ "binding": {
395
+ "type": "zeebe:input",
396
+ "name": "runInputs"
397
+ },
398
+ "optional": true,
399
+ "condition": {
400
+ "property": "operationType",
401
+ "oneOf": ["triggerFlowRun"]
402
+ }
403
+ },
404
+ {
405
+ "label": "Callback URL",
406
+ "feel": "optional",
407
+ "description": "URL that will be called once the desktop flow script is complete. You can use the <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/\">webhook connector</a> for this purpose",
408
+ "group": "input",
409
+ "type": "String",
410
+ "binding": {
411
+ "type": "zeebe:input",
412
+ "name": "callbackUrl"
413
+ },
414
+ "optional": true,
415
+ "condition": {
416
+ "property": "operationType",
417
+ "oneOf": ["triggerFlowRun"]
418
+ }
419
+ },
420
+ {
421
+ "group": "configuration",
422
+ "type": "Hidden",
423
+ "value": "={\"Content-Type\":\"application/json\"}",
424
+ "binding": {
425
+ "type": "zeebe:input",
426
+ "name": "headers"
427
+ },
428
+ "constraints": {
429
+ "notEmpty": true
430
+ }
431
+ },
432
+ {
433
+ "group": "input",
434
+ "type": "Hidden",
435
+ "value": "={\"runMode\":if runMode = null then null else runMode, \"runPriority\":if runPriority = null then null else runPriority,\"connectionName\":if connectionName = null then null else connectionName,\"timeout\":if runTimeout = null then 7200 else runTimeout,\"inputs\":if runInputs = null then null else runInputs,\"connectionType\":if connectionType = null then 1 else connectionType,\"callbackUrl\":if callbackUrl = null then null else callbackUrl}",
436
+ "binding": {
437
+ "type": "zeebe:input",
438
+ "name": "body"
439
+ },
440
+ "condition": {
441
+ "property": "operationType",
442
+ "oneOf": ["triggerFlowRun"]
443
+ },
444
+ "optional": true
445
+ },
446
+ {
447
+ "label": "Result variable",
448
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
449
+ "group": "output",
450
+ "type": "String",
451
+ "binding": {
452
+ "type": "zeebe:taskHeader",
453
+ "key": "resultVariable"
454
+ }
455
+ },
456
+ {
457
+ "label": "Result expression",
458
+ "id": "resultExpressionGetSessionId",
459
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
460
+ "group": "output",
461
+ "type": "String",
462
+ "feel": "required",
463
+ "value": "={flowSessionId: response.body.flowsessionId}",
464
+ "binding": {
465
+ "type": "zeebe:taskHeader",
466
+ "key": "resultExpression"
467
+ },
468
+ "condition": {
469
+ "property": "operationType",
470
+ "oneOf": ["triggerFlowRun"]
471
+ }
472
+ },
473
+ {
474
+ "label": "Result expression",
475
+ "id": "resultExpressionGetStatusCode",
476
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
477
+ "group": "output",
478
+ "type": "String",
479
+ "feel": "required",
480
+ "value": "={statusCode: response.body.statuscode}",
481
+ "binding": {
482
+ "type": "zeebe:taskHeader",
483
+ "key": "resultExpression"
484
+ },
485
+ "condition": {
486
+ "property": "operationType",
487
+ "oneOf": ["getStatusOfFlowRun"]
488
+ }
489
+ },
490
+ {
491
+ "label": "Result expression",
492
+ "id": "resultExpressionGetBody",
493
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
494
+ "group": "output",
495
+ "type": "String",
496
+ "feel": "required",
497
+ "value": "={flowOutputs: response.body}",
498
+ "binding": {
499
+ "type": "zeebe:taskHeader",
500
+ "key": "resultExpression"
501
+ },
502
+ "condition": {
503
+ "property": "operationType",
504
+ "oneOf": ["getFlowOutputs"]
505
+ }
506
+ },
507
+ {
508
+ "label": "Connection timeout",
509
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
510
+ "group": "errors",
511
+ "type": "String",
512
+ "value": "20",
513
+ "binding": {
514
+ "type": "zeebe:input",
515
+ "name": "connectionTimeoutInSeconds"
516
+ },
517
+ "optional": true,
518
+ "feel": "optional",
519
+ "constraints": {
520
+ "notEmpty": false,
521
+ "pattern": {
522
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
523
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
524
+ }
525
+ }
526
+ },
527
+ {
528
+ "type": "Hidden",
529
+ "value": "=organizationUri + \"/api/data/v9.2/flowsessions(\" + flowSessionId + \")?$select=statuscode,statecode,startedon,completedon\"",
530
+ "binding": {
531
+ "type": "zeebe:input",
532
+ "name": "url"
533
+ },
534
+ "condition": {
535
+ "property": "operationType",
536
+ "oneOf": ["getStatusOfFlowRun"]
537
+ }
538
+ },
539
+ {
540
+ "type": "Hidden",
541
+ "value": "=organizationUri + \"/api/data/v9.2/flowsessions(\" + flowSessionId + \")/outputs/$value\"",
542
+ "binding": {
543
+ "type": "zeebe:input",
544
+ "name": "url"
545
+ },
546
+ "condition": {
547
+ "property": "operationType",
548
+ "oneOf": ["getFlowOutputs"]
549
+ }
550
+ },
551
+ {
552
+ "type": "Hidden",
553
+ "value": "=organizationUri + \"/api/data/v9.2/workflows(\" + workflowId + \")/Microsoft.Dynamics.CRM.RunDesktopFlow\"",
554
+ "binding": {
555
+ "type": "zeebe:input",
556
+ "name": "url"
557
+ },
558
+ "condition": {
559
+ "property": "operationType",
560
+ "oneOf": ["triggerFlowRun"]
561
+ }
562
+ },
563
+ {
564
+ "label": "Error expression",
565
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
566
+ "group": "errors",
567
+ "type": "Text",
568
+ "feel": "required",
569
+ "binding": {
570
+ "type": "zeebe:taskHeader",
571
+ "key": "errorExpression"
572
+ }
573
+ }
574
+ ]
575
+ },
576
+ {
577
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
578
+ "name": "Power Automate connector",
579
+ "id": "io.camunda.connectors.PowerAutomate.v1",
580
+ "deprecated": {
581
+ "message": "Replace with 'Power Automate' template.",
582
+ "documentationRef": "https://marketplace.camunda.com/en-US/apps/427601/power-automate-connector"
583
+ },
584
+ "version": 2,
585
+ "description": "Orchestrate your Power Automate flows with Camunda",
586
+ "icon": {
587
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='96' height='96' viewBox='0 0 96 96' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='filter0_f'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='0.4' result='effect1_foregroundBlur'/%3E%3C/filter%3E%3Cfilter id='filter1_f'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='4' result='effect1_foregroundBlur'/%3E%3C/filter%3E%3ClinearGradient id='paint0_linear' x1='43' y1='55' x2='29' y2='10' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%230D36A5'/%3E%3Cstop offset='1' stop-color='%231152D4'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear' x1='46' y1='10' x2='46' y2='86' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2384CAFF'/%3E%3Cstop offset='1' stop-color='%2361B1FB'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint2_linear' x1='37.5' y1='10' x2='37.5' y2='86' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%233B90F5'/%3E%3Cstop offset='1' stop-color='%232A78EE'/%3E%3C/linearGradient%3E%3CclipPath id='clip0'%3E%3Crect width='96' height='96' fill='white'/%3E%3C/clipPath%3E%3CclipPath id='clip1'%3E%3Crect width='96' height='96' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23clip0)'%3E%3Cg clip-path='url(%23clip1)'%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='-1' y='10' width='97' height='76'%3E%3Cpath d='M61.2116 10C62.3496 10 63.4337 10.4847 64.1925 11.3328L94.6136 45.3328C95.9723 46.8514 95.9723 49.1486 94.6136 50.6672L64.1925 84.6672C63.4337 85.5153 62.3496 86 61.2116 86H3.94634C0.488777 86 -1.34012 81.9095 0.965366 79.3328L29 48L0.965366 16.6672C-1.34012 14.0905 0.488777 10 3.94634 10H61.2116Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Cpath d='M63 10L29 48L-5 10H63Z' fill='url(%23paint0_linear)'/%3E%3Cg filter='url(%23filter0_f)'%3E%3Cpath d='M63 10.4L-5 86.4H63L97 48.4L63 10.4Z' fill='black' fill-opacity='0.24'/%3E%3C/g%3E%3Cg filter='url(%23filter1_f)'%3E%3Cpath d='M63 12L-5 88H63L97 50L63 12Z' fill='black' fill-opacity='0.32'/%3E%3C/g%3E%3Cpath d='M-5 86L63 10L97 48L63 86H-5Z' fill='url(%23paint1_linear)'/%3E%3Cpath d='M-5 86L63 10L80 29L29 86H-5Z' fill='url(%23paint2_linear)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A"
588
+ },
589
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/power-automate/",
590
+ "category": {
591
+ "id": "connectors",
592
+ "name": "Connectors"
593
+ },
594
+ "appliesTo": ["bpmn:Task"],
595
+ "elementType": {
596
+ "value": "bpmn:ServiceTask"
597
+ },
598
+ "groups": [
599
+ {
600
+ "id": "operation",
601
+ "label": "Operation"
602
+ },
603
+ {
604
+ "id": "authentication",
605
+ "label": "Authentication"
606
+ },
607
+ {
608
+ "id": "configuration",
609
+ "label": "Configuration"
610
+ },
611
+ {
612
+ "id": "input",
613
+ "label": "Input"
614
+ },
615
+ {
616
+ "id": "output",
617
+ "label": "Output"
618
+ },
619
+ {
620
+ "id": "errors",
621
+ "label": "Error handling"
622
+ }
623
+ ],
624
+ "properties": [
625
+ {
626
+ "type": "Hidden",
627
+ "value": "io.camunda:http-json:1",
628
+ "binding": {
629
+ "type": "zeebe:taskDefinition",
630
+ "property": "type"
631
+ }
632
+ },
633
+ {
634
+ "label": "Operation type",
635
+ "id": "operationType",
636
+ "group": "operation",
637
+ "type": "Dropdown",
638
+ "value": "getStatusOfFlowRun",
639
+ "choices": [
640
+ {
641
+ "name": "Get the status of a flow run",
642
+ "value": "getStatusOfFlowRun"
643
+ },
644
+ {
645
+ "name": "Get flow outputs",
646
+ "value": "getFlowOutputs"
647
+ },
648
+ {
649
+ "name": "Trigger a flow run",
650
+ "value": "triggerFlowRun"
651
+ }
652
+ ],
653
+ "binding": {
654
+ "type": "zeebe:input",
655
+ "name": "operationType"
656
+ }
657
+ },
658
+ {
659
+ "label": "Organization URI",
660
+ "description": "Dynamics 365 URL. <a href=\"https://learn.microsoft.com/en-us/power-apps/developer/data-platform/discovery-service\">Find your organization url</a>. See also <a href=\"https://learn.microsoft.com/en-us/power-automate/web-api#compose-http-requests\">this page</a>",
661
+ "group": "configuration",
662
+ "type": "String",
663
+ "value": "",
664
+ "binding": {
665
+ "type": "zeebe:input",
666
+ "name": "organizationUri"
667
+ },
668
+ "constraints": {
669
+ "notEmpty": true
670
+ }
671
+ },
672
+ {
673
+ "type": "Hidden",
674
+ "value": "=organizationUri + \"/.default\"",
675
+ "binding": {
676
+ "type": "zeebe:input",
677
+ "name": "authentication.scopes"
678
+ },
679
+ "condition": {
680
+ "property": "authenticationType",
681
+ "equals": "oauth-client-credentials-flow"
682
+ }
683
+ },
684
+ {
685
+ "label": "Type",
686
+ "id": "authenticationType",
687
+ "group": "authentication",
688
+ "description": "Choose the authentication type",
689
+ "type": "Dropdown",
690
+ "choices": [
691
+ {
692
+ "name": "Bearer token",
693
+ "value": "bearer"
694
+ },
695
+ {
696
+ "name": "OAuth 2.0 client credentials",
697
+ "value": "oauth-client-credentials-flow"
698
+ }
699
+ ],
700
+ "binding": {
701
+ "type": "zeebe:input",
702
+ "name": "authentication.type"
703
+ }
704
+ },
705
+ {
706
+ "label": "Bearer token",
707
+ "group": "authentication",
708
+ "type": "String",
709
+ "feel": "optional",
710
+ "binding": {
711
+ "type": "zeebe:input",
712
+ "name": "authentication.token"
713
+ },
714
+ "constraints": {
715
+ "notEmpty": true
716
+ },
717
+ "condition": {
718
+ "property": "authenticationType",
719
+ "equals": "bearer"
720
+ }
721
+ },
722
+ {
723
+ "group": "authentication",
724
+ "label": "OAuth token endpoint",
725
+ "description": "Find out more <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/power-automate/#oauth-token-endpoint\">here</a>",
726
+ "type": "String",
727
+ "value": "",
728
+ "feel": "optional",
729
+ "binding": {
730
+ "type": "zeebe:input",
731
+ "name": "authentication.oauthTokenEndpoint"
732
+ },
733
+ "constraints": {
734
+ "notEmpty": true
735
+ },
736
+ "condition": {
737
+ "property": "authenticationType",
738
+ "equals": "oauth-client-credentials-flow"
739
+ }
740
+ },
741
+ {
742
+ "label": "Client Id (secret ID)",
743
+ "description": "Microsoft Azure Application Client id. <a href=\"https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application\">See where to find it</a>",
744
+ "group": "authentication",
745
+ "type": "String",
746
+ "feel": "optional",
747
+ "binding": {
748
+ "type": "zeebe:input",
749
+ "name": "authentication.clientId"
750
+ },
751
+ "constraints": {
752
+ "notEmpty": true
753
+ },
754
+ "condition": {
755
+ "property": "authenticationType",
756
+ "equals": "oauth-client-credentials-flow"
757
+ }
758
+ },
759
+ {
760
+ "label": "Client secret (Client secret value)",
761
+ "description": "Microsoft Azure Application Client Secret value. <a href=\"https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application\">See where to find it</a>",
762
+ "group": "authentication",
763
+ "type": "String",
764
+ "feel": "optional",
765
+ "binding": {
766
+ "type": "zeebe:input",
767
+ "name": "authentication.clientSecret"
768
+ },
769
+ "constraints": {
770
+ "notEmpty": true
771
+ },
772
+ "condition": {
773
+ "property": "authenticationType",
774
+ "equals": "oauth-client-credentials-flow"
775
+ }
776
+ },
777
+ {
778
+ "id": "authentication.clientAuthentication",
779
+ "group": "authentication",
780
+ "value": "basicAuthHeader",
781
+ "type": "Hidden",
782
+ "binding": {
783
+ "type": "zeebe:input",
784
+ "name": "authentication.clientAuthentication"
785
+ },
786
+ "condition": {
787
+ "property": "authenticationType",
788
+ "equals": "oauth-client-credentials-flow"
789
+ }
790
+ },
791
+ {
792
+ "id": "methodPost",
793
+ "group": "configuration",
794
+ "type": "Hidden",
795
+ "value": "post",
796
+ "binding": {
797
+ "type": "zeebe:input",
798
+ "name": "method"
799
+ },
800
+ "condition": {
801
+ "property": "operationType",
802
+ "oneOf": ["triggerFlowRun"]
803
+ }
804
+ },
805
+ {
806
+ "id": "methodGet",
807
+ "group": "configuration",
808
+ "type": "Hidden",
809
+ "value": "get",
810
+ "binding": {
811
+ "type": "zeebe:input",
812
+ "name": "method"
813
+ },
814
+ "condition": {
815
+ "property": "operationType",
816
+ "oneOf": ["getStatusOfFlowRun", "getFlowOutputs"]
817
+ }
818
+ },
819
+ {
820
+ "label": "Flow session ID",
821
+ "description": "Unique identifier for entity instances. You can find this in the response of the 'Trigger a flow run' method",
822
+ "feel": "optional",
823
+ "group": "input",
824
+ "type": "String",
825
+ "binding": {
826
+ "type": "zeebe:input",
827
+ "name": "flowSessionId"
828
+ },
829
+ "constraints": {
830
+ "notEmpty": true
831
+ },
832
+ "condition": {
833
+ "property": "operationType",
834
+ "oneOf": ["getStatusOfFlowRun", "getFlowOutputs"]
835
+ }
836
+ },
837
+ {
838
+ "label": "Workflow ID (flow ID)",
839
+ "description": "The ID of the desktop flow that you want to run",
840
+ "feel": "optional",
841
+ "group": "input",
842
+ "type": "String",
843
+ "binding": {
844
+ "type": "zeebe:input",
845
+ "name": "workflowId"
846
+ },
847
+ "constraints": {
848
+ "notEmpty": true
849
+ },
850
+ "condition": {
851
+ "property": "operationType",
852
+ "oneOf": ["triggerFlowRun"]
853
+ }
854
+ },
855
+ {
856
+ "label": "Connection name",
857
+ "description": "Identifies the connection to be used with the desktop flow script",
858
+ "feel": "optional",
859
+ "group": "input",
860
+ "type": "String",
861
+ "binding": {
862
+ "type": "zeebe:input",
863
+ "name": "connectionName"
864
+ },
865
+ "constraints": {
866
+ "notEmpty": true
867
+ },
868
+ "condition": {
869
+ "property": "operationType",
870
+ "oneOf": ["triggerFlowRun"]
871
+ }
872
+ },
873
+ {
874
+ "label": "Connection type",
875
+ "description": "Identifies which type of connection is used in the connectionName",
876
+ "group": "input",
877
+ "type": "Dropdown",
878
+ "value": "1",
879
+ "choices": [
880
+ {
881
+ "name": "Connection type",
882
+ "value": "1"
883
+ },
884
+ {
885
+ "name": "Connection reference type",
886
+ "value": "2"
887
+ }
888
+ ],
889
+ "binding": {
890
+ "type": "zeebe:input",
891
+ "name": "connectionType"
892
+ },
893
+ "constraints": {
894
+ "notEmpty": true
895
+ },
896
+ "condition": {
897
+ "property": "operationType",
898
+ "oneOf": ["triggerFlowRun"]
899
+ }
900
+ },
901
+ {
902
+ "label": "Run mode",
903
+ "description": "Choose between attended or unattended",
904
+ "group": "input",
905
+ "type": "Dropdown",
906
+ "value": "attended",
907
+ "choices": [
908
+ {
909
+ "name": "Attended",
910
+ "value": "attended"
911
+ },
912
+ {
913
+ "name": "Unattended",
914
+ "value": "unattended"
915
+ }
916
+ ],
917
+ "binding": {
918
+ "type": "zeebe:input",
919
+ "name": "runMode"
920
+ },
921
+ "constraints": {
922
+ "notEmpty": true
923
+ },
924
+ "condition": {
925
+ "property": "operationType",
926
+ "oneOf": ["triggerFlowRun"]
927
+ }
928
+ },
929
+ {
930
+ "label": "Run priority",
931
+ "feel": "optional",
932
+ "description": "Choose an option (normal, high) or add your own",
933
+ "group": "input",
934
+ "type": "String",
935
+ "value": "normal",
936
+ "binding": {
937
+ "type": "zeebe:input",
938
+ "name": "runPriority"
939
+ },
940
+ "optional": true,
941
+ "condition": {
942
+ "property": "operationType",
943
+ "oneOf": ["triggerFlowRun"]
944
+ }
945
+ },
946
+ {
947
+ "label": "Timeout",
948
+ "feel": "optional",
949
+ "description": "Timeout for Power Automate script execution in seconds (default = 3 hours, max = 24 hours)",
950
+ "group": "input",
951
+ "type": "String",
952
+ "binding": {
953
+ "type": "zeebe:input",
954
+ "name": "runTimeout"
955
+ },
956
+ "optional": true,
957
+ "condition": {
958
+ "property": "operationType",
959
+ "oneOf": ["triggerFlowRun"]
960
+ }
961
+ },
962
+ {
963
+ "label": "Inputs",
964
+ "description": "The desktop flow script input parameters (json serialized string)",
965
+ "group": "input",
966
+ "type": "String",
967
+ "feel": "required",
968
+ "binding": {
969
+ "type": "zeebe:input",
970
+ "name": "runInputs"
971
+ },
972
+ "optional": true,
973
+ "condition": {
974
+ "property": "operationType",
975
+ "oneOf": ["triggerFlowRun"]
976
+ }
977
+ },
978
+ {
979
+ "label": "Callback URL",
980
+ "feel": "optional",
981
+ "description": "URL that will be called once the desktop flow script is complete. You can use the <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/\">webhook connector</a> for this purpose",
982
+ "group": "input",
983
+ "type": "String",
984
+ "binding": {
985
+ "type": "zeebe:input",
986
+ "name": "callbackUrl"
987
+ },
988
+ "optional": true,
989
+ "condition": {
990
+ "property": "operationType",
991
+ "oneOf": ["triggerFlowRun"]
992
+ }
993
+ },
994
+ {
995
+ "group": "configuration",
996
+ "type": "Hidden",
997
+ "value": "={\"Content-Type\":\"application/json\"}",
998
+ "binding": {
999
+ "type": "zeebe:input",
1000
+ "name": "headers"
1001
+ },
1002
+ "constraints": {
1003
+ "notEmpty": true
1004
+ }
1005
+ },
1006
+ {
1007
+ "group": "input",
1008
+ "type": "Hidden",
1009
+ "value": "={\"runMode\":if runMode = null then null else runMode, \"runPriority\":if runPriority = null then null else runPriority,\"connectionName\":if connectionName = null then null else connectionName,\"timeout\":if runTimeout = null then 7200 else runTimeout,\"inputs\":if runInputs = null then null else runInputs,\"connectionType\":if connectionType = null then 1 else connectionType,\"callbackUrl\":if callbackUrl = null then null else callbackUrl}",
1010
+ "binding": {
1011
+ "type": "zeebe:input",
1012
+ "name": "body"
1013
+ },
1014
+ "condition": {
1015
+ "property": "operationType",
1016
+ "oneOf": ["triggerFlowRun"]
1017
+ },
1018
+ "optional": true
1019
+ },
1020
+ {
1021
+ "label": "Result variable",
1022
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
1023
+ "group": "output",
1024
+ "type": "String",
1025
+ "binding": {
1026
+ "type": "zeebe:taskHeader",
1027
+ "key": "resultVariable"
1028
+ }
1029
+ },
1030
+ {
1031
+ "label": "Result expression",
1032
+ "id": "resultExpressionGetSessionId",
1033
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1034
+ "group": "output",
1035
+ "type": "String",
1036
+ "feel": "required",
1037
+ "value": "={flowSessionId: response.body.flowsessionId}",
1038
+ "binding": {
1039
+ "type": "zeebe:taskHeader",
1040
+ "key": "resultExpression"
1041
+ },
1042
+ "condition": {
1043
+ "property": "operationType",
1044
+ "oneOf": ["triggerFlowRun"]
1045
+ }
1046
+ },
1047
+ {
1048
+ "label": "Result expression",
1049
+ "id": "resultExpressionGetStatusCode",
1050
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1051
+ "group": "output",
1052
+ "type": "String",
1053
+ "feel": "required",
1054
+ "value": "={statusCode: response.body.statuscode}",
1055
+ "binding": {
1056
+ "type": "zeebe:taskHeader",
1057
+ "key": "resultExpression"
1058
+ },
1059
+ "condition": {
1060
+ "property": "operationType",
1061
+ "oneOf": ["getStatusOfFlowRun"]
1062
+ }
1063
+ },
1064
+ {
1065
+ "label": "Result expression",
1066
+ "id": "resultExpressionGetBody",
1067
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1068
+ "group": "output",
1069
+ "type": "String",
1070
+ "feel": "required",
1071
+ "value": "={flowOutputs: response.body}",
1072
+ "binding": {
1073
+ "type": "zeebe:taskHeader",
1074
+ "key": "resultExpression"
1075
+ },
1076
+ "condition": {
1077
+ "property": "operationType",
1078
+ "oneOf": ["getFlowOutputs"]
1079
+ }
1080
+ },
1081
+ {
1082
+ "label": "Connection timeout",
1083
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1084
+ "group": "errors",
1085
+ "type": "String",
1086
+ "value": "20",
1087
+ "binding": {
1088
+ "type": "zeebe:input",
1089
+ "name": "connectionTimeoutInSeconds"
1090
+ },
1091
+ "optional": true,
1092
+ "feel": "optional",
1093
+ "constraints": {
1094
+ "notEmpty": false,
1095
+ "pattern": {
1096
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1097
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1098
+ }
1099
+ }
1100
+ },
1101
+ {
1102
+ "type": "Hidden",
1103
+ "value": "=organizationUri + \"/api/data/v9.2/flowsessions(\" + flowSessionId + \")?$select=statuscode,statecode,startedon,completedon\"",
1104
+ "binding": {
1105
+ "type": "zeebe:input",
1106
+ "name": "url"
1107
+ },
1108
+ "condition": {
1109
+ "property": "operationType",
1110
+ "oneOf": ["getStatusOfFlowRun"]
1111
+ }
1112
+ },
1113
+ {
1114
+ "type": "Hidden",
1115
+ "value": "=organizationUri + \"/api/data/v9.2/flowsessions(\" + flowSessionId + \")/outputs/$value\"",
1116
+ "binding": {
1117
+ "type": "zeebe:input",
1118
+ "name": "url"
1119
+ },
1120
+ "condition": {
1121
+ "property": "operationType",
1122
+ "oneOf": ["getFlowOutputs"]
1123
+ }
1124
+ },
1125
+ {
1126
+ "type": "Hidden",
1127
+ "value": "=organizationUri + \"/api/data/v9.2/workflows(\" + workflowId + \")/Microsoft.Dynamics.CRM.RunDesktopFlow\"",
1128
+ "binding": {
1129
+ "type": "zeebe:input",
1130
+ "name": "url"
1131
+ },
1132
+ "condition": {
1133
+ "property": "operationType",
1134
+ "oneOf": ["triggerFlowRun"]
1135
+ }
1136
+ },
1137
+ {
1138
+ "label": "Error expression",
1139
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1140
+ "group": "errors",
1141
+ "type": "Text",
1142
+ "feel": "required",
1143
+ "binding": {
1144
+ "type": "zeebe:taskHeader",
1145
+ "key": "errorExpression"
1146
+ }
1147
+ }
1148
+ ]
1149
+ },
1150
+ {
1151
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1152
+ "name": "Power Automate Outbound Connector",
1153
+ "id": "io.camunda.connectors.PowerAutomate.v1",
1154
+ "deprecated": {
1155
+ "message": "Replace with 'Power Automate' template.",
1156
+ "documentationRef": "https://marketplace.camunda.com/en-US/apps/427601/power-automate-connector"
1157
+ },
1158
+ "version": 3,
1159
+ "description": "Orchestrate your Power Automate flows with Camunda",
1160
+ "icon": {
1161
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='96' height='96' viewBox='0 0 96 96' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='filter0_f'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='0.4' result='effect1_foregroundBlur'/%3E%3C/filter%3E%3Cfilter id='filter1_f'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3E%3CfeGaussianBlur stdDeviation='4' result='effect1_foregroundBlur'/%3E%3C/filter%3E%3ClinearGradient id='paint0_linear' x1='43' y1='55' x2='29' y2='10' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%230D36A5'/%3E%3Cstop offset='1' stop-color='%231152D4'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint1_linear' x1='46' y1='10' x2='46' y2='86' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2384CAFF'/%3E%3Cstop offset='1' stop-color='%2361B1FB'/%3E%3C/linearGradient%3E%3ClinearGradient id='paint2_linear' x1='37.5' y1='10' x2='37.5' y2='86' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%233B90F5'/%3E%3Cstop offset='1' stop-color='%232A78EE'/%3E%3C/linearGradient%3E%3CclipPath id='clip0'%3E%3Crect width='96' height='96' fill='white'/%3E%3C/clipPath%3E%3CclipPath id='clip1'%3E%3Crect width='96' height='96' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23clip0)'%3E%3Cg clip-path='url(%23clip1)'%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='-1' y='10' width='97' height='76'%3E%3Cpath d='M61.2116 10C62.3496 10 63.4337 10.4847 64.1925 11.3328L94.6136 45.3328C95.9723 46.8514 95.9723 49.1486 94.6136 50.6672L64.1925 84.6672C63.4337 85.5153 62.3496 86 61.2116 86H3.94634C0.488777 86 -1.34012 81.9095 0.965366 79.3328L29 48L0.965366 16.6672C-1.34012 14.0905 0.488777 10 3.94634 10H61.2116Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Cpath d='M63 10L29 48L-5 10H63Z' fill='url(%23paint0_linear)'/%3E%3Cg filter='url(%23filter0_f)'%3E%3Cpath d='M63 10.4L-5 86.4H63L97 48.4L63 10.4Z' fill='black' fill-opacity='0.24'/%3E%3C/g%3E%3Cg filter='url(%23filter1_f)'%3E%3Cpath d='M63 12L-5 88H63L97 50L63 12Z' fill='black' fill-opacity='0.32'/%3E%3C/g%3E%3Cpath d='M-5 86L63 10L97 48L63 86H-5Z' fill='url(%23paint1_linear)'/%3E%3Cpath d='M-5 86L63 10L80 29L29 86H-5Z' fill='url(%23paint2_linear)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A"
1162
+ },
1163
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/power-automate/",
1164
+ "category": {
1165
+ "id": "connectors",
1166
+ "name": "Connectors"
1167
+ },
1168
+ "appliesTo": ["bpmn:Task"],
1169
+ "elementType": {
1170
+ "value": "bpmn:ServiceTask"
1171
+ },
1172
+ "groups": [
1173
+ {
1174
+ "id": "operation",
1175
+ "label": "Operation"
1176
+ },
1177
+ {
1178
+ "id": "authentication",
1179
+ "label": "Authentication"
1180
+ },
1181
+ {
1182
+ "id": "configuration",
1183
+ "label": "Configuration"
1184
+ },
1185
+ {
1186
+ "id": "input",
1187
+ "label": "Input"
1188
+ },
1189
+ {
1190
+ "id": "output",
1191
+ "label": "Output"
1192
+ },
1193
+ {
1194
+ "id": "errors",
1195
+ "label": "Error handling"
1196
+ }
1197
+ ],
1198
+ "properties": [
1199
+ {
1200
+ "type": "Hidden",
1201
+ "value": "io.camunda:http-json:1",
1202
+ "binding": {
1203
+ "type": "zeebe:taskDefinition",
1204
+ "property": "type"
1205
+ }
1206
+ },
1207
+ {
1208
+ "label": "Operation type",
1209
+ "id": "operationType",
1210
+ "group": "operation",
1211
+ "type": "Dropdown",
1212
+ "value": "getStatusOfFlowRun",
1213
+ "choices": [
1214
+ {
1215
+ "name": "Get the status of a flow run",
1216
+ "value": "getStatusOfFlowRun"
1217
+ },
1218
+ {
1219
+ "name": "Get flow outputs",
1220
+ "value": "getFlowOutputs"
1221
+ },
1222
+ {
1223
+ "name": "Trigger a flow run",
1224
+ "value": "triggerFlowRun"
1225
+ }
1226
+ ],
1227
+ "binding": {
1228
+ "type": "zeebe:input",
1229
+ "name": "operationType"
1230
+ }
1231
+ },
1232
+ {
1233
+ "label": "Organization URI",
1234
+ "description": "Dynamics 365 URL. <a href=\"https://learn.microsoft.com/en-us/power-apps/developer/data-platform/discovery-service\">Find your organization url</a>. See also <a href=\"https://learn.microsoft.com/en-us/power-automate/web-api#compose-http-requests\">this page</a>",
1235
+ "group": "configuration",
1236
+ "type": "String",
1237
+ "value": "",
1238
+ "binding": {
1239
+ "type": "zeebe:input",
1240
+ "name": "organizationUri"
1241
+ },
1242
+ "constraints": {
1243
+ "notEmpty": true
1244
+ }
1245
+ },
1246
+ {
1247
+ "type": "Hidden",
1248
+ "value": "=organizationUri + \"/.default\"",
1249
+ "binding": {
1250
+ "type": "zeebe:input",
1251
+ "name": "authentication.scopes"
1252
+ },
1253
+ "condition": {
1254
+ "property": "authenticationType",
1255
+ "equals": "oauth-client-credentials-flow"
1256
+ }
1257
+ },
1258
+ {
1259
+ "label": "Type",
1260
+ "id": "authenticationType",
1261
+ "group": "authentication",
1262
+ "description": "Choose the authentication type",
1263
+ "type": "Dropdown",
1264
+ "choices": [
1265
+ {
1266
+ "name": "Bearer token",
1267
+ "value": "bearer"
1268
+ },
1269
+ {
1270
+ "name": "OAuth 2.0 client credentials",
1271
+ "value": "oauth-client-credentials-flow"
1272
+ }
1273
+ ],
1274
+ "binding": {
1275
+ "type": "zeebe:input",
1276
+ "name": "authentication.type"
1277
+ }
1278
+ },
1279
+ {
1280
+ "label": "Bearer token",
1281
+ "group": "authentication",
1282
+ "type": "String",
1283
+ "feel": "optional",
1284
+ "binding": {
1285
+ "type": "zeebe:input",
1286
+ "name": "authentication.token"
1287
+ },
1288
+ "constraints": {
1289
+ "notEmpty": true
1290
+ },
1291
+ "condition": {
1292
+ "property": "authenticationType",
1293
+ "equals": "bearer"
1294
+ }
1295
+ },
1296
+ {
1297
+ "group": "authentication",
1298
+ "label": "OAuth token endpoint",
1299
+ "description": "Find out more <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/power-automate/#oauth-token-endpoint\">here</a>",
1300
+ "type": "String",
1301
+ "value": "",
1302
+ "feel": "optional",
1303
+ "binding": {
1304
+ "type": "zeebe:input",
1305
+ "name": "authentication.oauthTokenEndpoint"
1306
+ },
1307
+ "constraints": {
1308
+ "notEmpty": true
1309
+ },
1310
+ "condition": {
1311
+ "property": "authenticationType",
1312
+ "equals": "oauth-client-credentials-flow"
1313
+ }
1314
+ },
1315
+ {
1316
+ "label": "Client Id (secret ID)",
1317
+ "description": "Microsoft Azure Application Client id. <a href=\"https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application\">See where to find it</a>",
1318
+ "group": "authentication",
1319
+ "type": "String",
1320
+ "feel": "optional",
1321
+ "binding": {
1322
+ "type": "zeebe:input",
1323
+ "name": "authentication.clientId"
1324
+ },
1325
+ "constraints": {
1326
+ "notEmpty": true
1327
+ },
1328
+ "condition": {
1329
+ "property": "authenticationType",
1330
+ "equals": "oauth-client-credentials-flow"
1331
+ }
1332
+ },
1333
+ {
1334
+ "label": "Client secret (Client secret value)",
1335
+ "description": "Microsoft Azure Application Client Secret value. <a href=\"https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application\">See where to find it</a>",
1336
+ "group": "authentication",
1337
+ "type": "String",
1338
+ "feel": "optional",
1339
+ "binding": {
1340
+ "type": "zeebe:input",
1341
+ "name": "authentication.clientSecret"
1342
+ },
1343
+ "constraints": {
1344
+ "notEmpty": true
1345
+ },
1346
+ "condition": {
1347
+ "property": "authenticationType",
1348
+ "equals": "oauth-client-credentials-flow"
1349
+ }
1350
+ },
1351
+ {
1352
+ "id": "authentication.clientAuthentication",
1353
+ "group": "authentication",
1354
+ "value": "basicAuthHeader",
1355
+ "type": "Hidden",
1356
+ "binding": {
1357
+ "type": "zeebe:input",
1358
+ "name": "authentication.clientAuthentication"
1359
+ },
1360
+ "condition": {
1361
+ "property": "authenticationType",
1362
+ "equals": "oauth-client-credentials-flow"
1363
+ }
1364
+ },
1365
+ {
1366
+ "id": "methodPost",
1367
+ "group": "configuration",
1368
+ "type": "Hidden",
1369
+ "value": "post",
1370
+ "binding": {
1371
+ "type": "zeebe:input",
1372
+ "name": "method"
1373
+ },
1374
+ "condition": {
1375
+ "property": "operationType",
1376
+ "oneOf": ["triggerFlowRun"]
1377
+ }
1378
+ },
1379
+ {
1380
+ "id": "methodGet",
1381
+ "group": "configuration",
1382
+ "type": "Hidden",
1383
+ "value": "get",
1384
+ "binding": {
1385
+ "type": "zeebe:input",
1386
+ "name": "method"
1387
+ },
1388
+ "condition": {
1389
+ "property": "operationType",
1390
+ "oneOf": ["getStatusOfFlowRun", "getFlowOutputs"]
1391
+ }
1392
+ },
1393
+ {
1394
+ "label": "Flow session ID",
1395
+ "description": "Unique identifier for entity instances. You can find this in the response of the 'Trigger a flow run' method",
1396
+ "feel": "optional",
1397
+ "group": "input",
1398
+ "type": "String",
1399
+ "binding": {
1400
+ "type": "zeebe:input",
1401
+ "name": "flowSessionId"
1402
+ },
1403
+ "constraints": {
1404
+ "notEmpty": true
1405
+ },
1406
+ "condition": {
1407
+ "property": "operationType",
1408
+ "oneOf": ["getStatusOfFlowRun", "getFlowOutputs"]
1409
+ }
1410
+ },
1411
+ {
1412
+ "label": "Workflow ID (flow ID)",
1413
+ "description": "The ID of the desktop flow that you want to run",
1414
+ "feel": "optional",
1415
+ "group": "input",
1416
+ "type": "String",
1417
+ "binding": {
1418
+ "type": "zeebe:input",
1419
+ "name": "workflowId"
1420
+ },
1421
+ "constraints": {
1422
+ "notEmpty": true
1423
+ },
1424
+ "condition": {
1425
+ "property": "operationType",
1426
+ "oneOf": ["triggerFlowRun"]
1427
+ }
1428
+ },
1429
+ {
1430
+ "label": "Connection name",
1431
+ "description": "Identifies the connection to be used with the desktop flow script",
1432
+ "feel": "optional",
1433
+ "group": "input",
1434
+ "type": "String",
1435
+ "binding": {
1436
+ "type": "zeebe:input",
1437
+ "name": "connectionName"
1438
+ },
1439
+ "constraints": {
1440
+ "notEmpty": true
1441
+ },
1442
+ "condition": {
1443
+ "property": "operationType",
1444
+ "oneOf": ["triggerFlowRun"]
1445
+ }
1446
+ },
1447
+ {
1448
+ "label": "Connection type",
1449
+ "description": "Identifies which type of connection is used in the connectionName",
1450
+ "group": "input",
1451
+ "type": "Dropdown",
1452
+ "value": "1",
1453
+ "choices": [
1454
+ {
1455
+ "name": "Connection type",
1456
+ "value": "1"
1457
+ },
1458
+ {
1459
+ "name": "Connection reference type",
1460
+ "value": "2"
1461
+ }
1462
+ ],
1463
+ "binding": {
1464
+ "type": "zeebe:input",
1465
+ "name": "connectionType"
1466
+ },
1467
+ "constraints": {
1468
+ "notEmpty": true
1469
+ },
1470
+ "condition": {
1471
+ "property": "operationType",
1472
+ "oneOf": ["triggerFlowRun"]
1473
+ }
1474
+ },
1475
+ {
1476
+ "label": "Run mode",
1477
+ "description": "Choose between attended or unattended",
1478
+ "group": "input",
1479
+ "type": "Dropdown",
1480
+ "value": "attended",
1481
+ "choices": [
1482
+ {
1483
+ "name": "Attended",
1484
+ "value": "attended"
1485
+ },
1486
+ {
1487
+ "name": "Unattended",
1488
+ "value": "unattended"
1489
+ }
1490
+ ],
1491
+ "binding": {
1492
+ "type": "zeebe:input",
1493
+ "name": "runMode"
1494
+ },
1495
+ "constraints": {
1496
+ "notEmpty": true
1497
+ },
1498
+ "condition": {
1499
+ "property": "operationType",
1500
+ "oneOf": ["triggerFlowRun"]
1501
+ }
1502
+ },
1503
+ {
1504
+ "label": "Run priority",
1505
+ "feel": "optional",
1506
+ "description": "Choose an option (normal, high) or add your own",
1507
+ "group": "input",
1508
+ "type": "String",
1509
+ "value": "normal",
1510
+ "binding": {
1511
+ "type": "zeebe:input",
1512
+ "name": "runPriority"
1513
+ },
1514
+ "optional": true,
1515
+ "condition": {
1516
+ "property": "operationType",
1517
+ "oneOf": ["triggerFlowRun"]
1518
+ }
1519
+ },
1520
+ {
1521
+ "label": "Timeout",
1522
+ "feel": "optional",
1523
+ "description": "Timeout for Power Automate script execution in seconds (default = 3 hours, max = 24 hours)",
1524
+ "group": "input",
1525
+ "type": "String",
1526
+ "binding": {
1527
+ "type": "zeebe:input",
1528
+ "name": "runTimeout"
1529
+ },
1530
+ "optional": true,
1531
+ "condition": {
1532
+ "property": "operationType",
1533
+ "oneOf": ["triggerFlowRun"]
1534
+ }
1535
+ },
1536
+ {
1537
+ "label": "Inputs",
1538
+ "description": "The desktop flow script input parameters (json serialized string)",
1539
+ "group": "input",
1540
+ "type": "String",
1541
+ "feel": "required",
1542
+ "binding": {
1543
+ "type": "zeebe:input",
1544
+ "name": "runInputs"
1545
+ },
1546
+ "optional": true,
1547
+ "condition": {
1548
+ "property": "operationType",
1549
+ "oneOf": ["triggerFlowRun"]
1550
+ }
1551
+ },
1552
+ {
1553
+ "label": "Callback URL",
1554
+ "feel": "optional",
1555
+ "description": "URL that will be called once the desktop flow script is complete. You can use the <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/\">webhook connector</a> for this purpose",
1556
+ "group": "input",
1557
+ "type": "String",
1558
+ "binding": {
1559
+ "type": "zeebe:input",
1560
+ "name": "callbackUrl"
1561
+ },
1562
+ "optional": true,
1563
+ "condition": {
1564
+ "property": "operationType",
1565
+ "oneOf": ["triggerFlowRun"]
1566
+ }
1567
+ },
1568
+ {
1569
+ "group": "configuration",
1570
+ "type": "Hidden",
1571
+ "value": "={\"Content-Type\":\"application/json\"}",
1572
+ "binding": {
1573
+ "type": "zeebe:input",
1574
+ "name": "headers"
1575
+ },
1576
+ "constraints": {
1577
+ "notEmpty": true
1578
+ }
1579
+ },
1580
+ {
1581
+ "group": "input",
1582
+ "type": "Hidden",
1583
+ "value": "={\"runMode\":if runMode = null then null else runMode, \"runPriority\":if runPriority = null then null else runPriority,\"connectionName\":if connectionName = null then null else connectionName,\"timeout\":if runTimeout = null then 7200 else runTimeout,\"inputs\":if runInputs = null then null else runInputs,\"connectionType\":if connectionType = null then 1 else connectionType,\"callbackUrl\":if callbackUrl = null then null else callbackUrl}",
1584
+ "binding": {
1585
+ "type": "zeebe:input",
1586
+ "name": "body"
1587
+ },
1588
+ "condition": {
1589
+ "property": "operationType",
1590
+ "oneOf": ["triggerFlowRun"]
1591
+ },
1592
+ "optional": true
1593
+ },
1594
+ {
1595
+ "label": "Result variable",
1596
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
1597
+ "group": "output",
1598
+ "type": "String",
1599
+ "binding": {
1600
+ "type": "zeebe:taskHeader",
1601
+ "key": "resultVariable"
1602
+ }
1603
+ },
1604
+ {
1605
+ "label": "Result expression",
1606
+ "id": "resultExpressionGetBodySessionId",
1607
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1608
+ "group": "output",
1609
+ "type": "String",
1610
+ "feel": "required",
1611
+ "value": "={flowSessionId: response.body.flowsessionId}",
1612
+ "binding": {
1613
+ "type": "zeebe:taskHeader",
1614
+ "key": "resultExpression"
1615
+ },
1616
+ "condition": {
1617
+ "property": "operationType",
1618
+ "oneOf": ["triggerFlowRun"]
1619
+ }
1620
+ },
1621
+ {
1622
+ "label": "Result expression",
1623
+ "id": "resultExpressionGetStatusCode",
1624
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1625
+ "group": "output",
1626
+ "type": "String",
1627
+ "feel": "required",
1628
+ "value": "={statusCode: response.body.statuscode}",
1629
+ "binding": {
1630
+ "type": "zeebe:taskHeader",
1631
+ "key": "resultExpression"
1632
+ },
1633
+ "condition": {
1634
+ "property": "operationType",
1635
+ "oneOf": ["getStatusOfFlowRun"]
1636
+ }
1637
+ },
1638
+ {
1639
+ "label": "Result expression",
1640
+ "id": "resultExpressionGetBody",
1641
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
1642
+ "group": "output",
1643
+ "type": "String",
1644
+ "feel": "required",
1645
+ "value": "={flowOutputs: response.body}",
1646
+ "binding": {
1647
+ "type": "zeebe:taskHeader",
1648
+ "key": "resultExpression"
1649
+ },
1650
+ "condition": {
1651
+ "property": "operationType",
1652
+ "oneOf": ["getFlowOutputs"]
1653
+ }
1654
+ },
1655
+ {
1656
+ "label": "Connection timeout",
1657
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1658
+ "group": "errors",
1659
+ "type": "String",
1660
+ "value": "20",
1661
+ "binding": {
1662
+ "type": "zeebe:input",
1663
+ "name": "connectionTimeoutInSeconds"
1664
+ },
1665
+ "optional": true,
1666
+ "feel": "optional",
1667
+ "constraints": {
1668
+ "notEmpty": false,
1669
+ "pattern": {
1670
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1671
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1672
+ }
1673
+ }
1674
+ },
1675
+ {
1676
+ "type": "Hidden",
1677
+ "value": "=organizationUri + \"/api/data/v9.2/flowsessions(\" + flowSessionId + \")?$select=statuscode,statecode,startedon,completedon\"",
1678
+ "binding": {
1679
+ "type": "zeebe:input",
1680
+ "name": "url"
1681
+ },
1682
+ "condition": {
1683
+ "property": "operationType",
1684
+ "oneOf": ["getStatusOfFlowRun"]
1685
+ }
1686
+ },
1687
+ {
1688
+ "type": "Hidden",
1689
+ "value": "=organizationUri + \"/api/data/v9.2/flowsessions(\" + flowSessionId + \")/outputs/$value\"",
1690
+ "binding": {
1691
+ "type": "zeebe:input",
1692
+ "name": "url"
1693
+ },
1694
+ "condition": {
1695
+ "property": "operationType",
1696
+ "oneOf": ["getFlowOutputs"]
1697
+ }
1698
+ },
1699
+ {
1700
+ "type": "Hidden",
1701
+ "value": "=organizationUri + \"/api/data/v9.2/workflows(\" + workflowId + \")/Microsoft.Dynamics.CRM.RunDesktopFlow\"",
1702
+ "binding": {
1703
+ "type": "zeebe:input",
1704
+ "name": "url"
1705
+ },
1706
+ "condition": {
1707
+ "property": "operationType",
1708
+ "oneOf": ["triggerFlowRun"]
1709
+ }
1710
+ },
1711
+ {
1712
+ "label": "Error expression",
1713
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
1714
+ "group": "errors",
1715
+ "type": "Text",
1716
+ "feel": "required",
1717
+ "binding": {
1718
+ "type": "zeebe:taskHeader",
1719
+ "key": "errorExpression"
1720
+ }
1721
+ }
1722
+ ]
1723
+ }
1724
+ ]