@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
@@ -1,14 +1,14 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Slack Outbound Connector",
4
+ "name": "Slack connector",
5
5
  "id": "io.camunda.connectors.Slack.v1",
6
+ "version": 1,
6
7
  "description": "Create a channel or send a message to a channel or user",
7
- "metadata": {
8
- "keywords": []
8
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
9
+ "icon": {
10
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
9
11
  },
10
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
11
- "version": 6,
12
12
  "category": {
13
13
  "id": "connectors",
14
14
  "name": "Connectors"
@@ -17,8 +17,257 @@
17
17
  "elementType": {
18
18
  "value": "bpmn:ServiceTask"
19
19
  },
20
+ "groups": [
21
+ {
22
+ "id": "method",
23
+ "label": "Method"
24
+ },
25
+ {
26
+ "id": "authentication",
27
+ "label": "Authentication"
28
+ },
29
+ {
30
+ "id": "message",
31
+ "label": "Message"
32
+ },
33
+ {
34
+ "id": "channel",
35
+ "label": "Channel"
36
+ },
37
+ {
38
+ "id": "invite",
39
+ "label": "Invite"
40
+ },
41
+ {
42
+ "id": "output",
43
+ "label": "Output mapping"
44
+ },
45
+ {
46
+ "id": "errors",
47
+ "label": "Error handling"
48
+ }
49
+ ],
50
+ "properties": [
51
+ {
52
+ "type": "Hidden",
53
+ "value": "io.camunda:slack:1",
54
+ "binding": {
55
+ "type": "zeebe:taskDefinition",
56
+ "property": "type"
57
+ }
58
+ },
59
+ {
60
+ "label": "Method",
61
+ "group": "method",
62
+ "id": "method",
63
+ "type": "Dropdown",
64
+ "value": "chat.postMessage",
65
+ "choices": [
66
+ {
67
+ "name": "Post message",
68
+ "value": "chat.postMessage"
69
+ },
70
+ {
71
+ "name": "Create channel",
72
+ "value": "conversations.create"
73
+ },
74
+ {
75
+ "name": "Invite to channel",
76
+ "value": "conversations.invite"
77
+ }
78
+ ],
79
+ "binding": {
80
+ "type": "zeebe:input",
81
+ "name": "method"
82
+ }
83
+ },
84
+ {
85
+ "label": "OAuth token",
86
+ "group": "authentication",
87
+ "type": "String",
88
+ "feel": "optional",
89
+ "binding": {
90
+ "type": "zeebe:input",
91
+ "name": "token"
92
+ },
93
+ "constraints": {
94
+ "notEmpty": true
95
+ }
96
+ },
97
+ {
98
+ "label": "Channel/user name/email",
99
+ "group": "channel",
100
+ "type": "String",
101
+ "feel": "optional",
102
+ "binding": {
103
+ "type": "zeebe:input",
104
+ "name": "data.channel"
105
+ },
106
+ "constraints": {
107
+ "notEmpty": true,
108
+ "pattern": {
109
+ "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
110
+ "message": "Must be a #channel, @user, email or FEEL expression."
111
+ }
112
+ },
113
+ "condition": {
114
+ "property": "method",
115
+ "equals": "chat.postMessage"
116
+ }
117
+ },
118
+ {
119
+ "label": "New channel name",
120
+ "group": "channel",
121
+ "type": "String",
122
+ "feel": "optional",
123
+ "binding": {
124
+ "type": "zeebe:input",
125
+ "name": "data.newChannelName"
126
+ },
127
+ "constraints": {
128
+ "notEmpty": true,
129
+ "pattern": {
130
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
131
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
132
+ }
133
+ },
134
+ "condition": {
135
+ "property": "method",
136
+ "equals": "conversations.create"
137
+ }
138
+ },
139
+ {
140
+ "label": "Visibility",
141
+ "group": "channel",
142
+ "type": "Dropdown",
143
+ "value": "PUBLIC",
144
+ "optional": false,
145
+ "choices": [
146
+ {
147
+ "name": "Private",
148
+ "value": "PRIVATE"
149
+ },
150
+ {
151
+ "name": "Public",
152
+ "value": "PUBLIC"
153
+ }
154
+ ],
155
+ "binding": {
156
+ "type": "zeebe:input",
157
+ "name": "data.visibility"
158
+ },
159
+ "condition": {
160
+ "property": "method",
161
+ "equals": "conversations.create"
162
+ }
163
+ },
164
+ {
165
+ "label": "Message",
166
+ "group": "message",
167
+ "type": "Text",
168
+ "feel": "optional",
169
+ "binding": {
170
+ "type": "zeebe:input",
171
+ "name": "data.text"
172
+ },
173
+ "constraints": {
174
+ "notEmpty": true
175
+ },
176
+ "condition": {
177
+ "property": "method",
178
+ "equals": "chat.postMessage"
179
+ }
180
+ },
181
+ {
182
+ "label": "Channel name",
183
+ "group": "invite",
184
+ "type": "String",
185
+ "feel": "optional",
186
+ "binding": {
187
+ "type": "zeebe:input",
188
+ "name": "data.channelName"
189
+ },
190
+ "constraints": {
191
+ "notEmpty": true,
192
+ "pattern": {
193
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
194
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
195
+ }
196
+ },
197
+ "condition": {
198
+ "property": "method",
199
+ "equals": "conversations.invite"
200
+ }
201
+ },
202
+ {
203
+ "label": "Users",
204
+ "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
205
+ "group": "invite",
206
+ "type": "String",
207
+ "feel": "optional",
208
+ "binding": {
209
+ "type": "zeebe:input",
210
+ "name": "data.users"
211
+ },
212
+ "constraints": {
213
+ "notEmpty": true
214
+ },
215
+ "condition": {
216
+ "property": "method",
217
+ "equals": "conversations.invite"
218
+ }
219
+ },
220
+ {
221
+ "label": "Result variable",
222
+ "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>",
223
+ "group": "output",
224
+ "type": "String",
225
+ "binding": {
226
+ "type": "zeebe:taskHeader",
227
+ "key": "resultVariable"
228
+ }
229
+ },
230
+ {
231
+ "label": "Result expression",
232
+ "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>",
233
+ "group": "output",
234
+ "type": "Text",
235
+ "feel": "required",
236
+ "binding": {
237
+ "type": "zeebe:taskHeader",
238
+ "key": "resultExpression"
239
+ }
240
+ },
241
+ {
242
+ "label": "Error expression",
243
+ "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>",
244
+ "group": "errors",
245
+ "type": "Text",
246
+ "feel": "required",
247
+ "binding": {
248
+ "type": "zeebe:taskHeader",
249
+ "key": "errorExpression"
250
+ }
251
+ }
252
+ ],
20
253
  "engines": {
21
- "camunda": "^8.3"
254
+ "camunda": "^8.2"
255
+ }
256
+ },
257
+ {
258
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
259
+ "name": "Slack Outbound Connector",
260
+ "id": "io.camunda.connectors.Slack.v1",
261
+ "description": "Create a channel or send a message to a channel or user",
262
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
263
+ "version": 3,
264
+ "category": {
265
+ "id": "connectors",
266
+ "name": "Connectors"
267
+ },
268
+ "appliesTo": ["bpmn:Task"],
269
+ "elementType": {
270
+ "value": "bpmn:ServiceTask"
22
271
  },
23
272
  "groups": [
24
273
  {
@@ -199,24 +448,6 @@
199
448
  },
200
449
  "type": "String"
201
450
  },
202
- {
203
- "id": "data.documents",
204
- "label": "attachments",
205
- "description": "<a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a> can be added as attachments",
206
- "optional": true,
207
- "feel": "required",
208
- "group": "message",
209
- "binding": {
210
- "name": "data.documents",
211
- "type": "zeebe:input"
212
- },
213
- "condition": {
214
- "property": "method",
215
- "equals": "chat.postMessage",
216
- "type": "simple"
217
- },
218
- "type": "String"
219
- },
220
451
  {
221
452
  "id": "data.channel",
222
453
  "label": "Channel/user name/email",
@@ -237,23 +468,6 @@
237
468
  },
238
469
  "type": "String"
239
470
  },
240
- {
241
- "id": "data.thread",
242
- "label": "Thread",
243
- "optional": true,
244
- "feel": "optional",
245
- "group": "channel",
246
- "binding": {
247
- "name": "data.thread",
248
- "type": "zeebe:input"
249
- },
250
- "condition": {
251
- "property": "method",
252
- "equals": "chat.postMessage",
253
- "type": "simple"
254
- },
255
- "type": "String"
256
- },
257
471
  {
258
472
  "id": "data.newChannelName",
259
473
  "label": "Channel name",
@@ -261,7 +475,7 @@
261
475
  "constraints": {
262
476
  "notEmpty": true,
263
477
  "pattern": {
264
- "value": "^(=|([-_a-z0-9]{1,80}$))",
478
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
265
479
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
266
480
  }
267
481
  },
@@ -308,42 +522,6 @@
308
522
  }
309
523
  ]
310
524
  },
311
- {
312
- "id": "data.channelType",
313
- "label": "Invite By",
314
- "optional": false,
315
- "value": "channelId",
316
- "group": "invite",
317
- "binding": {
318
- "name": "data.channelType",
319
- "type": "zeebe:input"
320
- },
321
- "condition": {
322
- "allMatch": [
323
- {
324
- "property": "method",
325
- "equals": "conversations.invite",
326
- "type": "simple"
327
- },
328
- {
329
- "property": "method",
330
- "equals": "conversations.invite",
331
- "type": "simple"
332
- }
333
- ]
334
- },
335
- "type": "Dropdown",
336
- "choices": [
337
- {
338
- "name": "Channel ID",
339
- "value": "channelId"
340
- },
341
- {
342
- "name": "Channel name",
343
- "value": "channelName"
344
- }
345
- ]
346
- },
347
525
  {
348
526
  "id": "data.channelName",
349
527
  "label": "Channel name",
@@ -351,7 +529,7 @@
351
529
  "constraints": {
352
530
  "notEmpty": true,
353
531
  "pattern": {
354
- "value": "^(=|([-_a-z0-9]{1,80}$))",
532
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
355
533
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
356
534
  }
357
535
  },
@@ -362,51 +540,9 @@
362
540
  "type": "zeebe:input"
363
541
  },
364
542
  "condition": {
365
- "allMatch": [
366
- {
367
- "property": "data.channelType",
368
- "equals": "channelName",
369
- "type": "simple"
370
- },
371
- {
372
- "property": "method",
373
- "equals": "conversations.invite",
374
- "type": "simple"
375
- }
376
- ]
377
- },
378
- "type": "String"
379
- },
380
- {
381
- "id": "data.channelId",
382
- "label": "Channel ID",
383
- "optional": false,
384
- "constraints": {
385
- "notEmpty": true,
386
- "pattern": {
387
- "value": "^(=|([-_a-z0-9]{1,80}$))",
388
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
389
- }
390
- },
391
- "feel": "optional",
392
- "group": "invite",
393
- "binding": {
394
- "name": "data.channelId",
395
- "type": "zeebe:input"
396
- },
397
- "condition": {
398
- "allMatch": [
399
- {
400
- "property": "data.channelType",
401
- "equals": "channelId",
402
- "type": "simple"
403
- },
404
- {
405
- "property": "method",
406
- "equals": "conversations.invite",
407
- "type": "simple"
408
- }
409
- ]
543
+ "property": "method",
544
+ "equals": "conversations.invite",
545
+ "type": "simple"
410
546
  },
411
547
  "type": "String"
412
548
  },
@@ -484,6 +620,7 @@
484
620
  "label": "Retry backoff",
485
621
  "description": "ISO-8601 duration to wait between retries",
486
622
  "value": "PT0S",
623
+ "feel": "optional",
487
624
  "group": "retries",
488
625
  "binding": {
489
626
  "key": "retryBackoff",
@@ -494,6 +631,9 @@
494
631
  ],
495
632
  "icon": {
496
633
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
634
+ },
635
+ "engines": {
636
+ "camunda": "^8.5"
497
637
  }
498
638
  },
499
639
  {
@@ -755,7 +895,10 @@
755
895
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
756
896
  "name": "Slack connector",
757
897
  "id": "io.camunda.connectors.Slack.v1",
758
- "version": 1,
898
+ "deprecated": {
899
+ "message": "Replace with 'Slack connector' template.",
900
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
901
+ },
759
902
  "description": "Create a channel or send a message to a channel or user",
760
903
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
761
904
  "icon": {
@@ -1001,18 +1144,18 @@
1001
1144
  "key": "errorExpression"
1002
1145
  }
1003
1146
  }
1004
- ],
1005
- "engines": {
1006
- "camunda": "^8.2"
1007
- }
1147
+ ]
1008
1148
  },
1009
1149
  {
1010
1150
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1011
1151
  "name": "Slack Outbound Connector",
1012
1152
  "id": "io.camunda.connectors.Slack.v1",
1013
1153
  "description": "Create a channel or send a message to a channel or user",
1154
+ "metadata": {
1155
+ "keywords": []
1156
+ },
1014
1157
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1015
- "version": 4,
1158
+ "version": 6,
1016
1159
  "category": {
1017
1160
  "id": "connectors",
1018
1161
  "name": "Connectors"
@@ -1021,6 +1164,9 @@
1021
1164
  "elementType": {
1022
1165
  "value": "bpmn:ServiceTask"
1023
1166
  },
1167
+ "engines": {
1168
+ "camunda": "^8.3"
1169
+ },
1024
1170
  "groups": [
1025
1171
  {
1026
1172
  "id": "authentication",
@@ -1200,6 +1346,24 @@
1200
1346
  },
1201
1347
  "type": "String"
1202
1348
  },
1349
+ {
1350
+ "id": "data.documents",
1351
+ "label": "attachments",
1352
+ "description": "<a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a> can be added as attachments",
1353
+ "optional": true,
1354
+ "feel": "required",
1355
+ "group": "message",
1356
+ "binding": {
1357
+ "name": "data.documents",
1358
+ "type": "zeebe:input"
1359
+ },
1360
+ "condition": {
1361
+ "property": "method",
1362
+ "equals": "chat.postMessage",
1363
+ "type": "simple"
1364
+ },
1365
+ "type": "String"
1366
+ },
1203
1367
  {
1204
1368
  "id": "data.channel",
1205
1369
  "label": "Channel/user name/email",
@@ -1282,12 +1446,48 @@
1282
1446
  "type": "Dropdown",
1283
1447
  "choices": [
1284
1448
  {
1285
- "name": "Public",
1286
- "value": "PUBLIC"
1449
+ "name": "Public",
1450
+ "value": "PUBLIC"
1451
+ },
1452
+ {
1453
+ "name": "Private",
1454
+ "value": "PRIVATE"
1455
+ }
1456
+ ]
1457
+ },
1458
+ {
1459
+ "id": "data.channelType",
1460
+ "label": "Invite By",
1461
+ "optional": false,
1462
+ "value": "channelId",
1463
+ "group": "invite",
1464
+ "binding": {
1465
+ "name": "data.channelType",
1466
+ "type": "zeebe:input"
1467
+ },
1468
+ "condition": {
1469
+ "allMatch": [
1470
+ {
1471
+ "property": "method",
1472
+ "equals": "conversations.invite",
1473
+ "type": "simple"
1474
+ },
1475
+ {
1476
+ "property": "method",
1477
+ "equals": "conversations.invite",
1478
+ "type": "simple"
1479
+ }
1480
+ ]
1481
+ },
1482
+ "type": "Dropdown",
1483
+ "choices": [
1484
+ {
1485
+ "name": "Channel ID",
1486
+ "value": "channelId"
1287
1487
  },
1288
1488
  {
1289
- "name": "Private",
1290
- "value": "PRIVATE"
1489
+ "name": "Channel name",
1490
+ "value": "channelName"
1291
1491
  }
1292
1492
  ]
1293
1493
  },
@@ -1309,9 +1509,51 @@
1309
1509
  "type": "zeebe:input"
1310
1510
  },
1311
1511
  "condition": {
1312
- "property": "method",
1313
- "equals": "conversations.invite",
1314
- "type": "simple"
1512
+ "allMatch": [
1513
+ {
1514
+ "property": "data.channelType",
1515
+ "equals": "channelName",
1516
+ "type": "simple"
1517
+ },
1518
+ {
1519
+ "property": "method",
1520
+ "equals": "conversations.invite",
1521
+ "type": "simple"
1522
+ }
1523
+ ]
1524
+ },
1525
+ "type": "String"
1526
+ },
1527
+ {
1528
+ "id": "data.channelId",
1529
+ "label": "Channel ID",
1530
+ "optional": false,
1531
+ "constraints": {
1532
+ "notEmpty": true,
1533
+ "pattern": {
1534
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1535
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1536
+ }
1537
+ },
1538
+ "feel": "optional",
1539
+ "group": "invite",
1540
+ "binding": {
1541
+ "name": "data.channelId",
1542
+ "type": "zeebe:input"
1543
+ },
1544
+ "condition": {
1545
+ "allMatch": [
1546
+ {
1547
+ "property": "data.channelType",
1548
+ "equals": "channelId",
1549
+ "type": "simple"
1550
+ },
1551
+ {
1552
+ "property": "method",
1553
+ "equals": "conversations.invite",
1554
+ "type": "simple"
1555
+ }
1556
+ ]
1315
1557
  },
1316
1558
  "type": "String"
1317
1559
  },
@@ -1389,7 +1631,6 @@
1389
1631
  "label": "Retry backoff",
1390
1632
  "description": "ISO-8601 duration to wait between retries",
1391
1633
  "value": "PT0S",
1392
- "feel": "optional",
1393
1634
  "group": "retries",
1394
1635
  "binding": {
1395
1636
  "key": "retryBackoff",
@@ -1400,9 +1641,6 @@
1400
1641
  ],
1401
1642
  "icon": {
1402
1643
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1403
- },
1404
- "engines": {
1405
- "camunda": "^8.6"
1406
1644
  }
1407
1645
  },
1408
1646
  {
@@ -1411,7 +1649,7 @@
1411
1649
  "id": "io.camunda.connectors.Slack.v1",
1412
1650
  "description": "Create a channel or send a message to a channel or user",
1413
1651
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1414
- "version": 3,
1652
+ "version": 5,
1415
1653
  "category": {
1416
1654
  "id": "connectors",
1417
1655
  "name": "Connectors"
@@ -1619,6 +1857,23 @@
1619
1857
  },
1620
1858
  "type": "String"
1621
1859
  },
1860
+ {
1861
+ "id": "data.thread",
1862
+ "label": "Thread",
1863
+ "optional": true,
1864
+ "feel": "optional",
1865
+ "group": "channel",
1866
+ "binding": {
1867
+ "name": "data.thread",
1868
+ "type": "zeebe:input"
1869
+ },
1870
+ "condition": {
1871
+ "property": "method",
1872
+ "equals": "chat.postMessage",
1873
+ "type": "simple"
1874
+ },
1875
+ "type": "String"
1876
+ },
1622
1877
  {
1623
1878
  "id": "data.newChannelName",
1624
1879
  "label": "Channel name",
@@ -1626,7 +1881,7 @@
1626
1881
  "constraints": {
1627
1882
  "notEmpty": true,
1628
1883
  "pattern": {
1629
- "value": "^(=|[-_a-z0-9]{1,80}$)",
1884
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1630
1885
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1631
1886
  }
1632
1887
  },
@@ -1673,6 +1928,42 @@
1673
1928
  }
1674
1929
  ]
1675
1930
  },
1931
+ {
1932
+ "id": "data.channelType",
1933
+ "label": "Invite By",
1934
+ "optional": false,
1935
+ "value": "channelId",
1936
+ "group": "invite",
1937
+ "binding": {
1938
+ "name": "data.channelType",
1939
+ "type": "zeebe:input"
1940
+ },
1941
+ "condition": {
1942
+ "allMatch": [
1943
+ {
1944
+ "property": "method",
1945
+ "equals": "conversations.invite",
1946
+ "type": "simple"
1947
+ },
1948
+ {
1949
+ "property": "method",
1950
+ "equals": "conversations.invite",
1951
+ "type": "simple"
1952
+ }
1953
+ ]
1954
+ },
1955
+ "type": "Dropdown",
1956
+ "choices": [
1957
+ {
1958
+ "name": "Channel ID",
1959
+ "value": "channelId"
1960
+ },
1961
+ {
1962
+ "name": "Channel name",
1963
+ "value": "channelName"
1964
+ }
1965
+ ]
1966
+ },
1676
1967
  {
1677
1968
  "id": "data.channelName",
1678
1969
  "label": "Channel name",
@@ -1680,7 +1971,7 @@
1680
1971
  "constraints": {
1681
1972
  "notEmpty": true,
1682
1973
  "pattern": {
1683
- "value": "^(=|[-_a-z0-9]{1,80}$)",
1974
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1684
1975
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1685
1976
  }
1686
1977
  },
@@ -1691,9 +1982,51 @@
1691
1982
  "type": "zeebe:input"
1692
1983
  },
1693
1984
  "condition": {
1694
- "property": "method",
1695
- "equals": "conversations.invite",
1696
- "type": "simple"
1985
+ "allMatch": [
1986
+ {
1987
+ "property": "data.channelType",
1988
+ "equals": "channelName",
1989
+ "type": "simple"
1990
+ },
1991
+ {
1992
+ "property": "method",
1993
+ "equals": "conversations.invite",
1994
+ "type": "simple"
1995
+ }
1996
+ ]
1997
+ },
1998
+ "type": "String"
1999
+ },
2000
+ {
2001
+ "id": "data.channelId",
2002
+ "label": "Channel ID",
2003
+ "optional": false,
2004
+ "constraints": {
2005
+ "notEmpty": true,
2006
+ "pattern": {
2007
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
2008
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
2009
+ }
2010
+ },
2011
+ "feel": "optional",
2012
+ "group": "invite",
2013
+ "binding": {
2014
+ "name": "data.channelId",
2015
+ "type": "zeebe:input"
2016
+ },
2017
+ "condition": {
2018
+ "allMatch": [
2019
+ {
2020
+ "property": "data.channelType",
2021
+ "equals": "channelId",
2022
+ "type": "simple"
2023
+ },
2024
+ {
2025
+ "property": "method",
2026
+ "equals": "conversations.invite",
2027
+ "type": "simple"
2028
+ }
2029
+ ]
1697
2030
  },
1698
2031
  "type": "String"
1699
2032
  },
@@ -1784,7 +2117,7 @@
1784
2117
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1785
2118
  },
1786
2119
  "engines": {
1787
- "camunda": "^8.5"
2120
+ "camunda": "^8.6"
1788
2121
  }
1789
2122
  },
1790
2123
  {
@@ -1793,7 +2126,7 @@
1793
2126
  "id": "io.camunda.connectors.Slack.v1",
1794
2127
  "description": "Create a channel or send a message to a channel or user",
1795
2128
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1796
- "version": 5,
2129
+ "version": 4,
1797
2130
  "category": {
1798
2131
  "id": "connectors",
1799
2132
  "name": "Connectors"
@@ -2072,42 +2405,6 @@
2072
2405
  }
2073
2406
  ]
2074
2407
  },
2075
- {
2076
- "id": "data.channelType",
2077
- "label": "Invite By",
2078
- "optional": false,
2079
- "value": "channelId",
2080
- "group": "invite",
2081
- "binding": {
2082
- "name": "data.channelType",
2083
- "type": "zeebe:input"
2084
- },
2085
- "condition": {
2086
- "allMatch": [
2087
- {
2088
- "property": "method",
2089
- "equals": "conversations.invite",
2090
- "type": "simple"
2091
- },
2092
- {
2093
- "property": "method",
2094
- "equals": "conversations.invite",
2095
- "type": "simple"
2096
- }
2097
- ]
2098
- },
2099
- "type": "Dropdown",
2100
- "choices": [
2101
- {
2102
- "name": "Channel ID",
2103
- "value": "channelId"
2104
- },
2105
- {
2106
- "name": "Channel name",
2107
- "value": "channelName"
2108
- }
2109
- ]
2110
- },
2111
2408
  {
2112
2409
  "id": "data.channelName",
2113
2410
  "label": "Channel name",
@@ -2126,51 +2423,9 @@
2126
2423
  "type": "zeebe:input"
2127
2424
  },
2128
2425
  "condition": {
2129
- "allMatch": [
2130
- {
2131
- "property": "data.channelType",
2132
- "equals": "channelName",
2133
- "type": "simple"
2134
- },
2135
- {
2136
- "property": "method",
2137
- "equals": "conversations.invite",
2138
- "type": "simple"
2139
- }
2140
- ]
2141
- },
2142
- "type": "String"
2143
- },
2144
- {
2145
- "id": "data.channelId",
2146
- "label": "Channel ID",
2147
- "optional": false,
2148
- "constraints": {
2149
- "notEmpty": true,
2150
- "pattern": {
2151
- "value": "^(=|([-_a-z0-9]{1,80}$))",
2152
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
2153
- }
2154
- },
2155
- "feel": "optional",
2156
- "group": "invite",
2157
- "binding": {
2158
- "name": "data.channelId",
2159
- "type": "zeebe:input"
2160
- },
2161
- "condition": {
2162
- "allMatch": [
2163
- {
2164
- "property": "data.channelType",
2165
- "equals": "channelId",
2166
- "type": "simple"
2167
- },
2168
- {
2169
- "property": "method",
2170
- "equals": "conversations.invite",
2171
- "type": "simple"
2172
- }
2173
- ]
2426
+ "property": "method",
2427
+ "equals": "conversations.invite",
2428
+ "type": "simple"
2174
2429
  },
2175
2430
  "type": "String"
2176
2431
  },