@camunda/connectors-element-templates 1.0.6 → 1.0.8

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 (99) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +26 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +32 -30
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +3266 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3932 -760
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
  9. package/src/element-templates/asana-connector.json +104 -104
  10. package/src/element-templates/automation-anywhere-outbound-connector.json +657 -657
  11. package/src/element-templates/aws-bedrock-outbound-connector.json +30 -30
  12. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  13. package/src/element-templates/aws-dynamodb-outbound-connector.json +107 -107
  14. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  15. package/src/element-templates/aws-eventbridge-connector-intermediate.json +31 -31
  16. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  17. package/src/element-templates/aws-eventbridge-connector-receive.json +356 -0
  18. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  19. package/src/element-templates/aws-eventbridge-outbound-connector.json +479 -479
  20. package/src/element-templates/aws-lambda-outbound-connector.json +92 -92
  21. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  22. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  23. package/src/element-templates/aws-sns-inbound-boundary.json +303 -303
  24. package/src/element-templates/aws-sns-inbound-intermediate.json +215 -215
  25. package/src/element-templates/aws-sns-inbound-message-start.json +343 -343
  26. package/src/element-templates/aws-sns-inbound-receive.json +304 -0
  27. package/src/element-templates/aws-sns-inbound-start-event.json +130 -130
  28. package/src/element-templates/aws-sns-outbound-connector.json +726 -726
  29. package/src/element-templates/aws-sqs-boundary-connector.json +629 -629
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +537 -537
  31. package/src/element-templates/aws-sqs-outbound-connector.json +440 -440
  32. package/src/element-templates/aws-sqs-receive-connector.json +418 -0
  33. package/src/element-templates/aws-sqs-start-event-connector.json +771 -771
  34. package/src/element-templates/aws-sqs-start-message.json +461 -461
  35. package/src/element-templates/azure-open-ai-connector.json +32 -32
  36. package/src/element-templates/blue-prism-connector.json +50 -50
  37. package/src/element-templates/box-outbound-connector.json +30 -30
  38. package/src/element-templates/csv-outbound-connector.json +412 -0
  39. package/src/element-templates/easy-post-connector.json +149 -149
  40. package/src/element-templates/email-inbound-connector-boundary.json +19 -19
  41. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  42. package/src/element-templates/email-outbound-connector.json +233 -233
  43. package/src/element-templates/embeddings-vector-database-outbound-connector.json +473 -488
  44. package/src/element-templates/github-connector.json +2417 -2417
  45. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  46. package/src/element-templates/github-webhook-connector-intermediate.json +57 -57
  47. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  48. package/src/element-templates/github-webhook-connector-receive.json +202 -0
  49. package/src/element-templates/github-webhook-connector-start-event.json +57 -57
  50. package/src/element-templates/gitlab-connector.json +1103 -1103
  51. package/src/element-templates/google-drive-outbound-connector.json +846 -846
  52. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  53. package/src/element-templates/google-maps-platform-connector.json +78 -78
  54. package/src/element-templates/google-sheets-outbound-connector.json +1067 -1067
  55. package/src/element-templates/graphql-outbound-connector.json +1181 -1181
  56. package/src/element-templates/http-json-connector.json +2471 -1866
  57. package/src/element-templates/http-polling-boundary-catch-event-connector.json +635 -6
  58. package/src/element-templates/http-polling-connector.json +635 -6
  59. package/src/element-templates/hugging-face-connector.json +34 -34
  60. package/src/element-templates/jdbc-outbound-connector.json +43 -43
  61. package/src/element-templates/kafka-inbound-connector-boundary.json +1012 -1012
  62. package/src/element-templates/kafka-inbound-connector-intermediate.json +582 -582
  63. package/src/element-templates/kafka-inbound-connector-receive.json +498 -0
  64. package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
  65. package/src/element-templates/kafka-outbound-connector.json +385 -385
  66. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  67. package/src/element-templates/microsoft-teams-outbound-connector.json +1643 -1643
  68. package/src/element-templates/openai-connector.json +122 -122
  69. package/src/element-templates/operate-connector.json +76 -72
  70. package/src/element-templates/power-automate-connector.json +10 -10
  71. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +334 -334
  72. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +861 -861
  73. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +456 -456
  74. package/src/element-templates/rabbitmq-inbound-connector-receive.json +461 -0
  75. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +258 -258
  76. package/src/element-templates/rabbitmq-outbound-connector.json +322 -322
  77. package/src/element-templates/salesforce-connector.json +44 -44
  78. package/src/element-templates/sendgrid-outbound-connector.json +470 -470
  79. package/src/element-templates/servicenow-connector.json +942 -0
  80. package/src/element-templates/servicenow-flow-starter-connector.json +643 -0
  81. package/src/element-templates/servicenow-incident-connector.json +969 -0
  82. package/src/element-templates/slack-inbound-boundary.json +303 -303
  83. package/src/element-templates/slack-inbound-intermediate.json +277 -277
  84. package/src/element-templates/slack-inbound-message-start.json +11 -11
  85. package/src/element-templates/slack-inbound-receive.json +290 -0
  86. package/src/element-templates/slack-inbound-start-event.json +247 -247
  87. package/src/element-templates/slack-outbound-connector.json +966 -966
  88. package/src/element-templates/twilio-connector.json +52 -52
  89. package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
  90. package/src/element-templates/twilio-webhook-connector.json +11 -11
  91. package/src/element-templates/twilio-webhook-intermediate-connector.json +50 -50
  92. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  93. package/src/element-templates/twilio-webhook-receive-connector.json +262 -0
  94. package/src/element-templates/webhook-connector-boundary.json +1150 -1150
  95. package/src/element-templates/webhook-connector-intermediate.json +1834 -1834
  96. package/src/element-templates/webhook-connector-receive.json +609 -0
  97. package/src/element-templates/webhook-connector-start-event.json +1495 -1495
  98. package/src/element-templates/webhook-connector-start-message.json +586 -586
  99. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -15,7 +15,7 @@
15
15
  ]
16
16
  },
17
17
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
18
- "version": 3,
18
+ "version": 2,
19
19
  "category": {
20
20
  "id": "connectors",
21
21
  "name": "Connectors"
@@ -24,9 +24,6 @@
24
24
  "elementType": {
25
25
  "value": "bpmn:ServiceTask"
26
26
  },
27
- "engines": {
28
- "camunda": "^8.6"
29
- },
30
27
  "groups": [
31
28
  {
32
29
  "id": "authentication",
@@ -88,10 +85,6 @@
88
85
  "id": "moveEmailImap",
89
86
  "label": "Move Emails"
90
87
  },
91
- {
92
- "id": "connector",
93
- "label": "Connector"
94
- },
95
88
  {
96
89
  "id": "output",
97
90
  "label": "Output mapping"
@@ -1434,30 +1427,6 @@
1434
1427
  "tooltip": "Specify the destination folder to which the emails will be moved. To create a new folder or a hierarchy of folders, use a dot-separated path (e.g., 'Archive' or 'Projects.2023.January'). If any part of the path does not exist, it will be created automatically.",
1435
1428
  "type": "String"
1436
1429
  },
1437
- {
1438
- "id": "version",
1439
- "label": "Version",
1440
- "description": "Version of the element template",
1441
- "value": "3",
1442
- "group": "connector",
1443
- "binding": {
1444
- "key": "elementTemplateVersion",
1445
- "type": "zeebe:taskHeader"
1446
- },
1447
- "type": "Hidden"
1448
- },
1449
- {
1450
- "id": "id",
1451
- "label": "ID",
1452
- "description": "ID of the element template",
1453
- "value": "io.camunda.connectors.email.v1",
1454
- "group": "connector",
1455
- "binding": {
1456
- "key": "elementTemplateId",
1457
- "type": "zeebe:taskHeader"
1458
- },
1459
- "type": "Hidden"
1460
- },
1461
1430
  {
1462
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NSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
1493
+ },
1494
+ "engines": {
1495
+ "camunda": "^8.7"
1524
1496
  }
1525
1497
  },
1526
1498
  {
@@ -1528,18 +1500,8 @@
1528
1500
  "name": "Email Connector",
1529
1501
  "id": "io.camunda.connectors.email.v1",
1530
1502
  "description": "Execute email requests",
1531
- "metadata": {
1532
- "keywords": [
1533
- "send emails",
1534
- "list emails",
1535
- "search emails",
1536
- "delete emails",
1537
- "read emails",
1538
- "move emails"
1539
- ]
1540
- },
1541
1503
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
1542
- "version": 2,
1504
+ "version": 1,
1543
1505
  "category": {
1544
1506
  "id": "connectors",
1545
1507
  "name": "Connectors"
@@ -1677,7 +1639,6 @@
1677
1639
  "constraints": {
1678
1640
  "notEmpty": true
1679
1641
  },
1680
- "feel": "optional",
1681
1642
  "group": "authentication",
1682
1643
  "binding": {
1683
1644
  "name": "authentication.password",
@@ -1741,7 +1702,7 @@
1741
1702
  "id": "data.imapPort",
1742
1703
  "label": "IMAP Port",
1743
1704
  "optional": false,
1744
- "value": 993,
1705
+ "value": "993",
1745
1706
  "constraints": {
1746
1707
  "notEmpty": true
1747
1708
  },
@@ -1757,7 +1718,7 @@
1757
1718
  "type": "simple"
1758
1719
  },
1759
1720
  "tooltip": "Enter the port number for connecting to the IMAP server. Common ports are 993 for secure connections using SSL/TLS, or 143 for non-secure connections.",
1760
- "type": "Number"
1721
+ "type": "String"
1761
1722
  },
1762
1723
  {
1763
1724
  "id": "imapCryptographicProtocol",
@@ -1784,13 +1745,13 @@
1784
1745
  "name": "TLS",
1785
1746
  "value": "TLS"
1786
1747
  },
1787
- {
1788
- "name": "SSL",
1789
- "value": "SSL"
1790
- },
1791
1748
  {
1792
1749
  "name": "None",
1793
1750
  "value": "NONE"
1751
+ },
1752
+ {
1753
+ "name": "SSL",
1754
+ "value": "SSL"
1794
1755
  }
1795
1756
  ]
1796
1757
  },
@@ -1819,7 +1780,7 @@
1819
1780
  "id": "data.pop3Port",
1820
1781
  "label": "POP3 Port",
1821
1782
  "optional": false,
1822
- "value": 995,
1783
+ "value": "995",
1823
1784
  "constraints": {
1824
1785
  "notEmpty": true
1825
1786
  },
@@ -1835,7 +1796,7 @@
1835
1796
  "type": "simple"
1836
1797
  },
1837
1798
  "tooltip": "Enter the port number for connecting to the POP3 server. The standard port is 995 for secure connections with SSL/TLS, or 110 for non-secure connections.",
1838
- "type": "Number"
1799
+ "type": "String"
1839
1800
  },
1840
1801
  {
1841
1802
  "id": "pop3CryptographicProtocol",
@@ -1862,13 +1823,13 @@
1862
1823
  "name": "TLS",
1863
1824
  "value": "TLS"
1864
1825
  },
1865
- {
1866
- "name": "SSL",
1867
- "value": "SSL"
1868
- },
1869
1826
  {
1870
1827
  "name": "None",
1871
1828
  "value": "NONE"
1829
+ },
1830
+ {
1831
+ "name": "SSL",
1832
+ "value": "SSL"
1872
1833
  }
1873
1834
  ]
1874
1835
  },
@@ -1897,7 +1858,7 @@
1897
1858
  "id": "data.smtpPort",
1898
1859
  "label": "SMTP Port",
1899
1860
  "optional": false,
1900
- "value": 587,
1861
+ "value": "587",
1901
1862
  "constraints": {
1902
1863
  "notEmpty": true
1903
1864
  },
@@ -1913,7 +1874,7 @@
1913
1874
  "type": "simple"
1914
1875
  },
1915
1876
  "tooltip": "Enter the port number for connecting to the SMTP server. Typically, port 587 is used for secure connections with STARTTLS, port 465 for secure connections using SSL/TLS, and port 25 for non-secure connections.",
1916
- "type": "Number"
1877
+ "type": "String"
1917
1878
  },
1918
1879
  {
1919
1880
  "id": "smtpCryptographicProtocol",
@@ -1940,13 +1901,13 @@
1940
1901
  "name": "TLS",
1941
1902
  "value": "TLS"
1942
1903
  },
1943
- {
1944
- "name": "SSL",
1945
- "value": "SSL"
1946
- },
1947
1904
  {
1948
1905
  "name": "None",
1949
1906
  "value": "NONE"
1907
+ },
1908
+ {
1909
+ "name": "SSL",
1910
+ "value": "SSL"
1950
1911
  }
1951
1912
  ]
1952
1913
  },
@@ -2158,33 +2119,6 @@
2158
2119
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
2159
2120
  "type": "String"
2160
2121
  },
2161
- {
2162
- "id": "smtpHeaders",
2163
- "label": "Headers",
2164
- "optional": true,
2165
- "feel": "required",
2166
- "group": "sendEmailSmtp",
2167
- "binding": {
2168
- "name": "data.smtpAction.headers",
2169
- "type": "zeebe:input"
2170
- },
2171
- "condition": {
2172
- "allMatch": [
2173
- {
2174
- "property": "data.smtpActionDiscriminator",
2175
- "equals": "sendEmailSmtp",
2176
- "type": "simple"
2177
- },
2178
- {
2179
- "property": "protocol",
2180
- "equals": "smtp",
2181
- "type": "simple"
2182
- }
2183
- ]
2184
- },
2185
- "tooltip": "Additional email headers",
2186
- "type": "String"
2187
- },
2188
2122
  {
2189
2123
  "id": "smtpSubject",
2190
2124
  "label": "Subject",
@@ -2216,53 +2150,12 @@
2216
2150
  "type": "String"
2217
2151
  },
2218
2152
  {
2219
- "id": "contentType",
2220
- "label": "ContentType",
2153
+ "id": "smtpBody",
2154
+ "label": "Email Content",
2221
2155
  "optional": false,
2222
- "value": "PLAIN",
2223
2156
  "constraints": {
2224
2157
  "notEmpty": true
2225
2158
  },
2226
- "group": "sendEmailSmtp",
2227
- "binding": {
2228
- "name": "data.smtpAction.contentType",
2229
- "type": "zeebe:input"
2230
- },
2231
- "condition": {
2232
- "allMatch": [
2233
- {
2234
- "property": "data.smtpActionDiscriminator",
2235
- "equals": "sendEmailSmtp",
2236
- "type": "simple"
2237
- },
2238
- {
2239
- "property": "protocol",
2240
- "equals": "smtp",
2241
- "type": "simple"
2242
- }
2243
- ]
2244
- },
2245
- "tooltip": "Email's contentType",
2246
- "type": "Dropdown",
2247
- "choices": [
2248
- {
2249
- "name": "PLAIN",
2250
- "value": "PLAIN"
2251
- },
2252
- {
2253
- "name": "HTML",
2254
- "value": "HTML"
2255
- },
2256
- {
2257
- "name": "HTML & Plaintext",
2258
- "value": "MULTIPART"
2259
- }
2260
- ]
2261
- },
2262
- {
2263
- "id": "smtpBody",
2264
- "label": "Email Text Content",
2265
- "optional": false,
2266
2159
  "feel": "optional",
2267
2160
  "group": "sendEmailSmtp",
2268
2161
  "binding": {
@@ -2271,11 +2164,6 @@
2271
2164
  },
2272
2165
  "condition": {
2273
2166
  "allMatch": [
2274
- {
2275
- "property": "contentType",
2276
- "oneOf": ["PLAIN", "MULTIPART"],
2277
- "type": "simple"
2278
- },
2279
2167
  {
2280
2168
  "property": "data.smtpActionDiscriminator",
2281
2169
  "equals": "sendEmailSmtp",
@@ -2291,75 +2179,14 @@
2291
2179
  "tooltip": "Email's content",
2292
2180
  "type": "Text"
2293
2181
  },
2294
- {
2295
- "id": "smtpHtmlBody",
2296
- "label": "Email Html Content",
2297
- "optional": false,
2298
- "feel": "optional",
2299
- "group": "sendEmailSmtp",
2300
- "binding": {
2301
- "name": "data.smtpAction.htmlBody",
2302
- "type": "zeebe:input"
2303
- },
2304
- "condition": {
2305
- "allMatch": [
2306
- {
2307
- "property": "contentType",
2308
- "oneOf": ["HTML", "MULTIPART"],
2309
- "type": "simple"
2310
- },
2311
- {
2312
- "property": "data.smtpActionDiscriminator",
2313
- "equals": "sendEmailSmtp",
2314
- "type": "simple"
2315
- },
2316
- {
2317
- "property": "protocol",
2318
- "equals": "smtp",
2319
- "type": "simple"
2320
- }
2321
- ]
2322
- },
2323
- "tooltip": "Email's Html content",
2324
- "type": "Text"
2325
- },
2326
- {
2327
- "id": "attachmentsSmtp",
2328
- "label": "Attachment",
2329
- "description": "Email's attachment. e.g., =[ document1, document2]",
2330
- "optional": true,
2331
- "feel": "required",
2332
- "group": "sendEmailSmtp",
2333
- "binding": {
2334
- "name": "data.smtpAction.attachments",
2335
- "type": "zeebe:input"
2336
- },
2337
- "condition": {
2338
- "allMatch": [
2339
- {
2340
- "property": "data.smtpActionDiscriminator",
2341
- "equals": "sendEmailSmtp",
2342
- "type": "simple"
2343
- },
2344
- {
2345
- "property": "protocol",
2346
- "equals": "smtp",
2347
- "type": "simple"
2348
- }
2349
- ]
2350
- },
2351
- "tooltip": "Email's attachments, should be set as a list ",
2352
- "type": "String"
2353
- },
2354
2182
  {
2355
2183
  "id": "pop3maxToBeRead",
2356
2184
  "label": "Maximum number of emails to be read",
2357
2185
  "optional": false,
2358
- "value": 100,
2186
+ "value": "100",
2359
2187
  "constraints": {
2360
2188
  "notEmpty": true
2361
2189
  },
2362
- "feel": "static",
2363
2190
  "group": "listEmailsPop3",
2364
2191
  "binding": {
2365
2192
  "name": "data.pop3Action.maxToBeRead",
@@ -2380,7 +2207,7 @@
2380
2207
  ]
2381
2208
  },
2382
2209
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
2383
- "type": "Number"
2210
+ "type": "String"
2384
2211
  },
2385
2212
  {
2386
2213
  "id": "pop3SortField",
@@ -2554,11 +2381,10 @@
2554
2381
  "id": "imapMaxToBeRead",
2555
2382
  "label": "Maximum number of emails to be read",
2556
2383
  "optional": false,
2557
- "value": 100,
2384
+ "value": "100",
2558
2385
  "constraints": {
2559
2386
  "notEmpty": true
2560
2387
  },
2561
- "feel": "static",
2562
2388
  "group": "listEmailsImap",
2563
2389
  "binding": {
2564
2390
  "name": "data.imapAction.maxToBeRead",
@@ -2579,7 +2405,7 @@
2579
2405
  ]
2580
2406
  },
2581
2407
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
2582
- "type": "Number"
2408
+ "type": "String"
2583
2409
  },
2584
2410
  {
2585
2411
  "id": "imapListEmailsFolder",
@@ -3004,6 +2830,7 @@
3004
2830
  "label": "Retry backoff",
3005
2831
  "description": "ISO-8601 duration to wait between retries",
3006
2832
  "value": "PT0S",
2833
+ "feel": "optional",
3007
2834
  "group": "retries",
3008
2835
  "binding": {
3009
2836
  "key": "retryBackoff",
@@ -3016,7 +2843,7 @@
3016
2843
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcg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i8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
3017
2844
  },
3018
2845
  "engines": {
3019
- "camunda": "^8.7"
2846
+ "camunda": "^8.6"
3020
2847
  }
3021
2848
  },
3022
2849
  {
@@ -3024,8 +2851,18 @@
3024
2851
  "name": "Email Connector",
3025
2852
  "id": "io.camunda.connectors.email.v1",
3026
2853
  "description": "Execute email requests",
2854
+ "metadata": {
2855
+ "keywords": [
2856
+ "send emails",
2857
+ "list emails",
2858
+ "search emails",
2859
+ "delete emails",
2860
+ "read emails",
2861
+ "move emails"
2862
+ ]
2863
+ },
3027
2864
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
3028
- "version": 1,
2865
+ "version": 3,
3029
2866
  "category": {
3030
2867
  "id": "connectors",
3031
2868
  "name": "Connectors"
@@ -3034,6 +2871,9 @@
3034
2871
  "elementType": {
3035
2872
  "value": "bpmn:ServiceTask"
3036
2873
  },
2874
+ "engines": {
2875
+ "camunda": "^8.6"
2876
+ },
3037
2877
  "groups": [
3038
2878
  {
3039
2879
  "id": "authentication",
@@ -3095,6 +2935,10 @@
3095
2935
  "id": "moveEmailImap",
3096
2936
  "label": "Move Emails"
3097
2937
  },
2938
+ {
2939
+ "id": "connector",
2940
+ "label": "Connector"
2941
+ },
3098
2942
  {
3099
2943
  "id": "output",
3100
2944
  "label": "Output mapping"
@@ -3163,6 +3007,7 @@
3163
3007
  "constraints": {
3164
3008
  "notEmpty": true
3165
3009
  },
3010
+ "feel": "optional",
3166
3011
  "group": "authentication",
3167
3012
  "binding": {
3168
3013
  "name": "authentication.password",
@@ -3226,7 +3071,7 @@
3226
3071
  "id": "data.imapPort",
3227
3072
  "label": "IMAP Port",
3228
3073
  "optional": false,
3229
- "value": "993",
3074
+ "value": 993,
3230
3075
  "constraints": {
3231
3076
  "notEmpty": true
3232
3077
  },
@@ -3242,7 +3087,7 @@
3242
3087
  "type": "simple"
3243
3088
  },
3244
3089
  "tooltip": "Enter the port number for connecting to the IMAP server. Common ports are 993 for secure connections using SSL/TLS, or 143 for non-secure connections.",
3245
- "type": "String"
3090
+ "type": "Number"
3246
3091
  },
3247
3092
  {
3248
3093
  "id": "imapCryptographicProtocol",
@@ -3269,13 +3114,13 @@
3269
3114
  "name": "TLS",
3270
3115
  "value": "TLS"
3271
3116
  },
3272
- {
3273
- "name": "None",
3274
- "value": "NONE"
3275
- },
3276
3117
  {
3277
3118
  "name": "SSL",
3278
3119
  "value": "SSL"
3120
+ },
3121
+ {
3122
+ "name": "None",
3123
+ "value": "NONE"
3279
3124
  }
3280
3125
  ]
3281
3126
  },
@@ -3304,7 +3149,7 @@
3304
3149
  "id": "data.pop3Port",
3305
3150
  "label": "POP3 Port",
3306
3151
  "optional": false,
3307
- "value": "995",
3152
+ "value": 995,
3308
3153
  "constraints": {
3309
3154
  "notEmpty": true
3310
3155
  },
@@ -3320,7 +3165,7 @@
3320
3165
  "type": "simple"
3321
3166
  },
3322
3167
  "tooltip": "Enter the port number for connecting to the POP3 server. The standard port is 995 for secure connections with SSL/TLS, or 110 for non-secure connections.",
3323
- "type": "String"
3168
+ "type": "Number"
3324
3169
  },
3325
3170
  {
3326
3171
  "id": "pop3CryptographicProtocol",
@@ -3347,13 +3192,13 @@
3347
3192
  "name": "TLS",
3348
3193
  "value": "TLS"
3349
3194
  },
3350
- {
3351
- "name": "None",
3352
- "value": "NONE"
3353
- },
3354
3195
  {
3355
3196
  "name": "SSL",
3356
3197
  "value": "SSL"
3198
+ },
3199
+ {
3200
+ "name": "None",
3201
+ "value": "NONE"
3357
3202
  }
3358
3203
  ]
3359
3204
  },
@@ -3382,7 +3227,7 @@
3382
3227
  "id": "data.smtpPort",
3383
3228
  "label": "SMTP Port",
3384
3229
  "optional": false,
3385
- "value": "587",
3230
+ "value": 587,
3386
3231
  "constraints": {
3387
3232
  "notEmpty": true
3388
3233
  },
@@ -3398,7 +3243,7 @@
3398
3243
  "type": "simple"
3399
3244
  },
3400
3245
  "tooltip": "Enter the port number for connecting to the SMTP server. Typically, port 587 is used for secure connections with STARTTLS, port 465 for secure connections using SSL/TLS, and port 25 for non-secure connections.",
3401
- "type": "String"
3246
+ "type": "Number"
3402
3247
  },
3403
3248
  {
3404
3249
  "id": "smtpCryptographicProtocol",
@@ -3425,13 +3270,13 @@
3425
3270
  "name": "TLS",
3426
3271
  "value": "TLS"
3427
3272
  },
3428
- {
3429
- "name": "None",
3430
- "value": "NONE"
3431
- },
3432
3273
  {
3433
3274
  "name": "SSL",
3434
3275
  "value": "SSL"
3276
+ },
3277
+ {
3278
+ "name": "None",
3279
+ "value": "NONE"
3435
3280
  }
3436
3281
  ]
3437
3282
  },
@@ -3643,6 +3488,33 @@
3643
3488
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
3644
3489
  "type": "String"
3645
3490
  },
3491
+ {
3492
+ "id": "smtpHeaders",
3493
+ "label": "Headers",
3494
+ "optional": true,
3495
+ "feel": "required",
3496
+ "group": "sendEmailSmtp",
3497
+ "binding": {
3498
+ "name": "data.smtpAction.headers",
3499
+ "type": "zeebe:input"
3500
+ },
3501
+ "condition": {
3502
+ "allMatch": [
3503
+ {
3504
+ "property": "data.smtpActionDiscriminator",
3505
+ "equals": "sendEmailSmtp",
3506
+ "type": "simple"
3507
+ },
3508
+ {
3509
+ "property": "protocol",
3510
+ "equals": "smtp",
3511
+ "type": "simple"
3512
+ }
3513
+ ]
3514
+ },
3515
+ "tooltip": "Additional email headers",
3516
+ "type": "String"
3517
+ },
3646
3518
  {
3647
3519
  "id": "smtpSubject",
3648
3520
  "label": "Subject",
@@ -3674,12 +3546,53 @@
3674
3546
  "type": "String"
3675
3547
  },
3676
3548
  {
3677
- "id": "smtpBody",
3678
- "label": "Email Content",
3549
+ "id": "contentType",
3550
+ "label": "ContentType",
3679
3551
  "optional": false,
3552
+ "value": "PLAIN",
3680
3553
  "constraints": {
3681
3554
  "notEmpty": true
3682
3555
  },
3556
+ "group": "sendEmailSmtp",
3557
+ "binding": {
3558
+ "name": "data.smtpAction.contentType",
3559
+ "type": "zeebe:input"
3560
+ },
3561
+ "condition": {
3562
+ "allMatch": [
3563
+ {
3564
+ "property": "data.smtpActionDiscriminator",
3565
+ "equals": "sendEmailSmtp",
3566
+ "type": "simple"
3567
+ },
3568
+ {
3569
+ "property": "protocol",
3570
+ "equals": "smtp",
3571
+ "type": "simple"
3572
+ }
3573
+ ]
3574
+ },
3575
+ "tooltip": "Email's contentType",
3576
+ "type": "Dropdown",
3577
+ "choices": [
3578
+ {
3579
+ "name": "PLAIN",
3580
+ "value": "PLAIN"
3581
+ },
3582
+ {
3583
+ "name": "HTML",
3584
+ "value": "HTML"
3585
+ },
3586
+ {
3587
+ "name": "HTML & Plaintext",
3588
+ "value": "MULTIPART"
3589
+ }
3590
+ ]
3591
+ },
3592
+ {
3593
+ "id": "smtpBody",
3594
+ "label": "Email Text Content",
3595
+ "optional": false,
3683
3596
  "feel": "optional",
3684
3597
  "group": "sendEmailSmtp",
3685
3598
  "binding": {
@@ -3688,6 +3601,11 @@
3688
3601
  },
3689
3602
  "condition": {
3690
3603
  "allMatch": [
3604
+ {
3605
+ "property": "contentType",
3606
+ "oneOf": ["PLAIN", "MULTIPART"],
3607
+ "type": "simple"
3608
+ },
3691
3609
  {
3692
3610
  "property": "data.smtpActionDiscriminator",
3693
3611
  "equals": "sendEmailSmtp",
@@ -3703,14 +3621,75 @@
3703
3621
  "tooltip": "Email's content",
3704
3622
  "type": "Text"
3705
3623
  },
3624
+ {
3625
+ "id": "smtpHtmlBody",
3626
+ "label": "Email Html Content",
3627
+ "optional": false,
3628
+ "feel": "optional",
3629
+ "group": "sendEmailSmtp",
3630
+ "binding": {
3631
+ "name": "data.smtpAction.htmlBody",
3632
+ "type": "zeebe:input"
3633
+ },
3634
+ "condition": {
3635
+ "allMatch": [
3636
+ {
3637
+ "property": "contentType",
3638
+ "oneOf": ["HTML", "MULTIPART"],
3639
+ "type": "simple"
3640
+ },
3641
+ {
3642
+ "property": "data.smtpActionDiscriminator",
3643
+ "equals": "sendEmailSmtp",
3644
+ "type": "simple"
3645
+ },
3646
+ {
3647
+ "property": "protocol",
3648
+ "equals": "smtp",
3649
+ "type": "simple"
3650
+ }
3651
+ ]
3652
+ },
3653
+ "tooltip": "Email's Html content",
3654
+ "type": "Text"
3655
+ },
3656
+ {
3657
+ "id": "attachmentsSmtp",
3658
+ "label": "Attachment",
3659
+ "description": "Email's attachment. e.g., =[ document1, document2]",
3660
+ "optional": true,
3661
+ "feel": "required",
3662
+ "group": "sendEmailSmtp",
3663
+ "binding": {
3664
+ "name": "data.smtpAction.attachments",
3665
+ "type": "zeebe:input"
3666
+ },
3667
+ "condition": {
3668
+ "allMatch": [
3669
+ {
3670
+ "property": "data.smtpActionDiscriminator",
3671
+ "equals": "sendEmailSmtp",
3672
+ "type": "simple"
3673
+ },
3674
+ {
3675
+ "property": "protocol",
3676
+ "equals": "smtp",
3677
+ "type": "simple"
3678
+ }
3679
+ ]
3680
+ },
3681
+ "tooltip": "Email's attachments, should be set as a list ",
3682
+ "type": "String"
3683
+ },
3706
3684
  {
3707
3685
  "id": "pop3maxToBeRead",
3708
3686
  "label": "Maximum number of emails to be read",
3709
3687
  "optional": false,
3710
- "value": "100",
3688
+ "value": 100,
3711
3689
  "constraints": {
3712
3690
  "notEmpty": true
3713
3691
  },
3692
+ "feel": "static",
3714
3693
  "group": "listEmailsPop3",
3715
3694
  "binding": {
3716
3695
  "name": "data.pop3Action.maxToBeRead",
@@ -3731,7 +3710,7 @@
3731
3710
  ]
3732
3711
  },
3733
3712
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
3734
- "type": "String"
3713
+ "type": "Number"
3735
3714
  },
3736
3715
  {
3737
3716
  "id": "pop3SortField",
@@ -3905,10 +3884,11 @@
3905
3884
  "id": "imapMaxToBeRead",
3906
3885
  "label": "Maximum number of emails to be read",
3907
3886
  "optional": false,
3908
- "value": "100",
3887
+ "value": 100,
3909
3888
  "constraints": {
3910
3889
  "notEmpty": true
3911
3890
  },
3891
+ "feel": "static",
3912
3892
  "group": "listEmailsImap",
3913
3893
  "binding": {
3914
3894
  "name": "data.imapAction.maxToBeRead",
@@ -3929,7 +3909,7 @@
3929
3909
  ]
3930
3910
  },
3931
3911
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
3932
- "type": "String"
3912
+ "type": "Number"
3933
3913
  },
3934
3914
  {
3935
3915
  "id": "imapListEmailsFolder",
@@ -4301,6 +4281,30 @@
4301
4281
  "tooltip": "Specify the destination folder to which the emails will be moved. To create a new folder or a hierarchy of folders, use a dot-separated path (e.g., 'Archive' or 'Projects.2023.January'). If any part of the path does not exist, it will be created automatically.",
4302
4282
  "type": "String"
4303
4283
  },
4284
+ {
4285
+ "id": "version",
4286
+ "label": "Version",
4287
+ "description": "Version of the element template",
4288
+ "value": "3",
4289
+ "group": "connector",
4290
+ "binding": {
4291
+ "key": "elementTemplateVersion",
4292
+ "type": "zeebe:taskHeader"
4293
+ },
4294
+ "type": "Hidden"
4295
+ },
4296
+ {
4297
+ "id": "id",
4298
+ "label": "ID",
4299
+ "description": "ID of the element template",
4300
+ "value": "io.camunda.connectors.email.v1",
4301
+ "group": "connector",
4302
+ "binding": {
4303
+ "key": "elementTemplateId",
4304
+ "type": "zeebe:taskHeader"
4305
+ },
4306
+ "type": "Hidden"
4307
+ },
4304
4308
  {
4305
4309
  "id": "resultVariable",
4306
4310
  "label": "Result variable",
@@ -4354,7 +4358,6 @@
4354
4358
  "label": "Retry backoff",
4355
4359
  "description": "ISO-8601 duration to wait between retries",
4356
4360
  "value": "PT0S",
4357
- "feel": "optional",
4358
4361
  "group": "retries",
4359
4362
  "binding": {
4360
4363
  "key": "retryBackoff",
@@ -4365,9 +4368,6 @@
4365
4368
  ],
4366
4369
  "icon": {
4367
4370
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA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