@camunda/connectors-element-templates 1.0.6 → 1.0.7

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 (78) 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 +2 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +1 -0
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +1618 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1593 -36
  7. package/src/element-templates/asana-connector.json +99 -99
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +70 -70
  9. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +1423 -1423
  11. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  12. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  13. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  14. package/src/element-templates/aws-eventbridge-outbound-connector.json +475 -475
  15. package/src/element-templates/aws-lambda-outbound-connector.json +314 -314
  16. package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
  17. package/src/element-templates/aws-sns-inbound-intermediate.json +229 -229
  18. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  19. package/src/element-templates/aws-sns-outbound-connector.json +362 -362
  20. package/src/element-templates/aws-sqs-boundary-connector.json +238 -238
  21. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +528 -528
  22. package/src/element-templates/aws-sqs-outbound-connector.json +393 -393
  23. package/src/element-templates/aws-sqs-start-event-connector.json +748 -748
  24. package/src/element-templates/aws-sqs-start-message.json +422 -422
  25. package/src/element-templates/azure-open-ai-connector.json +32 -32
  26. package/src/element-templates/blue-prism-connector.json +13 -13
  27. package/src/element-templates/box-outbound-connector.json +30 -30
  28. package/src/element-templates/csv-outbound-connector.json +412 -0
  29. package/src/element-templates/easy-post-connector.json +121 -121
  30. package/src/element-templates/email-message-start-event-connector.json +19 -19
  31. package/src/element-templates/email-outbound-connector.json +233 -233
  32. package/src/element-templates/embeddings-vector-database-outbound-connector.json +20 -35
  33. package/src/element-templates/github-connector.json +4988 -4988
  34. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  35. package/src/element-templates/github-webhook-connector-intermediate.json +24 -24
  36. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  37. package/src/element-templates/github-webhook-connector-start-event.json +34 -34
  38. package/src/element-templates/gitlab-connector.json +1185 -1185
  39. package/src/element-templates/google-drive-outbound-connector.json +759 -759
  40. package/src/element-templates/google-maps-platform-connector.json +75 -75
  41. package/src/element-templates/google-sheets-outbound-connector.json +1259 -1259
  42. package/src/element-templates/graphql-outbound-connector.json +573 -573
  43. package/src/element-templates/http-json-connector.json +1863 -1863
  44. package/src/element-templates/http-polling-boundary-catch-event-connector.json +7 -7
  45. package/src/element-templates/http-polling-connector.json +7 -7
  46. package/src/element-templates/jdbc-outbound-connector.json +36 -36
  47. package/src/element-templates/kafka-inbound-connector-boundary.json +432 -432
  48. package/src/element-templates/kafka-inbound-connector-intermediate.json +915 -915
  49. package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
  50. package/src/element-templates/kafka-inbound-connector.json +240 -240
  51. package/src/element-templates/kafka-outbound-connector.json +166 -166
  52. package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
  53. package/src/element-templates/microsoft-teams-outbound-connector.json +4368 -4368
  54. package/src/element-templates/openai-connector.json +173 -173
  55. package/src/element-templates/operate-connector.json +23 -19
  56. package/src/element-templates/power-automate-connector.json +4 -4
  57. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +431 -431
  58. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +440 -440
  59. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +461 -461
  60. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +487 -487
  61. package/src/element-templates/rabbitmq-outbound-connector.json +360 -360
  62. package/src/element-templates/salesforce-connector.json +10 -10
  63. package/src/element-templates/sendgrid-outbound-connector.json +484 -484
  64. package/src/element-templates/slack-inbound-boundary.json +362 -362
  65. package/src/element-templates/slack-inbound-intermediate.json +438 -438
  66. package/src/element-templates/slack-inbound-message-start.json +217 -217
  67. package/src/element-templates/slack-inbound-start-event.json +235 -235
  68. package/src/element-templates/slack-outbound-connector.json +895 -895
  69. package/src/element-templates/twilio-connector.json +67 -67
  70. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  71. package/src/element-templates/twilio-webhook-connector.json +10 -10
  72. package/src/element-templates/uipath-connector.json +41 -41
  73. package/src/element-templates/webhook-connector-boundary.json +1651 -1651
  74. package/src/element-templates/webhook-connector-intermediate.json +771 -771
  75. package/src/element-templates/webhook-connector-start-event.json +1630 -1630
  76. package/src/element-templates/webhook-connector-start-message.json +1251 -1251
  77. package/src/element-templates/whatsapp-connector.json +42 -42
  78. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -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 connector",
4
+ "name": "Slack Outbound Connector",
5
5
  "id": "io.camunda.connectors.Slack.v1",
6
- "version": 1,
7
6
  "description": "Create a channel or send a message to a channel or user",
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"
7
+ "metadata": {
8
+ "keywords": []
11
9
  },
10
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
11
+ "version": 7,
12
12
  "category": {
13
13
  "id": "connectors",
14
14
  "name": "Connectors"
@@ -17,15 +17,18 @@
17
17
  "elementType": {
18
18
  "value": "bpmn:ServiceTask"
19
19
  },
20
+ "engines": {
21
+ "camunda": "^8.3"
22
+ },
20
23
  "groups": [
21
- {
22
- "id": "method",
23
- "label": "Method"
24
- },
25
24
  {
26
25
  "id": "authentication",
27
26
  "label": "Authentication"
28
27
  },
28
+ {
29
+ "id": "method",
30
+ "label": "Method"
31
+ },
29
32
  {
30
33
  "id": "message",
31
34
  "label": "Message"
@@ -38,30 +41,57 @@
38
41
  "id": "invite",
39
42
  "label": "Invite"
40
43
  },
44
+ {
45
+ "id": "connector",
46
+ "label": "Connector"
47
+ },
41
48
  {
42
49
  "id": "output",
43
50
  "label": "Output mapping"
44
51
  },
45
52
  {
46
- "id": "errors",
53
+ "id": "error",
47
54
  "label": "Error handling"
55
+ },
56
+ {
57
+ "id": "retries",
58
+ "label": "Retries"
48
59
  }
49
60
  ],
50
61
  "properties": [
51
62
  {
52
- "type": "Hidden",
53
63
  "value": "io.camunda:slack:1",
54
64
  "binding": {
55
- "type": "zeebe:taskDefinition",
56
- "property": "type"
57
- }
65
+ "property": "type",
66
+ "type": "zeebe:taskDefinition"
67
+ },
68
+ "type": "Hidden"
69
+ },
70
+ {
71
+ "id": "token",
72
+ "label": "OAuth token",
73
+ "optional": false,
74
+ "constraints": {
75
+ "notEmpty": true
76
+ },
77
+ "feel": "optional",
78
+ "group": "authentication",
79
+ "binding": {
80
+ "name": "token",
81
+ "type": "zeebe:input"
82
+ },
83
+ "type": "String"
58
84
  },
59
85
  {
86
+ "id": "method",
60
87
  "label": "Method",
88
+ "value": "chat.postMessage",
61
89
  "group": "method",
62
- "id": "method",
90
+ "binding": {
91
+ "name": "method",
92
+ "type": "zeebe:input"
93
+ },
63
94
  "type": "Dropdown",
64
- "value": "chat.postMessage",
65
95
  "choices": [
66
96
  {
67
97
  "name": "Post message",
@@ -75,55 +105,163 @@
75
105
  "name": "Invite to channel",
76
106
  "value": "conversations.invite"
77
107
  }
78
- ],
108
+ ]
109
+ },
110
+ {
111
+ "id": "data.messageType",
112
+ "label": "Message type",
113
+ "optional": false,
114
+ "value": "plainText",
115
+ "group": "message",
79
116
  "binding": {
80
- "type": "zeebe:input",
81
- "name": "method"
82
- }
117
+ "name": "data.messageType",
118
+ "type": "zeebe:input"
119
+ },
120
+ "condition": {
121
+ "allMatch": [
122
+ {
123
+ "property": "method",
124
+ "equals": "chat.postMessage",
125
+ "type": "simple"
126
+ },
127
+ {
128
+ "property": "method",
129
+ "equals": "chat.postMessage",
130
+ "type": "simple"
131
+ }
132
+ ]
133
+ },
134
+ "type": "Dropdown",
135
+ "choices": [
136
+ {
137
+ "name": "Plain text",
138
+ "value": "plainText"
139
+ },
140
+ {
141
+ "name": "Message block",
142
+ "value": "messageBlock"
143
+ }
144
+ ]
83
145
  },
84
146
  {
85
- "label": "OAuth token",
86
- "group": "authentication",
87
- "type": "String",
147
+ "id": "data.text",
148
+ "label": "Message",
149
+ "optional": false,
150
+ "constraints": {
151
+ "notEmpty": true
152
+ },
88
153
  "feel": "optional",
154
+ "group": "message",
89
155
  "binding": {
90
- "type": "zeebe:input",
91
- "name": "token"
156
+ "name": "data.text",
157
+ "type": "zeebe:input"
158
+ },
159
+ "condition": {
160
+ "allMatch": [
161
+ {
162
+ "property": "data.messageType",
163
+ "equals": "plainText",
164
+ "type": "simple"
165
+ },
166
+ {
167
+ "property": "method",
168
+ "equals": "chat.postMessage",
169
+ "type": "simple"
170
+ }
171
+ ]
92
172
  },
173
+ "type": "Text"
174
+ },
175
+ {
176
+ "id": "data.blockContent",
177
+ "label": "Message block",
178
+ "description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
179
+ "optional": false,
180
+ "value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
93
181
  "constraints": {
94
182
  "notEmpty": true
95
- }
183
+ },
184
+ "feel": "required",
185
+ "group": "message",
186
+ "binding": {
187
+ "name": "data.blockContent",
188
+ "type": "zeebe:input"
189
+ },
190
+ "condition": {
191
+ "allMatch": [
192
+ {
193
+ "property": "data.messageType",
194
+ "equals": "messageBlock",
195
+ "type": "simple"
196
+ },
197
+ {
198
+ "property": "method",
199
+ "equals": "chat.postMessage",
200
+ "type": "simple"
201
+ }
202
+ ]
203
+ },
204
+ "type": "String"
96
205
  },
97
206
  {
98
- "label": "Channel/user name/email",
99
- "group": "channel",
100
- "type": "String",
101
- "feel": "optional",
207
+ "id": "data.documents",
208
+ "label": "attachments",
209
+ "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",
210
+ "optional": true,
211
+ "feel": "required",
212
+ "group": "message",
102
213
  "binding": {
103
- "type": "zeebe:input",
104
- "name": "data.channel"
214
+ "name": "data.documents",
215
+ "type": "zeebe:input"
216
+ },
217
+ "condition": {
218
+ "property": "method",
219
+ "equals": "chat.postMessage",
220
+ "type": "simple"
105
221
  },
222
+ "type": "String"
223
+ },
224
+ {
225
+ "id": "data.channel",
226
+ "label": "Channel/user name/email",
227
+ "optional": false,
106
228
  "constraints": {
107
- "notEmpty": true,
108
- "pattern": {
109
- "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
110
- "message": "Must be a #channel, @user, email or FEEL expression."
111
- }
229
+ "notEmpty": true
230
+ },
231
+ "feel": "optional",
232
+ "group": "channel",
233
+ "binding": {
234
+ "name": "data.channel",
235
+ "type": "zeebe:input"
112
236
  },
113
237
  "condition": {
114
238
  "property": "method",
115
- "equals": "chat.postMessage"
116
- }
239
+ "equals": "chat.postMessage",
240
+ "type": "simple"
241
+ },
242
+ "type": "String"
117
243
  },
118
244
  {
119
- "label": "New channel name",
120
- "group": "channel",
121
- "type": "String",
245
+ "id": "data.thread",
246
+ "label": "Thread",
247
+ "optional": true,
122
248
  "feel": "optional",
249
+ "group": "channel",
123
250
  "binding": {
124
- "type": "zeebe:input",
125
- "name": "data.newChannelName"
251
+ "name": "data.thread",
252
+ "type": "zeebe:input"
253
+ },
254
+ "condition": {
255
+ "property": "method",
256
+ "equals": "chat.postMessage",
257
+ "type": "simple"
126
258
  },
259
+ "type": "String"
260
+ },
261
+ {
262
+ "id": "data.newChannelName",
263
+ "label": "Channel name",
264
+ "optional": false,
127
265
  "constraints": {
128
266
  "notEmpty": true,
129
267
  "pattern": {
@@ -131,62 +269,122 @@
131
269
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
132
270
  }
133
271
  },
272
+ "feel": "optional",
273
+ "group": "channel",
274
+ "binding": {
275
+ "name": "data.newChannelName",
276
+ "type": "zeebe:input"
277
+ },
134
278
  "condition": {
135
279
  "property": "method",
136
- "equals": "conversations.create"
137
- }
280
+ "equals": "conversations.create",
281
+ "type": "simple"
282
+ },
283
+ "type": "String"
138
284
  },
139
285
  {
286
+ "id": "data.visibility",
140
287
  "label": "Visibility",
288
+ "optional": false,
289
+ "value": "PUBLIC",
290
+ "constraints": {
291
+ "notEmpty": true
292
+ },
141
293
  "group": "channel",
294
+ "binding": {
295
+ "name": "data.visibility",
296
+ "type": "zeebe:input"
297
+ },
298
+ "condition": {
299
+ "property": "method",
300
+ "equals": "conversations.create",
301
+ "type": "simple"
302
+ },
142
303
  "type": "Dropdown",
143
- "value": "PUBLIC",
144
- "optional": false,
145
304
  "choices": [
146
- {
147
- "name": "Private",
148
- "value": "PRIVATE"
149
- },
150
305
  {
151
306
  "name": "Public",
152
307
  "value": "PUBLIC"
308
+ },
309
+ {
310
+ "name": "Private",
311
+ "value": "PRIVATE"
153
312
  }
154
- ],
155
- "binding": {
156
- "type": "zeebe:input",
157
- "name": "data.visibility"
158
- },
159
- "condition": {
160
- "property": "method",
161
- "equals": "conversations.create"
162
- }
313
+ ]
163
314
  },
164
315
  {
165
- "label": "Message",
166
- "group": "message",
167
- "type": "Text",
168
- "feel": "optional",
316
+ "id": "data.channelType",
317
+ "label": "Invite By",
318
+ "optional": false,
319
+ "value": "channelId",
320
+ "group": "invite",
169
321
  "binding": {
170
- "type": "zeebe:input",
171
- "name": "data.text"
172
- },
173
- "constraints": {
174
- "notEmpty": true
322
+ "name": "data.channelType",
323
+ "type": "zeebe:input"
175
324
  },
176
325
  "condition": {
177
- "property": "method",
178
- "equals": "chat.postMessage"
179
- }
326
+ "allMatch": [
327
+ {
328
+ "property": "method",
329
+ "equals": "conversations.invite",
330
+ "type": "simple"
331
+ },
332
+ {
333
+ "property": "method",
334
+ "equals": "conversations.invite",
335
+ "type": "simple"
336
+ }
337
+ ]
338
+ },
339
+ "type": "Dropdown",
340
+ "choices": [
341
+ {
342
+ "name": "Channel ID",
343
+ "value": "channelId"
344
+ },
345
+ {
346
+ "name": "Channel name",
347
+ "value": "channelName"
348
+ }
349
+ ]
180
350
  },
181
351
  {
352
+ "id": "data.channelName",
182
353
  "label": "Channel name",
183
- "group": "invite",
184
- "type": "String",
354
+ "optional": false,
355
+ "constraints": {
356
+ "notEmpty": true,
357
+ "pattern": {
358
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
359
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
360
+ }
361
+ },
185
362
  "feel": "optional",
363
+ "group": "invite",
186
364
  "binding": {
187
- "type": "zeebe:input",
188
- "name": "data.channelName"
365
+ "name": "data.channelName",
366
+ "type": "zeebe:input"
367
+ },
368
+ "condition": {
369
+ "allMatch": [
370
+ {
371
+ "property": "data.channelType",
372
+ "equals": "channelName",
373
+ "type": "simple"
374
+ },
375
+ {
376
+ "property": "method",
377
+ "equals": "conversations.invite",
378
+ "type": "simple"
379
+ }
380
+ ]
189
381
  },
382
+ "type": "String"
383
+ },
384
+ {
385
+ "id": "data.channelId",
386
+ "label": "Channel ID",
387
+ "optional": false,
190
388
  "constraints": {
191
389
  "notEmpty": true,
192
390
  "pattern": {
@@ -194,73 +392,151 @@
194
392
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
195
393
  }
196
394
  },
395
+ "feel": "optional",
396
+ "group": "invite",
397
+ "binding": {
398
+ "name": "data.channelId",
399
+ "type": "zeebe:input"
400
+ },
197
401
  "condition": {
198
- "property": "method",
199
- "equals": "conversations.invite"
200
- }
402
+ "allMatch": [
403
+ {
404
+ "property": "data.channelType",
405
+ "equals": "channelId",
406
+ "type": "simple"
407
+ },
408
+ {
409
+ "property": "method",
410
+ "equals": "conversations.invite",
411
+ "type": "simple"
412
+ }
413
+ ]
414
+ },
415
+ "type": "String"
201
416
  },
202
417
  {
418
+ "id": "data.users",
203
419
  "label": "Users",
204
420
  "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
- },
421
+ "optional": false,
212
422
  "constraints": {
213
423
  "notEmpty": true
214
424
  },
425
+ "feel": "optional",
426
+ "group": "invite",
427
+ "binding": {
428
+ "name": "data.users",
429
+ "type": "zeebe:input"
430
+ },
215
431
  "condition": {
216
432
  "property": "method",
217
- "equals": "conversations.invite"
218
- }
433
+ "equals": "conversations.invite",
434
+ "type": "simple"
435
+ },
436
+ "type": "String"
437
+ },
438
+ {
439
+ "id": "version",
440
+ "label": "Version",
441
+ "description": "Version of the element template",
442
+ "value": "7",
443
+ "group": "connector",
444
+ "binding": {
445
+ "key": "elementTemplateVersion",
446
+ "type": "zeebe:taskHeader"
447
+ },
448
+ "type": "Hidden"
449
+ },
450
+ {
451
+ "id": "id",
452
+ "label": "ID",
453
+ "description": "ID of the element template",
454
+ "value": "io.camunda.connectors.Slack.v1",
455
+ "group": "connector",
456
+ "binding": {
457
+ "key": "elementTemplateId",
458
+ "type": "zeebe:taskHeader"
459
+ },
460
+ "type": "Hidden"
219
461
  },
220
462
  {
463
+ "id": "resultVariable",
221
464
  "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>",
465
+ "description": "Name of variable to store the response in",
223
466
  "group": "output",
224
- "type": "String",
225
467
  "binding": {
226
- "type": "zeebe:taskHeader",
227
- "key": "resultVariable"
228
- }
468
+ "key": "resultVariable",
469
+ "type": "zeebe:taskHeader"
470
+ },
471
+ "type": "String"
229
472
  },
230
473
  {
474
+ "id": "resultExpression",
231
475
  "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",
476
+ "description": "Expression to map the response into process variables",
235
477
  "feel": "required",
478
+ "group": "output",
236
479
  "binding": {
237
- "type": "zeebe:taskHeader",
238
- "key": "resultExpression"
239
- }
480
+ "key": "resultExpression",
481
+ "type": "zeebe:taskHeader"
482
+ },
483
+ "type": "Text"
240
484
  },
241
485
  {
486
+ "id": "errorExpression",
242
487
  "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",
488
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
246
489
  "feel": "required",
490
+ "group": "error",
247
491
  "binding": {
248
- "type": "zeebe:taskHeader",
249
- "key": "errorExpression"
250
- }
492
+ "key": "errorExpression",
493
+ "type": "zeebe:taskHeader"
494
+ },
495
+ "type": "Text"
496
+ },
497
+ {
498
+ "id": "retryCount",
499
+ "label": "Retries",
500
+ "description": "Number of retries",
501
+ "value": "3",
502
+ "feel": "optional",
503
+ "group": "retries",
504
+ "binding": {
505
+ "property": "retries",
506
+ "type": "zeebe:taskDefinition"
507
+ },
508
+ "type": "String"
509
+ },
510
+ {
511
+ "id": "retryBackoff",
512
+ "label": "Retry backoff",
513
+ "description": "ISO-8601 duration to wait between retries",
514
+ "value": "PT0S",
515
+ "group": "retries",
516
+ "binding": {
517
+ "key": "retryBackoff",
518
+ "type": "zeebe:taskHeader"
519
+ },
520
+ "type": "String"
251
521
  }
252
522
  ],
253
- "engines": {
254
- "camunda": "^8.2"
523
+ "icon": {
524
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
255
525
  }
256
526
  },
257
527
  {
258
528
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
259
- "name": "Slack Outbound Connector",
529
+ "name": "Slack connector",
260
530
  "id": "io.camunda.connectors.Slack.v1",
531
+ "deprecated": {
532
+ "message": "Replace with 'Slack connector' template.",
533
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
534
+ },
261
535
  "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,
536
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
537
+ "icon": {
538
+ "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"
539
+ },
264
540
  "category": {
265
541
  "id": "connectors",
266
542
  "name": "Connectors"
@@ -270,14 +546,14 @@
270
546
  "value": "bpmn:ServiceTask"
271
547
  },
272
548
  "groups": [
273
- {
274
- "id": "authentication",
275
- "label": "Authentication"
276
- },
277
549
  {
278
550
  "id": "method",
279
551
  "label": "Method"
280
552
  },
553
+ {
554
+ "id": "authentication",
555
+ "label": "Authentication"
556
+ },
281
557
  {
282
558
  "id": "message",
283
559
  "label": "Message"
@@ -295,48 +571,25 @@
295
571
  "label": "Output mapping"
296
572
  },
297
573
  {
298
- "id": "error",
574
+ "id": "errors",
299
575
  "label": "Error handling"
300
- },
301
- {
302
- "id": "retries",
303
- "label": "Retries"
304
576
  }
305
577
  ],
306
578
  "properties": [
307
579
  {
580
+ "type": "Hidden",
308
581
  "value": "io.camunda:slack:1",
309
582
  "binding": {
310
- "property": "type",
311
- "type": "zeebe:taskDefinition"
312
- },
313
- "type": "Hidden"
314
- },
315
- {
316
- "id": "token",
317
- "label": "OAuth token",
318
- "optional": false,
319
- "constraints": {
320
- "notEmpty": true
321
- },
322
- "feel": "optional",
323
- "group": "authentication",
324
- "binding": {
325
- "name": "token",
326
- "type": "zeebe:input"
327
- },
328
- "type": "String"
583
+ "type": "zeebe:taskDefinition",
584
+ "property": "type"
585
+ }
329
586
  },
330
587
  {
331
- "id": "method",
332
588
  "label": "Method",
333
- "value": "chat.postMessage",
334
589
  "group": "method",
335
- "binding": {
336
- "name": "method",
337
- "type": "zeebe:input"
338
- },
590
+ "id": "method",
339
591
  "type": "Dropdown",
592
+ "value": "chat.postMessage",
340
593
  "choices": [
341
594
  {
342
595
  "name": "Post message",
@@ -350,291 +603,181 @@
350
603
  "name": "Invite to channel",
351
604
  "value": "conversations.invite"
352
605
  }
353
- ]
354
- },
355
- {
356
- "id": "data.messageType",
357
- "label": "Message type",
358
- "optional": false,
359
- "value": "plainText",
360
- "group": "message",
606
+ ],
361
607
  "binding": {
362
- "name": "data.messageType",
363
- "type": "zeebe:input"
364
- },
365
- "condition": {
366
- "allMatch": [
367
- {
368
- "property": "method",
369
- "equals": "chat.postMessage",
370
- "type": "simple"
371
- },
372
- {
373
- "property": "method",
374
- "equals": "chat.postMessage",
375
- "type": "simple"
376
- }
377
- ]
378
- },
379
- "type": "Dropdown",
380
- "choices": [
381
- {
382
- "name": "Plain text",
383
- "value": "plainText"
384
- },
385
- {
386
- "name": "Message block",
387
- "value": "messageBlock"
388
- }
389
- ]
608
+ "type": "zeebe:input",
609
+ "name": "method"
610
+ }
390
611
  },
391
612
  {
392
- "id": "data.text",
393
- "label": "Message",
394
- "optional": false,
395
- "constraints": {
396
- "notEmpty": true
397
- },
613
+ "label": "OAuth token",
614
+ "group": "authentication",
615
+ "type": "String",
398
616
  "feel": "optional",
399
- "group": "message",
400
617
  "binding": {
401
- "name": "data.text",
402
- "type": "zeebe:input"
403
- },
404
- "condition": {
405
- "allMatch": [
406
- {
407
- "property": "data.messageType",
408
- "equals": "plainText",
409
- "type": "simple"
410
- },
411
- {
412
- "property": "method",
413
- "equals": "chat.postMessage",
414
- "type": "simple"
415
- }
416
- ]
618
+ "type": "zeebe:input",
619
+ "name": "token"
417
620
  },
418
- "type": "Text"
419
- },
420
- {
421
- "id": "data.blockContent",
422
- "label": "Message block",
423
- "description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
424
- "optional": false,
425
- "value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
426
621
  "constraints": {
427
622
  "notEmpty": true
428
- },
429
- "feel": "required",
430
- "group": "message",
431
- "binding": {
432
- "name": "data.blockContent",
433
- "type": "zeebe:input"
434
- },
435
- "condition": {
436
- "allMatch": [
437
- {
438
- "property": "data.messageType",
439
- "equals": "messageBlock",
440
- "type": "simple"
441
- },
442
- {
443
- "property": "method",
444
- "equals": "chat.postMessage",
445
- "type": "simple"
446
- }
447
- ]
448
- },
449
- "type": "String"
623
+ }
450
624
  },
451
625
  {
452
- "id": "data.channel",
453
626
  "label": "Channel/user name/email",
454
- "optional": false,
455
- "constraints": {
456
- "notEmpty": true
457
- },
458
- "feel": "optional",
459
627
  "group": "channel",
628
+ "type": "String",
629
+ "feel": "optional",
460
630
  "binding": {
461
- "name": "data.channel",
462
- "type": "zeebe:input"
631
+ "type": "zeebe:input",
632
+ "name": "data.channel"
633
+ },
634
+ "constraints": {
635
+ "notEmpty": true,
636
+ "pattern": {
637
+ "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
638
+ "message": "Must be a #channel, @user, email or FEEL expression."
639
+ }
463
640
  },
464
641
  "condition": {
465
642
  "property": "method",
466
- "equals": "chat.postMessage",
467
- "type": "simple"
468
- },
469
- "type": "String"
643
+ "equals": "chat.postMessage"
644
+ }
470
645
  },
471
646
  {
472
- "id": "data.newChannelName",
473
- "label": "Channel name",
474
- "optional": false,
647
+ "label": "New channel name",
648
+ "group": "channel",
649
+ "type": "String",
650
+ "feel": "optional",
651
+ "binding": {
652
+ "type": "zeebe:input",
653
+ "name": "data.newChannelName"
654
+ },
475
655
  "constraints": {
476
656
  "notEmpty": true,
477
657
  "pattern": {
478
- "value": "^(=|[-_a-z0-9]{1,80}$)",
658
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
479
659
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
480
660
  }
481
661
  },
482
- "feel": "optional",
483
- "group": "channel",
484
- "binding": {
485
- "name": "data.newChannelName",
486
- "type": "zeebe:input"
487
- },
488
662
  "condition": {
489
663
  "property": "method",
490
- "equals": "conversations.create",
491
- "type": "simple"
492
- },
493
- "type": "String"
664
+ "equals": "conversations.create"
665
+ }
494
666
  },
495
667
  {
496
- "id": "data.visibility",
497
668
  "label": "Visibility",
498
- "optional": false,
499
- "value": "PUBLIC",
500
- "constraints": {
501
- "notEmpty": true
502
- },
503
669
  "group": "channel",
504
- "binding": {
505
- "name": "data.visibility",
506
- "type": "zeebe:input"
507
- },
508
- "condition": {
509
- "property": "method",
510
- "equals": "conversations.create",
511
- "type": "simple"
512
- },
513
670
  "type": "Dropdown",
671
+ "value": "PUBLIC",
672
+ "optional": false,
514
673
  "choices": [
515
- {
516
- "name": "Public",
517
- "value": "PUBLIC"
518
- },
519
674
  {
520
675
  "name": "Private",
521
676
  "value": "PRIVATE"
677
+ },
678
+ {
679
+ "name": "Public",
680
+ "value": "PUBLIC"
522
681
  }
523
- ]
682
+ ],
683
+ "binding": {
684
+ "type": "zeebe:input",
685
+ "name": "data.visibility"
686
+ },
687
+ "condition": {
688
+ "property": "method",
689
+ "equals": "conversations.create"
690
+ }
691
+ },
692
+ {
693
+ "label": "Message",
694
+ "group": "message",
695
+ "type": "Text",
696
+ "feel": "optional",
697
+ "binding": {
698
+ "type": "zeebe:input",
699
+ "name": "data.text"
700
+ },
701
+ "constraints": {
702
+ "notEmpty": true
703
+ },
704
+ "condition": {
705
+ "property": "method",
706
+ "equals": "chat.postMessage"
707
+ }
524
708
  },
525
709
  {
526
- "id": "data.channelName",
527
710
  "label": "Channel name",
528
- "optional": false,
711
+ "group": "invite",
712
+ "type": "String",
713
+ "feel": "optional",
714
+ "binding": {
715
+ "type": "zeebe:input",
716
+ "name": "data.channelName"
717
+ },
529
718
  "constraints": {
530
719
  "notEmpty": true,
531
720
  "pattern": {
532
- "value": "^(=|[-_a-z0-9]{1,80}$)",
721
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
533
722
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
534
723
  }
535
724
  },
536
- "feel": "optional",
537
- "group": "invite",
538
- "binding": {
539
- "name": "data.channelName",
540
- "type": "zeebe:input"
541
- },
542
725
  "condition": {
543
726
  "property": "method",
544
- "equals": "conversations.invite",
545
- "type": "simple"
546
- },
547
- "type": "String"
727
+ "equals": "conversations.invite"
728
+ }
548
729
  },
549
730
  {
550
- "id": "data.users",
551
731
  "label": "Users",
552
732
  "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
553
- "optional": false,
554
- "constraints": {
555
- "notEmpty": true
556
- },
557
- "feel": "optional",
558
733
  "group": "invite",
734
+ "type": "String",
735
+ "feel": "optional",
559
736
  "binding": {
560
- "name": "data.users",
561
- "type": "zeebe:input"
737
+ "type": "zeebe:input",
738
+ "name": "data.users"
739
+ },
740
+ "constraints": {
741
+ "notEmpty": true
562
742
  },
563
743
  "condition": {
564
744
  "property": "method",
565
- "equals": "conversations.invite",
566
- "type": "simple"
567
- },
568
- "type": "String"
745
+ "equals": "conversations.invite"
746
+ }
569
747
  },
570
748
  {
571
- "id": "resultVariable",
572
749
  "label": "Result variable",
573
- "description": "Name of variable to store the response in",
750
+ "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>",
574
751
  "group": "output",
752
+ "type": "String",
575
753
  "binding": {
576
- "key": "resultVariable",
577
- "type": "zeebe:taskHeader"
578
- },
579
- "type": "String"
754
+ "type": "zeebe:taskHeader",
755
+ "key": "resultVariable"
756
+ }
580
757
  },
581
758
  {
582
- "id": "resultExpression",
583
759
  "label": "Result expression",
584
- "description": "Expression to map the response into process variables",
585
- "feel": "required",
760
+ "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>",
586
761
  "group": "output",
762
+ "type": "Text",
763
+ "feel": "required",
587
764
  "binding": {
588
- "key": "resultExpression",
589
- "type": "zeebe:taskHeader"
590
- },
591
- "type": "Text"
765
+ "type": "zeebe:taskHeader",
766
+ "key": "resultExpression"
767
+ }
592
768
  },
593
769
  {
594
- "id": "errorExpression",
595
770
  "label": "Error expression",
596
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
771
+ "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>",
772
+ "group": "errors",
773
+ "type": "Text",
597
774
  "feel": "required",
598
- "group": "error",
599
- "binding": {
600
- "key": "errorExpression",
601
- "type": "zeebe:taskHeader"
602
- },
603
- "type": "Text"
604
- },
605
- {
606
- "id": "retryCount",
607
- "label": "Retries",
608
- "description": "Number of retries",
609
- "value": "3",
610
- "feel": "optional",
611
- "group": "retries",
612
- "binding": {
613
- "property": "retries",
614
- "type": "zeebe:taskDefinition"
615
- },
616
- "type": "String"
617
- },
618
- {
619
- "id": "retryBackoff",
620
- "label": "Retry backoff",
621
- "description": "ISO-8601 duration to wait between retries",
622
- "value": "PT0S",
623
- "feel": "optional",
624
- "group": "retries",
625
775
  "binding": {
626
- "key": "retryBackoff",
627
- "type": "zeebe:taskHeader"
628
- },
629
- "type": "String"
776
+ "type": "zeebe:taskHeader",
777
+ "key": "errorExpression"
778
+ }
630
779
  }
631
- ],
632
- "icon": {
633
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
634
- },
635
- "engines": {
636
- "camunda": "^8.5"
637
- }
780
+ ]
638
781
  },
639
782
  {
640
783
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -893,17 +1036,11 @@
893
1036
  },
894
1037
  {
895
1038
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
896
- "name": "Slack connector",
1039
+ "name": "Slack Outbound Connector",
897
1040
  "id": "io.camunda.connectors.Slack.v1",
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
- },
902
1041
  "description": "Create a channel or send a message to a channel or user",
903
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
904
- "icon": {
905
- "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"
906
- },
1042
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1043
+ "version": 3,
907
1044
  "category": {
908
1045
  "id": "connectors",
909
1046
  "name": "Connectors"
@@ -913,14 +1050,14 @@
913
1050
  "value": "bpmn:ServiceTask"
914
1051
  },
915
1052
  "groups": [
916
- {
917
- "id": "method",
918
- "label": "Method"
919
- },
920
1053
  {
921
1054
  "id": "authentication",
922
1055
  "label": "Authentication"
923
1056
  },
1057
+ {
1058
+ "id": "method",
1059
+ "label": "Method"
1060
+ },
924
1061
  {
925
1062
  "id": "message",
926
1063
  "label": "Message"
@@ -938,25 +1075,48 @@
938
1075
  "label": "Output mapping"
939
1076
  },
940
1077
  {
941
- "id": "errors",
1078
+ "id": "error",
942
1079
  "label": "Error handling"
1080
+ },
1081
+ {
1082
+ "id": "retries",
1083
+ "label": "Retries"
943
1084
  }
944
1085
  ],
945
1086
  "properties": [
946
1087
  {
947
- "type": "Hidden",
948
1088
  "value": "io.camunda:slack:1",
949
1089
  "binding": {
950
- "type": "zeebe:taskDefinition",
951
- "property": "type"
952
- }
1090
+ "property": "type",
1091
+ "type": "zeebe:taskDefinition"
1092
+ },
1093
+ "type": "Hidden"
1094
+ },
1095
+ {
1096
+ "id": "token",
1097
+ "label": "OAuth token",
1098
+ "optional": false,
1099
+ "constraints": {
1100
+ "notEmpty": true
1101
+ },
1102
+ "feel": "optional",
1103
+ "group": "authentication",
1104
+ "binding": {
1105
+ "name": "token",
1106
+ "type": "zeebe:input"
1107
+ },
1108
+ "type": "String"
953
1109
  },
954
1110
  {
1111
+ "id": "method",
955
1112
  "label": "Method",
1113
+ "value": "chat.postMessage",
956
1114
  "group": "method",
957
- "id": "method",
1115
+ "binding": {
1116
+ "name": "method",
1117
+ "type": "zeebe:input"
1118
+ },
958
1119
  "type": "Dropdown",
959
- "value": "chat.postMessage",
960
1120
  "choices": [
961
1121
  {
962
1122
  "name": "Post message",
@@ -970,181 +1130,291 @@
970
1130
  "name": "Invite to channel",
971
1131
  "value": "conversations.invite"
972
1132
  }
973
- ],
974
- "binding": {
975
- "type": "zeebe:input",
976
- "name": "method"
977
- }
978
- },
979
- {
980
- "label": "OAuth token",
981
- "group": "authentication",
982
- "type": "String",
983
- "feel": "optional",
984
- "binding": {
985
- "type": "zeebe:input",
986
- "name": "token"
987
- },
988
- "constraints": {
989
- "notEmpty": true
990
- }
1133
+ ]
991
1134
  },
992
1135
  {
993
- "label": "Channel/user name/email",
994
- "group": "channel",
995
- "type": "String",
996
- "feel": "optional",
1136
+ "id": "data.messageType",
1137
+ "label": "Message type",
1138
+ "optional": false,
1139
+ "value": "plainText",
1140
+ "group": "message",
997
1141
  "binding": {
998
- "type": "zeebe:input",
999
- "name": "data.channel"
1000
- },
1001
- "constraints": {
1002
- "notEmpty": true,
1003
- "pattern": {
1004
- "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
1005
- "message": "Must be a #channel, @user, email or FEEL expression."
1006
- }
1142
+ "name": "data.messageType",
1143
+ "type": "zeebe:input"
1007
1144
  },
1008
1145
  "condition": {
1009
- "property": "method",
1010
- "equals": "chat.postMessage"
1011
- }
1012
- },
1013
- {
1014
- "label": "New channel name",
1015
- "group": "channel",
1016
- "type": "String",
1017
- "feel": "optional",
1018
- "binding": {
1019
- "type": "zeebe:input",
1020
- "name": "data.newChannelName"
1021
- },
1022
- "constraints": {
1023
- "notEmpty": true,
1024
- "pattern": {
1025
- "value": "^(=|([-_a-z0-9]{1,80}$))",
1026
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1027
- }
1146
+ "allMatch": [
1147
+ {
1148
+ "property": "method",
1149
+ "equals": "chat.postMessage",
1150
+ "type": "simple"
1151
+ },
1152
+ {
1153
+ "property": "method",
1154
+ "equals": "chat.postMessage",
1155
+ "type": "simple"
1156
+ }
1157
+ ]
1028
1158
  },
1029
- "condition": {
1030
- "property": "method",
1031
- "equals": "conversations.create"
1032
- }
1033
- },
1034
- {
1035
- "label": "Visibility",
1036
- "group": "channel",
1037
1159
  "type": "Dropdown",
1038
- "value": "PUBLIC",
1039
- "optional": false,
1040
1160
  "choices": [
1041
1161
  {
1042
- "name": "Private",
1043
- "value": "PRIVATE"
1162
+ "name": "Plain text",
1163
+ "value": "plainText"
1044
1164
  },
1045
1165
  {
1046
- "name": "Public",
1047
- "value": "PUBLIC"
1166
+ "name": "Message block",
1167
+ "value": "messageBlock"
1048
1168
  }
1049
- ],
1050
- "binding": {
1051
- "type": "zeebe:input",
1052
- "name": "data.visibility"
1053
- },
1054
- "condition": {
1055
- "property": "method",
1056
- "equals": "conversations.create"
1057
- }
1169
+ ]
1058
1170
  },
1059
1171
  {
1172
+ "id": "data.text",
1060
1173
  "label": "Message",
1061
- "group": "message",
1062
- "type": "Text",
1063
- "feel": "optional",
1064
- "binding": {
1065
- "type": "zeebe:input",
1066
- "name": "data.text"
1067
- },
1174
+ "optional": false,
1068
1175
  "constraints": {
1069
1176
  "notEmpty": true
1070
1177
  },
1071
- "condition": {
1178
+ "feel": "optional",
1179
+ "group": "message",
1180
+ "binding": {
1181
+ "name": "data.text",
1182
+ "type": "zeebe:input"
1183
+ },
1184
+ "condition": {
1185
+ "allMatch": [
1186
+ {
1187
+ "property": "data.messageType",
1188
+ "equals": "plainText",
1189
+ "type": "simple"
1190
+ },
1191
+ {
1192
+ "property": "method",
1193
+ "equals": "chat.postMessage",
1194
+ "type": "simple"
1195
+ }
1196
+ ]
1197
+ },
1198
+ "type": "Text"
1199
+ },
1200
+ {
1201
+ "id": "data.blockContent",
1202
+ "label": "Message block",
1203
+ "description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
1204
+ "optional": false,
1205
+ "value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
1206
+ "constraints": {
1207
+ "notEmpty": true
1208
+ },
1209
+ "feel": "required",
1210
+ "group": "message",
1211
+ "binding": {
1212
+ "name": "data.blockContent",
1213
+ "type": "zeebe:input"
1214
+ },
1215
+ "condition": {
1216
+ "allMatch": [
1217
+ {
1218
+ "property": "data.messageType",
1219
+ "equals": "messageBlock",
1220
+ "type": "simple"
1221
+ },
1222
+ {
1223
+ "property": "method",
1224
+ "equals": "chat.postMessage",
1225
+ "type": "simple"
1226
+ }
1227
+ ]
1228
+ },
1229
+ "type": "String"
1230
+ },
1231
+ {
1232
+ "id": "data.channel",
1233
+ "label": "Channel/user name/email",
1234
+ "optional": false,
1235
+ "constraints": {
1236
+ "notEmpty": true
1237
+ },
1238
+ "feel": "optional",
1239
+ "group": "channel",
1240
+ "binding": {
1241
+ "name": "data.channel",
1242
+ "type": "zeebe:input"
1243
+ },
1244
+ "condition": {
1072
1245
  "property": "method",
1073
- "equals": "chat.postMessage"
1074
- }
1246
+ "equals": "chat.postMessage",
1247
+ "type": "simple"
1248
+ },
1249
+ "type": "String"
1075
1250
  },
1076
1251
  {
1252
+ "id": "data.newChannelName",
1077
1253
  "label": "Channel name",
1078
- "group": "invite",
1079
- "type": "String",
1254
+ "optional": false,
1255
+ "constraints": {
1256
+ "notEmpty": true,
1257
+ "pattern": {
1258
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
1259
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1260
+ }
1261
+ },
1080
1262
  "feel": "optional",
1263
+ "group": "channel",
1081
1264
  "binding": {
1082
- "type": "zeebe:input",
1083
- "name": "data.channelName"
1265
+ "name": "data.newChannelName",
1266
+ "type": "zeebe:input"
1267
+ },
1268
+ "condition": {
1269
+ "property": "method",
1270
+ "equals": "conversations.create",
1271
+ "type": "simple"
1084
1272
  },
1273
+ "type": "String"
1274
+ },
1275
+ {
1276
+ "id": "data.visibility",
1277
+ "label": "Visibility",
1278
+ "optional": false,
1279
+ "value": "PUBLIC",
1280
+ "constraints": {
1281
+ "notEmpty": true
1282
+ },
1283
+ "group": "channel",
1284
+ "binding": {
1285
+ "name": "data.visibility",
1286
+ "type": "zeebe:input"
1287
+ },
1288
+ "condition": {
1289
+ "property": "method",
1290
+ "equals": "conversations.create",
1291
+ "type": "simple"
1292
+ },
1293
+ "type": "Dropdown",
1294
+ "choices": [
1295
+ {
1296
+ "name": "Public",
1297
+ "value": "PUBLIC"
1298
+ },
1299
+ {
1300
+ "name": "Private",
1301
+ "value": "PRIVATE"
1302
+ }
1303
+ ]
1304
+ },
1305
+ {
1306
+ "id": "data.channelName",
1307
+ "label": "Channel name",
1308
+ "optional": false,
1085
1309
  "constraints": {
1086
1310
  "notEmpty": true,
1087
1311
  "pattern": {
1088
- "value": "^(=|([-_a-z0-9]{1,80}$))",
1312
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
1089
1313
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1090
1314
  }
1091
1315
  },
1316
+ "feel": "optional",
1317
+ "group": "invite",
1318
+ "binding": {
1319
+ "name": "data.channelName",
1320
+ "type": "zeebe:input"
1321
+ },
1092
1322
  "condition": {
1093
1323
  "property": "method",
1094
- "equals": "conversations.invite"
1095
- }
1324
+ "equals": "conversations.invite",
1325
+ "type": "simple"
1326
+ },
1327
+ "type": "String"
1096
1328
  },
1097
1329
  {
1330
+ "id": "data.users",
1098
1331
  "label": "Users",
1099
1332
  "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
1100
- "group": "invite",
1101
- "type": "String",
1102
- "feel": "optional",
1103
- "binding": {
1104
- "type": "zeebe:input",
1105
- "name": "data.users"
1106
- },
1333
+ "optional": false,
1107
1334
  "constraints": {
1108
1335
  "notEmpty": true
1109
1336
  },
1337
+ "feel": "optional",
1338
+ "group": "invite",
1339
+ "binding": {
1340
+ "name": "data.users",
1341
+ "type": "zeebe:input"
1342
+ },
1110
1343
  "condition": {
1111
1344
  "property": "method",
1112
- "equals": "conversations.invite"
1113
- }
1345
+ "equals": "conversations.invite",
1346
+ "type": "simple"
1347
+ },
1348
+ "type": "String"
1114
1349
  },
1115
1350
  {
1351
+ "id": "resultVariable",
1116
1352
  "label": "Result variable",
1117
- "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>",
1353
+ "description": "Name of variable to store the response in",
1118
1354
  "group": "output",
1119
- "type": "String",
1120
1355
  "binding": {
1121
- "type": "zeebe:taskHeader",
1122
- "key": "resultVariable"
1123
- }
1356
+ "key": "resultVariable",
1357
+ "type": "zeebe:taskHeader"
1358
+ },
1359
+ "type": "String"
1124
1360
  },
1125
1361
  {
1362
+ "id": "resultExpression",
1126
1363
  "label": "Result expression",
1127
- "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>",
1128
- "group": "output",
1129
- "type": "Text",
1364
+ "description": "Expression to map the response into process variables",
1130
1365
  "feel": "required",
1366
+ "group": "output",
1131
1367
  "binding": {
1132
- "type": "zeebe:taskHeader",
1133
- "key": "resultExpression"
1134
- }
1368
+ "key": "resultExpression",
1369
+ "type": "zeebe:taskHeader"
1370
+ },
1371
+ "type": "Text"
1135
1372
  },
1136
1373
  {
1374
+ "id": "errorExpression",
1137
1375
  "label": "Error expression",
1138
- "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>",
1139
- "group": "errors",
1140
- "type": "Text",
1376
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1141
1377
  "feel": "required",
1378
+ "group": "error",
1142
1379
  "binding": {
1143
- "type": "zeebe:taskHeader",
1144
- "key": "errorExpression"
1145
- }
1380
+ "key": "errorExpression",
1381
+ "type": "zeebe:taskHeader"
1382
+ },
1383
+ "type": "Text"
1384
+ },
1385
+ {
1386
+ "id": "retryCount",
1387
+ "label": "Retries",
1388
+ "description": "Number of retries",
1389
+ "value": "3",
1390
+ "feel": "optional",
1391
+ "group": "retries",
1392
+ "binding": {
1393
+ "property": "retries",
1394
+ "type": "zeebe:taskDefinition"
1395
+ },
1396
+ "type": "String"
1397
+ },
1398
+ {
1399
+ "id": "retryBackoff",
1400
+ "label": "Retry backoff",
1401
+ "description": "ISO-8601 duration to wait between retries",
1402
+ "value": "PT0S",
1403
+ "feel": "optional",
1404
+ "group": "retries",
1405
+ "binding": {
1406
+ "key": "retryBackoff",
1407
+ "type": "zeebe:taskHeader"
1408
+ },
1409
+ "type": "String"
1146
1410
  }
1147
- ]
1411
+ ],
1412
+ "icon": {
1413
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1414
+ },
1415
+ "engines": {
1416
+ "camunda": "^8.5"
1417
+ }
1148
1418
  },
1149
1419
  {
1150
1420
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -1645,11 +1915,14 @@
1645
1915
  },
1646
1916
  {
1647
1917
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1648
- "name": "Slack Outbound Connector",
1918
+ "name": "Slack connector",
1649
1919
  "id": "io.camunda.connectors.Slack.v1",
1920
+ "version": 1,
1650
1921
  "description": "Create a channel or send a message to a channel or user",
1651
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1652
- "version": 5,
1922
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
1923
+ "icon": {
1924
+ "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"
1925
+ },
1653
1926
  "category": {
1654
1927
  "id": "connectors",
1655
1928
  "name": "Connectors"
@@ -1659,14 +1932,14 @@
1659
1932
  "value": "bpmn:ServiceTask"
1660
1933
  },
1661
1934
  "groups": [
1662
- {
1663
- "id": "authentication",
1664
- "label": "Authentication"
1665
- },
1666
1935
  {
1667
1936
  "id": "method",
1668
1937
  "label": "Method"
1669
1938
  },
1939
+ {
1940
+ "id": "authentication",
1941
+ "label": "Authentication"
1942
+ },
1670
1943
  {
1671
1944
  "id": "message",
1672
1945
  "label": "Message"
@@ -1684,48 +1957,25 @@
1684
1957
  "label": "Output mapping"
1685
1958
  },
1686
1959
  {
1687
- "id": "error",
1960
+ "id": "errors",
1688
1961
  "label": "Error handling"
1689
- },
1690
- {
1691
- "id": "retries",
1692
- "label": "Retries"
1693
1962
  }
1694
1963
  ],
1695
1964
  "properties": [
1696
1965
  {
1966
+ "type": "Hidden",
1697
1967
  "value": "io.camunda:slack:1",
1698
1968
  "binding": {
1699
- "property": "type",
1700
- "type": "zeebe:taskDefinition"
1701
- },
1702
- "type": "Hidden"
1703
- },
1704
- {
1705
- "id": "token",
1706
- "label": "OAuth token",
1707
- "optional": false,
1708
- "constraints": {
1709
- "notEmpty": true
1710
- },
1711
- "feel": "optional",
1712
- "group": "authentication",
1713
- "binding": {
1714
- "name": "token",
1715
- "type": "zeebe:input"
1716
- },
1717
- "type": "String"
1969
+ "type": "zeebe:taskDefinition",
1970
+ "property": "type"
1971
+ }
1718
1972
  },
1719
1973
  {
1720
- "id": "method",
1721
1974
  "label": "Method",
1722
- "value": "chat.postMessage",
1723
1975
  "group": "method",
1724
- "binding": {
1725
- "name": "method",
1726
- "type": "zeebe:input"
1727
- },
1976
+ "id": "method",
1728
1977
  "type": "Dropdown",
1978
+ "value": "chat.postMessage",
1729
1979
  "choices": [
1730
1980
  {
1731
1981
  "name": "Post message",
@@ -1739,235 +1989,55 @@
1739
1989
  "name": "Invite to channel",
1740
1990
  "value": "conversations.invite"
1741
1991
  }
1742
- ]
1743
- },
1744
- {
1745
- "id": "data.messageType",
1746
- "label": "Message type",
1747
- "optional": false,
1748
- "value": "plainText",
1749
- "group": "message",
1992
+ ],
1750
1993
  "binding": {
1751
- "name": "data.messageType",
1752
- "type": "zeebe:input"
1753
- },
1754
- "condition": {
1755
- "allMatch": [
1756
- {
1757
- "property": "method",
1758
- "equals": "chat.postMessage",
1759
- "type": "simple"
1760
- },
1761
- {
1762
- "property": "method",
1763
- "equals": "chat.postMessage",
1764
- "type": "simple"
1765
- }
1766
- ]
1767
- },
1768
- "type": "Dropdown",
1769
- "choices": [
1770
- {
1771
- "name": "Plain text",
1772
- "value": "plainText"
1773
- },
1774
- {
1775
- "name": "Message block",
1776
- "value": "messageBlock"
1777
- }
1778
- ]
1994
+ "type": "zeebe:input",
1995
+ "name": "method"
1996
+ }
1779
1997
  },
1780
1998
  {
1781
- "id": "data.text",
1782
- "label": "Message",
1783
- "optional": false,
1784
- "constraints": {
1785
- "notEmpty": true
1786
- },
1999
+ "label": "OAuth token",
2000
+ "group": "authentication",
2001
+ "type": "String",
1787
2002
  "feel": "optional",
1788
- "group": "message",
1789
2003
  "binding": {
1790
- "name": "data.text",
1791
- "type": "zeebe:input"
1792
- },
1793
- "condition": {
1794
- "allMatch": [
1795
- {
1796
- "property": "data.messageType",
1797
- "equals": "plainText",
1798
- "type": "simple"
1799
- },
1800
- {
1801
- "property": "method",
1802
- "equals": "chat.postMessage",
1803
- "type": "simple"
1804
- }
1805
- ]
2004
+ "type": "zeebe:input",
2005
+ "name": "token"
1806
2006
  },
1807
- "type": "Text"
1808
- },
1809
- {
1810
- "id": "data.blockContent",
1811
- "label": "Message block",
1812
- "description": "An array of rich message content blocks. Learn more at the <a href=\"https://api.slack.com/reference/surfaces/formatting#stack_of_blocks\" target=\"_blank\">official Slack documentation page</a>",
1813
- "optional": false,
1814
- "value": "=[\n\t{\n\t\t\"type\": \"header\",\n\t\t\"text\": {\n\t\t\t\"type\": \"plain_text\",\n\t\t\t\"text\": \"New request\"\n\t\t}\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Type:*\\nPaid Time Off\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*Created by:*\\n<example.com|John Doe>\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"fields\": [\n\t\t\t{\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"*When:*\\nAug 10 - Aug 13\"\n\t\t\t}\n\t\t]\n\t},\n\t{\n\t\t\"type\": \"section\",\n\t\t\"text\": {\n\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\"text\": \"<https://example.com|View request>\"\n\t\t}\n\t}\n]",
1815
2007
  "constraints": {
1816
2008
  "notEmpty": true
1817
- },
1818
- "feel": "required",
1819
- "group": "message",
1820
- "binding": {
1821
- "name": "data.blockContent",
1822
- "type": "zeebe:input"
1823
- },
1824
- "condition": {
1825
- "allMatch": [
1826
- {
1827
- "property": "data.messageType",
1828
- "equals": "messageBlock",
1829
- "type": "simple"
1830
- },
1831
- {
1832
- "property": "method",
1833
- "equals": "chat.postMessage",
1834
- "type": "simple"
1835
- }
1836
- ]
1837
- },
1838
- "type": "String"
2009
+ }
1839
2010
  },
1840
2011
  {
1841
- "id": "data.channel",
1842
2012
  "label": "Channel/user name/email",
1843
- "optional": false,
1844
- "constraints": {
1845
- "notEmpty": true
1846
- },
1847
- "feel": "optional",
1848
2013
  "group": "channel",
1849
- "binding": {
1850
- "name": "data.channel",
1851
- "type": "zeebe:input"
1852
- },
1853
- "condition": {
1854
- "property": "method",
1855
- "equals": "chat.postMessage",
1856
- "type": "simple"
1857
- },
1858
- "type": "String"
1859
- },
1860
- {
1861
- "id": "data.thread",
1862
- "label": "Thread",
1863
- "optional": true,
2014
+ "type": "String",
1864
2015
  "feel": "optional",
1865
- "group": "channel",
1866
2016
  "binding": {
1867
- "name": "data.thread",
1868
- "type": "zeebe:input"
1869
- },
1870
- "condition": {
1871
- "property": "method",
1872
- "equals": "chat.postMessage",
1873
- "type": "simple"
2017
+ "type": "zeebe:input",
2018
+ "name": "data.channel"
1874
2019
  },
1875
- "type": "String"
1876
- },
1877
- {
1878
- "id": "data.newChannelName",
1879
- "label": "Channel name",
1880
- "optional": false,
1881
2020
  "constraints": {
1882
2021
  "notEmpty": true,
1883
2022
  "pattern": {
1884
- "value": "^(=|([-_a-z0-9]{1,80}$))",
1885
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1886
- }
1887
- },
1888
- "feel": "optional",
1889
- "group": "channel",
1890
- "binding": {
1891
- "name": "data.newChannelName",
1892
- "type": "zeebe:input"
1893
- },
1894
- "condition": {
1895
- "property": "method",
1896
- "equals": "conversations.create",
1897
- "type": "simple"
1898
- },
1899
- "type": "String"
1900
- },
1901
- {
1902
- "id": "data.visibility",
1903
- "label": "Visibility",
1904
- "optional": false,
1905
- "value": "PUBLIC",
1906
- "constraints": {
1907
- "notEmpty": true
1908
- },
1909
- "group": "channel",
1910
- "binding": {
1911
- "name": "data.visibility",
1912
- "type": "zeebe:input"
1913
- },
1914
- "condition": {
1915
- "property": "method",
1916
- "equals": "conversations.create",
1917
- "type": "simple"
1918
- },
1919
- "type": "Dropdown",
1920
- "choices": [
1921
- {
1922
- "name": "Public",
1923
- "value": "PUBLIC"
1924
- },
1925
- {
1926
- "name": "Private",
1927
- "value": "PRIVATE"
1928
- }
1929
- ]
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"
2023
+ "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
2024
+ "message": "Must be a #channel, @user, email or FEEL expression."
1964
2025
  }
1965
- ]
2026
+ },
2027
+ "condition": {
2028
+ "property": "method",
2029
+ "equals": "chat.postMessage"
2030
+ }
1966
2031
  },
1967
2032
  {
1968
- "id": "data.channelName",
1969
- "label": "Channel name",
1970
- "optional": false,
2033
+ "label": "New channel name",
2034
+ "group": "channel",
2035
+ "type": "String",
2036
+ "feel": "optional",
2037
+ "binding": {
2038
+ "type": "zeebe:input",
2039
+ "name": "data.newChannelName"
2040
+ },
1971
2041
  "constraints": {
1972
2042
  "notEmpty": true,
1973
2043
  "pattern": {
@@ -1975,32 +2045,62 @@
1975
2045
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1976
2046
  }
1977
2047
  },
1978
- "feel": "optional",
1979
- "group": "invite",
2048
+ "condition": {
2049
+ "property": "method",
2050
+ "equals": "conversations.create"
2051
+ }
2052
+ },
2053
+ {
2054
+ "label": "Visibility",
2055
+ "group": "channel",
2056
+ "type": "Dropdown",
2057
+ "value": "PUBLIC",
2058
+ "optional": false,
2059
+ "choices": [
2060
+ {
2061
+ "name": "Private",
2062
+ "value": "PRIVATE"
2063
+ },
2064
+ {
2065
+ "name": "Public",
2066
+ "value": "PUBLIC"
2067
+ }
2068
+ ],
1980
2069
  "binding": {
1981
- "name": "data.channelName",
1982
- "type": "zeebe:input"
2070
+ "type": "zeebe:input",
2071
+ "name": "data.visibility"
1983
2072
  },
1984
2073
  "condition": {
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
- ]
2074
+ "property": "method",
2075
+ "equals": "conversations.create"
2076
+ }
2077
+ },
2078
+ {
2079
+ "label": "Message",
2080
+ "group": "message",
2081
+ "type": "Text",
2082
+ "feel": "optional",
2083
+ "binding": {
2084
+ "type": "zeebe:input",
2085
+ "name": "data.text"
1997
2086
  },
1998
- "type": "String"
2087
+ "constraints": {
2088
+ "notEmpty": true
2089
+ },
2090
+ "condition": {
2091
+ "property": "method",
2092
+ "equals": "chat.postMessage"
2093
+ }
1999
2094
  },
2000
2095
  {
2001
- "id": "data.channelId",
2002
- "label": "Channel ID",
2003
- "optional": false,
2096
+ "label": "Channel name",
2097
+ "group": "invite",
2098
+ "type": "String",
2099
+ "feel": "optional",
2100
+ "binding": {
2101
+ "type": "zeebe:input",
2102
+ "name": "data.channelName"
2103
+ },
2004
2104
  "constraints": {
2005
2105
  "notEmpty": true,
2006
2106
  "pattern": {
@@ -2008,116 +2108,64 @@
2008
2108
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
2009
2109
  }
2010
2110
  },
2011
- "feel": "optional",
2012
- "group": "invite",
2013
- "binding": {
2014
- "name": "data.channelId",
2015
- "type": "zeebe:input"
2016
- },
2017
2111
  "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
- ]
2030
- },
2031
- "type": "String"
2112
+ "property": "method",
2113
+ "equals": "conversations.invite"
2114
+ }
2032
2115
  },
2033
2116
  {
2034
- "id": "data.users",
2035
2117
  "label": "Users",
2036
2118
  "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
2037
- "optional": false,
2038
- "constraints": {
2039
- "notEmpty": true
2040
- },
2041
- "feel": "optional",
2042
2119
  "group": "invite",
2120
+ "type": "String",
2121
+ "feel": "optional",
2043
2122
  "binding": {
2044
- "name": "data.users",
2045
- "type": "zeebe:input"
2123
+ "type": "zeebe:input",
2124
+ "name": "data.users"
2125
+ },
2126
+ "constraints": {
2127
+ "notEmpty": true
2046
2128
  },
2047
2129
  "condition": {
2048
2130
  "property": "method",
2049
- "equals": "conversations.invite",
2050
- "type": "simple"
2051
- },
2052
- "type": "String"
2131
+ "equals": "conversations.invite"
2132
+ }
2053
2133
  },
2054
2134
  {
2055
- "id": "resultVariable",
2056
2135
  "label": "Result variable",
2057
- "description": "Name of variable to store the response in",
2136
+ "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>",
2058
2137
  "group": "output",
2138
+ "type": "String",
2059
2139
  "binding": {
2060
- "key": "resultVariable",
2061
- "type": "zeebe:taskHeader"
2062
- },
2063
- "type": "String"
2140
+ "type": "zeebe:taskHeader",
2141
+ "key": "resultVariable"
2142
+ }
2064
2143
  },
2065
2144
  {
2066
- "id": "resultExpression",
2067
2145
  "label": "Result expression",
2068
- "description": "Expression to map the response into process variables",
2069
- "feel": "required",
2146
+ "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>",
2070
2147
  "group": "output",
2148
+ "type": "Text",
2149
+ "feel": "required",
2071
2150
  "binding": {
2072
- "key": "resultExpression",
2073
- "type": "zeebe:taskHeader"
2074
- },
2075
- "type": "Text"
2151
+ "type": "zeebe:taskHeader",
2152
+ "key": "resultExpression"
2153
+ }
2076
2154
  },
2077
2155
  {
2078
- "id": "errorExpression",
2079
2156
  "label": "Error expression",
2080
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2157
+ "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>",
2158
+ "group": "errors",
2159
+ "type": "Text",
2081
2160
  "feel": "required",
2082
- "group": "error",
2083
2161
  "binding": {
2084
- "key": "errorExpression",
2085
- "type": "zeebe:taskHeader"
2086
- },
2087
- "type": "Text"
2088
- },
2089
- {
2090
- "id": "retryCount",
2091
- "label": "Retries",
2092
- "description": "Number of retries",
2093
- "value": "3",
2094
- "feel": "optional",
2095
- "group": "retries",
2096
- "binding": {
2097
- "property": "retries",
2098
- "type": "zeebe:taskDefinition"
2099
- },
2100
- "type": "String"
2101
- },
2102
- {
2103
- "id": "retryBackoff",
2104
- "label": "Retry backoff",
2105
- "description": "ISO-8601 duration to wait between retries",
2106
- "value": "PT0S",
2107
- "feel": "optional",
2108
- "group": "retries",
2109
- "binding": {
2110
- "key": "retryBackoff",
2111
- "type": "zeebe:taskHeader"
2112
- },
2113
- "type": "String"
2162
+ "type": "zeebe:taskHeader",
2163
+ "key": "errorExpression"
2164
+ }
2114
2165
  }
2115
2166
  ],
2116
- "icon": {
2117
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
2118
- },
2119
2167
  "engines": {
2120
- "camunda": "^8.6"
2168
+ "camunda": "^8.2"
2121
2169
  }
2122
2170
  },
2123
2171
  {
@@ -2524,11 +2572,8 @@
2524
2572
  "name": "Slack Outbound Connector",
2525
2573
  "id": "io.camunda.connectors.Slack.v1",
2526
2574
  "description": "Create a channel or send a message to a channel or user",
2527
- "metadata": {
2528
- "keywords": []
2529
- },
2530
2575
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
2531
- "version": 7,
2576
+ "version": 5,
2532
2577
  "category": {
2533
2578
  "id": "connectors",
2534
2579
  "name": "Connectors"
@@ -2537,9 +2582,6 @@
2537
2582
  "elementType": {
2538
2583
  "value": "bpmn:ServiceTask"
2539
2584
  },
2540
- "engines": {
2541
- "camunda": "^8.3"
2542
- },
2543
2585
  "groups": [
2544
2586
  {
2545
2587
  "id": "authentication",
@@ -2561,10 +2603,6 @@
2561
2603
  "id": "invite",
2562
2604
  "label": "Invite"
2563
2605
  },
2564
- {
2565
- "id": "connector",
2566
- "label": "Connector"
2567
- },
2568
2606
  {
2569
2607
  "id": "output",
2570
2608
  "label": "Output mapping"
@@ -2723,24 +2761,6 @@
2723
2761
  },
2724
2762
  "type": "String"
2725
2763
  },
2726
- {
2727
- "id": "data.documents",
2728
- "label": "attachments",
2729
- "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",
2730
- "optional": true,
2731
- "feel": "required",
2732
- "group": "message",
2733
- "binding": {
2734
- "name": "data.documents",
2735
- "type": "zeebe:input"
2736
- },
2737
- "condition": {
2738
- "property": "method",
2739
- "equals": "chat.postMessage",
2740
- "type": "simple"
2741
- },
2742
- "type": "String"
2743
- },
2744
2764
  {
2745
2765
  "id": "data.channel",
2746
2766
  "label": "Channel/user name/email",
@@ -2955,30 +2975,6 @@
2955
2975
  },
2956
2976
  "type": "String"
2957
2977
  },
2958
- {
2959
- "id": "version",
2960
- "label": "Version",
2961
- "description": "Version of the element template",
2962
- "value": "7",
2963
- "group": "connector",
2964
- "binding": {
2965
- "key": "elementTemplateVersion",
2966
- "type": "zeebe:taskHeader"
2967
- },
2968
- "type": "Hidden"
2969
- },
2970
- {
2971
- "id": "id",
2972
- "label": "ID",
2973
- "description": "ID of the element template",
2974
- "value": "io.camunda.connectors.Slack.v1",
2975
- "group": "connector",
2976
- "binding": {
2977
- "key": "elementTemplateId",
2978
- "type": "zeebe:taskHeader"
2979
- },
2980
- "type": "Hidden"
2981
- },
2982
2978
  {
2983
2979
  "id": "resultVariable",
2984
2980
  "label": "Result variable",
@@ -3032,6 +3028,7 @@
3032
3028
  "label": "Retry backoff",
3033
3029
  "description": "ISO-8601 duration to wait between retries",
3034
3030
  "value": "PT0S",
3031
+ "feel": "optional",
3035
3032
  "group": "retries",
3036
3033
  "binding": {
3037
3034
  "key": "retryBackoff",
@@ -3042,6 +3039,9 @@
3042
3039
  ],
3043
3040
  "icon": {
3044
3041
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
3042
+ },
3043
+ "engines": {
3044
+ "camunda": "^8.6"
3045
3045
  }
3046
3046
  }
3047
3047
  ]