@camunda/connectors-element-templates 1.0.4 → 1.0.6

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 (80) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +10 -2
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +157 -0
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1521 -0
  5. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  6. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  7. package/src/element-templates/asana-connector.json +8 -8
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +837 -15
  9. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +2624 -2624
  11. package/src/element-templates/aws-eventbridge-connector-start-event.json +18 -15
  12. package/src/element-templates/aws-eventbridge-outbound-connector.json +305 -305
  13. package/src/element-templates/aws-lambda-outbound-connector.json +182 -182
  14. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  15. package/src/element-templates/aws-sns-inbound-intermediate.json +460 -460
  16. package/src/element-templates/aws-sns-inbound-message-start.json +336 -336
  17. package/src/element-templates/aws-sns-outbound-connector.json +719 -719
  18. package/src/element-templates/aws-sqs-boundary-connector.json +444 -444
  19. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +919 -919
  20. package/src/element-templates/aws-sqs-outbound-connector.json +434 -434
  21. package/src/element-templates/aws-sqs-start-event-connector.json +387 -387
  22. package/src/element-templates/aws-sqs-start-message.json +463 -463
  23. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  24. package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
  25. package/src/element-templates/azure-open-ai-connector.json +32 -32
  26. package/src/element-templates/blue-prism-connector.json +47 -47
  27. package/src/element-templates/csv-outbound-connector.json +392 -0
  28. package/src/element-templates/easy-post-connector.json +149 -149
  29. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  30. package/src/element-templates/email-outbound-connector.json +199 -199
  31. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3473 -150
  32. package/src/element-templates/github-connector.json +3711 -3711
  33. package/src/element-templates/github-webhook-connector-boundary.json +16 -16
  34. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  35. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  36. package/src/element-templates/github-webhook-connector-start-event.json +13 -10
  37. package/src/element-templates/gitlab-connector.json +3165 -3165
  38. package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
  39. package/src/element-templates/google-drive-outbound-connector.json +495 -182
  40. package/src/element-templates/google-maps-platform-connector.json +534 -45
  41. package/src/element-templates/google-sheets-outbound-connector.json +1359 -1359
  42. package/src/element-templates/graphql-outbound-connector.json +1716 -1716
  43. package/src/element-templates/http-json-connector.json +2067 -1155
  44. package/src/element-templates/http-polling-boundary-catch-event-connector.json +255 -552
  45. package/src/element-templates/http-polling-connector.json +260 -557
  46. package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
  47. package/src/element-templates/jdbc-outbound-connector.json +402 -0
  48. package/src/element-templates/kafka-inbound-connector-boundary.json +481 -481
  49. package/src/element-templates/kafka-inbound-connector-intermediate.json +555 -555
  50. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  51. package/src/element-templates/kafka-inbound-connector.json +606 -0
  52. package/src/element-templates/kafka-outbound-connector.json +434 -434
  53. package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
  54. package/src/element-templates/microsoft-teams-outbound-connector.json +2899 -2899
  55. package/src/element-templates/openai-connector.json +363 -5
  56. package/src/element-templates/operate-connector.json +525 -9
  57. package/src/element-templates/power-automate-connector.json +1724 -0
  58. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +323 -323
  59. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +458 -458
  60. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +557 -557
  61. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +351 -351
  62. package/src/element-templates/rabbitmq-outbound-connector.json +873 -873
  63. package/src/element-templates/salesforce-connector.json +10 -10
  64. package/src/element-templates/sendgrid-outbound-connector.json +536 -4
  65. package/src/element-templates/slack-inbound-boundary.json +265 -265
  66. package/src/element-templates/slack-inbound-intermediate.json +430 -430
  67. package/src/element-templates/slack-inbound-message-start.json +320 -320
  68. package/src/element-templates/slack-inbound-start-event.json +126 -123
  69. package/src/element-templates/slack-outbound-connector.json +485 -230
  70. package/src/element-templates/twilio-connector.json +59 -59
  71. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  72. package/src/element-templates/twilio-webhook-connector.json +13 -10
  73. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  74. package/src/element-templates/uipath-connector.json +44 -44
  75. package/src/element-templates/webhook-connector-boundary.json +582 -582
  76. package/src/element-templates/webhook-connector-intermediate.json +1143 -1143
  77. package/src/element-templates/webhook-connector-start-event.json +2104 -2101
  78. package/src/element-templates/webhook-connector-start-message.json +1148 -1148
  79. package/src/element-templates/whatsapp-connector.json +6 -6
  80. package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
@@ -3,9 +3,12 @@
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
4
  "name": "Google Drive Outbound Connector",
5
5
  "id": "io.camunda.connectors.GoogleDrive.v1",
6
- "description": "Create folder or a file from template",
6
+ "description": "Manage Google Drive files and folders",
7
+ "metadata": {
8
+ "keywords": ["create file", "create file from template", "create folder"]
9
+ },
7
10
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
8
- "version": 3,
11
+ "version": 5,
9
12
  "category": {
10
13
  "id": "connectors",
11
14
  "name": "Connectors"
@@ -14,6 +17,9 @@
14
17
  "elementType": {
15
18
  "value": "bpmn:ServiceTask"
16
19
  },
20
+ "engines": {
21
+ "camunda": "^8.3"
22
+ },
17
23
  "groups": [
18
24
  {
19
25
  "id": "authentication",
@@ -27,6 +33,10 @@
27
33
  "id": "operationDetails",
28
34
  "label": "Operation details"
29
35
  },
36
+ {
37
+ "id": "connector",
38
+ "label": "Connector"
39
+ },
30
40
  {
31
41
  "id": "output",
32
42
  "label": "Output mapping"
@@ -180,6 +190,14 @@
180
190
  {
181
191
  "name": "Create file from template",
182
192
  "value": "file"
193
+ },
194
+ {
195
+ "name": "Upload file",
196
+ "value": "upload"
197
+ },
198
+ {
199
+ "name": "Download file",
200
+ "value": "download"
183
201
  }
184
202
  ]
185
203
  },
@@ -196,6 +214,11 @@
196
214
  "name": "resource.name",
197
215
  "type": "zeebe:input"
198
216
  },
217
+ "condition": {
218
+ "property": "resource.type",
219
+ "oneOf": ["folder", "file"],
220
+ "type": "simple"
221
+ },
199
222
  "type": "String"
200
223
  },
201
224
  {
@@ -209,6 +232,11 @@
209
232
  "name": "resource.parent",
210
233
  "type": "zeebe:input"
211
234
  },
235
+ "condition": {
236
+ "property": "resource.type",
237
+ "oneOf": ["folder", "file", "upload"],
238
+ "type": "simple"
239
+ },
212
240
  "type": "String"
213
241
  },
214
242
  {
@@ -265,6 +293,71 @@
265
293
  },
266
294
  "type": "String"
267
295
  },
296
+ {
297
+ "id": "resource.downloadData.fileId",
298
+ "label": "File ID",
299
+ "optional": false,
300
+ "constraints": {
301
+ "notEmpty": true
302
+ },
303
+ "feel": "optional",
304
+ "group": "operationDetails",
305
+ "binding": {
306
+ "name": "resource.downloadData.fileId",
307
+ "type": "zeebe:input"
308
+ },
309
+ "condition": {
310
+ "property": "resource.type",
311
+ "equals": "download",
312
+ "type": "simple"
313
+ },
314
+ "type": "String"
315
+ },
316
+ {
317
+ "id": "resource.uploadData.document",
318
+ "label": "Document",
319
+ "description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
320
+ "optional": false,
321
+ "constraints": {
322
+ "notEmpty": true
323
+ },
324
+ "feel": "required",
325
+ "group": "operationDetails",
326
+ "binding": {
327
+ "name": "resource.uploadData.document",
328
+ "type": "zeebe:input"
329
+ },
330
+ "condition": {
331
+ "property": "resource.type",
332
+ "equals": "upload",
333
+ "type": "simple"
334
+ },
335
+ "type": "String"
336
+ },
337
+ {
338
+ "id": "version",
339
+ "label": "Version",
340
+ "description": "Version of the element template",
341
+ "value": "5",
342
+ "group": "connector",
343
+ "binding": {
344
+ "key": "elementTemplateVersion",
345
+ "type": "zeebe:taskHeader"
346
+ },
347
+ "type": "Hidden"
348
+ },
349
+ {
350
+ "id": "id",
351
+ "label": "ID",
352
+ "description": "ID of the element template",
353
+ "value": "io.camunda.connectors.GoogleDrive.v1",
354
+ "group": "connector",
355
+ "binding": {
356
+ "key": "elementTemplateId",
357
+ "type": "zeebe:taskHeader"
358
+ },
359
+ "type": "Hidden"
360
+ },
268
361
  {
269
362
  "id": "resultVariable",
270
363
  "label": "Result variable",
@@ -318,7 +411,6 @@
318
411
  "label": "Retry backoff",
319
412
  "description": "ISO-8601 duration to wait between retries",
320
413
  "value": "PT0S",
321
- "feel": "optional",
322
414
  "group": "retries",
323
415
  "binding": {
324
416
  "key": "retryBackoff",
@@ -329,9 +421,6 @@
329
421
  ],
330
422
  "icon": {
331
423
  "contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
332
- },
333
- "engines": {
334
- "camunda": "^8.5"
335
424
  }
336
425
  },
337
426
  {
@@ -732,9 +821,9 @@
732
821
  },
733
822
  {
734
823
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
735
- "name": "Google Drive Outbound Connector",
824
+ "name": "Google Drive connector",
736
825
  "id": "io.camunda.connectors.GoogleDrive.v1",
737
- "version": 2,
826
+ "version": 1,
738
827
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
739
828
  "description": "Create folder or a file from template",
740
829
  "category": {
@@ -1045,9 +1134,9 @@
1045
1134
  },
1046
1135
  {
1047
1136
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1048
- "name": "Google Drive connector",
1137
+ "name": "Google Drive Outbound Connector",
1049
1138
  "id": "io.camunda.connectors.GoogleDrive.v1",
1050
- "version": 1,
1139
+ "version": 2,
1051
1140
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1052
1141
  "description": "Create folder or a file from template",
1053
1142
  "category": {
@@ -1358,14 +1447,14 @@
1358
1447
  },
1359
1448
  {
1360
1449
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1361
- "name": "Google Drive Outbound Connector",
1450
+ "name": "Google Drive connector",
1362
1451
  "id": "io.camunda.connectors.GoogleDrive.v1",
1363
- "description": "Manage Google Drive files and folders",
1364
- "metadata": {
1365
- "keywords": ["create file", "create file from template", "create folder"]
1366
- },
1367
1452
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1368
- "version": 5,
1453
+ "description": "Create folder or a file from template",
1454
+ "deprecated": {
1455
+ "message": "Replace with 'Google Drive connector' template.",
1456
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1457
+ },
1369
1458
  "category": {
1370
1459
  "id": "connectors",
1371
1460
  "name": "Connectors"
@@ -1374,9 +1463,6 @@
1374
1463
  "elementType": {
1375
1464
  "value": "bpmn:ServiceTask"
1376
1465
  },
1377
- "engines": {
1378
- "camunda": "^8.3"
1379
- },
1380
1466
  "groups": [
1381
1467
  {
1382
1468
  "id": "authentication",
@@ -1390,46 +1476,30 @@
1390
1476
  "id": "operationDetails",
1391
1477
  "label": "Operation details"
1392
1478
  },
1393
- {
1394
- "id": "connector",
1395
- "label": "Connector"
1396
- },
1397
1479
  {
1398
1480
  "id": "output",
1399
1481
  "label": "Output mapping"
1400
1482
  },
1401
1483
  {
1402
- "id": "error",
1484
+ "id": "errors",
1403
1485
  "label": "Error handling"
1404
- },
1405
- {
1406
- "id": "retries",
1407
- "label": "Retries"
1408
1486
  }
1409
1487
  ],
1410
1488
  "properties": [
1411
1489
  {
1490
+ "type": "Hidden",
1412
1491
  "value": "io.camunda:google-drive:1",
1413
1492
  "binding": {
1414
- "property": "type",
1415
- "type": "zeebe:taskDefinition"
1416
- },
1417
- "type": "Hidden"
1493
+ "type": "zeebe:taskDefinition",
1494
+ "property": "type"
1495
+ }
1418
1496
  },
1419
1497
  {
1420
- "id": "authentication.authType",
1498
+ "id": "authenticationType",
1421
1499
  "label": "Type",
1422
- "optional": false,
1423
- "value": "refresh",
1424
- "constraints": {
1425
- "notEmpty": true
1426
- },
1427
1500
  "group": "authentication",
1428
- "binding": {
1429
- "name": "authentication.authType",
1430
- "type": "zeebe:input"
1431
- },
1432
1501
  "type": "Dropdown",
1502
+ "value": "bearer",
1433
1503
  "choices": [
1434
1504
  {
1435
1505
  "name": "Bearer token",
@@ -1439,106 +1509,86 @@
1439
1509
  "name": "Refresh token",
1440
1510
  "value": "refresh"
1441
1511
  }
1442
- ]
1512
+ ],
1513
+ "binding": {
1514
+ "type": "zeebe:input",
1515
+ "name": "authentication.authType",
1516
+ "key": "authentication.authType"
1517
+ }
1443
1518
  },
1444
1519
  {
1445
- "id": "authentication.bearerToken",
1446
1520
  "label": "Bearer token",
1447
- "description": "Enter a valid Google API Bearer token",
1448
- "optional": false,
1449
- "constraints": {
1450
- "notEmpty": true
1451
- },
1452
- "feel": "optional",
1521
+ "description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
1453
1522
  "group": "authentication",
1523
+ "type": "String",
1454
1524
  "binding": {
1455
- "name": "authentication.bearerToken",
1456
- "type": "zeebe:input"
1525
+ "type": "zeebe:input",
1526
+ "name": "authentication.bearerToken"
1457
1527
  },
1458
- "condition": {
1459
- "property": "authentication.authType",
1460
- "equals": "bearer",
1461
- "type": "simple"
1528
+ "constraints": {
1529
+ "notEmpty": true
1462
1530
  },
1463
- "type": "String"
1531
+ "condition": {
1532
+ "property": "authenticationType",
1533
+ "equals": "bearer"
1534
+ }
1464
1535
  },
1465
1536
  {
1466
- "id": "authentication.oauthClientId",
1467
1537
  "label": "Client ID",
1468
1538
  "description": "Enter Google API Client ID",
1469
- "optional": false,
1470
- "constraints": {
1471
- "notEmpty": true
1472
- },
1473
- "feel": "optional",
1474
1539
  "group": "authentication",
1540
+ "type": "String",
1475
1541
  "binding": {
1476
- "name": "authentication.oauthClientId",
1477
- "type": "zeebe:input"
1542
+ "type": "zeebe:input",
1543
+ "name": "authentication.oauthClientId"
1478
1544
  },
1479
- "condition": {
1480
- "property": "authentication.authType",
1481
- "equals": "refresh",
1482
- "type": "simple"
1545
+ "constraints": {
1546
+ "notEmpty": true
1483
1547
  },
1484
- "type": "String"
1548
+ "condition": {
1549
+ "property": "authenticationType",
1550
+ "equals": "refresh"
1551
+ }
1485
1552
  },
1486
1553
  {
1487
- "id": "authentication.oauthClientSecret",
1488
1554
  "label": "Client secret",
1489
1555
  "description": "Enter Google API client Secret",
1490
- "optional": false,
1491
- "constraints": {
1492
- "notEmpty": true
1493
- },
1494
- "feel": "optional",
1495
1556
  "group": "authentication",
1557
+ "type": "String",
1496
1558
  "binding": {
1497
- "name": "authentication.oauthClientSecret",
1498
- "type": "zeebe:input"
1559
+ "type": "zeebe:input",
1560
+ "name": "authentication.oauthClientSecret"
1499
1561
  },
1500
- "condition": {
1501
- "property": "authentication.authType",
1502
- "equals": "refresh",
1503
- "type": "simple"
1562
+ "constraints": {
1563
+ "notEmpty": true
1504
1564
  },
1505
- "type": "String"
1565
+ "condition": {
1566
+ "property": "authenticationType",
1567
+ "equals": "refresh"
1568
+ }
1506
1569
  },
1507
1570
  {
1508
- "id": "authentication.oauthRefreshToken",
1509
1571
  "label": "Refresh token",
1510
- "description": "Enter a valid Google API refresh token",
1511
- "optional": false,
1512
- "constraints": {
1513
- "notEmpty": true
1514
- },
1515
- "feel": "optional",
1572
+ "description": "Enter Google API refresh token that is authorized to interact with desired Drive",
1516
1573
  "group": "authentication",
1574
+ "type": "String",
1517
1575
  "binding": {
1518
- "name": "authentication.oauthRefreshToken",
1519
- "type": "zeebe:input"
1576
+ "type": "zeebe:input",
1577
+ "name": "authentication.oauthRefreshToken"
1520
1578
  },
1521
- "condition": {
1522
- "property": "authentication.authType",
1523
- "equals": "refresh",
1524
- "type": "simple"
1579
+ "constraints": {
1580
+ "notEmpty": true
1525
1581
  },
1526
- "type": "String"
1582
+ "condition": {
1583
+ "property": "authenticationType",
1584
+ "equals": "refresh"
1585
+ }
1527
1586
  },
1528
1587
  {
1529
- "id": "resource.type",
1530
- "label": "Operation",
1531
- "optional": false,
1588
+ "id": "resourceType",
1589
+ "group": "operation",
1590
+ "type": "Dropdown",
1532
1591
  "value": "folder",
1533
- "constraints": {
1534
- "notEmpty": true
1535
- },
1536
- "group": "operation",
1537
- "binding": {
1538
- "name": "resource.type",
1539
- "type": "zeebe:input"
1540
- },
1541
- "type": "Dropdown",
1542
1592
  "choices": [
1543
1593
  {
1544
1594
  "name": "Create folder",
@@ -1547,173 +1597,432 @@
1547
1597
  {
1548
1598
  "name": "Create file from template",
1549
1599
  "value": "file"
1550
- },
1551
- {
1552
- "name": "Upload file",
1553
- "value": "upload"
1554
- },
1555
- {
1556
- "name": "Download file",
1557
- "value": "download"
1558
1600
  }
1559
- ]
1601
+ ],
1602
+ "binding": {
1603
+ "type": "zeebe:input",
1604
+ "name": "resource.type",
1605
+ "key": "resource.type"
1606
+ }
1560
1607
  },
1561
1608
  {
1562
- "id": "resource.name",
1563
- "label": "New resource name",
1564
- "optional": false,
1609
+ "label": "File name",
1610
+ "description": "Enter name for your file",
1611
+ "group": "operationDetails",
1612
+ "type": "String",
1613
+ "feel": "optional",
1614
+ "binding": {
1615
+ "type": "zeebe:input",
1616
+ "name": "resource.name"
1617
+ },
1565
1618
  "constraints": {
1566
- "notEmpty": true
1619
+ "notEmpty": true,
1620
+ "maxLength": 255
1567
1621
  },
1568
- "feel": "optional",
1622
+ "condition": {
1623
+ "property": "resourceType",
1624
+ "equals": "file"
1625
+ }
1626
+ },
1627
+ {
1628
+ "label": "Folder name",
1629
+ "description": "Enter name for your folder",
1569
1630
  "group": "operationDetails",
1631
+ "type": "String",
1632
+ "feel": "optional",
1570
1633
  "binding": {
1571
- "name": "resource.name",
1572
- "type": "zeebe:input"
1634
+ "type": "zeebe:input",
1635
+ "name": "resource.name"
1636
+ },
1637
+ "constraints": {
1638
+ "notEmpty": true,
1639
+ "maxLength": 255
1573
1640
  },
1574
1641
  "condition": {
1575
- "property": "resource.type",
1576
- "oneOf": ["folder", "file"],
1577
- "type": "simple"
1642
+ "property": "resourceType",
1643
+ "equals": "folder"
1644
+ }
1645
+ },
1646
+ {
1647
+ "label": "Template ID",
1648
+ "description": "Enter ID of the template you are creating a file from",
1649
+ "group": "operationDetails",
1650
+ "type": "String",
1651
+ "feel": "optional",
1652
+ "binding": {
1653
+ "type": "zeebe:input",
1654
+ "name": "resource.template.id"
1578
1655
  },
1579
- "type": "String"
1656
+ "constraints": {
1657
+ "notEmpty": true
1658
+ },
1659
+ "condition": {
1660
+ "property": "resourceType",
1661
+ "equals": "file"
1662
+ }
1580
1663
  },
1581
1664
  {
1582
- "id": "resource.parent",
1583
1665
  "label": "Parent folder ID",
1584
- "description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
1585
- "optional": true,
1666
+ "description": "Enter ID of the parent folder where new folder will be created",
1667
+ "group": "operationDetails",
1668
+ "type": "String",
1586
1669
  "feel": "optional",
1670
+ "optional": true,
1671
+ "binding": {
1672
+ "type": "zeebe:input",
1673
+ "name": "resource.parent"
1674
+ },
1675
+ "condition": {
1676
+ "property": "resourceType",
1677
+ "equals": "folder"
1678
+ }
1679
+ },
1680
+ {
1681
+ "label": "Parent folder ID",
1682
+ "description": "Enter ID of the parent folder where new file will be created",
1587
1683
  "group": "operationDetails",
1684
+ "type": "String",
1685
+ "feel": "optional",
1686
+ "optional": true,
1588
1687
  "binding": {
1589
- "name": "resource.parent",
1590
- "type": "zeebe:input"
1688
+ "type": "zeebe:input",
1689
+ "name": "resource.parent"
1591
1690
  },
1592
1691
  "condition": {
1593
- "property": "resource.type",
1594
- "oneOf": ["folder", "file", "upload"],
1595
- "type": "simple"
1692
+ "property": "resourceType",
1693
+ "equals": "file"
1694
+ }
1695
+ },
1696
+ {
1697
+ "label": "Template variables",
1698
+ "description": "Use this field to pass and update variables in your template as JSON",
1699
+ "group": "operationDetails",
1700
+ "type": "Text",
1701
+ "feel": "required",
1702
+ "binding": {
1703
+ "type": "zeebe:input",
1704
+ "name": "resource.template.variables"
1596
1705
  },
1597
- "type": "String"
1706
+ "condition": {
1707
+ "property": "resourceType",
1708
+ "equals": "file"
1709
+ }
1598
1710
  },
1599
1711
  {
1600
- "id": "resource.additionalGoogleDriveProperties",
1601
1712
  "label": "Additional properties or metadata",
1713
+ "description": "Use this field to pass additional Google Drive parameters as JSON.",
1714
+ "group": "operationDetails",
1715
+ "type": "Text",
1602
1716
  "optional": true,
1603
1717
  "feel": "required",
1604
- "group": "operationDetails",
1605
1718
  "binding": {
1719
+ "type": "zeebe:input",
1606
1720
  "name": "resource.additionalGoogleDriveProperties",
1721
+ "key": "resource.additionalGoogleDriveProperties"
1722
+ }
1723
+ },
1724
+ {
1725
+ "label": "Result variable",
1726
+ "description": "Enter 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>",
1727
+ "group": "output",
1728
+ "type": "String",
1729
+ "binding": {
1730
+ "type": "zeebe:taskHeader",
1731
+ "key": "resultVariable"
1732
+ }
1733
+ },
1734
+ {
1735
+ "label": "Result expression",
1736
+ "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>",
1737
+ "group": "output",
1738
+ "type": "Text",
1739
+ "feel": "required",
1740
+ "binding": {
1741
+ "type": "zeebe:taskHeader",
1742
+ "key": "resultExpression"
1743
+ }
1744
+ },
1745
+ {
1746
+ "label": "Error expression",
1747
+ "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>",
1748
+ "group": "errors",
1749
+ "type": "Text",
1750
+ "feel": "required",
1751
+ "binding": {
1752
+ "type": "zeebe:taskHeader",
1753
+ "key": "errorExpression"
1754
+ }
1755
+ }
1756
+ ],
1757
+ "icon": {
1758
+ "contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
1759
+ }
1760
+ },
1761
+ {
1762
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1763
+ "name": "Google Drive Outbound Connector",
1764
+ "id": "io.camunda.connectors.GoogleDrive.v1",
1765
+ "description": "Create folder or a file from template",
1766
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
1767
+ "version": 3,
1768
+ "category": {
1769
+ "id": "connectors",
1770
+ "name": "Connectors"
1771
+ },
1772
+ "appliesTo": ["bpmn:Task"],
1773
+ "elementType": {
1774
+ "value": "bpmn:ServiceTask"
1775
+ },
1776
+ "groups": [
1777
+ {
1778
+ "id": "authentication",
1779
+ "label": "Authentication"
1780
+ },
1781
+ {
1782
+ "id": "operation",
1783
+ "label": "Select operation"
1784
+ },
1785
+ {
1786
+ "id": "operationDetails",
1787
+ "label": "Operation details"
1788
+ },
1789
+ {
1790
+ "id": "output",
1791
+ "label": "Output mapping"
1792
+ },
1793
+ {
1794
+ "id": "error",
1795
+ "label": "Error handling"
1796
+ },
1797
+ {
1798
+ "id": "retries",
1799
+ "label": "Retries"
1800
+ }
1801
+ ],
1802
+ "properties": [
1803
+ {
1804
+ "value": "io.camunda:google-drive:1",
1805
+ "binding": {
1806
+ "property": "type",
1807
+ "type": "zeebe:taskDefinition"
1808
+ },
1809
+ "type": "Hidden"
1810
+ },
1811
+ {
1812
+ "id": "authentication.authType",
1813
+ "label": "Type",
1814
+ "optional": false,
1815
+ "value": "refresh",
1816
+ "constraints": {
1817
+ "notEmpty": true
1818
+ },
1819
+ "group": "authentication",
1820
+ "binding": {
1821
+ "name": "authentication.authType",
1822
+ "type": "zeebe:input"
1823
+ },
1824
+ "type": "Dropdown",
1825
+ "choices": [
1826
+ {
1827
+ "name": "Bearer token",
1828
+ "value": "bearer"
1829
+ },
1830
+ {
1831
+ "name": "Refresh token",
1832
+ "value": "refresh"
1833
+ }
1834
+ ]
1835
+ },
1836
+ {
1837
+ "id": "authentication.bearerToken",
1838
+ "label": "Bearer token",
1839
+ "description": "Enter a valid Google API Bearer token",
1840
+ "optional": false,
1841
+ "constraints": {
1842
+ "notEmpty": true
1843
+ },
1844
+ "feel": "optional",
1845
+ "group": "authentication",
1846
+ "binding": {
1847
+ "name": "authentication.bearerToken",
1607
1848
  "type": "zeebe:input"
1608
1849
  },
1609
1850
  "condition": {
1610
- "property": "resource.type",
1611
- "equals": "folder",
1851
+ "property": "authentication.authType",
1852
+ "equals": "bearer",
1612
1853
  "type": "simple"
1613
1854
  },
1614
1855
  "type": "String"
1615
1856
  },
1616
1857
  {
1617
- "id": "resource.template.id",
1618
- "label": "Template ID",
1858
+ "id": "authentication.oauthClientId",
1859
+ "label": "Client ID",
1860
+ "description": "Enter Google API Client ID",
1619
1861
  "optional": false,
1620
1862
  "constraints": {
1621
1863
  "notEmpty": true
1622
1864
  },
1623
1865
  "feel": "optional",
1624
- "group": "operationDetails",
1866
+ "group": "authentication",
1625
1867
  "binding": {
1626
- "name": "resource.template.id",
1868
+ "name": "authentication.oauthClientId",
1627
1869
  "type": "zeebe:input"
1628
1870
  },
1629
1871
  "condition": {
1630
- "property": "resource.type",
1631
- "equals": "file",
1872
+ "property": "authentication.authType",
1873
+ "equals": "refresh",
1632
1874
  "type": "simple"
1633
1875
  },
1634
1876
  "type": "String"
1635
1877
  },
1636
1878
  {
1637
- "id": "resource.template.variables",
1638
- "label": "Template variables",
1879
+ "id": "authentication.oauthClientSecret",
1880
+ "label": "Client secret",
1881
+ "description": "Enter Google API client Secret",
1639
1882
  "optional": false,
1640
- "feel": "required",
1641
- "group": "operationDetails",
1883
+ "constraints": {
1884
+ "notEmpty": true
1885
+ },
1886
+ "feel": "optional",
1887
+ "group": "authentication",
1642
1888
  "binding": {
1643
- "name": "resource.template.variables",
1889
+ "name": "authentication.oauthClientSecret",
1644
1890
  "type": "zeebe:input"
1645
1891
  },
1646
1892
  "condition": {
1647
- "property": "resource.type",
1648
- "equals": "file",
1893
+ "property": "authentication.authType",
1894
+ "equals": "refresh",
1649
1895
  "type": "simple"
1650
1896
  },
1651
1897
  "type": "String"
1652
1898
  },
1653
1899
  {
1654
- "id": "resource.downloadData.fileId",
1655
- "label": "File ID",
1900
+ "id": "authentication.oauthRefreshToken",
1901
+ "label": "Refresh token",
1902
+ "description": "Enter a valid Google API refresh token",
1656
1903
  "optional": false,
1657
1904
  "constraints": {
1658
1905
  "notEmpty": true
1659
1906
  },
1660
1907
  "feel": "optional",
1661
- "group": "operationDetails",
1908
+ "group": "authentication",
1662
1909
  "binding": {
1663
- "name": "resource.downloadData.fileId",
1910
+ "name": "authentication.oauthRefreshToken",
1664
1911
  "type": "zeebe:input"
1665
1912
  },
1666
1913
  "condition": {
1667
- "property": "resource.type",
1668
- "equals": "download",
1914
+ "property": "authentication.authType",
1915
+ "equals": "refresh",
1669
1916
  "type": "simple"
1670
1917
  },
1671
1918
  "type": "String"
1672
1919
  },
1673
1920
  {
1674
- "id": "resource.uploadData.document",
1675
- "label": "Document",
1676
- "description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
1921
+ "id": "resource.type",
1922
+ "label": "Operation",
1923
+ "optional": false,
1924
+ "value": "folder",
1925
+ "constraints": {
1926
+ "notEmpty": true
1927
+ },
1928
+ "group": "operation",
1929
+ "binding": {
1930
+ "name": "resource.type",
1931
+ "type": "zeebe:input"
1932
+ },
1933
+ "type": "Dropdown",
1934
+ "choices": [
1935
+ {
1936
+ "name": "Create folder",
1937
+ "value": "folder"
1938
+ },
1939
+ {
1940
+ "name": "Create file from template",
1941
+ "value": "file"
1942
+ }
1943
+ ]
1944
+ },
1945
+ {
1946
+ "id": "resource.name",
1947
+ "label": "New resource name",
1677
1948
  "optional": false,
1678
1949
  "constraints": {
1679
1950
  "notEmpty": true
1680
1951
  },
1952
+ "feel": "optional",
1953
+ "group": "operationDetails",
1954
+ "binding": {
1955
+ "name": "resource.name",
1956
+ "type": "zeebe:input"
1957
+ },
1958
+ "type": "String"
1959
+ },
1960
+ {
1961
+ "id": "resource.parent",
1962
+ "label": "Parent folder ID",
1963
+ "description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
1964
+ "optional": true,
1965
+ "feel": "optional",
1966
+ "group": "operationDetails",
1967
+ "binding": {
1968
+ "name": "resource.parent",
1969
+ "type": "zeebe:input"
1970
+ },
1971
+ "type": "String"
1972
+ },
1973
+ {
1974
+ "id": "resource.additionalGoogleDriveProperties",
1975
+ "label": "Additional properties or metadata",
1976
+ "optional": true,
1681
1977
  "feel": "required",
1682
1978
  "group": "operationDetails",
1683
1979
  "binding": {
1684
- "name": "resource.uploadData.document",
1980
+ "name": "resource.additionalGoogleDriveProperties",
1685
1981
  "type": "zeebe:input"
1686
1982
  },
1687
1983
  "condition": {
1688
1984
  "property": "resource.type",
1689
- "equals": "upload",
1985
+ "equals": "folder",
1690
1986
  "type": "simple"
1691
1987
  },
1692
1988
  "type": "String"
1693
1989
  },
1694
1990
  {
1695
- "id": "version",
1696
- "label": "Version",
1697
- "description": "Version of the element template",
1698
- "value": "5",
1699
- "group": "connector",
1991
+ "id": "resource.template.id",
1992
+ "label": "Template ID",
1993
+ "optional": false,
1994
+ "constraints": {
1995
+ "notEmpty": true
1996
+ },
1997
+ "feel": "optional",
1998
+ "group": "operationDetails",
1700
1999
  "binding": {
1701
- "key": "elementTemplateVersion",
1702
- "type": "zeebe:taskHeader"
2000
+ "name": "resource.template.id",
2001
+ "type": "zeebe:input"
1703
2002
  },
1704
- "type": "Hidden"
2003
+ "condition": {
2004
+ "property": "resource.type",
2005
+ "equals": "file",
2006
+ "type": "simple"
2007
+ },
2008
+ "type": "String"
1705
2009
  },
1706
2010
  {
1707
- "id": "id",
1708
- "label": "ID",
1709
- "description": "ID of the element template",
1710
- "value": "io.camunda.connectors.GoogleDrive.v1",
1711
- "group": "connector",
2011
+ "id": "resource.template.variables",
2012
+ "label": "Template variables",
2013
+ "optional": false,
2014
+ "feel": "required",
2015
+ "group": "operationDetails",
1712
2016
  "binding": {
1713
- "key": "elementTemplateId",
1714
- "type": "zeebe:taskHeader"
2017
+ "name": "resource.template.variables",
2018
+ "type": "zeebe:input"
1715
2019
  },
1716
- "type": "Hidden"
2020
+ "condition": {
2021
+ "property": "resource.type",
2022
+ "equals": "file",
2023
+ "type": "simple"
2024
+ },
2025
+ "type": "String"
1717
2026
  },
1718
2027
  {
1719
2028
  "id": "resultVariable",
@@ -1768,6 +2077,7 @@
1768
2077
  "label": "Retry backoff",
1769
2078
  "description": "ISO-8601 duration to wait between retries",
1770
2079
  "value": "PT0S",
2080
+ "feel": "optional",
1771
2081
  "group": "retries",
1772
2082
  "binding": {
1773
2083
  "key": "retryBackoff",
@@ -1778,6 +2088,9 @@
1778
2088
  ],
1779
2089
  "icon": {
1780
2090
  "contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
2091
+ },
2092
+ "engines": {
2093
+ "camunda": "^8.5"
1781
2094
  }
1782
2095
  }
1783
2096
  ]