@camunda/connectors-element-templates 1.0.17 → 1.0.18

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 (125) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -2
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +2 -5
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +6 -6
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +6 -6
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +6 -6
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +6 -6
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +10 -13
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3774 -33
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +7968 -4288
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +2 -5
  12. package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
  13. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -5
  14. package/src/element-templates/asana-connector.json +718 -7
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1175 -1171
  16. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
  17. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
  18. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
  19. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
  20. package/src/element-templates/aws-bedrock-outbound-connector.json +775 -38
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1407 -1407
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +370 -5
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +399 -0
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
  29. package/src/element-templates/aws-lambda-outbound-connector.json +472 -468
  30. package/src/element-templates/aws-s3-outbound-connector.json +656 -15
  31. package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
  32. package/src/element-templates/aws-sns-inbound-boundary.json +230 -223
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +486 -479
  34. package/src/element-templates/aws-sns-inbound-message-start.json +240 -233
  35. package/src/element-templates/aws-sns-inbound-receive.json +13 -6
  36. package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
  37. package/src/element-templates/aws-sns-outbound-connector.json +390 -386
  38. package/src/element-templates/aws-sqs-boundary-connector.json +472 -468
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +388 -384
  40. package/src/element-templates/aws-sqs-outbound-connector.json +402 -400
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +571 -563
  43. package/src/element-templates/aws-sqs-start-message.json +866 -862
  44. package/src/element-templates/aws-textract-outbound-connector.json +358 -354
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
  46. package/src/element-templates/azure-open-ai-connector.json +1325 -0
  47. package/src/element-templates/blue-prism-connector.json +595 -50
  48. package/src/element-templates/box-outbound-connector.json +924 -12
  49. package/src/element-templates/csv-outbound-connector.json +39 -31
  50. package/src/element-templates/easy-post-connector.json +1088 -120
  51. package/src/element-templates/email-inbound-connector-boundary.json +16 -8
  52. package/src/element-templates/email-inbound-connector-intermediate.json +16 -8
  53. package/src/element-templates/email-inbound-connector-receive.json +564 -0
  54. package/src/element-templates/email-message-start-event-connector.json +16 -8
  55. package/src/element-templates/email-outbound-connector.json +2114 -241
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
  57. package/src/element-templates/github-connector.json +12587 -9052
  58. package/src/element-templates/github-webhook-connector-boundary.json +27 -29
  59. package/src/element-templates/github-webhook-connector-intermediate.json +40 -42
  60. package/src/element-templates/github-webhook-connector-message-start.json +19 -21
  61. package/src/element-templates/github-webhook-connector-receive.json +13 -15
  62. package/src/element-templates/github-webhook-connector-start-event.json +11 -13
  63. package/src/element-templates/gitlab-connector.json +4756 -3124
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
  65. package/src/element-templates/google-drive-outbound-connector.json +1285 -665
  66. package/src/element-templates/google-gemini-outbound-connector.json +117 -109
  67. package/src/element-templates/google-maps-platform-connector.json +1055 -26
  68. package/src/element-templates/google-sheets-outbound-connector.json +2413 -1419
  69. package/src/element-templates/graphql-outbound-connector.json +1136 -1127
  70. package/src/element-templates/http-json-connector.json +2779 -2129
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +1483 -1472
  72. package/src/element-templates/http-polling-connector.json +746 -735
  73. package/src/element-templates/hubspot-outbound-connector.json +2376 -30
  74. package/src/element-templates/hugging-face-connector.json +249 -18
  75. package/src/element-templates/jdbc-outbound-connector.json +62 -48
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +528 -519
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +729 -720
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +628 -619
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +666 -660
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
  85. package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +4161 -1997
  87. package/src/element-templates/openai-connector.json +579 -116
  88. package/src/element-templates/operate-connector.json +1219 -67
  89. package/src/element-templates/power-automate-connector.json +604 -12
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +863 -854
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +926 -917
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +469 -460
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +601 -592
  95. package/src/element-templates/rabbitmq-outbound-connector.json +634 -628
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +553 -9
  98. package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
  99. package/src/element-templates/send-message-connector-message-end-event.json +10 -5
  100. package/src/element-templates/send-message-connector-send-task.json +10 -5
  101. package/src/element-templates/sendgrid-outbound-connector.json +1380 -772
  102. package/src/element-templates/servicenow-connector.json +971 -3
  103. package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
  104. package/src/element-templates/servicenow-incident-connector.json +980 -3
  105. package/src/element-templates/slack-inbound-boundary.json +389 -91
  106. package/src/element-templates/slack-inbound-intermediate.json +393 -95
  107. package/src/element-templates/slack-inbound-message-start.json +566 -236
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +127 -122
  110. package/src/element-templates/slack-outbound-connector.json +2613 -915
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1514 -34
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +29 -20
  114. package/src/element-templates/twilio-webhook-connector.json +238 -8
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +39 -30
  116. package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
  117. package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
  118. package/src/element-templates/uipath-connector.json +607 -15
  119. package/src/element-templates/webhook-connector-boundary.json +1218 -1208
  120. package/src/element-templates/webhook-connector-intermediate.json +1837 -1827
  121. package/src/element-templates/webhook-connector-receive.json +55 -45
  122. package/src/element-templates/webhook-connector-start-event.json +1299 -1292
  123. package/src/element-templates/webhook-connector-start-message.json +711 -701
  124. package/src/element-templates/whatsapp-connector.json +339 -5
  125. package/src/element-templates/http-connector.json.json +0 -654
@@ -4,11 +4,21 @@
4
4
  "name": "Slack Outbound Connector",
5
5
  "id": "io.camunda.connectors.Slack.v1",
6
6
  "description": "Create a channel or send a message to a channel or user",
7
- "metadata": {
8
- "keywords": []
9
- },
7
+ "keywords": [
8
+ "post message",
9
+ "create channel",
10
+ "invite to channel",
11
+ "add reaction",
12
+ "pin message",
13
+ "unpin message",
14
+ "send message",
15
+ "channel",
16
+ "messaging",
17
+ "chat",
18
+ "notification"
19
+ ],
10
20
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
11
- "version": 6,
21
+ "version": 10,
12
22
  "category": {
13
23
  "id": "connectors",
14
24
  "name": "Connectors"
@@ -18,7 +28,7 @@
18
28
  "value": "bpmn:ServiceTask"
19
29
  },
20
30
  "engines": {
21
- "camunda": "^8.3"
31
+ "camunda": "^8.10"
22
32
  },
23
33
  "groups": [
24
34
  {
@@ -41,6 +51,22 @@
41
51
  "id": "invite",
42
52
  "label": "Invite"
43
53
  },
54
+ {
55
+ "id": "reaction",
56
+ "label": "Reaction"
57
+ },
58
+ {
59
+ "id": "pinMessage",
60
+ "label": "Pin Message"
61
+ },
62
+ {
63
+ "id": "unpinMessage",
64
+ "label": "Unpin Message"
65
+ },
66
+ {
67
+ "id": "connector",
68
+ "label": "Connector"
69
+ },
44
70
  {
45
71
  "id": "output",
46
72
  "label": "Output mapping"
@@ -100,6 +126,18 @@
100
126
  {
101
127
  "name": "Invite to channel",
102
128
  "value": "conversations.invite"
129
+ },
130
+ {
131
+ "name": "Add reaction",
132
+ "value": "reactions.add"
133
+ },
134
+ {
135
+ "name": "Pin Message",
136
+ "value": "pins.add"
137
+ },
138
+ {
139
+ "name": "Unpin Message",
140
+ "value": "pins.remove"
103
141
  }
104
142
  ]
105
143
  },
@@ -200,12 +238,296 @@
200
238
  "type": "String"
201
239
  },
202
240
  {
203
- "id": "data.documents",
204
- "label": "attachments",
241
+ "id": "data_documents_documentMode",
242
+ "label": "Number of documents",
205
243
  "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,
244
+ "value": "none",
245
+ "group": "message",
246
+ "binding": {
247
+ "name": "data.data_documents_documentMode",
248
+ "type": "zeebe:input"
249
+ },
250
+ "condition": {
251
+ "property": "method",
252
+ "equals": "chat.postMessage",
253
+ "type": "simple"
254
+ },
255
+ "type": "Dropdown",
256
+ "choices": [
257
+ {
258
+ "name": "None",
259
+ "value": "none"
260
+ },
261
+ {
262
+ "name": "Single document",
263
+ "value": "single"
264
+ },
265
+ {
266
+ "name": "Multiple documents",
267
+ "value": "multiple"
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ "id": "data_documents_single_documentSource",
273
+ "label": "Document source",
274
+ "value": "camunda",
275
+ "group": "message",
276
+ "binding": {
277
+ "name": "data.data_documents_single_documentSource",
278
+ "type": "zeebe:input"
279
+ },
280
+ "condition": {
281
+ "allMatch": [
282
+ {
283
+ "property": "data_documents_documentMode",
284
+ "equals": "single",
285
+ "type": "simple"
286
+ },
287
+ {
288
+ "property": "method",
289
+ "equals": "chat.postMessage",
290
+ "type": "simple"
291
+ }
292
+ ]
293
+ },
294
+ "type": "Dropdown",
295
+ "choices": [
296
+ {
297
+ "name": "Camunda Document",
298
+ "value": "camunda"
299
+ },
300
+ {
301
+ "name": "Inline Content",
302
+ "value": "inline"
303
+ },
304
+ {
305
+ "name": "From URL",
306
+ "value": "external"
307
+ }
308
+ ]
309
+ },
310
+ {
311
+ "id": "data_documents_single_camundaReference",
312
+ "label": "Camunda document",
313
+ "constraints": {
314
+ "notEmpty": true
315
+ },
316
+ "feel": "required",
317
+ "group": "message",
318
+ "binding": {
319
+ "name": "data.data_documents_single_camundaReference",
320
+ "type": "zeebe:input"
321
+ },
322
+ "condition": {
323
+ "allMatch": [
324
+ {
325
+ "property": "data_documents_documentMode",
326
+ "equals": "single",
327
+ "type": "simple"
328
+ },
329
+ {
330
+ "property": "data_documents_single_documentSource",
331
+ "equals": "camunda",
332
+ "type": "simple"
333
+ },
334
+ {
335
+ "property": "method",
336
+ "equals": "chat.postMessage",
337
+ "type": "simple"
338
+ }
339
+ ]
340
+ },
341
+ "type": "String"
342
+ },
343
+ {
344
+ "id": "data_documents_single_inline_content",
345
+ "label": "Content",
346
+ "constraints": {
347
+ "notEmpty": true
348
+ },
349
+ "feel": "optional",
350
+ "group": "message",
351
+ "binding": {
352
+ "name": "data.data_documents_single_inline_content",
353
+ "type": "zeebe:input"
354
+ },
355
+ "condition": {
356
+ "allMatch": [
357
+ {
358
+ "property": "data_documents_documentMode",
359
+ "equals": "single",
360
+ "type": "simple"
361
+ },
362
+ {
363
+ "property": "data_documents_single_documentSource",
364
+ "equals": "inline",
365
+ "type": "simple"
366
+ },
367
+ {
368
+ "property": "method",
369
+ "equals": "chat.postMessage",
370
+ "type": "simple"
371
+ }
372
+ ]
373
+ },
374
+ "type": "String"
375
+ },
376
+ {
377
+ "id": "data_documents_single_inline_fileName",
378
+ "label": "File name",
379
+ "feel": "optional",
380
+ "group": "message",
381
+ "binding": {
382
+ "name": "data.data_documents_single_inline_fileName",
383
+ "type": "zeebe:input"
384
+ },
385
+ "condition": {
386
+ "allMatch": [
387
+ {
388
+ "property": "data_documents_documentMode",
389
+ "equals": "single",
390
+ "type": "simple"
391
+ },
392
+ {
393
+ "property": "data_documents_single_documentSource",
394
+ "equals": "inline",
395
+ "type": "simple"
396
+ },
397
+ {
398
+ "property": "method",
399
+ "equals": "chat.postMessage",
400
+ "type": "simple"
401
+ }
402
+ ]
403
+ },
404
+ "type": "String"
405
+ },
406
+ {
407
+ "id": "data_documents_single_inline_contentType",
408
+ "label": "Content type",
409
+ "feel": "optional",
410
+ "group": "message",
411
+ "binding": {
412
+ "name": "data.data_documents_single_inline_contentType",
413
+ "type": "zeebe:input"
414
+ },
415
+ "condition": {
416
+ "allMatch": [
417
+ {
418
+ "property": "data_documents_documentMode",
419
+ "equals": "single",
420
+ "type": "simple"
421
+ },
422
+ {
423
+ "property": "data_documents_single_documentSource",
424
+ "equals": "inline",
425
+ "type": "simple"
426
+ },
427
+ {
428
+ "property": "method",
429
+ "equals": "chat.postMessage",
430
+ "type": "simple"
431
+ }
432
+ ]
433
+ },
434
+ "type": "String"
435
+ },
436
+ {
437
+ "id": "data_documents_single_external_url",
438
+ "label": "URL",
439
+ "constraints": {
440
+ "notEmpty": true
441
+ },
442
+ "feel": "optional",
443
+ "group": "message",
444
+ "binding": {
445
+ "name": "data.data_documents_single_external_url",
446
+ "type": "zeebe:input"
447
+ },
448
+ "condition": {
449
+ "allMatch": [
450
+ {
451
+ "property": "data_documents_documentMode",
452
+ "equals": "single",
453
+ "type": "simple"
454
+ },
455
+ {
456
+ "property": "data_documents_single_documentSource",
457
+ "equals": "external",
458
+ "type": "simple"
459
+ },
460
+ {
461
+ "property": "method",
462
+ "equals": "chat.postMessage",
463
+ "type": "simple"
464
+ }
465
+ ]
466
+ },
467
+ "type": "String"
468
+ },
469
+ {
470
+ "id": "data_documents_single_external_fileName",
471
+ "label": "File name",
472
+ "feel": "optional",
473
+ "group": "message",
474
+ "binding": {
475
+ "name": "data.data_documents_single_external_fileName",
476
+ "type": "zeebe:input"
477
+ },
478
+ "condition": {
479
+ "allMatch": [
480
+ {
481
+ "property": "data_documents_documentMode",
482
+ "equals": "single",
483
+ "type": "simple"
484
+ },
485
+ {
486
+ "property": "data_documents_single_documentSource",
487
+ "equals": "external",
488
+ "type": "simple"
489
+ },
490
+ {
491
+ "property": "method",
492
+ "equals": "chat.postMessage",
493
+ "type": "simple"
494
+ }
495
+ ]
496
+ },
497
+ "type": "String"
498
+ },
499
+ {
500
+ "id": "data_documents_multiple_expression",
501
+ "label": "Documents",
502
+ "constraints": {
503
+ "notEmpty": true
504
+ },
207
505
  "feel": "required",
208
506
  "group": "message",
507
+ "binding": {
508
+ "name": "data.data_documents_multiple_expression",
509
+ "type": "zeebe:input"
510
+ },
511
+ "condition": {
512
+ "allMatch": [
513
+ {
514
+ "property": "data_documents_documentMode",
515
+ "equals": "multiple",
516
+ "type": "simple"
517
+ },
518
+ {
519
+ "property": "method",
520
+ "equals": "chat.postMessage",
521
+ "type": "simple"
522
+ }
523
+ ]
524
+ },
525
+ "type": "String"
526
+ },
527
+ {
528
+ "id": "data.documents",
529
+ "value": "=if data_documents_documentMode = \"multiple\" then data_documents_multiple_expression else if data_documents_documentMode = \"single\" then (if data_documents_single_documentSource = \"camunda\" then [data_documents_single_camundaReference] else if data_documents_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: data_documents_single_inline_content, name: data_documents_single_inline_fileName, contentType: data_documents_single_inline_contentType }] else if data_documents_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: data_documents_single_external_url, name: data_documents_single_external_fileName }] else null) else null",
530
+ "group": "message",
209
531
  "binding": {
210
532
  "name": "data.documents",
211
533
  "type": "zeebe:input"
@@ -215,7 +537,7 @@
215
537
  "equals": "chat.postMessage",
216
538
  "type": "simple"
217
539
  },
218
- "type": "String"
540
+ "type": "Hidden"
219
541
  },
220
542
  {
221
543
  "id": "data.channel",
@@ -431,10 +753,181 @@
431
753
  },
432
754
  "type": "String"
433
755
  },
756
+ {
757
+ "id": "reaction.channel",
758
+ "label": "Channel",
759
+ "description": "Channel ID of the message to react to",
760
+ "optional": false,
761
+ "constraints": {
762
+ "notEmpty": true
763
+ },
764
+ "feel": "optional",
765
+ "group": "reaction",
766
+ "binding": {
767
+ "name": "data.channel",
768
+ "type": "zeebe:input"
769
+ },
770
+ "condition": {
771
+ "property": "method",
772
+ "equals": "reactions.add",
773
+ "type": "simple"
774
+ },
775
+ "type": "String"
776
+ },
777
+ {
778
+ "id": "data.emoji",
779
+ "label": "Emoji name",
780
+ "description": "Emoji name (e.g. eyes)",
781
+ "optional": false,
782
+ "constraints": {
783
+ "notEmpty": true
784
+ },
785
+ "feel": "optional",
786
+ "group": "reaction",
787
+ "binding": {
788
+ "name": "data.emoji",
789
+ "type": "zeebe:input"
790
+ },
791
+ "condition": {
792
+ "property": "method",
793
+ "equals": "reactions.add",
794
+ "type": "simple"
795
+ },
796
+ "type": "String"
797
+ },
798
+ {
799
+ "id": "data.timestamp",
800
+ "label": "Message timestamp",
801
+ "description": "Timestamp of the Slack message to react to",
802
+ "optional": false,
803
+ "constraints": {
804
+ "notEmpty": true
805
+ },
806
+ "feel": "required",
807
+ "group": "reaction",
808
+ "binding": {
809
+ "name": "data.timestamp",
810
+ "type": "zeebe:input"
811
+ },
812
+ "condition": {
813
+ "property": "method",
814
+ "equals": "reactions.add",
815
+ "type": "simple"
816
+ },
817
+ "type": "String"
818
+ },
819
+ {
820
+ "id": "pinMessage.channel",
821
+ "label": "Channel",
822
+ "description": "Channel ID of the message to pin",
823
+ "optional": false,
824
+ "constraints": {
825
+ "notEmpty": true
826
+ },
827
+ "feel": "optional",
828
+ "group": "pinMessage",
829
+ "binding": {
830
+ "name": "data.channel",
831
+ "type": "zeebe:input"
832
+ },
833
+ "condition": {
834
+ "property": "method",
835
+ "equals": "pins.add",
836
+ "type": "simple"
837
+ },
838
+ "type": "String"
839
+ },
840
+ {
841
+ "id": "pinMessage.timestamp",
842
+ "label": "Message timestamp",
843
+ "description": "Timestamp of the Slack message to pin",
844
+ "optional": false,
845
+ "constraints": {
846
+ "notEmpty": true
847
+ },
848
+ "feel": "required",
849
+ "group": "pinMessage",
850
+ "binding": {
851
+ "name": "data.timestamp",
852
+ "type": "zeebe:input"
853
+ },
854
+ "condition": {
855
+ "property": "method",
856
+ "equals": "pins.add",
857
+ "type": "simple"
858
+ },
859
+ "type": "String"
860
+ },
861
+ {
862
+ "id": "unpinMessage.channel",
863
+ "label": "Channel",
864
+ "description": "Channel ID of the message to unpin",
865
+ "optional": false,
866
+ "constraints": {
867
+ "notEmpty": true
868
+ },
869
+ "feel": "optional",
870
+ "group": "unpinMessage",
871
+ "binding": {
872
+ "name": "data.channel",
873
+ "type": "zeebe:input"
874
+ },
875
+ "condition": {
876
+ "property": "method",
877
+ "equals": "pins.remove",
878
+ "type": "simple"
879
+ },
880
+ "type": "String"
881
+ },
882
+ {
883
+ "id": "unpinMessage.timestamp",
884
+ "label": "Message timestamp",
885
+ "description": "Timestamp of the Slack message to unpin",
886
+ "optional": false,
887
+ "constraints": {
888
+ "notEmpty": true
889
+ },
890
+ "feel": "required",
891
+ "group": "unpinMessage",
892
+ "binding": {
893
+ "name": "data.timestamp",
894
+ "type": "zeebe:input"
895
+ },
896
+ "condition": {
897
+ "property": "method",
898
+ "equals": "pins.remove",
899
+ "type": "simple"
900
+ },
901
+ "type": "String"
902
+ },
903
+ {
904
+ "id": "version",
905
+ "label": "Version",
906
+ "description": "Version of the element template",
907
+ "value": "10",
908
+ "group": "connector",
909
+ "binding": {
910
+ "key": "elementTemplateVersion",
911
+ "type": "zeebe:taskHeader"
912
+ },
913
+ "type": "Hidden"
914
+ },
915
+ {
916
+ "id": "id",
917
+ "label": "ID",
918
+ "description": "ID of the element template",
919
+ "value": "io.camunda.connectors.Slack.v1",
920
+ "group": "connector",
921
+ "binding": {
922
+ "key": "elementTemplateId",
923
+ "type": "zeebe:taskHeader"
924
+ },
925
+ "type": "Hidden"
926
+ },
434
927
  {
435
928
  "id": "resultVariable",
436
929
  "label": "Result variable",
437
- "description": "Name of variable to store the response in",
930
+ "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>.",
438
931
  "group": "output",
439
932
  "binding": {
440
933
  "key": "resultVariable",
@@ -445,7 +938,8 @@
445
938
  {
446
939
  "id": "resultExpression",
447
940
  "label": "Result expression",
448
- "description": "Expression to map the response into process variables",
941
+ "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>.",
942
+ "value": "{\n myResponse: response\n // Use FEEL to extract values depending on message\n // type, e.g.,: myMessage: response.message.text\n}",
449
943
  "feel": "required",
450
944
  "group": "output",
451
945
  "binding": {
@@ -501,11 +995,8 @@
501
995
  "name": "Slack Outbound Connector",
502
996
  "id": "io.camunda.connectors.Slack.v1",
503
997
  "description": "Create a channel or send a message to a channel or user",
504
- "metadata": {
505
- "keywords": []
506
- },
507
998
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
508
- "version": 7,
999
+ "version": 5,
509
1000
  "category": {
510
1001
  "id": "connectors",
511
1002
  "name": "Connectors"
@@ -514,9 +1005,6 @@
514
1005
  "elementType": {
515
1006
  "value": "bpmn:ServiceTask"
516
1007
  },
517
- "engines": {
518
- "camunda": "^8.3"
519
- },
520
1008
  "groups": [
521
1009
  {
522
1010
  "id": "authentication",
@@ -538,14 +1026,6 @@
538
1026
  "id": "invite",
539
1027
  "label": "Invite"
540
1028
  },
541
- {
542
- "id": "reaction",
543
- "label": "Reaction"
544
- },
545
- {
546
- "id": "connector",
547
- "label": "Connector"
548
- },
549
1029
  {
550
1030
  "id": "output",
551
1031
  "label": "Output mapping"
@@ -605,10 +1085,6 @@
605
1085
  {
606
1086
  "name": "Invite to channel",
607
1087
  "value": "conversations.invite"
608
- },
609
- {
610
- "name": "Add reaction",
611
- "value": "reactions.add"
612
1088
  }
613
1089
  ]
614
1090
  },
@@ -708,24 +1184,6 @@
708
1184
  },
709
1185
  "type": "String"
710
1186
  },
711
- {
712
- "id": "data.documents",
713
- "label": "attachments",
714
- "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",
715
- "optional": true,
716
- "feel": "required",
717
- "group": "message",
718
- "binding": {
719
- "name": "data.documents",
720
- "type": "zeebe:input"
721
- },
722
- "condition": {
723
- "property": "method",
724
- "equals": "chat.postMessage",
725
- "type": "simple"
726
- },
727
- "type": "String"
728
- },
729
1187
  {
730
1188
  "id": "data.channel",
731
1189
  "label": "Channel/user name/email",
@@ -941,112 +1399,25 @@
941
1399
  "type": "String"
942
1400
  },
943
1401
  {
944
- "id": "reaction.channel",
945
- "label": "Channel",
946
- "description": "Channel ID of the message to react to",
947
- "optional": false,
948
- "constraints": {
949
- "notEmpty": true
950
- },
951
- "feel": "optional",
952
- "group": "reaction",
1402
+ "id": "resultVariable",
1403
+ "label": "Result variable",
1404
+ "description": "Name of variable to store the response in",
1405
+ "group": "output",
953
1406
  "binding": {
954
- "name": "data.channel",
955
- "type": "zeebe:input"
956
- },
957
- "condition": {
958
- "property": "method",
959
- "equals": "reactions.add",
960
- "type": "simple"
1407
+ "key": "resultVariable",
1408
+ "type": "zeebe:taskHeader"
961
1409
  },
962
1410
  "type": "String"
963
1411
  },
964
1412
  {
965
- "id": "data.emoji",
966
- "label": "Emoji name",
967
- "description": "Emoji name (e.g. eyes)",
968
- "optional": false,
969
- "constraints": {
970
- "notEmpty": true
971
- },
972
- "feel": "optional",
973
- "group": "reaction",
1413
+ "id": "resultExpression",
1414
+ "label": "Result expression",
1415
+ "description": "Expression to map the response into process variables",
1416
+ "feel": "required",
1417
+ "group": "output",
974
1418
  "binding": {
975
- "name": "data.emoji",
976
- "type": "zeebe:input"
977
- },
978
- "condition": {
979
- "property": "method",
980
- "equals": "reactions.add",
981
- "type": "simple"
982
- },
983
- "type": "String"
984
- },
985
- {
986
- "id": "data.timestamp",
987
- "label": "Message timestamp",
988
- "description": "Timestamp of the Slack message to react to",
989
- "optional": false,
990
- "constraints": {
991
- "notEmpty": true
992
- },
993
- "feel": "required",
994
- "group": "reaction",
995
- "binding": {
996
- "name": "data.timestamp",
997
- "type": "zeebe:input"
998
- },
999
- "condition": {
1000
- "property": "method",
1001
- "equals": "reactions.add",
1002
- "type": "simple"
1003
- },
1004
- "type": "String"
1005
- },
1006
- {
1007
- "id": "version",
1008
- "label": "Version",
1009
- "description": "Version of the element template",
1010
- "value": "7",
1011
- "group": "connector",
1012
- "binding": {
1013
- "key": "elementTemplateVersion",
1014
- "type": "zeebe:taskHeader"
1015
- },
1016
- "type": "Hidden"
1017
- },
1018
- {
1019
- "id": "id",
1020
- "label": "ID",
1021
- "description": "ID of the element template",
1022
- "value": "io.camunda.connectors.Slack.v1",
1023
- "group": "connector",
1024
- "binding": {
1025
- "key": "elementTemplateId",
1026
- "type": "zeebe:taskHeader"
1027
- },
1028
- "type": "Hidden"
1029
- },
1030
- {
1031
- "id": "resultVariable",
1032
- "label": "Result variable",
1033
- "description": "Name of variable to store the response in",
1034
- "group": "output",
1035
- "binding": {
1036
- "key": "resultVariable",
1037
- "type": "zeebe:taskHeader"
1038
- },
1039
- "type": "String"
1040
- },
1041
- {
1042
- "id": "resultExpression",
1043
- "label": "Result expression",
1044
- "description": "Expression to map the response into process variables",
1045
- "feel": "required",
1046
- "group": "output",
1047
- "binding": {
1048
- "key": "resultExpression",
1049
- "type": "zeebe:taskHeader"
1419
+ "key": "resultExpression",
1420
+ "type": "zeebe:taskHeader"
1050
1421
  },
1051
1422
  "type": "Text"
1052
1423
  },
@@ -1080,6 +1451,7 @@
1080
1451
  "label": "Retry backoff",
1081
1452
  "description": "ISO-8601 duration to wait between retries",
1082
1453
  "value": "PT0S",
1454
+ "feel": "optional",
1083
1455
  "group": "retries",
1084
1456
  "binding": {
1085
1457
  "key": "retryBackoff",
@@ -1090,6 +1462,9 @@
1090
1462
  ],
1091
1463
  "icon": {
1092
1464
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1465
+ },
1466
+ "engines": {
1467
+ "camunda": "^8.6"
1093
1468
  }
1094
1469
  },
1095
1470
  {
@@ -1097,8 +1472,11 @@
1097
1472
  "name": "Slack Outbound Connector",
1098
1473
  "id": "io.camunda.connectors.Slack.v1",
1099
1474
  "description": "Create a channel or send a message to a channel or user",
1475
+ "metadata": {
1476
+ "keywords": []
1477
+ },
1100
1478
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1101
- "version": 3,
1479
+ "version": 6,
1102
1480
  "category": {
1103
1481
  "id": "connectors",
1104
1482
  "name": "Connectors"
@@ -1107,6 +1485,9 @@
1107
1485
  "elementType": {
1108
1486
  "value": "bpmn:ServiceTask"
1109
1487
  },
1488
+ "engines": {
1489
+ "camunda": "^8.3"
1490
+ },
1110
1491
  "groups": [
1111
1492
  {
1112
1493
  "id": "authentication",
@@ -1286,6 +1667,24 @@
1286
1667
  },
1287
1668
  "type": "String"
1288
1669
  },
1670
+ {
1671
+ "id": "data.documents",
1672
+ "label": "attachments",
1673
+ "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",
1674
+ "optional": true,
1675
+ "feel": "required",
1676
+ "group": "message",
1677
+ "binding": {
1678
+ "name": "data.documents",
1679
+ "type": "zeebe:input"
1680
+ },
1681
+ "condition": {
1682
+ "property": "method",
1683
+ "equals": "chat.postMessage",
1684
+ "type": "simple"
1685
+ },
1686
+ "type": "String"
1687
+ },
1289
1688
  {
1290
1689
  "id": "data.channel",
1291
1690
  "label": "Channel/user name/email",
@@ -1306,6 +1705,23 @@
1306
1705
  },
1307
1706
  "type": "String"
1308
1707
  },
1708
+ {
1709
+ "id": "data.thread",
1710
+ "label": "Thread",
1711
+ "optional": true,
1712
+ "feel": "optional",
1713
+ "group": "channel",
1714
+ "binding": {
1715
+ "name": "data.thread",
1716
+ "type": "zeebe:input"
1717
+ },
1718
+ "condition": {
1719
+ "property": "method",
1720
+ "equals": "chat.postMessage",
1721
+ "type": "simple"
1722
+ },
1723
+ "type": "String"
1724
+ },
1309
1725
  {
1310
1726
  "id": "data.newChannelName",
1311
1727
  "label": "Channel name",
@@ -1313,7 +1729,7 @@
1313
1729
  "constraints": {
1314
1730
  "notEmpty": true,
1315
1731
  "pattern": {
1316
- "value": "^(=|[-_a-z0-9]{1,80}$)",
1732
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1317
1733
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1318
1734
  }
1319
1735
  },
@@ -1360,6 +1776,42 @@
1360
1776
  }
1361
1777
  ]
1362
1778
  },
1779
+ {
1780
+ "id": "data.channelType",
1781
+ "label": "Invite By",
1782
+ "optional": false,
1783
+ "value": "channelId",
1784
+ "group": "invite",
1785
+ "binding": {
1786
+ "name": "data.channelType",
1787
+ "type": "zeebe:input"
1788
+ },
1789
+ "condition": {
1790
+ "allMatch": [
1791
+ {
1792
+ "property": "method",
1793
+ "equals": "conversations.invite",
1794
+ "type": "simple"
1795
+ },
1796
+ {
1797
+ "property": "method",
1798
+ "equals": "conversations.invite",
1799
+ "type": "simple"
1800
+ }
1801
+ ]
1802
+ },
1803
+ "type": "Dropdown",
1804
+ "choices": [
1805
+ {
1806
+ "name": "Channel ID",
1807
+ "value": "channelId"
1808
+ },
1809
+ {
1810
+ "name": "Channel name",
1811
+ "value": "channelName"
1812
+ }
1813
+ ]
1814
+ },
1363
1815
  {
1364
1816
  "id": "data.channelName",
1365
1817
  "label": "Channel name",
@@ -1367,7 +1819,7 @@
1367
1819
  "constraints": {
1368
1820
  "notEmpty": true,
1369
1821
  "pattern": {
1370
- "value": "^(=|[-_a-z0-9]{1,80}$)",
1822
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1371
1823
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1372
1824
  }
1373
1825
  },
@@ -1378,9 +1830,51 @@
1378
1830
  "type": "zeebe:input"
1379
1831
  },
1380
1832
  "condition": {
1381
- "property": "method",
1382
- "equals": "conversations.invite",
1383
- "type": "simple"
1833
+ "allMatch": [
1834
+ {
1835
+ "property": "data.channelType",
1836
+ "equals": "channelName",
1837
+ "type": "simple"
1838
+ },
1839
+ {
1840
+ "property": "method",
1841
+ "equals": "conversations.invite",
1842
+ "type": "simple"
1843
+ }
1844
+ ]
1845
+ },
1846
+ "type": "String"
1847
+ },
1848
+ {
1849
+ "id": "data.channelId",
1850
+ "label": "Channel ID",
1851
+ "optional": false,
1852
+ "constraints": {
1853
+ "notEmpty": true,
1854
+ "pattern": {
1855
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1856
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1857
+ }
1858
+ },
1859
+ "feel": "optional",
1860
+ "group": "invite",
1861
+ "binding": {
1862
+ "name": "data.channelId",
1863
+ "type": "zeebe:input"
1864
+ },
1865
+ "condition": {
1866
+ "allMatch": [
1867
+ {
1868
+ "property": "data.channelType",
1869
+ "equals": "channelId",
1870
+ "type": "simple"
1871
+ },
1872
+ {
1873
+ "property": "method",
1874
+ "equals": "conversations.invite",
1875
+ "type": "simple"
1876
+ }
1877
+ ]
1384
1878
  },
1385
1879
  "type": "String"
1386
1880
  },
@@ -1458,7 +1952,6 @@
1458
1952
  "label": "Retry backoff",
1459
1953
  "description": "ISO-8601 duration to wait between retries",
1460
1954
  "value": "PT0S",
1461
- "feel": "optional",
1462
1955
  "group": "retries",
1463
1956
  "binding": {
1464
1957
  "key": "retryBackoff",
@@ -1469,18 +1962,18 @@
1469
1962
  ],
1470
1963
  "icon": {
1471
1964
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1472
- },
1473
- "engines": {
1474
- "camunda": "^8.5"
1475
1965
  }
1476
1966
  },
1477
1967
  {
1478
1968
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1479
- "name": "Slack Outbound Connector",
1969
+ "name": "Slack connector",
1480
1970
  "id": "io.camunda.connectors.Slack.v1",
1481
- "version": 2,
1971
+ "deprecated": {
1972
+ "message": "Replace with 'Slack connector' template.",
1973
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1974
+ },
1482
1975
  "description": "Create a channel or send a message to a channel or user",
1483
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1976
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
1484
1977
  "icon": {
1485
1978
  "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"
1486
1979
  },
@@ -1665,7 +2158,7 @@
1665
2158
  "constraints": {
1666
2159
  "notEmpty": true,
1667
2160
  "pattern": {
1668
- "value": "^(=|[-_a-z0-9]{1,80}$)",
2161
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1669
2162
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1670
2163
  }
1671
2164
  },
@@ -1724,24 +2217,28 @@
1724
2217
  "key": "errorExpression"
1725
2218
  }
1726
2219
  }
1727
- ],
1728
- "engines": {
1729
- "camunda": "^8.2"
1730
- }
2220
+ ]
1731
2221
  },
1732
2222
  {
1733
2223
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1734
- "name": "Slack connector",
2224
+ "name": "Slack Outbound Connector",
1735
2225
  "id": "io.camunda.connectors.Slack.v1",
1736
- "deprecated": {
1737
- "message": "Replace with 'Slack connector' template.",
1738
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1739
- },
1740
2226
  "description": "Create a channel or send a message to a channel or user",
1741
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
1742
- "icon": {
1743
- "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"
1744
- },
2227
+ "keywords": [
2228
+ "post message",
2229
+ "create channel",
2230
+ "invite to channel",
2231
+ "add reaction",
2232
+ "pin message",
2233
+ "unpin message",
2234
+ "send message",
2235
+ "channel",
2236
+ "messaging",
2237
+ "chat",
2238
+ "notification"
2239
+ ],
2240
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
2241
+ "version": 9,
1745
2242
  "category": {
1746
2243
  "id": "connectors",
1747
2244
  "name": "Connectors"
@@ -1750,15 +2247,18 @@
1750
2247
  "elementType": {
1751
2248
  "value": "bpmn:ServiceTask"
1752
2249
  },
2250
+ "engines": {
2251
+ "camunda": "^8.3"
2252
+ },
1753
2253
  "groups": [
1754
- {
1755
- "id": "method",
1756
- "label": "Method"
1757
- },
1758
2254
  {
1759
2255
  "id": "authentication",
1760
2256
  "label": "Authentication"
1761
2257
  },
2258
+ {
2259
+ "id": "method",
2260
+ "label": "Method"
2261
+ },
1762
2262
  {
1763
2263
  "id": "message",
1764
2264
  "label": "Message"
@@ -1772,253 +2272,20 @@
1772
2272
  "label": "Invite"
1773
2273
  },
1774
2274
  {
1775
- "id": "output",
1776
- "label": "Output mapping"
2275
+ "id": "reaction",
2276
+ "label": "Reaction"
1777
2277
  },
1778
2278
  {
1779
- "id": "errors",
1780
- "label": "Error handling"
1781
- }
1782
- ],
1783
- "properties": [
1784
- {
1785
- "type": "Hidden",
1786
- "value": "io.camunda:slack:1",
1787
- "binding": {
1788
- "type": "zeebe:taskDefinition",
1789
- "property": "type"
1790
- }
1791
- },
1792
- {
1793
- "label": "Method",
1794
- "group": "method",
1795
- "id": "method",
1796
- "type": "Dropdown",
1797
- "value": "chat.postMessage",
1798
- "choices": [
1799
- {
1800
- "name": "Post message",
1801
- "value": "chat.postMessage"
1802
- },
1803
- {
1804
- "name": "Create channel",
1805
- "value": "conversations.create"
1806
- },
1807
- {
1808
- "name": "Invite to channel",
1809
- "value": "conversations.invite"
1810
- }
1811
- ],
1812
- "binding": {
1813
- "type": "zeebe:input",
1814
- "name": "method"
1815
- }
1816
- },
1817
- {
1818
- "label": "OAuth token",
1819
- "group": "authentication",
1820
- "type": "String",
1821
- "feel": "optional",
1822
- "binding": {
1823
- "type": "zeebe:input",
1824
- "name": "token"
1825
- },
1826
- "constraints": {
1827
- "notEmpty": true
1828
- }
1829
- },
1830
- {
1831
- "label": "Channel/user name/email",
1832
- "group": "channel",
1833
- "type": "String",
1834
- "feel": "optional",
1835
- "binding": {
1836
- "type": "zeebe:input",
1837
- "name": "data.channel"
1838
- },
1839
- "constraints": {
1840
- "notEmpty": true,
1841
- "pattern": {
1842
- "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
1843
- "message": "Must be a #channel, @user, email or FEEL expression."
1844
- }
1845
- },
1846
- "condition": {
1847
- "property": "method",
1848
- "equals": "chat.postMessage"
1849
- }
1850
- },
1851
- {
1852
- "label": "New channel name",
1853
- "group": "channel",
1854
- "type": "String",
1855
- "feel": "optional",
1856
- "binding": {
1857
- "type": "zeebe:input",
1858
- "name": "data.newChannelName"
1859
- },
1860
- "constraints": {
1861
- "notEmpty": true,
1862
- "pattern": {
1863
- "value": "^(=|([-_a-z0-9]{1,80}$))",
1864
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1865
- }
1866
- },
1867
- "condition": {
1868
- "property": "method",
1869
- "equals": "conversations.create"
1870
- }
1871
- },
1872
- {
1873
- "label": "Visibility",
1874
- "group": "channel",
1875
- "type": "Dropdown",
1876
- "value": "PUBLIC",
1877
- "optional": false,
1878
- "choices": [
1879
- {
1880
- "name": "Private",
1881
- "value": "PRIVATE"
1882
- },
1883
- {
1884
- "name": "Public",
1885
- "value": "PUBLIC"
1886
- }
1887
- ],
1888
- "binding": {
1889
- "type": "zeebe:input",
1890
- "name": "data.visibility"
1891
- },
1892
- "condition": {
1893
- "property": "method",
1894
- "equals": "conversations.create"
1895
- }
1896
- },
1897
- {
1898
- "label": "Message",
1899
- "group": "message",
1900
- "type": "Text",
1901
- "feel": "optional",
1902
- "binding": {
1903
- "type": "zeebe:input",
1904
- "name": "data.text"
1905
- },
1906
- "constraints": {
1907
- "notEmpty": true
1908
- },
1909
- "condition": {
1910
- "property": "method",
1911
- "equals": "chat.postMessage"
1912
- }
1913
- },
1914
- {
1915
- "label": "Channel name",
1916
- "group": "invite",
1917
- "type": "String",
1918
- "feel": "optional",
1919
- "binding": {
1920
- "type": "zeebe:input",
1921
- "name": "data.channelName"
1922
- },
1923
- "constraints": {
1924
- "notEmpty": true,
1925
- "pattern": {
1926
- "value": "^(=|([-_a-z0-9]{1,80}$))",
1927
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1928
- }
1929
- },
1930
- "condition": {
1931
- "property": "method",
1932
- "equals": "conversations.invite"
1933
- }
1934
- },
1935
- {
1936
- "label": "Users",
1937
- "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
1938
- "group": "invite",
1939
- "type": "String",
1940
- "feel": "optional",
1941
- "binding": {
1942
- "type": "zeebe:input",
1943
- "name": "data.users"
1944
- },
1945
- "constraints": {
1946
- "notEmpty": true
1947
- },
1948
- "condition": {
1949
- "property": "method",
1950
- "equals": "conversations.invite"
1951
- }
1952
- },
1953
- {
1954
- "label": "Result variable",
1955
- "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>",
1956
- "group": "output",
1957
- "type": "String",
1958
- "binding": {
1959
- "type": "zeebe:taskHeader",
1960
- "key": "resultVariable"
1961
- }
1962
- },
1963
- {
1964
- "label": "Result expression",
1965
- "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>",
1966
- "group": "output",
1967
- "type": "Text",
1968
- "feel": "required",
1969
- "binding": {
1970
- "type": "zeebe:taskHeader",
1971
- "key": "resultExpression"
1972
- }
1973
- },
1974
- {
1975
- "label": "Error expression",
1976
- "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>",
1977
- "group": "errors",
1978
- "type": "Text",
1979
- "feel": "required",
1980
- "binding": {
1981
- "type": "zeebe:taskHeader",
1982
- "key": "errorExpression"
1983
- }
1984
- }
1985
- ]
1986
- },
1987
- {
1988
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1989
- "name": "Slack Outbound Connector",
1990
- "id": "io.camunda.connectors.Slack.v1",
1991
- "description": "Create a channel or send a message to a channel or user",
1992
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1993
- "version": 4,
1994
- "category": {
1995
- "id": "connectors",
1996
- "name": "Connectors"
1997
- },
1998
- "appliesTo": ["bpmn:Task"],
1999
- "elementType": {
2000
- "value": "bpmn:ServiceTask"
2001
- },
2002
- "groups": [
2003
- {
2004
- "id": "authentication",
2005
- "label": "Authentication"
2006
- },
2007
- {
2008
- "id": "method",
2009
- "label": "Method"
2010
- },
2011
- {
2012
- "id": "message",
2013
- "label": "Message"
2279
+ "id": "pinMessage",
2280
+ "label": "Pin Message"
2014
2281
  },
2015
2282
  {
2016
- "id": "channel",
2017
- "label": "Channel"
2283
+ "id": "unpinMessage",
2284
+ "label": "Unpin Message"
2018
2285
  },
2019
2286
  {
2020
- "id": "invite",
2021
- "label": "Invite"
2287
+ "id": "connector",
2288
+ "label": "Connector"
2022
2289
  },
2023
2290
  {
2024
2291
  "id": "output",
@@ -2079,6 +2346,18 @@
2079
2346
  {
2080
2347
  "name": "Invite to channel",
2081
2348
  "value": "conversations.invite"
2349
+ },
2350
+ {
2351
+ "name": "Add reaction",
2352
+ "value": "reactions.add"
2353
+ },
2354
+ {
2355
+ "name": "Pin Message",
2356
+ "value": "pins.add"
2357
+ },
2358
+ {
2359
+ "name": "Unpin Message",
2360
+ "value": "pins.remove"
2082
2361
  }
2083
2362
  ]
2084
2363
  },
@@ -2179,12 +2458,30 @@
2179
2458
  "type": "String"
2180
2459
  },
2181
2460
  {
2182
- "id": "data.channel",
2183
- "label": "Channel/user name/email",
2184
- "optional": false,
2185
- "constraints": {
2186
- "notEmpty": true
2187
- },
2461
+ "id": "data.documents",
2462
+ "label": "attachments",
2463
+ "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",
2464
+ "optional": true,
2465
+ "feel": "required",
2466
+ "group": "message",
2467
+ "binding": {
2468
+ "name": "data.documents",
2469
+ "type": "zeebe:input"
2470
+ },
2471
+ "condition": {
2472
+ "property": "method",
2473
+ "equals": "chat.postMessage",
2474
+ "type": "simple"
2475
+ },
2476
+ "type": "String"
2477
+ },
2478
+ {
2479
+ "id": "data.channel",
2480
+ "label": "Channel/user name/email",
2481
+ "optional": false,
2482
+ "constraints": {
2483
+ "notEmpty": true
2484
+ },
2188
2485
  "feel": "optional",
2189
2486
  "group": "channel",
2190
2487
  "binding": {
@@ -2269,6 +2566,42 @@
2269
2566
  }
2270
2567
  ]
2271
2568
  },
2569
+ {
2570
+ "id": "data.channelType",
2571
+ "label": "Invite By",
2572
+ "optional": false,
2573
+ "value": "channelId",
2574
+ "group": "invite",
2575
+ "binding": {
2576
+ "name": "data.channelType",
2577
+ "type": "zeebe:input"
2578
+ },
2579
+ "condition": {
2580
+ "allMatch": [
2581
+ {
2582
+ "property": "method",
2583
+ "equals": "conversations.invite",
2584
+ "type": "simple"
2585
+ },
2586
+ {
2587
+ "property": "method",
2588
+ "equals": "conversations.invite",
2589
+ "type": "simple"
2590
+ }
2591
+ ]
2592
+ },
2593
+ "type": "Dropdown",
2594
+ "choices": [
2595
+ {
2596
+ "name": "Channel ID",
2597
+ "value": "channelId"
2598
+ },
2599
+ {
2600
+ "name": "Channel name",
2601
+ "value": "channelName"
2602
+ }
2603
+ ]
2604
+ },
2272
2605
  {
2273
2606
  "id": "data.channelName",
2274
2607
  "label": "Channel name",
@@ -2287,9 +2620,51 @@
2287
2620
  "type": "zeebe:input"
2288
2621
  },
2289
2622
  "condition": {
2290
- "property": "method",
2291
- "equals": "conversations.invite",
2292
- "type": "simple"
2623
+ "allMatch": [
2624
+ {
2625
+ "property": "data.channelType",
2626
+ "equals": "channelName",
2627
+ "type": "simple"
2628
+ },
2629
+ {
2630
+ "property": "method",
2631
+ "equals": "conversations.invite",
2632
+ "type": "simple"
2633
+ }
2634
+ ]
2635
+ },
2636
+ "type": "String"
2637
+ },
2638
+ {
2639
+ "id": "data.channelId",
2640
+ "label": "Channel ID",
2641
+ "optional": false,
2642
+ "constraints": {
2643
+ "notEmpty": true,
2644
+ "pattern": {
2645
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
2646
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
2647
+ }
2648
+ },
2649
+ "feel": "optional",
2650
+ "group": "invite",
2651
+ "binding": {
2652
+ "name": "data.channelId",
2653
+ "type": "zeebe:input"
2654
+ },
2655
+ "condition": {
2656
+ "allMatch": [
2657
+ {
2658
+ "property": "data.channelType",
2659
+ "equals": "channelId",
2660
+ "type": "simple"
2661
+ },
2662
+ {
2663
+ "property": "method",
2664
+ "equals": "conversations.invite",
2665
+ "type": "simple"
2666
+ }
2667
+ ]
2293
2668
  },
2294
2669
  "type": "String"
2295
2670
  },
@@ -2315,99 +2690,1517 @@
2315
2690
  "type": "String"
2316
2691
  },
2317
2692
  {
2318
- "id": "resultVariable",
2319
- "label": "Result variable",
2320
- "description": "Name of variable to store the response in",
2321
- "group": "output",
2693
+ "id": "reaction.channel",
2694
+ "label": "Channel",
2695
+ "description": "Channel ID of the message to react to",
2696
+ "optional": false,
2697
+ "constraints": {
2698
+ "notEmpty": true
2699
+ },
2700
+ "feel": "optional",
2701
+ "group": "reaction",
2322
2702
  "binding": {
2323
- "key": "resultVariable",
2324
- "type": "zeebe:taskHeader"
2703
+ "name": "data.channel",
2704
+ "type": "zeebe:input"
2705
+ },
2706
+ "condition": {
2707
+ "property": "method",
2708
+ "equals": "reactions.add",
2709
+ "type": "simple"
2325
2710
  },
2326
2711
  "type": "String"
2327
2712
  },
2328
2713
  {
2329
- "id": "resultExpression",
2330
- "label": "Result expression",
2331
- "description": "Expression to map the response into process variables",
2332
- "feel": "required",
2333
- "group": "output",
2714
+ "id": "data.emoji",
2715
+ "label": "Emoji name",
2716
+ "description": "Emoji name (e.g. eyes)",
2717
+ "optional": false,
2718
+ "constraints": {
2719
+ "notEmpty": true
2720
+ },
2721
+ "feel": "optional",
2722
+ "group": "reaction",
2334
2723
  "binding": {
2335
- "key": "resultExpression",
2336
- "type": "zeebe:taskHeader"
2724
+ "name": "data.emoji",
2725
+ "type": "zeebe:input"
2337
2726
  },
2338
- "type": "Text"
2727
+ "condition": {
2728
+ "property": "method",
2729
+ "equals": "reactions.add",
2730
+ "type": "simple"
2731
+ },
2732
+ "type": "String"
2339
2733
  },
2340
2734
  {
2341
- "id": "errorExpression",
2342
- "label": "Error expression",
2343
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2735
+ "id": "data.timestamp",
2736
+ "label": "Message timestamp",
2737
+ "description": "Timestamp of the Slack message to react to",
2738
+ "optional": false,
2739
+ "constraints": {
2740
+ "notEmpty": true
2741
+ },
2344
2742
  "feel": "required",
2345
- "group": "error",
2743
+ "group": "reaction",
2346
2744
  "binding": {
2347
- "key": "errorExpression",
2348
- "type": "zeebe:taskHeader"
2745
+ "name": "data.timestamp",
2746
+ "type": "zeebe:input"
2349
2747
  },
2350
- "type": "Text"
2748
+ "condition": {
2749
+ "property": "method",
2750
+ "equals": "reactions.add",
2751
+ "type": "simple"
2752
+ },
2753
+ "type": "String"
2351
2754
  },
2352
2755
  {
2353
- "id": "retryCount",
2354
- "label": "Retries",
2355
- "description": "Number of retries",
2356
- "value": "3",
2756
+ "id": "pinMessage.channel",
2757
+ "label": "Channel",
2758
+ "description": "Channel ID of the message to pin",
2759
+ "optional": false,
2760
+ "constraints": {
2761
+ "notEmpty": true
2762
+ },
2357
2763
  "feel": "optional",
2358
- "group": "retries",
2764
+ "group": "pinMessage",
2359
2765
  "binding": {
2360
- "property": "retries",
2361
- "type": "zeebe:taskDefinition"
2766
+ "name": "data.channel",
2767
+ "type": "zeebe:input"
2768
+ },
2769
+ "condition": {
2770
+ "property": "method",
2771
+ "equals": "pins.add",
2772
+ "type": "simple"
2362
2773
  },
2363
2774
  "type": "String"
2364
2775
  },
2365
2776
  {
2366
- "id": "retryBackoff",
2367
- "label": "Retry backoff",
2368
- "description": "ISO-8601 duration to wait between retries",
2369
- "value": "PT0S",
2370
- "feel": "optional",
2371
- "group": "retries",
2777
+ "id": "pinMessage.timestamp",
2778
+ "label": "Message timestamp",
2779
+ "description": "Timestamp of the Slack message to pin",
2780
+ "optional": false,
2781
+ "constraints": {
2782
+ "notEmpty": true
2783
+ },
2784
+ "feel": "required",
2785
+ "group": "pinMessage",
2372
2786
  "binding": {
2373
- "key": "retryBackoff",
2374
- "type": "zeebe:taskHeader"
2787
+ "name": "data.timestamp",
2788
+ "type": "zeebe:input"
2789
+ },
2790
+ "condition": {
2791
+ "property": "method",
2792
+ "equals": "pins.add",
2793
+ "type": "simple"
2375
2794
  },
2376
2795
  "type": "String"
2377
- }
2378
- ],
2379
- "icon": {
2380
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
2381
- },
2382
- "engines": {
2383
- "camunda": "^8.6"
2384
- }
2385
- },
2386
- {
2387
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2388
- "name": "Slack connector",
2389
- "id": "io.camunda.connectors.Slack.v1",
2390
- "version": 1,
2391
- "description": "Create a channel or send a message to a channel or user",
2392
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
2393
- "icon": {
2394
- "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"
2395
- },
2396
- "category": {
2397
- "id": "connectors",
2398
- "name": "Connectors"
2399
- },
2400
- "appliesTo": ["bpmn:Task"],
2401
- "elementType": {
2402
- "value": "bpmn:ServiceTask"
2403
- },
2404
- "groups": [
2405
- {
2406
- "id": "method",
2407
- "label": "Method"
2408
2796
  },
2409
2797
  {
2410
- "id": "authentication",
2798
+ "id": "unpinMessage.channel",
2799
+ "label": "Channel",
2800
+ "description": "Channel ID of the message to unpin",
2801
+ "optional": false,
2802
+ "constraints": {
2803
+ "notEmpty": true
2804
+ },
2805
+ "feel": "optional",
2806
+ "group": "unpinMessage",
2807
+ "binding": {
2808
+ "name": "data.channel",
2809
+ "type": "zeebe:input"
2810
+ },
2811
+ "condition": {
2812
+ "property": "method",
2813
+ "equals": "pins.remove",
2814
+ "type": "simple"
2815
+ },
2816
+ "type": "String"
2817
+ },
2818
+ {
2819
+ "id": "unpinMessage.timestamp",
2820
+ "label": "Message timestamp",
2821
+ "description": "Timestamp of the Slack message to unpin",
2822
+ "optional": false,
2823
+ "constraints": {
2824
+ "notEmpty": true
2825
+ },
2826
+ "feel": "required",
2827
+ "group": "unpinMessage",
2828
+ "binding": {
2829
+ "name": "data.timestamp",
2830
+ "type": "zeebe:input"
2831
+ },
2832
+ "condition": {
2833
+ "property": "method",
2834
+ "equals": "pins.remove",
2835
+ "type": "simple"
2836
+ },
2837
+ "type": "String"
2838
+ },
2839
+ {
2840
+ "id": "version",
2841
+ "label": "Version",
2842
+ "description": "Version of the element template",
2843
+ "value": "9",
2844
+ "group": "connector",
2845
+ "binding": {
2846
+ "key": "elementTemplateVersion",
2847
+ "type": "zeebe:taskHeader"
2848
+ },
2849
+ "type": "Hidden"
2850
+ },
2851
+ {
2852
+ "id": "id",
2853
+ "label": "ID",
2854
+ "description": "ID of the element template",
2855
+ "value": "io.camunda.connectors.Slack.v1",
2856
+ "group": "connector",
2857
+ "binding": {
2858
+ "key": "elementTemplateId",
2859
+ "type": "zeebe:taskHeader"
2860
+ },
2861
+ "type": "Hidden"
2862
+ },
2863
+ {
2864
+ "id": "resultVariable",
2865
+ "label": "Result variable",
2866
+ "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>.",
2867
+ "group": "output",
2868
+ "binding": {
2869
+ "key": "resultVariable",
2870
+ "type": "zeebe:taskHeader"
2871
+ },
2872
+ "type": "String"
2873
+ },
2874
+ {
2875
+ "id": "resultExpression",
2876
+ "label": "Result expression",
2877
+ "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>.",
2878
+ "value": "{\n myResponse: response\n // Use FEEL to extract values depending on message\n // type, e.g.,: myMessage: response.message.text\n}",
2879
+ "feel": "required",
2880
+ "group": "output",
2881
+ "binding": {
2882
+ "key": "resultExpression",
2883
+ "type": "zeebe:taskHeader"
2884
+ },
2885
+ "type": "Text"
2886
+ },
2887
+ {
2888
+ "id": "errorExpression",
2889
+ "label": "Error expression",
2890
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2891
+ "feel": "required",
2892
+ "group": "error",
2893
+ "binding": {
2894
+ "key": "errorExpression",
2895
+ "type": "zeebe:taskHeader"
2896
+ },
2897
+ "type": "Text"
2898
+ },
2899
+ {
2900
+ "id": "retryCount",
2901
+ "label": "Retries",
2902
+ "description": "Number of retries",
2903
+ "value": "3",
2904
+ "feel": "optional",
2905
+ "group": "retries",
2906
+ "binding": {
2907
+ "property": "retries",
2908
+ "type": "zeebe:taskDefinition"
2909
+ },
2910
+ "type": "String"
2911
+ },
2912
+ {
2913
+ "id": "retryBackoff",
2914
+ "label": "Retry backoff",
2915
+ "description": "ISO-8601 duration to wait between retries",
2916
+ "value": "PT0S",
2917
+ "group": "retries",
2918
+ "binding": {
2919
+ "key": "retryBackoff",
2920
+ "type": "zeebe:taskHeader"
2921
+ },
2922
+ "type": "String"
2923
+ }
2924
+ ],
2925
+ "icon": {
2926
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
2927
+ }
2928
+ },
2929
+ {
2930
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2931
+ "name": "Slack Outbound Connector",
2932
+ "id": "io.camunda.connectors.Slack.v1",
2933
+ "description": "Create a channel or send a message to a channel or user",
2934
+ "metadata": {
2935
+ "keywords": []
2936
+ },
2937
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
2938
+ "version": 7,
2939
+ "category": {
2940
+ "id": "connectors",
2941
+ "name": "Connectors"
2942
+ },
2943
+ "appliesTo": ["bpmn:Task"],
2944
+ "elementType": {
2945
+ "value": "bpmn:ServiceTask"
2946
+ },
2947
+ "engines": {
2948
+ "camunda": "^8.3"
2949
+ },
2950
+ "groups": [
2951
+ {
2952
+ "id": "authentication",
2953
+ "label": "Authentication"
2954
+ },
2955
+ {
2956
+ "id": "method",
2957
+ "label": "Method"
2958
+ },
2959
+ {
2960
+ "id": "message",
2961
+ "label": "Message"
2962
+ },
2963
+ {
2964
+ "id": "channel",
2965
+ "label": "Channel"
2966
+ },
2967
+ {
2968
+ "id": "invite",
2969
+ "label": "Invite"
2970
+ },
2971
+ {
2972
+ "id": "reaction",
2973
+ "label": "Reaction"
2974
+ },
2975
+ {
2976
+ "id": "connector",
2977
+ "label": "Connector"
2978
+ },
2979
+ {
2980
+ "id": "output",
2981
+ "label": "Output mapping"
2982
+ },
2983
+ {
2984
+ "id": "error",
2985
+ "label": "Error handling"
2986
+ },
2987
+ {
2988
+ "id": "retries",
2989
+ "label": "Retries"
2990
+ }
2991
+ ],
2992
+ "properties": [
2993
+ {
2994
+ "value": "io.camunda:slack:1",
2995
+ "binding": {
2996
+ "property": "type",
2997
+ "type": "zeebe:taskDefinition"
2998
+ },
2999
+ "type": "Hidden"
3000
+ },
3001
+ {
3002
+ "id": "token",
3003
+ "label": "OAuth token",
3004
+ "optional": false,
3005
+ "constraints": {
3006
+ "notEmpty": true
3007
+ },
3008
+ "feel": "optional",
3009
+ "group": "authentication",
3010
+ "binding": {
3011
+ "name": "token",
3012
+ "type": "zeebe:input"
3013
+ },
3014
+ "type": "String"
3015
+ },
3016
+ {
3017
+ "id": "method",
3018
+ "label": "Method",
3019
+ "value": "chat.postMessage",
3020
+ "group": "method",
3021
+ "binding": {
3022
+ "name": "method",
3023
+ "type": "zeebe:input"
3024
+ },
3025
+ "type": "Dropdown",
3026
+ "choices": [
3027
+ {
3028
+ "name": "Post message",
3029
+ "value": "chat.postMessage"
3030
+ },
3031
+ {
3032
+ "name": "Create channel",
3033
+ "value": "conversations.create"
3034
+ },
3035
+ {
3036
+ "name": "Invite to channel",
3037
+ "value": "conversations.invite"
3038
+ },
3039
+ {
3040
+ "name": "Add reaction",
3041
+ "value": "reactions.add"
3042
+ }
3043
+ ]
3044
+ },
3045
+ {
3046
+ "id": "data.messageType",
3047
+ "label": "Message type",
3048
+ "optional": false,
3049
+ "value": "plainText",
3050
+ "group": "message",
3051
+ "binding": {
3052
+ "name": "data.messageType",
3053
+ "type": "zeebe:input"
3054
+ },
3055
+ "condition": {
3056
+ "allMatch": [
3057
+ {
3058
+ "property": "method",
3059
+ "equals": "chat.postMessage",
3060
+ "type": "simple"
3061
+ },
3062
+ {
3063
+ "property": "method",
3064
+ "equals": "chat.postMessage",
3065
+ "type": "simple"
3066
+ }
3067
+ ]
3068
+ },
3069
+ "type": "Dropdown",
3070
+ "choices": [
3071
+ {
3072
+ "name": "Plain text",
3073
+ "value": "plainText"
3074
+ },
3075
+ {
3076
+ "name": "Message block",
3077
+ "value": "messageBlock"
3078
+ }
3079
+ ]
3080
+ },
3081
+ {
3082
+ "id": "data.text",
3083
+ "label": "Message",
3084
+ "optional": false,
3085
+ "constraints": {
3086
+ "notEmpty": true
3087
+ },
3088
+ "feel": "optional",
3089
+ "group": "message",
3090
+ "binding": {
3091
+ "name": "data.text",
3092
+ "type": "zeebe:input"
3093
+ },
3094
+ "condition": {
3095
+ "allMatch": [
3096
+ {
3097
+ "property": "data.messageType",
3098
+ "equals": "plainText",
3099
+ "type": "simple"
3100
+ },
3101
+ {
3102
+ "property": "method",
3103
+ "equals": "chat.postMessage",
3104
+ "type": "simple"
3105
+ }
3106
+ ]
3107
+ },
3108
+ "type": "Text"
3109
+ },
3110
+ {
3111
+ "id": "data.blockContent",
3112
+ "label": "Message block",
3113
+ "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>",
3114
+ "optional": false,
3115
+ "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]",
3116
+ "constraints": {
3117
+ "notEmpty": true
3118
+ },
3119
+ "feel": "required",
3120
+ "group": "message",
3121
+ "binding": {
3122
+ "name": "data.blockContent",
3123
+ "type": "zeebe:input"
3124
+ },
3125
+ "condition": {
3126
+ "allMatch": [
3127
+ {
3128
+ "property": "data.messageType",
3129
+ "equals": "messageBlock",
3130
+ "type": "simple"
3131
+ },
3132
+ {
3133
+ "property": "method",
3134
+ "equals": "chat.postMessage",
3135
+ "type": "simple"
3136
+ }
3137
+ ]
3138
+ },
3139
+ "type": "String"
3140
+ },
3141
+ {
3142
+ "id": "data.documents",
3143
+ "label": "attachments",
3144
+ "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",
3145
+ "optional": true,
3146
+ "feel": "required",
3147
+ "group": "message",
3148
+ "binding": {
3149
+ "name": "data.documents",
3150
+ "type": "zeebe:input"
3151
+ },
3152
+ "condition": {
3153
+ "property": "method",
3154
+ "equals": "chat.postMessage",
3155
+ "type": "simple"
3156
+ },
3157
+ "type": "String"
3158
+ },
3159
+ {
3160
+ "id": "data.channel",
3161
+ "label": "Channel/user name/email",
3162
+ "optional": false,
3163
+ "constraints": {
3164
+ "notEmpty": true
3165
+ },
3166
+ "feel": "optional",
3167
+ "group": "channel",
3168
+ "binding": {
3169
+ "name": "data.channel",
3170
+ "type": "zeebe:input"
3171
+ },
3172
+ "condition": {
3173
+ "property": "method",
3174
+ "equals": "chat.postMessage",
3175
+ "type": "simple"
3176
+ },
3177
+ "type": "String"
3178
+ },
3179
+ {
3180
+ "id": "data.thread",
3181
+ "label": "Thread",
3182
+ "optional": true,
3183
+ "feel": "optional",
3184
+ "group": "channel",
3185
+ "binding": {
3186
+ "name": "data.thread",
3187
+ "type": "zeebe:input"
3188
+ },
3189
+ "condition": {
3190
+ "property": "method",
3191
+ "equals": "chat.postMessage",
3192
+ "type": "simple"
3193
+ },
3194
+ "type": "String"
3195
+ },
3196
+ {
3197
+ "id": "data.newChannelName",
3198
+ "label": "Channel name",
3199
+ "optional": false,
3200
+ "constraints": {
3201
+ "notEmpty": true,
3202
+ "pattern": {
3203
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
3204
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3205
+ }
3206
+ },
3207
+ "feel": "optional",
3208
+ "group": "channel",
3209
+ "binding": {
3210
+ "name": "data.newChannelName",
3211
+ "type": "zeebe:input"
3212
+ },
3213
+ "condition": {
3214
+ "property": "method",
3215
+ "equals": "conversations.create",
3216
+ "type": "simple"
3217
+ },
3218
+ "type": "String"
3219
+ },
3220
+ {
3221
+ "id": "data.visibility",
3222
+ "label": "Visibility",
3223
+ "optional": false,
3224
+ "value": "PUBLIC",
3225
+ "constraints": {
3226
+ "notEmpty": true
3227
+ },
3228
+ "group": "channel",
3229
+ "binding": {
3230
+ "name": "data.visibility",
3231
+ "type": "zeebe:input"
3232
+ },
3233
+ "condition": {
3234
+ "property": "method",
3235
+ "equals": "conversations.create",
3236
+ "type": "simple"
3237
+ },
3238
+ "type": "Dropdown",
3239
+ "choices": [
3240
+ {
3241
+ "name": "Public",
3242
+ "value": "PUBLIC"
3243
+ },
3244
+ {
3245
+ "name": "Private",
3246
+ "value": "PRIVATE"
3247
+ }
3248
+ ]
3249
+ },
3250
+ {
3251
+ "id": "data.channelType",
3252
+ "label": "Invite By",
3253
+ "optional": false,
3254
+ "value": "channelId",
3255
+ "group": "invite",
3256
+ "binding": {
3257
+ "name": "data.channelType",
3258
+ "type": "zeebe:input"
3259
+ },
3260
+ "condition": {
3261
+ "allMatch": [
3262
+ {
3263
+ "property": "method",
3264
+ "equals": "conversations.invite",
3265
+ "type": "simple"
3266
+ },
3267
+ {
3268
+ "property": "method",
3269
+ "equals": "conversations.invite",
3270
+ "type": "simple"
3271
+ }
3272
+ ]
3273
+ },
3274
+ "type": "Dropdown",
3275
+ "choices": [
3276
+ {
3277
+ "name": "Channel ID",
3278
+ "value": "channelId"
3279
+ },
3280
+ {
3281
+ "name": "Channel name",
3282
+ "value": "channelName"
3283
+ }
3284
+ ]
3285
+ },
3286
+ {
3287
+ "id": "data.channelName",
3288
+ "label": "Channel name",
3289
+ "optional": false,
3290
+ "constraints": {
3291
+ "notEmpty": true,
3292
+ "pattern": {
3293
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
3294
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3295
+ }
3296
+ },
3297
+ "feel": "optional",
3298
+ "group": "invite",
3299
+ "binding": {
3300
+ "name": "data.channelName",
3301
+ "type": "zeebe:input"
3302
+ },
3303
+ "condition": {
3304
+ "allMatch": [
3305
+ {
3306
+ "property": "data.channelType",
3307
+ "equals": "channelName",
3308
+ "type": "simple"
3309
+ },
3310
+ {
3311
+ "property": "method",
3312
+ "equals": "conversations.invite",
3313
+ "type": "simple"
3314
+ }
3315
+ ]
3316
+ },
3317
+ "type": "String"
3318
+ },
3319
+ {
3320
+ "id": "data.channelId",
3321
+ "label": "Channel ID",
3322
+ "optional": false,
3323
+ "constraints": {
3324
+ "notEmpty": true,
3325
+ "pattern": {
3326
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
3327
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3328
+ }
3329
+ },
3330
+ "feel": "optional",
3331
+ "group": "invite",
3332
+ "binding": {
3333
+ "name": "data.channelId",
3334
+ "type": "zeebe:input"
3335
+ },
3336
+ "condition": {
3337
+ "allMatch": [
3338
+ {
3339
+ "property": "data.channelType",
3340
+ "equals": "channelId",
3341
+ "type": "simple"
3342
+ },
3343
+ {
3344
+ "property": "method",
3345
+ "equals": "conversations.invite",
3346
+ "type": "simple"
3347
+ }
3348
+ ]
3349
+ },
3350
+ "type": "String"
3351
+ },
3352
+ {
3353
+ "id": "data.users",
3354
+ "label": "Users",
3355
+ "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
3356
+ "optional": false,
3357
+ "constraints": {
3358
+ "notEmpty": true
3359
+ },
3360
+ "feel": "optional",
3361
+ "group": "invite",
3362
+ "binding": {
3363
+ "name": "data.users",
3364
+ "type": "zeebe:input"
3365
+ },
3366
+ "condition": {
3367
+ "property": "method",
3368
+ "equals": "conversations.invite",
3369
+ "type": "simple"
3370
+ },
3371
+ "type": "String"
3372
+ },
3373
+ {
3374
+ "id": "reaction.channel",
3375
+ "label": "Channel",
3376
+ "description": "Channel ID of the message to react to",
3377
+ "optional": false,
3378
+ "constraints": {
3379
+ "notEmpty": true
3380
+ },
3381
+ "feel": "optional",
3382
+ "group": "reaction",
3383
+ "binding": {
3384
+ "name": "data.channel",
3385
+ "type": "zeebe:input"
3386
+ },
3387
+ "condition": {
3388
+ "property": "method",
3389
+ "equals": "reactions.add",
3390
+ "type": "simple"
3391
+ },
3392
+ "type": "String"
3393
+ },
3394
+ {
3395
+ "id": "data.emoji",
3396
+ "label": "Emoji name",
3397
+ "description": "Emoji name (e.g. eyes)",
3398
+ "optional": false,
3399
+ "constraints": {
3400
+ "notEmpty": true
3401
+ },
3402
+ "feel": "optional",
3403
+ "group": "reaction",
3404
+ "binding": {
3405
+ "name": "data.emoji",
3406
+ "type": "zeebe:input"
3407
+ },
3408
+ "condition": {
3409
+ "property": "method",
3410
+ "equals": "reactions.add",
3411
+ "type": "simple"
3412
+ },
3413
+ "type": "String"
3414
+ },
3415
+ {
3416
+ "id": "data.timestamp",
3417
+ "label": "Message timestamp",
3418
+ "description": "Timestamp of the Slack message to react to",
3419
+ "optional": false,
3420
+ "constraints": {
3421
+ "notEmpty": true
3422
+ },
3423
+ "feel": "required",
3424
+ "group": "reaction",
3425
+ "binding": {
3426
+ "name": "data.timestamp",
3427
+ "type": "zeebe:input"
3428
+ },
3429
+ "condition": {
3430
+ "property": "method",
3431
+ "equals": "reactions.add",
3432
+ "type": "simple"
3433
+ },
3434
+ "type": "String"
3435
+ },
3436
+ {
3437
+ "id": "version",
3438
+ "label": "Version",
3439
+ "description": "Version of the element template",
3440
+ "value": "7",
3441
+ "group": "connector",
3442
+ "binding": {
3443
+ "key": "elementTemplateVersion",
3444
+ "type": "zeebe:taskHeader"
3445
+ },
3446
+ "type": "Hidden"
3447
+ },
3448
+ {
3449
+ "id": "id",
3450
+ "label": "ID",
3451
+ "description": "ID of the element template",
3452
+ "value": "io.camunda.connectors.Slack.v1",
3453
+ "group": "connector",
3454
+ "binding": {
3455
+ "key": "elementTemplateId",
3456
+ "type": "zeebe:taskHeader"
3457
+ },
3458
+ "type": "Hidden"
3459
+ },
3460
+ {
3461
+ "id": "resultVariable",
3462
+ "label": "Result variable",
3463
+ "description": "Name of variable to store the response in",
3464
+ "group": "output",
3465
+ "binding": {
3466
+ "key": "resultVariable",
3467
+ "type": "zeebe:taskHeader"
3468
+ },
3469
+ "type": "String"
3470
+ },
3471
+ {
3472
+ "id": "resultExpression",
3473
+ "label": "Result expression",
3474
+ "description": "Expression to map the response into process variables",
3475
+ "feel": "required",
3476
+ "group": "output",
3477
+ "binding": {
3478
+ "key": "resultExpression",
3479
+ "type": "zeebe:taskHeader"
3480
+ },
3481
+ "type": "Text"
3482
+ },
3483
+ {
3484
+ "id": "errorExpression",
3485
+ "label": "Error expression",
3486
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
3487
+ "feel": "required",
3488
+ "group": "error",
3489
+ "binding": {
3490
+ "key": "errorExpression",
3491
+ "type": "zeebe:taskHeader"
3492
+ },
3493
+ "type": "Text"
3494
+ },
3495
+ {
3496
+ "id": "retryCount",
3497
+ "label": "Retries",
3498
+ "description": "Number of retries",
3499
+ "value": "3",
3500
+ "feel": "optional",
3501
+ "group": "retries",
3502
+ "binding": {
3503
+ "property": "retries",
3504
+ "type": "zeebe:taskDefinition"
3505
+ },
3506
+ "type": "String"
3507
+ },
3508
+ {
3509
+ "id": "retryBackoff",
3510
+ "label": "Retry backoff",
3511
+ "description": "ISO-8601 duration to wait between retries",
3512
+ "value": "PT0S",
3513
+ "group": "retries",
3514
+ "binding": {
3515
+ "key": "retryBackoff",
3516
+ "type": "zeebe:taskHeader"
3517
+ },
3518
+ "type": "String"
3519
+ }
3520
+ ],
3521
+ "icon": {
3522
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
3523
+ }
3524
+ },
3525
+ {
3526
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3527
+ "name": "Slack Outbound Connector",
3528
+ "id": "io.camunda.connectors.Slack.v1",
3529
+ "description": "Create a channel or send a message to a channel or user",
3530
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
3531
+ "version": 4,
3532
+ "category": {
3533
+ "id": "connectors",
3534
+ "name": "Connectors"
3535
+ },
3536
+ "appliesTo": ["bpmn:Task"],
3537
+ "elementType": {
3538
+ "value": "bpmn:ServiceTask"
3539
+ },
3540
+ "groups": [
3541
+ {
3542
+ "id": "authentication",
3543
+ "label": "Authentication"
3544
+ },
3545
+ {
3546
+ "id": "method",
3547
+ "label": "Method"
3548
+ },
3549
+ {
3550
+ "id": "message",
3551
+ "label": "Message"
3552
+ },
3553
+ {
3554
+ "id": "channel",
3555
+ "label": "Channel"
3556
+ },
3557
+ {
3558
+ "id": "invite",
3559
+ "label": "Invite"
3560
+ },
3561
+ {
3562
+ "id": "output",
3563
+ "label": "Output mapping"
3564
+ },
3565
+ {
3566
+ "id": "error",
3567
+ "label": "Error handling"
3568
+ },
3569
+ {
3570
+ "id": "retries",
3571
+ "label": "Retries"
3572
+ }
3573
+ ],
3574
+ "properties": [
3575
+ {
3576
+ "value": "io.camunda:slack:1",
3577
+ "binding": {
3578
+ "property": "type",
3579
+ "type": "zeebe:taskDefinition"
3580
+ },
3581
+ "type": "Hidden"
3582
+ },
3583
+ {
3584
+ "id": "token",
3585
+ "label": "OAuth token",
3586
+ "optional": false,
3587
+ "constraints": {
3588
+ "notEmpty": true
3589
+ },
3590
+ "feel": "optional",
3591
+ "group": "authentication",
3592
+ "binding": {
3593
+ "name": "token",
3594
+ "type": "zeebe:input"
3595
+ },
3596
+ "type": "String"
3597
+ },
3598
+ {
3599
+ "id": "method",
3600
+ "label": "Method",
3601
+ "value": "chat.postMessage",
3602
+ "group": "method",
3603
+ "binding": {
3604
+ "name": "method",
3605
+ "type": "zeebe:input"
3606
+ },
3607
+ "type": "Dropdown",
3608
+ "choices": [
3609
+ {
3610
+ "name": "Post message",
3611
+ "value": "chat.postMessage"
3612
+ },
3613
+ {
3614
+ "name": "Create channel",
3615
+ "value": "conversations.create"
3616
+ },
3617
+ {
3618
+ "name": "Invite to channel",
3619
+ "value": "conversations.invite"
3620
+ }
3621
+ ]
3622
+ },
3623
+ {
3624
+ "id": "data.messageType",
3625
+ "label": "Message type",
3626
+ "optional": false,
3627
+ "value": "plainText",
3628
+ "group": "message",
3629
+ "binding": {
3630
+ "name": "data.messageType",
3631
+ "type": "zeebe:input"
3632
+ },
3633
+ "condition": {
3634
+ "allMatch": [
3635
+ {
3636
+ "property": "method",
3637
+ "equals": "chat.postMessage",
3638
+ "type": "simple"
3639
+ },
3640
+ {
3641
+ "property": "method",
3642
+ "equals": "chat.postMessage",
3643
+ "type": "simple"
3644
+ }
3645
+ ]
3646
+ },
3647
+ "type": "Dropdown",
3648
+ "choices": [
3649
+ {
3650
+ "name": "Plain text",
3651
+ "value": "plainText"
3652
+ },
3653
+ {
3654
+ "name": "Message block",
3655
+ "value": "messageBlock"
3656
+ }
3657
+ ]
3658
+ },
3659
+ {
3660
+ "id": "data.text",
3661
+ "label": "Message",
3662
+ "optional": false,
3663
+ "constraints": {
3664
+ "notEmpty": true
3665
+ },
3666
+ "feel": "optional",
3667
+ "group": "message",
3668
+ "binding": {
3669
+ "name": "data.text",
3670
+ "type": "zeebe:input"
3671
+ },
3672
+ "condition": {
3673
+ "allMatch": [
3674
+ {
3675
+ "property": "data.messageType",
3676
+ "equals": "plainText",
3677
+ "type": "simple"
3678
+ },
3679
+ {
3680
+ "property": "method",
3681
+ "equals": "chat.postMessage",
3682
+ "type": "simple"
3683
+ }
3684
+ ]
3685
+ },
3686
+ "type": "Text"
3687
+ },
3688
+ {
3689
+ "id": "data.blockContent",
3690
+ "label": "Message block",
3691
+ "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>",
3692
+ "optional": false,
3693
+ "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]",
3694
+ "constraints": {
3695
+ "notEmpty": true
3696
+ },
3697
+ "feel": "required",
3698
+ "group": "message",
3699
+ "binding": {
3700
+ "name": "data.blockContent",
3701
+ "type": "zeebe:input"
3702
+ },
3703
+ "condition": {
3704
+ "allMatch": [
3705
+ {
3706
+ "property": "data.messageType",
3707
+ "equals": "messageBlock",
3708
+ "type": "simple"
3709
+ },
3710
+ {
3711
+ "property": "method",
3712
+ "equals": "chat.postMessage",
3713
+ "type": "simple"
3714
+ }
3715
+ ]
3716
+ },
3717
+ "type": "String"
3718
+ },
3719
+ {
3720
+ "id": "data.channel",
3721
+ "label": "Channel/user name/email",
3722
+ "optional": false,
3723
+ "constraints": {
3724
+ "notEmpty": true
3725
+ },
3726
+ "feel": "optional",
3727
+ "group": "channel",
3728
+ "binding": {
3729
+ "name": "data.channel",
3730
+ "type": "zeebe:input"
3731
+ },
3732
+ "condition": {
3733
+ "property": "method",
3734
+ "equals": "chat.postMessage",
3735
+ "type": "simple"
3736
+ },
3737
+ "type": "String"
3738
+ },
3739
+ {
3740
+ "id": "data.thread",
3741
+ "label": "Thread",
3742
+ "optional": true,
3743
+ "feel": "optional",
3744
+ "group": "channel",
3745
+ "binding": {
3746
+ "name": "data.thread",
3747
+ "type": "zeebe:input"
3748
+ },
3749
+ "condition": {
3750
+ "property": "method",
3751
+ "equals": "chat.postMessage",
3752
+ "type": "simple"
3753
+ },
3754
+ "type": "String"
3755
+ },
3756
+ {
3757
+ "id": "data.newChannelName",
3758
+ "label": "Channel name",
3759
+ "optional": false,
3760
+ "constraints": {
3761
+ "notEmpty": true,
3762
+ "pattern": {
3763
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
3764
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3765
+ }
3766
+ },
3767
+ "feel": "optional",
3768
+ "group": "channel",
3769
+ "binding": {
3770
+ "name": "data.newChannelName",
3771
+ "type": "zeebe:input"
3772
+ },
3773
+ "condition": {
3774
+ "property": "method",
3775
+ "equals": "conversations.create",
3776
+ "type": "simple"
3777
+ },
3778
+ "type": "String"
3779
+ },
3780
+ {
3781
+ "id": "data.visibility",
3782
+ "label": "Visibility",
3783
+ "optional": false,
3784
+ "value": "PUBLIC",
3785
+ "constraints": {
3786
+ "notEmpty": true
3787
+ },
3788
+ "group": "channel",
3789
+ "binding": {
3790
+ "name": "data.visibility",
3791
+ "type": "zeebe:input"
3792
+ },
3793
+ "condition": {
3794
+ "property": "method",
3795
+ "equals": "conversations.create",
3796
+ "type": "simple"
3797
+ },
3798
+ "type": "Dropdown",
3799
+ "choices": [
3800
+ {
3801
+ "name": "Public",
3802
+ "value": "PUBLIC"
3803
+ },
3804
+ {
3805
+ "name": "Private",
3806
+ "value": "PRIVATE"
3807
+ }
3808
+ ]
3809
+ },
3810
+ {
3811
+ "id": "data.channelName",
3812
+ "label": "Channel name",
3813
+ "optional": false,
3814
+ "constraints": {
3815
+ "notEmpty": true,
3816
+ "pattern": {
3817
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
3818
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3819
+ }
3820
+ },
3821
+ "feel": "optional",
3822
+ "group": "invite",
3823
+ "binding": {
3824
+ "name": "data.channelName",
3825
+ "type": "zeebe:input"
3826
+ },
3827
+ "condition": {
3828
+ "property": "method",
3829
+ "equals": "conversations.invite",
3830
+ "type": "simple"
3831
+ },
3832
+ "type": "String"
3833
+ },
3834
+ {
3835
+ "id": "data.users",
3836
+ "label": "Users",
3837
+ "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
3838
+ "optional": false,
3839
+ "constraints": {
3840
+ "notEmpty": true
3841
+ },
3842
+ "feel": "optional",
3843
+ "group": "invite",
3844
+ "binding": {
3845
+ "name": "data.users",
3846
+ "type": "zeebe:input"
3847
+ },
3848
+ "condition": {
3849
+ "property": "method",
3850
+ "equals": "conversations.invite",
3851
+ "type": "simple"
3852
+ },
3853
+ "type": "String"
3854
+ },
3855
+ {
3856
+ "id": "resultVariable",
3857
+ "label": "Result variable",
3858
+ "description": "Name of variable to store the response in",
3859
+ "group": "output",
3860
+ "binding": {
3861
+ "key": "resultVariable",
3862
+ "type": "zeebe:taskHeader"
3863
+ },
3864
+ "type": "String"
3865
+ },
3866
+ {
3867
+ "id": "resultExpression",
3868
+ "label": "Result expression",
3869
+ "description": "Expression to map the response into process variables",
3870
+ "feel": "required",
3871
+ "group": "output",
3872
+ "binding": {
3873
+ "key": "resultExpression",
3874
+ "type": "zeebe:taskHeader"
3875
+ },
3876
+ "type": "Text"
3877
+ },
3878
+ {
3879
+ "id": "errorExpression",
3880
+ "label": "Error expression",
3881
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
3882
+ "feel": "required",
3883
+ "group": "error",
3884
+ "binding": {
3885
+ "key": "errorExpression",
3886
+ "type": "zeebe:taskHeader"
3887
+ },
3888
+ "type": "Text"
3889
+ },
3890
+ {
3891
+ "id": "retryCount",
3892
+ "label": "Retries",
3893
+ "description": "Number of retries",
3894
+ "value": "3",
3895
+ "feel": "optional",
3896
+ "group": "retries",
3897
+ "binding": {
3898
+ "property": "retries",
3899
+ "type": "zeebe:taskDefinition"
3900
+ },
3901
+ "type": "String"
3902
+ },
3903
+ {
3904
+ "id": "retryBackoff",
3905
+ "label": "Retry backoff",
3906
+ "description": "ISO-8601 duration to wait between retries",
3907
+ "value": "PT0S",
3908
+ "feel": "optional",
3909
+ "group": "retries",
3910
+ "binding": {
3911
+ "key": "retryBackoff",
3912
+ "type": "zeebe:taskHeader"
3913
+ },
3914
+ "type": "String"
3915
+ }
3916
+ ],
3917
+ "icon": {
3918
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
3919
+ },
3920
+ "engines": {
3921
+ "camunda": "^8.6"
3922
+ }
3923
+ },
3924
+ {
3925
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3926
+ "name": "Slack Outbound Connector",
3927
+ "id": "io.camunda.connectors.Slack.v1",
3928
+ "version": 2,
3929
+ "description": "Create a channel or send a message to a channel or user",
3930
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
3931
+ "icon": {
3932
+ "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"
3933
+ },
3934
+ "category": {
3935
+ "id": "connectors",
3936
+ "name": "Connectors"
3937
+ },
3938
+ "appliesTo": ["bpmn:Task"],
3939
+ "elementType": {
3940
+ "value": "bpmn:ServiceTask"
3941
+ },
3942
+ "groups": [
3943
+ {
3944
+ "id": "method",
3945
+ "label": "Method"
3946
+ },
3947
+ {
3948
+ "id": "authentication",
3949
+ "label": "Authentication"
3950
+ },
3951
+ {
3952
+ "id": "message",
3953
+ "label": "Message"
3954
+ },
3955
+ {
3956
+ "id": "channel",
3957
+ "label": "Channel"
3958
+ },
3959
+ {
3960
+ "id": "invite",
3961
+ "label": "Invite"
3962
+ },
3963
+ {
3964
+ "id": "output",
3965
+ "label": "Output mapping"
3966
+ },
3967
+ {
3968
+ "id": "errors",
3969
+ "label": "Error handling"
3970
+ }
3971
+ ],
3972
+ "properties": [
3973
+ {
3974
+ "type": "Hidden",
3975
+ "value": "io.camunda:slack:1",
3976
+ "binding": {
3977
+ "type": "zeebe:taskDefinition",
3978
+ "property": "type"
3979
+ }
3980
+ },
3981
+ {
3982
+ "label": "Method",
3983
+ "group": "method",
3984
+ "id": "method",
3985
+ "type": "Dropdown",
3986
+ "value": "chat.postMessage",
3987
+ "choices": [
3988
+ {
3989
+ "name": "Post message",
3990
+ "value": "chat.postMessage"
3991
+ },
3992
+ {
3993
+ "name": "Create channel",
3994
+ "value": "conversations.create"
3995
+ },
3996
+ {
3997
+ "name": "Invite to channel",
3998
+ "value": "conversations.invite"
3999
+ }
4000
+ ],
4001
+ "binding": {
4002
+ "type": "zeebe:input",
4003
+ "name": "method"
4004
+ }
4005
+ },
4006
+ {
4007
+ "label": "OAuth token",
4008
+ "group": "authentication",
4009
+ "type": "String",
4010
+ "feel": "optional",
4011
+ "binding": {
4012
+ "type": "zeebe:input",
4013
+ "name": "token"
4014
+ },
4015
+ "constraints": {
4016
+ "notEmpty": true
4017
+ }
4018
+ },
4019
+ {
4020
+ "label": "Channel/user name/email",
4021
+ "group": "channel",
4022
+ "type": "String",
4023
+ "feel": "optional",
4024
+ "binding": {
4025
+ "type": "zeebe:input",
4026
+ "name": "data.channel"
4027
+ },
4028
+ "constraints": {
4029
+ "notEmpty": true,
4030
+ "pattern": {
4031
+ "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
4032
+ "message": "Must be a #channel, @user, email or FEEL expression."
4033
+ }
4034
+ },
4035
+ "condition": {
4036
+ "property": "method",
4037
+ "equals": "chat.postMessage"
4038
+ }
4039
+ },
4040
+ {
4041
+ "label": "New channel name",
4042
+ "group": "channel",
4043
+ "type": "String",
4044
+ "feel": "optional",
4045
+ "binding": {
4046
+ "type": "zeebe:input",
4047
+ "name": "data.newChannelName"
4048
+ },
4049
+ "constraints": {
4050
+ "notEmpty": true,
4051
+ "pattern": {
4052
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
4053
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
4054
+ }
4055
+ },
4056
+ "condition": {
4057
+ "property": "method",
4058
+ "equals": "conversations.create"
4059
+ }
4060
+ },
4061
+ {
4062
+ "label": "Visibility",
4063
+ "group": "channel",
4064
+ "type": "Dropdown",
4065
+ "value": "PUBLIC",
4066
+ "optional": false,
4067
+ "choices": [
4068
+ {
4069
+ "name": "Private",
4070
+ "value": "PRIVATE"
4071
+ },
4072
+ {
4073
+ "name": "Public",
4074
+ "value": "PUBLIC"
4075
+ }
4076
+ ],
4077
+ "binding": {
4078
+ "type": "zeebe:input",
4079
+ "name": "data.visibility"
4080
+ },
4081
+ "condition": {
4082
+ "property": "method",
4083
+ "equals": "conversations.create"
4084
+ }
4085
+ },
4086
+ {
4087
+ "label": "Message",
4088
+ "group": "message",
4089
+ "type": "Text",
4090
+ "feel": "optional",
4091
+ "binding": {
4092
+ "type": "zeebe:input",
4093
+ "name": "data.text"
4094
+ },
4095
+ "constraints": {
4096
+ "notEmpty": true
4097
+ },
4098
+ "condition": {
4099
+ "property": "method",
4100
+ "equals": "chat.postMessage"
4101
+ }
4102
+ },
4103
+ {
4104
+ "label": "Channel name",
4105
+ "group": "invite",
4106
+ "type": "String",
4107
+ "feel": "optional",
4108
+ "binding": {
4109
+ "type": "zeebe:input",
4110
+ "name": "data.channelName"
4111
+ },
4112
+ "constraints": {
4113
+ "notEmpty": true,
4114
+ "pattern": {
4115
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
4116
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
4117
+ }
4118
+ },
4119
+ "condition": {
4120
+ "property": "method",
4121
+ "equals": "conversations.invite"
4122
+ }
4123
+ },
4124
+ {
4125
+ "label": "Users",
4126
+ "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
4127
+ "group": "invite",
4128
+ "type": "String",
4129
+ "feel": "optional",
4130
+ "binding": {
4131
+ "type": "zeebe:input",
4132
+ "name": "data.users"
4133
+ },
4134
+ "constraints": {
4135
+ "notEmpty": true
4136
+ },
4137
+ "condition": {
4138
+ "property": "method",
4139
+ "equals": "conversations.invite"
4140
+ }
4141
+ },
4142
+ {
4143
+ "label": "Result variable",
4144
+ "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>",
4145
+ "group": "output",
4146
+ "type": "String",
4147
+ "binding": {
4148
+ "type": "zeebe:taskHeader",
4149
+ "key": "resultVariable"
4150
+ }
4151
+ },
4152
+ {
4153
+ "label": "Result expression",
4154
+ "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>",
4155
+ "group": "output",
4156
+ "type": "Text",
4157
+ "feel": "required",
4158
+ "binding": {
4159
+ "type": "zeebe:taskHeader",
4160
+ "key": "resultExpression"
4161
+ }
4162
+ },
4163
+ {
4164
+ "label": "Error expression",
4165
+ "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>",
4166
+ "group": "errors",
4167
+ "type": "Text",
4168
+ "feel": "required",
4169
+ "binding": {
4170
+ "type": "zeebe:taskHeader",
4171
+ "key": "errorExpression"
4172
+ }
4173
+ }
4174
+ ],
4175
+ "engines": {
4176
+ "camunda": "^8.2"
4177
+ }
4178
+ },
4179
+ {
4180
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4181
+ "name": "Slack connector",
4182
+ "id": "io.camunda.connectors.Slack.v1",
4183
+ "version": 1,
4184
+ "description": "Create a channel or send a message to a channel or user",
4185
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
4186
+ "icon": {
4187
+ "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"
4188
+ },
4189
+ "category": {
4190
+ "id": "connectors",
4191
+ "name": "Connectors"
4192
+ },
4193
+ "appliesTo": ["bpmn:Task"],
4194
+ "elementType": {
4195
+ "value": "bpmn:ServiceTask"
4196
+ },
4197
+ "groups": [
4198
+ {
4199
+ "id": "method",
4200
+ "label": "Method"
4201
+ },
4202
+ {
4203
+ "id": "authentication",
2411
4204
  "label": "Authentication"
2412
4205
  },
2413
4206
  {
@@ -2643,8 +4436,11 @@
2643
4436
  "name": "Slack Outbound Connector",
2644
4437
  "id": "io.camunda.connectors.Slack.v1",
2645
4438
  "description": "Create a channel or send a message to a channel or user",
4439
+ "metadata": {
4440
+ "keywords": []
4441
+ },
2646
4442
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
2647
- "version": 5,
4443
+ "version": 8,
2648
4444
  "category": {
2649
4445
  "id": "connectors",
2650
4446
  "name": "Connectors"
@@ -2653,6 +4449,9 @@
2653
4449
  "elementType": {
2654
4450
  "value": "bpmn:ServiceTask"
2655
4451
  },
4452
+ "engines": {
4453
+ "camunda": "^8.3"
4454
+ },
2656
4455
  "groups": [
2657
4456
  {
2658
4457
  "id": "authentication",
@@ -2674,6 +4473,22 @@
2674
4473
  "id": "invite",
2675
4474
  "label": "Invite"
2676
4475
  },
4476
+ {
4477
+ "id": "reaction",
4478
+ "label": "Reaction"
4479
+ },
4480
+ {
4481
+ "id": "pinMessage",
4482
+ "label": "Pin Message"
4483
+ },
4484
+ {
4485
+ "id": "unpinMessage",
4486
+ "label": "Unpin Message"
4487
+ },
4488
+ {
4489
+ "id": "connector",
4490
+ "label": "Connector"
4491
+ },
2677
4492
  {
2678
4493
  "id": "output",
2679
4494
  "label": "Output mapping"
@@ -2733,6 +4548,18 @@
2733
4548
  {
2734
4549
  "name": "Invite to channel",
2735
4550
  "value": "conversations.invite"
4551
+ },
4552
+ {
4553
+ "name": "Add reaction",
4554
+ "value": "reactions.add"
4555
+ },
4556
+ {
4557
+ "name": "Pin Message",
4558
+ "value": "pins.add"
4559
+ },
4560
+ {
4561
+ "name": "Unpin Message",
4562
+ "value": "pins.remove"
2736
4563
  }
2737
4564
  ]
2738
4565
  },
@@ -2832,6 +4659,24 @@
2832
4659
  },
2833
4660
  "type": "String"
2834
4661
  },
4662
+ {
4663
+ "id": "data.documents",
4664
+ "label": "attachments",
4665
+ "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",
4666
+ "optional": true,
4667
+ "feel": "required",
4668
+ "group": "message",
4669
+ "binding": {
4670
+ "name": "data.documents",
4671
+ "type": "zeebe:input"
4672
+ },
4673
+ "condition": {
4674
+ "property": "method",
4675
+ "equals": "chat.postMessage",
4676
+ "type": "simple"
4677
+ },
4678
+ "type": "String"
4679
+ },
2835
4680
  {
2836
4681
  "id": "data.channel",
2837
4682
  "label": "Channel/user name/email",
@@ -3036,15 +4881,186 @@
3036
4881
  "feel": "optional",
3037
4882
  "group": "invite",
3038
4883
  "binding": {
3039
- "name": "data.users",
3040
- "type": "zeebe:input"
3041
- },
3042
- "condition": {
3043
- "property": "method",
3044
- "equals": "conversations.invite",
3045
- "type": "simple"
4884
+ "name": "data.users",
4885
+ "type": "zeebe:input"
4886
+ },
4887
+ "condition": {
4888
+ "property": "method",
4889
+ "equals": "conversations.invite",
4890
+ "type": "simple"
4891
+ },
4892
+ "type": "String"
4893
+ },
4894
+ {
4895
+ "id": "reaction.channel",
4896
+ "label": "Channel",
4897
+ "description": "Channel ID of the message to react to",
4898
+ "optional": false,
4899
+ "constraints": {
4900
+ "notEmpty": true
4901
+ },
4902
+ "feel": "optional",
4903
+ "group": "reaction",
4904
+ "binding": {
4905
+ "name": "data.channel",
4906
+ "type": "zeebe:input"
4907
+ },
4908
+ "condition": {
4909
+ "property": "method",
4910
+ "equals": "reactions.add",
4911
+ "type": "simple"
4912
+ },
4913
+ "type": "String"
4914
+ },
4915
+ {
4916
+ "id": "data.emoji",
4917
+ "label": "Emoji name",
4918
+ "description": "Emoji name (e.g. eyes)",
4919
+ "optional": false,
4920
+ "constraints": {
4921
+ "notEmpty": true
4922
+ },
4923
+ "feel": "optional",
4924
+ "group": "reaction",
4925
+ "binding": {
4926
+ "name": "data.emoji",
4927
+ "type": "zeebe:input"
4928
+ },
4929
+ "condition": {
4930
+ "property": "method",
4931
+ "equals": "reactions.add",
4932
+ "type": "simple"
4933
+ },
4934
+ "type": "String"
4935
+ },
4936
+ {
4937
+ "id": "data.timestamp",
4938
+ "label": "Message timestamp",
4939
+ "description": "Timestamp of the Slack message to react to",
4940
+ "optional": false,
4941
+ "constraints": {
4942
+ "notEmpty": true
4943
+ },
4944
+ "feel": "required",
4945
+ "group": "reaction",
4946
+ "binding": {
4947
+ "name": "data.timestamp",
4948
+ "type": "zeebe:input"
4949
+ },
4950
+ "condition": {
4951
+ "property": "method",
4952
+ "equals": "reactions.add",
4953
+ "type": "simple"
4954
+ },
4955
+ "type": "String"
4956
+ },
4957
+ {
4958
+ "id": "pinMessage.channel",
4959
+ "label": "Channel",
4960
+ "description": "Channel ID of the message to pin",
4961
+ "optional": false,
4962
+ "constraints": {
4963
+ "notEmpty": true
4964
+ },
4965
+ "feel": "optional",
4966
+ "group": "pinMessage",
4967
+ "binding": {
4968
+ "name": "data.channel",
4969
+ "type": "zeebe:input"
4970
+ },
4971
+ "condition": {
4972
+ "property": "method",
4973
+ "equals": "pins.add",
4974
+ "type": "simple"
4975
+ },
4976
+ "type": "String"
4977
+ },
4978
+ {
4979
+ "id": "pinMessage.timestamp",
4980
+ "label": "Message timestamp",
4981
+ "description": "Timestamp of the Slack message to pin",
4982
+ "optional": false,
4983
+ "constraints": {
4984
+ "notEmpty": true
4985
+ },
4986
+ "feel": "required",
4987
+ "group": "pinMessage",
4988
+ "binding": {
4989
+ "name": "data.timestamp",
4990
+ "type": "zeebe:input"
4991
+ },
4992
+ "condition": {
4993
+ "property": "method",
4994
+ "equals": "pins.add",
4995
+ "type": "simple"
4996
+ },
4997
+ "type": "String"
4998
+ },
4999
+ {
5000
+ "id": "unpinMessage.channel",
5001
+ "label": "Channel",
5002
+ "description": "Channel ID of the message to unpin",
5003
+ "optional": false,
5004
+ "constraints": {
5005
+ "notEmpty": true
5006
+ },
5007
+ "feel": "optional",
5008
+ "group": "unpinMessage",
5009
+ "binding": {
5010
+ "name": "data.channel",
5011
+ "type": "zeebe:input"
5012
+ },
5013
+ "condition": {
5014
+ "property": "method",
5015
+ "equals": "pins.remove",
5016
+ "type": "simple"
5017
+ },
5018
+ "type": "String"
5019
+ },
5020
+ {
5021
+ "id": "unpinMessage.timestamp",
5022
+ "label": "Message timestamp",
5023
+ "description": "Timestamp of the Slack message to unpin",
5024
+ "optional": false,
5025
+ "constraints": {
5026
+ "notEmpty": true
5027
+ },
5028
+ "feel": "required",
5029
+ "group": "unpinMessage",
5030
+ "binding": {
5031
+ "name": "data.timestamp",
5032
+ "type": "zeebe:input"
5033
+ },
5034
+ "condition": {
5035
+ "property": "method",
5036
+ "equals": "pins.remove",
5037
+ "type": "simple"
5038
+ },
5039
+ "type": "String"
5040
+ },
5041
+ {
5042
+ "id": "version",
5043
+ "label": "Version",
5044
+ "description": "Version of the element template",
5045
+ "value": "8",
5046
+ "group": "connector",
5047
+ "binding": {
5048
+ "key": "elementTemplateVersion",
5049
+ "type": "zeebe:taskHeader"
5050
+ },
5051
+ "type": "Hidden"
5052
+ },
5053
+ {
5054
+ "id": "id",
5055
+ "label": "ID",
5056
+ "description": "ID of the element template",
5057
+ "value": "io.camunda.connectors.Slack.v1",
5058
+ "group": "connector",
5059
+ "binding": {
5060
+ "key": "elementTemplateId",
5061
+ "type": "zeebe:taskHeader"
3046
5062
  },
3047
- "type": "String"
5063
+ "type": "Hidden"
3048
5064
  },
3049
5065
  {
3050
5066
  "id": "resultVariable",
@@ -3099,7 +5115,6 @@
3099
5115
  "label": "Retry backoff",
3100
5116
  "description": "ISO-8601 duration to wait between retries",
3101
5117
  "value": "PT0S",
3102
- "feel": "optional",
3103
5118
  "group": "retries",
3104
5119
  "binding": {
3105
5120
  "key": "retryBackoff",
@@ -3110,9 +5125,6 @@
3110
5125
  ],
3111
5126
  "icon": {
3112
5127
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
3113
- },
3114
- "engines": {
3115
- "camunda": "^8.6"
3116
5128
  }
3117
5129
  },
3118
5130
  {
@@ -3120,11 +5132,8 @@
3120
5132
  "name": "Slack Outbound Connector",
3121
5133
  "id": "io.camunda.connectors.Slack.v1",
3122
5134
  "description": "Create a channel or send a message to a channel or user",
3123
- "metadata": {
3124
- "keywords": []
3125
- },
3126
5135
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
3127
- "version": 8,
5136
+ "version": 3,
3128
5137
  "category": {
3129
5138
  "id": "connectors",
3130
5139
  "name": "Connectors"
@@ -3133,9 +5142,6 @@
3133
5142
  "elementType": {
3134
5143
  "value": "bpmn:ServiceTask"
3135
5144
  },
3136
- "engines": {
3137
- "camunda": "^8.3"
3138
- },
3139
5145
  "groups": [
3140
5146
  {
3141
5147
  "id": "authentication",
@@ -3157,22 +5163,6 @@
3157
5163
  "id": "invite",
3158
5164
  "label": "Invite"
3159
5165
  },
3160
- {
3161
- "id": "reaction",
3162
- "label": "Reaction"
3163
- },
3164
- {
3165
- "id": "pinMessage",
3166
- "label": "Pin Message"
3167
- },
3168
- {
3169
- "id": "unpinMessage",
3170
- "label": "Unpin Message"
3171
- },
3172
- {
3173
- "id": "connector",
3174
- "label": "Connector"
3175
- },
3176
5166
  {
3177
5167
  "id": "output",
3178
5168
  "label": "Output mapping"
@@ -3222,256 +5212,39 @@
3222
5212
  "type": "Dropdown",
3223
5213
  "choices": [
3224
5214
  {
3225
- "name": "Post message",
3226
- "value": "chat.postMessage"
3227
- },
3228
- {
3229
- "name": "Create channel",
3230
- "value": "conversations.create"
3231
- },
3232
- {
3233
- "name": "Invite to channel",
3234
- "value": "conversations.invite"
3235
- },
3236
- {
3237
- "name": "Add reaction",
3238
- "value": "reactions.add"
3239
- },
3240
- {
3241
- "name": "Pin Message",
3242
- "value": "pins.add"
3243
- },
3244
- {
3245
- "name": "Unpin Message",
3246
- "value": "pins.remove"
3247
- }
3248
- ]
3249
- },
3250
- {
3251
- "id": "data.messageType",
3252
- "label": "Message type",
3253
- "optional": false,
3254
- "value": "plainText",
3255
- "group": "message",
3256
- "binding": {
3257
- "name": "data.messageType",
3258
- "type": "zeebe:input"
3259
- },
3260
- "condition": {
3261
- "allMatch": [
3262
- {
3263
- "property": "method",
3264
- "equals": "chat.postMessage",
3265
- "type": "simple"
3266
- },
3267
- {
3268
- "property": "method",
3269
- "equals": "chat.postMessage",
3270
- "type": "simple"
3271
- }
3272
- ]
3273
- },
3274
- "type": "Dropdown",
3275
- "choices": [
3276
- {
3277
- "name": "Plain text",
3278
- "value": "plainText"
3279
- },
3280
- {
3281
- "name": "Message block",
3282
- "value": "messageBlock"
3283
- }
3284
- ]
3285
- },
3286
- {
3287
- "id": "data.text",
3288
- "label": "Message",
3289
- "optional": false,
3290
- "constraints": {
3291
- "notEmpty": true
3292
- },
3293
- "feel": "optional",
3294
- "group": "message",
3295
- "binding": {
3296
- "name": "data.text",
3297
- "type": "zeebe:input"
3298
- },
3299
- "condition": {
3300
- "allMatch": [
3301
- {
3302
- "property": "data.messageType",
3303
- "equals": "plainText",
3304
- "type": "simple"
3305
- },
3306
- {
3307
- "property": "method",
3308
- "equals": "chat.postMessage",
3309
- "type": "simple"
3310
- }
3311
- ]
3312
- },
3313
- "type": "Text"
3314
- },
3315
- {
3316
- "id": "data.blockContent",
3317
- "label": "Message block",
3318
- "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>",
3319
- "optional": false,
3320
- "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]",
3321
- "constraints": {
3322
- "notEmpty": true
3323
- },
3324
- "feel": "required",
3325
- "group": "message",
3326
- "binding": {
3327
- "name": "data.blockContent",
3328
- "type": "zeebe:input"
3329
- },
3330
- "condition": {
3331
- "allMatch": [
3332
- {
3333
- "property": "data.messageType",
3334
- "equals": "messageBlock",
3335
- "type": "simple"
3336
- },
3337
- {
3338
- "property": "method",
3339
- "equals": "chat.postMessage",
3340
- "type": "simple"
3341
- }
3342
- ]
3343
- },
3344
- "type": "String"
3345
- },
3346
- {
3347
- "id": "data.documents",
3348
- "label": "attachments",
3349
- "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",
3350
- "optional": true,
3351
- "feel": "required",
3352
- "group": "message",
3353
- "binding": {
3354
- "name": "data.documents",
3355
- "type": "zeebe:input"
3356
- },
3357
- "condition": {
3358
- "property": "method",
3359
- "equals": "chat.postMessage",
3360
- "type": "simple"
3361
- },
3362
- "type": "String"
3363
- },
3364
- {
3365
- "id": "data.channel",
3366
- "label": "Channel/user name/email",
3367
- "optional": false,
3368
- "constraints": {
3369
- "notEmpty": true
3370
- },
3371
- "feel": "optional",
3372
- "group": "channel",
3373
- "binding": {
3374
- "name": "data.channel",
3375
- "type": "zeebe:input"
3376
- },
3377
- "condition": {
3378
- "property": "method",
3379
- "equals": "chat.postMessage",
3380
- "type": "simple"
3381
- },
3382
- "type": "String"
3383
- },
3384
- {
3385
- "id": "data.thread",
3386
- "label": "Thread",
3387
- "optional": true,
3388
- "feel": "optional",
3389
- "group": "channel",
3390
- "binding": {
3391
- "name": "data.thread",
3392
- "type": "zeebe:input"
3393
- },
3394
- "condition": {
3395
- "property": "method",
3396
- "equals": "chat.postMessage",
3397
- "type": "simple"
3398
- },
3399
- "type": "String"
3400
- },
3401
- {
3402
- "id": "data.newChannelName",
3403
- "label": "Channel name",
3404
- "optional": false,
3405
- "constraints": {
3406
- "notEmpty": true,
3407
- "pattern": {
3408
- "value": "^(=|([-_a-z0-9]{1,80}$))",
3409
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3410
- }
3411
- },
3412
- "feel": "optional",
3413
- "group": "channel",
3414
- "binding": {
3415
- "name": "data.newChannelName",
3416
- "type": "zeebe:input"
3417
- },
3418
- "condition": {
3419
- "property": "method",
3420
- "equals": "conversations.create",
3421
- "type": "simple"
3422
- },
3423
- "type": "String"
3424
- },
3425
- {
3426
- "id": "data.visibility",
3427
- "label": "Visibility",
3428
- "optional": false,
3429
- "value": "PUBLIC",
3430
- "constraints": {
3431
- "notEmpty": true
3432
- },
3433
- "group": "channel",
3434
- "binding": {
3435
- "name": "data.visibility",
3436
- "type": "zeebe:input"
3437
- },
3438
- "condition": {
3439
- "property": "method",
3440
- "equals": "conversations.create",
3441
- "type": "simple"
3442
- },
3443
- "type": "Dropdown",
3444
- "choices": [
3445
- {
3446
- "name": "Public",
3447
- "value": "PUBLIC"
5215
+ "name": "Post message",
5216
+ "value": "chat.postMessage"
3448
5217
  },
3449
5218
  {
3450
- "name": "Private",
3451
- "value": "PRIVATE"
5219
+ "name": "Create channel",
5220
+ "value": "conversations.create"
5221
+ },
5222
+ {
5223
+ "name": "Invite to channel",
5224
+ "value": "conversations.invite"
3452
5225
  }
3453
5226
  ]
3454
5227
  },
3455
5228
  {
3456
- "id": "data.channelType",
3457
- "label": "Invite By",
5229
+ "id": "data.messageType",
5230
+ "label": "Message type",
3458
5231
  "optional": false,
3459
- "value": "channelId",
3460
- "group": "invite",
5232
+ "value": "plainText",
5233
+ "group": "message",
3461
5234
  "binding": {
3462
- "name": "data.channelType",
5235
+ "name": "data.messageType",
3463
5236
  "type": "zeebe:input"
3464
5237
  },
3465
5238
  "condition": {
3466
5239
  "allMatch": [
3467
5240
  {
3468
5241
  "property": "method",
3469
- "equals": "conversations.invite",
5242
+ "equals": "chat.postMessage",
3470
5243
  "type": "simple"
3471
5244
  },
3472
5245
  {
3473
5246
  "property": "method",
3474
- "equals": "conversations.invite",
5247
+ "equals": "chat.postMessage",
3475
5248
  "type": "simple"
3476
5249
  }
3477
5250
  ]
@@ -3479,75 +5252,69 @@
3479
5252
  "type": "Dropdown",
3480
5253
  "choices": [
3481
5254
  {
3482
- "name": "Channel ID",
3483
- "value": "channelId"
5255
+ "name": "Plain text",
5256
+ "value": "plainText"
3484
5257
  },
3485
5258
  {
3486
- "name": "Channel name",
3487
- "value": "channelName"
5259
+ "name": "Message block",
5260
+ "value": "messageBlock"
3488
5261
  }
3489
5262
  ]
3490
5263
  },
3491
5264
  {
3492
- "id": "data.channelName",
3493
- "label": "Channel name",
5265
+ "id": "data.text",
5266
+ "label": "Message",
3494
5267
  "optional": false,
3495
5268
  "constraints": {
3496
- "notEmpty": true,
3497
- "pattern": {
3498
- "value": "^(=|([-_a-z0-9]{1,80}$))",
3499
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3500
- }
5269
+ "notEmpty": true
3501
5270
  },
3502
5271
  "feel": "optional",
3503
- "group": "invite",
5272
+ "group": "message",
3504
5273
  "binding": {
3505
- "name": "data.channelName",
5274
+ "name": "data.text",
3506
5275
  "type": "zeebe:input"
3507
5276
  },
3508
5277
  "condition": {
3509
5278
  "allMatch": [
3510
5279
  {
3511
- "property": "data.channelType",
3512
- "equals": "channelName",
5280
+ "property": "data.messageType",
5281
+ "equals": "plainText",
3513
5282
  "type": "simple"
3514
5283
  },
3515
5284
  {
3516
5285
  "property": "method",
3517
- "equals": "conversations.invite",
5286
+ "equals": "chat.postMessage",
3518
5287
  "type": "simple"
3519
5288
  }
3520
5289
  ]
3521
5290
  },
3522
- "type": "String"
5291
+ "type": "Text"
3523
5292
  },
3524
5293
  {
3525
- "id": "data.channelId",
3526
- "label": "Channel ID",
5294
+ "id": "data.blockContent",
5295
+ "label": "Message block",
5296
+ "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>",
3527
5297
  "optional": false,
5298
+ "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]",
3528
5299
  "constraints": {
3529
- "notEmpty": true,
3530
- "pattern": {
3531
- "value": "^(=|([-_a-z0-9]{1,80}$))",
3532
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
3533
- }
5300
+ "notEmpty": true
3534
5301
  },
3535
- "feel": "optional",
3536
- "group": "invite",
5302
+ "feel": "required",
5303
+ "group": "message",
3537
5304
  "binding": {
3538
- "name": "data.channelId",
5305
+ "name": "data.blockContent",
3539
5306
  "type": "zeebe:input"
3540
5307
  },
3541
5308
  "condition": {
3542
5309
  "allMatch": [
3543
5310
  {
3544
- "property": "data.channelType",
3545
- "equals": "channelId",
5311
+ "property": "data.messageType",
5312
+ "equals": "messageBlock",
3546
5313
  "type": "simple"
3547
5314
  },
3548
5315
  {
3549
5316
  "property": "method",
3550
- "equals": "conversations.invite",
5317
+ "equals": "chat.postMessage",
3551
5318
  "type": "simple"
3552
5319
  }
3553
5320
  ]
@@ -3555,197 +5322,124 @@
3555
5322
  "type": "String"
3556
5323
  },
3557
5324
  {
3558
- "id": "data.users",
3559
- "label": "Users",
3560
- "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
3561
- "optional": false,
3562
- "constraints": {
3563
- "notEmpty": true
3564
- },
3565
- "feel": "optional",
3566
- "group": "invite",
3567
- "binding": {
3568
- "name": "data.users",
3569
- "type": "zeebe:input"
3570
- },
3571
- "condition": {
3572
- "property": "method",
3573
- "equals": "conversations.invite",
3574
- "type": "simple"
3575
- },
3576
- "type": "String"
3577
- },
3578
- {
3579
- "id": "reaction.channel",
3580
- "label": "Channel",
3581
- "description": "Channel ID of the message to react to",
5325
+ "id": "data.channel",
5326
+ "label": "Channel/user name/email",
3582
5327
  "optional": false,
3583
5328
  "constraints": {
3584
5329
  "notEmpty": true
3585
5330
  },
3586
5331
  "feel": "optional",
3587
- "group": "reaction",
5332
+ "group": "channel",
3588
5333
  "binding": {
3589
5334
  "name": "data.channel",
3590
5335
  "type": "zeebe:input"
3591
5336
  },
3592
5337
  "condition": {
3593
5338
  "property": "method",
3594
- "equals": "reactions.add",
5339
+ "equals": "chat.postMessage",
3595
5340
  "type": "simple"
3596
5341
  },
3597
5342
  "type": "String"
3598
5343
  },
3599
5344
  {
3600
- "id": "data.emoji",
3601
- "label": "Emoji name",
3602
- "description": "Emoji name (e.g. eyes)",
5345
+ "id": "data.newChannelName",
5346
+ "label": "Channel name",
3603
5347
  "optional": false,
3604
5348
  "constraints": {
3605
- "notEmpty": true
5349
+ "notEmpty": true,
5350
+ "pattern": {
5351
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
5352
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
5353
+ }
3606
5354
  },
3607
5355
  "feel": "optional",
3608
- "group": "reaction",
5356
+ "group": "channel",
3609
5357
  "binding": {
3610
- "name": "data.emoji",
5358
+ "name": "data.newChannelName",
3611
5359
  "type": "zeebe:input"
3612
5360
  },
3613
5361
  "condition": {
3614
5362
  "property": "method",
3615
- "equals": "reactions.add",
5363
+ "equals": "conversations.create",
3616
5364
  "type": "simple"
3617
5365
  },
3618
5366
  "type": "String"
3619
5367
  },
3620
5368
  {
3621
- "id": "data.timestamp",
3622
- "label": "Message timestamp",
3623
- "description": "Timestamp of the Slack message to react to",
5369
+ "id": "data.visibility",
5370
+ "label": "Visibility",
3624
5371
  "optional": false,
5372
+ "value": "PUBLIC",
3625
5373
  "constraints": {
3626
5374
  "notEmpty": true
3627
5375
  },
3628
- "feel": "required",
3629
- "group": "reaction",
5376
+ "group": "channel",
3630
5377
  "binding": {
3631
- "name": "data.timestamp",
5378
+ "name": "data.visibility",
3632
5379
  "type": "zeebe:input"
3633
5380
  },
3634
5381
  "condition": {
3635
5382
  "property": "method",
3636
- "equals": "reactions.add",
5383
+ "equals": "conversations.create",
3637
5384
  "type": "simple"
3638
5385
  },
3639
- "type": "String"
5386
+ "type": "Dropdown",
5387
+ "choices": [
5388
+ {
5389
+ "name": "Public",
5390
+ "value": "PUBLIC"
5391
+ },
5392
+ {
5393
+ "name": "Private",
5394
+ "value": "PRIVATE"
5395
+ }
5396
+ ]
3640
5397
  },
3641
5398
  {
3642
- "id": "pinMessage.channel",
3643
- "label": "Channel",
3644
- "description": "Channel ID of the message to pin",
5399
+ "id": "data.channelName",
5400
+ "label": "Channel name",
3645
5401
  "optional": false,
3646
5402
  "constraints": {
3647
- "notEmpty": true
5403
+ "notEmpty": true,
5404
+ "pattern": {
5405
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
5406
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
5407
+ }
3648
5408
  },
3649
5409
  "feel": "optional",
3650
- "group": "pinMessage",
3651
- "binding": {
3652
- "name": "data.channel",
3653
- "type": "zeebe:input"
3654
- },
3655
- "condition": {
3656
- "property": "method",
3657
- "equals": "pins.add",
3658
- "type": "simple"
3659
- },
3660
- "type": "String"
3661
- },
3662
- {
3663
- "id": "pinMessage.timestamp",
3664
- "label": "Message timestamp",
3665
- "description": "Timestamp of the Slack message to pin",
3666
- "optional": false,
3667
- "constraints": {
3668
- "notEmpty": true
3669
- },
3670
- "feel": "required",
3671
- "group": "pinMessage",
5410
+ "group": "invite",
3672
5411
  "binding": {
3673
- "name": "data.timestamp",
5412
+ "name": "data.channelName",
3674
5413
  "type": "zeebe:input"
3675
5414
  },
3676
5415
  "condition": {
3677
5416
  "property": "method",
3678
- "equals": "pins.add",
5417
+ "equals": "conversations.invite",
3679
5418
  "type": "simple"
3680
5419
  },
3681
5420
  "type": "String"
3682
5421
  },
3683
5422
  {
3684
- "id": "unpinMessage.channel",
3685
- "label": "Channel",
3686
- "description": "Channel ID of the message to unpin",
5423
+ "id": "data.users",
5424
+ "label": "Users",
5425
+ "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
3687
5426
  "optional": false,
3688
5427
  "constraints": {
3689
5428
  "notEmpty": true
3690
5429
  },
3691
5430
  "feel": "optional",
3692
- "group": "unpinMessage",
3693
- "binding": {
3694
- "name": "data.channel",
3695
- "type": "zeebe:input"
3696
- },
3697
- "condition": {
3698
- "property": "method",
3699
- "equals": "pins.remove",
3700
- "type": "simple"
3701
- },
3702
- "type": "String"
3703
- },
3704
- {
3705
- "id": "unpinMessage.timestamp",
3706
- "label": "Message timestamp",
3707
- "description": "Timestamp of the Slack message to unpin",
3708
- "optional": false,
3709
- "constraints": {
3710
- "notEmpty": true
3711
- },
3712
- "feel": "required",
3713
- "group": "unpinMessage",
5431
+ "group": "invite",
3714
5432
  "binding": {
3715
- "name": "data.timestamp",
5433
+ "name": "data.users",
3716
5434
  "type": "zeebe:input"
3717
5435
  },
3718
5436
  "condition": {
3719
5437
  "property": "method",
3720
- "equals": "pins.remove",
5438
+ "equals": "conversations.invite",
3721
5439
  "type": "simple"
3722
5440
  },
3723
5441
  "type": "String"
3724
5442
  },
3725
- {
3726
- "id": "version",
3727
- "label": "Version",
3728
- "description": "Version of the element template",
3729
- "value": "8",
3730
- "group": "connector",
3731
- "binding": {
3732
- "key": "elementTemplateVersion",
3733
- "type": "zeebe:taskHeader"
3734
- },
3735
- "type": "Hidden"
3736
- },
3737
- {
3738
- "id": "id",
3739
- "label": "ID",
3740
- "description": "ID of the element template",
3741
- "value": "io.camunda.connectors.Slack.v1",
3742
- "group": "connector",
3743
- "binding": {
3744
- "key": "elementTemplateId",
3745
- "type": "zeebe:taskHeader"
3746
- },
3747
- "type": "Hidden"
3748
- },
3749
5443
  {
3750
5444
  "id": "resultVariable",
3751
5445
  "label": "Result variable",
@@ -3799,6 +5493,7 @@
3799
5493
  "label": "Retry backoff",
3800
5494
  "description": "ISO-8601 duration to wait between retries",
3801
5495
  "value": "PT0S",
5496
+ "feel": "optional",
3802
5497
  "group": "retries",
3803
5498
  "binding": {
3804
5499
  "key": "retryBackoff",
@@ -3809,6 +5504,9 @@
3809
5504
  ],
3810
5505
  "icon": {
3811
5506
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
5507
+ },
5508
+ "engines": {
5509
+ "camunda": "^8.5"
3812
5510
  }
3813
5511
  }
3814
5512
  ]