@camunda/connectors-element-templates 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +2 -0
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +170 -13
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1596 -389
  5. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  6. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  7. package/src/element-templates/asana-connector.json +104 -104
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +1207 -1201
  9. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +1404 -1404
  11. package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
  12. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  13. package/src/element-templates/aws-eventbridge-connector-start-event.json +13 -10
  14. package/src/element-templates/aws-eventbridge-outbound-connector.json +474 -474
  15. package/src/element-templates/aws-lambda-outbound-connector.json +51 -51
  16. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  17. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  18. package/src/element-templates/aws-sns-inbound-boundary.json +283 -283
  19. package/src/element-templates/aws-sns-inbound-intermediate.json +467 -467
  20. package/src/element-templates/aws-sns-inbound-message-start.json +98 -98
  21. package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
  22. package/src/element-templates/aws-sns-outbound-connector.json +719 -719
  23. package/src/element-templates/aws-sqs-boundary-connector.json +420 -420
  24. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +958 -958
  25. package/src/element-templates/aws-sqs-outbound-connector.json +421 -421
  26. package/src/element-templates/aws-sqs-start-event-connector.json +388 -388
  27. package/src/element-templates/aws-sqs-start-message.json +463 -463
  28. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  29. package/src/element-templates/azure-open-ai-connector.json +32 -32
  30. package/src/element-templates/blue-prism-connector.json +57 -57
  31. package/src/element-templates/box-outbound-connector.json +30 -30
  32. package/src/element-templates/csv-outbound-connector.json +392 -0
  33. package/src/element-templates/easy-post-connector.json +269 -269
  34. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  35. package/src/element-templates/email-outbound-connector.json +231 -231
  36. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3473 -150
  37. package/src/element-templates/github-connector.json +2930 -2930
  38. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  39. package/src/element-templates/github-webhook-connector-intermediate.json +35 -35
  40. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  41. package/src/element-templates/github-webhook-connector-start-event.json +35 -32
  42. package/src/element-templates/gitlab-connector.json +1561 -1561
  43. package/src/element-templates/google-drive-outbound-connector.json +363 -363
  44. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  45. package/src/element-templates/google-maps-platform-connector.json +76 -76
  46. package/src/element-templates/google-sheets-outbound-connector.json +1177 -1177
  47. package/src/element-templates/graphql-outbound-connector.json +1182 -1182
  48. package/src/element-templates/http-json-connector.json +2332 -2332
  49. package/src/element-templates/http-polling-boundary-catch-event-connector.json +261 -558
  50. package/src/element-templates/http-polling-connector.json +259 -556
  51. package/src/element-templates/hugging-face-connector.json +34 -34
  52. package/src/element-templates/jdbc-outbound-connector.json +404 -2
  53. package/src/element-templates/kafka-inbound-connector-boundary.json +624 -624
  54. package/src/element-templates/kafka-inbound-connector-intermediate.json +1018 -1018
  55. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  56. package/src/element-templates/kafka-inbound-connector.json +240 -237
  57. package/src/element-templates/kafka-outbound-connector.json +588 -588
  58. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  59. package/src/element-templates/microsoft-teams-outbound-connector.json +3730 -3730
  60. package/src/element-templates/openai-connector.json +117 -117
  61. package/src/element-templates/operate-connector.json +68 -68
  62. package/src/element-templates/power-automate-connector.json +12 -12
  63. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +437 -437
  64. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +581 -581
  65. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +451 -451
  66. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +354 -354
  67. package/src/element-templates/rabbitmq-outbound-connector.json +666 -666
  68. package/src/element-templates/salesforce-connector.json +40 -40
  69. package/src/element-templates/sendgrid-outbound-connector.json +487 -487
  70. package/src/element-templates/slack-inbound-boundary.json +301 -301
  71. package/src/element-templates/slack-inbound-intermediate.json +307 -307
  72. package/src/element-templates/slack-inbound-message-start.json +350 -350
  73. package/src/element-templates/slack-inbound-start-event.json +213 -210
  74. package/src/element-templates/slack-outbound-connector.json +739 -739
  75. package/src/element-templates/twilio-connector.json +88 -88
  76. package/src/element-templates/twilio-webhook-connector.json +13 -10
  77. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  78. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  79. package/src/element-templates/uipath-connector.json +49 -49
  80. package/src/element-templates/webhook-connector-boundary.json +1644 -1644
  81. package/src/element-templates/webhook-connector-intermediate.json +972 -972
  82. package/src/element-templates/webhook-connector-start-event.json +556 -553
  83. package/src/element-templates/webhook-connector-start-message.json +33 -33
  84. package/src/element-templates/whatsapp-connector.json +6 -6
@@ -1,4 +1,259 @@
1
1
  [
2
+ {
3
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
+ "name": "Slack connector",
5
+ "id": "io.camunda.connectors.Slack.v1",
6
+ "version": 1,
7
+ "description": "Create a channel or send a message to a channel or user",
8
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
9
+ "icon": {
10
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
11
+ },
12
+ "category": {
13
+ "id": "connectors",
14
+ "name": "Connectors"
15
+ },
16
+ "appliesTo": ["bpmn:Task"],
17
+ "elementType": {
18
+ "value": "bpmn:ServiceTask"
19
+ },
20
+ "groups": [
21
+ {
22
+ "id": "method",
23
+ "label": "Method"
24
+ },
25
+ {
26
+ "id": "authentication",
27
+ "label": "Authentication"
28
+ },
29
+ {
30
+ "id": "message",
31
+ "label": "Message"
32
+ },
33
+ {
34
+ "id": "channel",
35
+ "label": "Channel"
36
+ },
37
+ {
38
+ "id": "invite",
39
+ "label": "Invite"
40
+ },
41
+ {
42
+ "id": "output",
43
+ "label": "Output mapping"
44
+ },
45
+ {
46
+ "id": "errors",
47
+ "label": "Error handling"
48
+ }
49
+ ],
50
+ "properties": [
51
+ {
52
+ "type": "Hidden",
53
+ "value": "io.camunda:slack:1",
54
+ "binding": {
55
+ "type": "zeebe:taskDefinition",
56
+ "property": "type"
57
+ }
58
+ },
59
+ {
60
+ "label": "Method",
61
+ "group": "method",
62
+ "id": "method",
63
+ "type": "Dropdown",
64
+ "value": "chat.postMessage",
65
+ "choices": [
66
+ {
67
+ "name": "Post message",
68
+ "value": "chat.postMessage"
69
+ },
70
+ {
71
+ "name": "Create channel",
72
+ "value": "conversations.create"
73
+ },
74
+ {
75
+ "name": "Invite to channel",
76
+ "value": "conversations.invite"
77
+ }
78
+ ],
79
+ "binding": {
80
+ "type": "zeebe:input",
81
+ "name": "method"
82
+ }
83
+ },
84
+ {
85
+ "label": "OAuth token",
86
+ "group": "authentication",
87
+ "type": "String",
88
+ "feel": "optional",
89
+ "binding": {
90
+ "type": "zeebe:input",
91
+ "name": "token"
92
+ },
93
+ "constraints": {
94
+ "notEmpty": true
95
+ }
96
+ },
97
+ {
98
+ "label": "Channel/user name/email",
99
+ "group": "channel",
100
+ "type": "String",
101
+ "feel": "optional",
102
+ "binding": {
103
+ "type": "zeebe:input",
104
+ "name": "data.channel"
105
+ },
106
+ "constraints": {
107
+ "notEmpty": true,
108
+ "pattern": {
109
+ "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
110
+ "message": "Must be a #channel, @user, email or FEEL expression."
111
+ }
112
+ },
113
+ "condition": {
114
+ "property": "method",
115
+ "equals": "chat.postMessage"
116
+ }
117
+ },
118
+ {
119
+ "label": "New channel name",
120
+ "group": "channel",
121
+ "type": "String",
122
+ "feel": "optional",
123
+ "binding": {
124
+ "type": "zeebe:input",
125
+ "name": "data.newChannelName"
126
+ },
127
+ "constraints": {
128
+ "notEmpty": true,
129
+ "pattern": {
130
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
131
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
132
+ }
133
+ },
134
+ "condition": {
135
+ "property": "method",
136
+ "equals": "conversations.create"
137
+ }
138
+ },
139
+ {
140
+ "label": "Visibility",
141
+ "group": "channel",
142
+ "type": "Dropdown",
143
+ "value": "PUBLIC",
144
+ "optional": false,
145
+ "choices": [
146
+ {
147
+ "name": "Private",
148
+ "value": "PRIVATE"
149
+ },
150
+ {
151
+ "name": "Public",
152
+ "value": "PUBLIC"
153
+ }
154
+ ],
155
+ "binding": {
156
+ "type": "zeebe:input",
157
+ "name": "data.visibility"
158
+ },
159
+ "condition": {
160
+ "property": "method",
161
+ "equals": "conversations.create"
162
+ }
163
+ },
164
+ {
165
+ "label": "Message",
166
+ "group": "message",
167
+ "type": "Text",
168
+ "feel": "optional",
169
+ "binding": {
170
+ "type": "zeebe:input",
171
+ "name": "data.text"
172
+ },
173
+ "constraints": {
174
+ "notEmpty": true
175
+ },
176
+ "condition": {
177
+ "property": "method",
178
+ "equals": "chat.postMessage"
179
+ }
180
+ },
181
+ {
182
+ "label": "Channel name",
183
+ "group": "invite",
184
+ "type": "String",
185
+ "feel": "optional",
186
+ "binding": {
187
+ "type": "zeebe:input",
188
+ "name": "data.channelName"
189
+ },
190
+ "constraints": {
191
+ "notEmpty": true,
192
+ "pattern": {
193
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
194
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
195
+ }
196
+ },
197
+ "condition": {
198
+ "property": "method",
199
+ "equals": "conversations.invite"
200
+ }
201
+ },
202
+ {
203
+ "label": "Users",
204
+ "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
205
+ "group": "invite",
206
+ "type": "String",
207
+ "feel": "optional",
208
+ "binding": {
209
+ "type": "zeebe:input",
210
+ "name": "data.users"
211
+ },
212
+ "constraints": {
213
+ "notEmpty": true
214
+ },
215
+ "condition": {
216
+ "property": "method",
217
+ "equals": "conversations.invite"
218
+ }
219
+ },
220
+ {
221
+ "label": "Result variable",
222
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
223
+ "group": "output",
224
+ "type": "String",
225
+ "binding": {
226
+ "type": "zeebe:taskHeader",
227
+ "key": "resultVariable"
228
+ }
229
+ },
230
+ {
231
+ "label": "Result expression",
232
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
233
+ "group": "output",
234
+ "type": "Text",
235
+ "feel": "required",
236
+ "binding": {
237
+ "type": "zeebe:taskHeader",
238
+ "key": "resultExpression"
239
+ }
240
+ },
241
+ {
242
+ "label": "Error expression",
243
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
244
+ "group": "errors",
245
+ "type": "Text",
246
+ "feel": "required",
247
+ "binding": {
248
+ "type": "zeebe:taskHeader",
249
+ "key": "errorExpression"
250
+ }
251
+ }
252
+ ],
253
+ "engines": {
254
+ "camunda": "^8.2"
255
+ }
256
+ },
2
257
  {
3
258
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
259
  "name": "Slack Outbound Connector",
@@ -383,14 +638,11 @@
383
638
  },
384
639
  {
385
640
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
386
- "name": "Slack connector",
641
+ "name": "Slack Outbound Connector",
387
642
  "id": "io.camunda.connectors.Slack.v1",
388
- "deprecated": {
389
- "message": "Replace with 'Slack connector' template.",
390
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
391
- },
643
+ "version": 2,
392
644
  "description": "Create a channel or send a message to a channel or user",
393
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
645
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
394
646
  "icon": {
395
647
  "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"
396
648
  },
@@ -575,7 +827,7 @@
575
827
  "constraints": {
576
828
  "notEmpty": true,
577
829
  "pattern": {
578
- "value": "^(=|([-_a-z0-9]{1,80}$))",
830
+ "value": "^(=|[-_a-z0-9]{1,80}$)",
579
831
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
580
832
  }
581
833
  },
@@ -634,15 +886,24 @@
634
886
  "key": "errorExpression"
635
887
  }
636
888
  }
637
- ]
889
+ ],
890
+ "engines": {
891
+ "camunda": "^8.2"
892
+ }
638
893
  },
639
894
  {
640
895
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
641
- "name": "Slack Outbound Connector",
896
+ "name": "Slack connector",
642
897
  "id": "io.camunda.connectors.Slack.v1",
898
+ "deprecated": {
899
+ "message": "Replace with 'Slack connector' template.",
900
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
901
+ },
643
902
  "description": "Create a channel or send a message to a channel or user",
644
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
645
- "version": 4,
903
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
904
+ "icon": {
905
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20%20viewBox%3D%220%200%20127%20127%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M27.2%2080c0%207.3-5.9%2013.2-13.2%2013.2C6.7%2093.2.8%2087.3.8%2080c0-7.3%205.9-13.2%2013.2-13.2h13.2V80zm6.6%200c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2v33c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V80z%22%20fill%3D%22%23E01E5A%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M47%2027c-7.3%200-13.2-5.9-13.2-13.2C33.8%206.5%2039.7.6%2047%20.6c7.3%200%2013.2%205.9%2013.2%2013.2V27H47zm0%206.7c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H13.9C6.6%2060.1.7%2054.2.7%2046.9c0-7.3%205.9-13.2%2013.2-13.2H47z%22%20fill%3D%22%2336C5F0%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M99.9%2046.9c0-7.3%205.9-13.2%2013.2-13.2%207.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H99.9V46.9zm-6.6%200c0%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V13.8C66.9%206.5%2072.8.6%2080.1.6c7.3%200%2013.2%205.9%2013.2%2013.2v33.1z%22%20fill%3D%22%232EB67D%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M80.1%2099.8c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2-7.3%200-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3%200-13.2-5.9-13.2-13.2%200-7.3%205.9-13.2%2013.2-13.2h33.1c7.3%200%2013.2%205.9%2013.2%2013.2%200%207.3-5.9%2013.2-13.2%2013.2H80.1z%22%20fill%3D%22%23ECB22E%22%2F%3E%0A%3C%2Fsvg%3E%0A"
906
+ },
646
907
  "category": {
647
908
  "id": "connectors",
648
909
  "name": "Connectors"
@@ -652,14 +913,14 @@
652
913
  "value": "bpmn:ServiceTask"
653
914
  },
654
915
  "groups": [
655
- {
656
- "id": "authentication",
657
- "label": "Authentication"
658
- },
659
916
  {
660
917
  "id": "method",
661
918
  "label": "Method"
662
919
  },
920
+ {
921
+ "id": "authentication",
922
+ "label": "Authentication"
923
+ },
663
924
  {
664
925
  "id": "message",
665
926
  "label": "Message"
@@ -677,48 +938,25 @@
677
938
  "label": "Output mapping"
678
939
  },
679
940
  {
680
- "id": "error",
941
+ "id": "errors",
681
942
  "label": "Error handling"
682
- },
683
- {
684
- "id": "retries",
685
- "label": "Retries"
686
943
  }
687
944
  ],
688
945
  "properties": [
689
946
  {
947
+ "type": "Hidden",
690
948
  "value": "io.camunda:slack:1",
691
949
  "binding": {
692
- "property": "type",
693
- "type": "zeebe:taskDefinition"
694
- },
695
- "type": "Hidden"
696
- },
697
- {
698
- "id": "token",
699
- "label": "OAuth token",
700
- "optional": false,
701
- "constraints": {
702
- "notEmpty": true
703
- },
704
- "feel": "optional",
705
- "group": "authentication",
706
- "binding": {
707
- "name": "token",
708
- "type": "zeebe:input"
709
- },
710
- "type": "String"
950
+ "type": "zeebe:taskDefinition",
951
+ "property": "type"
952
+ }
711
953
  },
712
954
  {
713
- "id": "method",
714
955
  "label": "Method",
715
- "value": "chat.postMessage",
716
956
  "group": "method",
717
- "binding": {
718
- "name": "method",
719
- "type": "zeebe:input"
720
- },
957
+ "id": "method",
721
958
  "type": "Dropdown",
959
+ "value": "chat.postMessage",
722
960
  "choices": [
723
961
  {
724
962
  "name": "Post message",
@@ -732,145 +970,55 @@
732
970
  "name": "Invite to channel",
733
971
  "value": "conversations.invite"
734
972
  }
735
- ]
736
- },
737
- {
738
- "id": "data.messageType",
739
- "label": "Message type",
740
- "optional": false,
741
- "value": "plainText",
742
- "group": "message",
973
+ ],
743
974
  "binding": {
744
- "name": "data.messageType",
745
- "type": "zeebe:input"
746
- },
747
- "condition": {
748
- "allMatch": [
749
- {
750
- "property": "method",
751
- "equals": "chat.postMessage",
752
- "type": "simple"
753
- },
754
- {
755
- "property": "method",
756
- "equals": "chat.postMessage",
757
- "type": "simple"
758
- }
759
- ]
760
- },
761
- "type": "Dropdown",
762
- "choices": [
763
- {
764
- "name": "Plain text",
765
- "value": "plainText"
766
- },
767
- {
768
- "name": "Message block",
769
- "value": "messageBlock"
770
- }
771
- ]
975
+ "type": "zeebe:input",
976
+ "name": "method"
977
+ }
772
978
  },
773
979
  {
774
- "id": "data.text",
775
- "label": "Message",
776
- "optional": false,
777
- "constraints": {
778
- "notEmpty": true
779
- },
980
+ "label": "OAuth token",
981
+ "group": "authentication",
982
+ "type": "String",
780
983
  "feel": "optional",
781
- "group": "message",
782
984
  "binding": {
783
- "name": "data.text",
784
- "type": "zeebe:input"
785
- },
786
- "condition": {
787
- "allMatch": [
788
- {
789
- "property": "data.messageType",
790
- "equals": "plainText",
791
- "type": "simple"
792
- },
793
- {
794
- "property": "method",
795
- "equals": "chat.postMessage",
796
- "type": "simple"
797
- }
798
- ]
985
+ "type": "zeebe:input",
986
+ "name": "token"
799
987
  },
800
- "type": "Text"
801
- },
802
- {
803
- "id": "data.blockContent",
804
- "label": "Message block",
805
- "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>",
806
- "optional": false,
807
- "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]",
808
988
  "constraints": {
809
989
  "notEmpty": true
810
- },
811
- "feel": "required",
812
- "group": "message",
813
- "binding": {
814
- "name": "data.blockContent",
815
- "type": "zeebe:input"
816
- },
817
- "condition": {
818
- "allMatch": [
819
- {
820
- "property": "data.messageType",
821
- "equals": "messageBlock",
822
- "type": "simple"
823
- },
824
- {
825
- "property": "method",
826
- "equals": "chat.postMessage",
827
- "type": "simple"
828
- }
829
- ]
830
- },
831
- "type": "String"
990
+ }
832
991
  },
833
992
  {
834
- "id": "data.channel",
835
993
  "label": "Channel/user name/email",
836
- "optional": false,
837
- "constraints": {
838
- "notEmpty": true
839
- },
840
- "feel": "optional",
841
994
  "group": "channel",
995
+ "type": "String",
996
+ "feel": "optional",
842
997
  "binding": {
843
- "name": "data.channel",
844
- "type": "zeebe:input"
998
+ "type": "zeebe:input",
999
+ "name": "data.channel"
1000
+ },
1001
+ "constraints": {
1002
+ "notEmpty": true,
1003
+ "pattern": {
1004
+ "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
1005
+ "message": "Must be a #channel, @user, email or FEEL expression."
1006
+ }
845
1007
  },
846
1008
  "condition": {
847
1009
  "property": "method",
848
- "equals": "chat.postMessage",
849
- "type": "simple"
850
- },
851
- "type": "String"
1010
+ "equals": "chat.postMessage"
1011
+ }
852
1012
  },
853
1013
  {
854
- "id": "data.thread",
855
- "label": "Thread",
856
- "optional": true,
857
- "feel": "optional",
1014
+ "label": "New channel name",
858
1015
  "group": "channel",
1016
+ "type": "String",
1017
+ "feel": "optional",
859
1018
  "binding": {
860
- "name": "data.thread",
861
- "type": "zeebe:input"
862
- },
863
- "condition": {
864
- "property": "method",
865
- "equals": "chat.postMessage",
866
- "type": "simple"
1019
+ "type": "zeebe:input",
1020
+ "name": "data.newChannelName"
867
1021
  },
868
- "type": "String"
869
- },
870
- {
871
- "id": "data.newChannelName",
872
- "label": "Channel name",
873
- "optional": false,
874
1022
  "constraints": {
875
1023
  "notEmpty": true,
876
1024
  "pattern": {
@@ -878,53 +1026,62 @@
878
1026
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
879
1027
  }
880
1028
  },
881
- "feel": "optional",
882
- "group": "channel",
883
- "binding": {
884
- "name": "data.newChannelName",
885
- "type": "zeebe:input"
886
- },
887
1029
  "condition": {
888
1030
  "property": "method",
889
- "equals": "conversations.create",
890
- "type": "simple"
891
- },
892
- "type": "String"
1031
+ "equals": "conversations.create"
1032
+ }
893
1033
  },
894
1034
  {
895
- "id": "data.visibility",
896
1035
  "label": "Visibility",
897
- "optional": false,
898
- "value": "PUBLIC",
899
- "constraints": {
900
- "notEmpty": true
901
- },
902
1036
  "group": "channel",
903
- "binding": {
904
- "name": "data.visibility",
905
- "type": "zeebe:input"
906
- },
907
- "condition": {
908
- "property": "method",
909
- "equals": "conversations.create",
910
- "type": "simple"
911
- },
912
1037
  "type": "Dropdown",
1038
+ "value": "PUBLIC",
1039
+ "optional": false,
913
1040
  "choices": [
914
- {
915
- "name": "Public",
916
- "value": "PUBLIC"
917
- },
918
1041
  {
919
1042
  "name": "Private",
920
1043
  "value": "PRIVATE"
1044
+ },
1045
+ {
1046
+ "name": "Public",
1047
+ "value": "PUBLIC"
921
1048
  }
922
- ]
1049
+ ],
1050
+ "binding": {
1051
+ "type": "zeebe:input",
1052
+ "name": "data.visibility"
1053
+ },
1054
+ "condition": {
1055
+ "property": "method",
1056
+ "equals": "conversations.create"
1057
+ }
1058
+ },
1059
+ {
1060
+ "label": "Message",
1061
+ "group": "message",
1062
+ "type": "Text",
1063
+ "feel": "optional",
1064
+ "binding": {
1065
+ "type": "zeebe:input",
1066
+ "name": "data.text"
1067
+ },
1068
+ "constraints": {
1069
+ "notEmpty": true
1070
+ },
1071
+ "condition": {
1072
+ "property": "method",
1073
+ "equals": "chat.postMessage"
1074
+ }
923
1075
  },
924
1076
  {
925
- "id": "data.channelName",
926
1077
  "label": "Channel name",
927
- "optional": false,
1078
+ "group": "invite",
1079
+ "type": "String",
1080
+ "feel": "optional",
1081
+ "binding": {
1082
+ "type": "zeebe:input",
1083
+ "name": "data.channelName"
1084
+ },
928
1085
  "constraints": {
929
1086
  "notEmpty": true,
930
1087
  "pattern": {
@@ -932,119 +1089,73 @@
932
1089
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
933
1090
  }
934
1091
  },
935
- "feel": "optional",
936
- "group": "invite",
937
- "binding": {
938
- "name": "data.channelName",
939
- "type": "zeebe:input"
940
- },
941
1092
  "condition": {
942
1093
  "property": "method",
943
- "equals": "conversations.invite",
944
- "type": "simple"
945
- },
946
- "type": "String"
1094
+ "equals": "conversations.invite"
1095
+ }
947
1096
  },
948
1097
  {
949
- "id": "data.users",
950
1098
  "label": "Users",
951
1099
  "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
952
- "optional": false,
953
- "constraints": {
954
- "notEmpty": true
955
- },
956
- "feel": "optional",
957
1100
  "group": "invite",
1101
+ "type": "String",
1102
+ "feel": "optional",
958
1103
  "binding": {
959
- "name": "data.users",
960
- "type": "zeebe:input"
1104
+ "type": "zeebe:input",
1105
+ "name": "data.users"
1106
+ },
1107
+ "constraints": {
1108
+ "notEmpty": true
961
1109
  },
962
1110
  "condition": {
963
1111
  "property": "method",
964
- "equals": "conversations.invite",
965
- "type": "simple"
966
- },
967
- "type": "String"
1112
+ "equals": "conversations.invite"
1113
+ }
968
1114
  },
969
1115
  {
970
- "id": "resultVariable",
971
1116
  "label": "Result variable",
972
- "description": "Name of variable to store the response in",
1117
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
973
1118
  "group": "output",
1119
+ "type": "String",
974
1120
  "binding": {
975
- "key": "resultVariable",
976
- "type": "zeebe:taskHeader"
977
- },
978
- "type": "String"
1121
+ "type": "zeebe:taskHeader",
1122
+ "key": "resultVariable"
1123
+ }
979
1124
  },
980
1125
  {
981
- "id": "resultExpression",
982
1126
  "label": "Result expression",
983
- "description": "Expression to map the response into process variables",
984
- "feel": "required",
1127
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
985
1128
  "group": "output",
1129
+ "type": "Text",
1130
+ "feel": "required",
986
1131
  "binding": {
987
- "key": "resultExpression",
988
- "type": "zeebe:taskHeader"
989
- },
990
- "type": "Text"
1132
+ "type": "zeebe:taskHeader",
1133
+ "key": "resultExpression"
1134
+ }
991
1135
  },
992
1136
  {
993
- "id": "errorExpression",
994
1137
  "label": "Error expression",
995
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1138
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1139
+ "group": "errors",
1140
+ "type": "Text",
996
1141
  "feel": "required",
997
- "group": "error",
998
- "binding": {
999
- "key": "errorExpression",
1000
- "type": "zeebe:taskHeader"
1001
- },
1002
- "type": "Text"
1003
- },
1004
- {
1005
- "id": "retryCount",
1006
- "label": "Retries",
1007
- "description": "Number of retries",
1008
- "value": "3",
1009
- "feel": "optional",
1010
- "group": "retries",
1011
- "binding": {
1012
- "property": "retries",
1013
- "type": "zeebe:taskDefinition"
1014
- },
1015
- "type": "String"
1016
- },
1017
- {
1018
- "id": "retryBackoff",
1019
- "label": "Retry backoff",
1020
- "description": "ISO-8601 duration to wait between retries",
1021
- "value": "PT0S",
1022
- "feel": "optional",
1023
- "group": "retries",
1024
1142
  "binding": {
1025
- "key": "retryBackoff",
1026
- "type": "zeebe:taskHeader"
1027
- },
1028
- "type": "String"
1143
+ "type": "zeebe:taskHeader",
1144
+ "key": "errorExpression"
1145
+ }
1029
1146
  }
1030
- ],
1031
- "icon": {
1032
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1033
- },
1034
- "engines": {
1035
- "camunda": "^8.6"
1036
- }
1147
+ ]
1037
1148
  },
1038
1149
  {
1039
1150
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1040
1151
  "name": "Slack Outbound Connector",
1041
1152
  "id": "io.camunda.connectors.Slack.v1",
1042
- "version": 2,
1043
1153
  "description": "Create a channel or send a message to a channel or user",
1044
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1045
- "icon": {
1046
- "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"
1154
+ "metadata": {
1155
+ "keywords": []
1047
1156
  },
1157
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1158
+ "version": 6,
1048
1159
  "category": {
1049
1160
  "id": "connectors",
1050
1161
  "name": "Connectors"
@@ -1053,15 +1164,18 @@
1053
1164
  "elementType": {
1054
1165
  "value": "bpmn:ServiceTask"
1055
1166
  },
1167
+ "engines": {
1168
+ "camunda": "^8.3"
1169
+ },
1056
1170
  "groups": [
1057
- {
1058
- "id": "method",
1059
- "label": "Method"
1060
- },
1061
1171
  {
1062
1172
  "id": "authentication",
1063
1173
  "label": "Authentication"
1064
1174
  },
1175
+ {
1176
+ "id": "method",
1177
+ "label": "Method"
1178
+ },
1065
1179
  {
1066
1180
  "id": "message",
1067
1181
  "label": "Message"
@@ -1079,25 +1193,48 @@
1079
1193
  "label": "Output mapping"
1080
1194
  },
1081
1195
  {
1082
- "id": "errors",
1196
+ "id": "error",
1083
1197
  "label": "Error handling"
1198
+ },
1199
+ {
1200
+ "id": "retries",
1201
+ "label": "Retries"
1084
1202
  }
1085
1203
  ],
1086
1204
  "properties": [
1087
1205
  {
1088
- "type": "Hidden",
1089
1206
  "value": "io.camunda:slack:1",
1090
1207
  "binding": {
1091
- "type": "zeebe:taskDefinition",
1092
- "property": "type"
1093
- }
1208
+ "property": "type",
1209
+ "type": "zeebe:taskDefinition"
1210
+ },
1211
+ "type": "Hidden"
1212
+ },
1213
+ {
1214
+ "id": "token",
1215
+ "label": "OAuth token",
1216
+ "optional": false,
1217
+ "constraints": {
1218
+ "notEmpty": true
1219
+ },
1220
+ "feel": "optional",
1221
+ "group": "authentication",
1222
+ "binding": {
1223
+ "name": "token",
1224
+ "type": "zeebe:input"
1225
+ },
1226
+ "type": "String"
1094
1227
  },
1095
1228
  {
1229
+ "id": "method",
1096
1230
  "label": "Method",
1231
+ "value": "chat.postMessage",
1097
1232
  "group": "method",
1098
- "id": "method",
1233
+ "binding": {
1234
+ "name": "method",
1235
+ "type": "zeebe:input"
1236
+ },
1099
1237
  "type": "Dropdown",
1100
- "value": "chat.postMessage",
1101
1238
  "choices": [
1102
1239
  {
1103
1240
  "name": "Post message",
@@ -1111,55 +1248,163 @@
1111
1248
  "name": "Invite to channel",
1112
1249
  "value": "conversations.invite"
1113
1250
  }
1114
- ],
1115
- "binding": {
1116
- "type": "zeebe:input",
1117
- "name": "method"
1118
- }
1251
+ ]
1119
1252
  },
1120
1253
  {
1121
- "label": "OAuth token",
1122
- "group": "authentication",
1123
- "type": "String",
1124
- "feel": "optional",
1254
+ "id": "data.messageType",
1255
+ "label": "Message type",
1256
+ "optional": false,
1257
+ "value": "plainText",
1258
+ "group": "message",
1125
1259
  "binding": {
1126
- "type": "zeebe:input",
1127
- "name": "token"
1260
+ "name": "data.messageType",
1261
+ "type": "zeebe:input"
1128
1262
  },
1129
- "constraints": {
1130
- "notEmpty": true
1131
- }
1263
+ "condition": {
1264
+ "allMatch": [
1265
+ {
1266
+ "property": "method",
1267
+ "equals": "chat.postMessage",
1268
+ "type": "simple"
1269
+ },
1270
+ {
1271
+ "property": "method",
1272
+ "equals": "chat.postMessage",
1273
+ "type": "simple"
1274
+ }
1275
+ ]
1276
+ },
1277
+ "type": "Dropdown",
1278
+ "choices": [
1279
+ {
1280
+ "name": "Plain text",
1281
+ "value": "plainText"
1282
+ },
1283
+ {
1284
+ "name": "Message block",
1285
+ "value": "messageBlock"
1286
+ }
1287
+ ]
1132
1288
  },
1133
1289
  {
1134
- "label": "Channel/user name/email",
1135
- "group": "channel",
1136
- "type": "String",
1290
+ "id": "data.text",
1291
+ "label": "Message",
1292
+ "optional": false,
1293
+ "constraints": {
1294
+ "notEmpty": true
1295
+ },
1137
1296
  "feel": "optional",
1297
+ "group": "message",
1138
1298
  "binding": {
1139
- "type": "zeebe:input",
1140
- "name": "data.channel"
1299
+ "name": "data.text",
1300
+ "type": "zeebe:input"
1141
1301
  },
1302
+ "condition": {
1303
+ "allMatch": [
1304
+ {
1305
+ "property": "data.messageType",
1306
+ "equals": "plainText",
1307
+ "type": "simple"
1308
+ },
1309
+ {
1310
+ "property": "method",
1311
+ "equals": "chat.postMessage",
1312
+ "type": "simple"
1313
+ }
1314
+ ]
1315
+ },
1316
+ "type": "Text"
1317
+ },
1318
+ {
1319
+ "id": "data.blockContent",
1320
+ "label": "Message block",
1321
+ "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>",
1322
+ "optional": false,
1323
+ "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]",
1142
1324
  "constraints": {
1143
- "notEmpty": true,
1144
- "pattern": {
1145
- "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
1146
- "message": "Must be a #channel, @user, email or FEEL expression."
1147
- }
1325
+ "notEmpty": true
1326
+ },
1327
+ "feel": "required",
1328
+ "group": "message",
1329
+ "binding": {
1330
+ "name": "data.blockContent",
1331
+ "type": "zeebe:input"
1332
+ },
1333
+ "condition": {
1334
+ "allMatch": [
1335
+ {
1336
+ "property": "data.messageType",
1337
+ "equals": "messageBlock",
1338
+ "type": "simple"
1339
+ },
1340
+ {
1341
+ "property": "method",
1342
+ "equals": "chat.postMessage",
1343
+ "type": "simple"
1344
+ }
1345
+ ]
1346
+ },
1347
+ "type": "String"
1348
+ },
1349
+ {
1350
+ "id": "data.documents",
1351
+ "label": "attachments",
1352
+ "description": "<a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a> can be added as attachments",
1353
+ "optional": true,
1354
+ "feel": "required",
1355
+ "group": "message",
1356
+ "binding": {
1357
+ "name": "data.documents",
1358
+ "type": "zeebe:input"
1148
1359
  },
1149
1360
  "condition": {
1150
1361
  "property": "method",
1151
- "equals": "chat.postMessage"
1152
- }
1362
+ "equals": "chat.postMessage",
1363
+ "type": "simple"
1364
+ },
1365
+ "type": "String"
1153
1366
  },
1154
1367
  {
1155
- "label": "New channel name",
1368
+ "id": "data.channel",
1369
+ "label": "Channel/user name/email",
1370
+ "optional": false,
1371
+ "constraints": {
1372
+ "notEmpty": true
1373
+ },
1374
+ "feel": "optional",
1156
1375
  "group": "channel",
1157
- "type": "String",
1376
+ "binding": {
1377
+ "name": "data.channel",
1378
+ "type": "zeebe:input"
1379
+ },
1380
+ "condition": {
1381
+ "property": "method",
1382
+ "equals": "chat.postMessage",
1383
+ "type": "simple"
1384
+ },
1385
+ "type": "String"
1386
+ },
1387
+ {
1388
+ "id": "data.thread",
1389
+ "label": "Thread",
1390
+ "optional": true,
1158
1391
  "feel": "optional",
1392
+ "group": "channel",
1159
1393
  "binding": {
1160
- "type": "zeebe:input",
1161
- "name": "data.newChannelName"
1394
+ "name": "data.thread",
1395
+ "type": "zeebe:input"
1396
+ },
1397
+ "condition": {
1398
+ "property": "method",
1399
+ "equals": "chat.postMessage",
1400
+ "type": "simple"
1162
1401
  },
1402
+ "type": "String"
1403
+ },
1404
+ {
1405
+ "id": "data.newChannelName",
1406
+ "label": "Channel name",
1407
+ "optional": false,
1163
1408
  "constraints": {
1164
1409
  "notEmpty": true,
1165
1410
  "pattern": {
@@ -1167,127 +1412,235 @@
1167
1412
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1168
1413
  }
1169
1414
  },
1415
+ "feel": "optional",
1416
+ "group": "channel",
1417
+ "binding": {
1418
+ "name": "data.newChannelName",
1419
+ "type": "zeebe:input"
1420
+ },
1170
1421
  "condition": {
1171
1422
  "property": "method",
1172
- "equals": "conversations.create"
1173
- }
1423
+ "equals": "conversations.create",
1424
+ "type": "simple"
1425
+ },
1426
+ "type": "String"
1174
1427
  },
1175
1428
  {
1429
+ "id": "data.visibility",
1176
1430
  "label": "Visibility",
1431
+ "optional": false,
1432
+ "value": "PUBLIC",
1433
+ "constraints": {
1434
+ "notEmpty": true
1435
+ },
1177
1436
  "group": "channel",
1437
+ "binding": {
1438
+ "name": "data.visibility",
1439
+ "type": "zeebe:input"
1440
+ },
1441
+ "condition": {
1442
+ "property": "method",
1443
+ "equals": "conversations.create",
1444
+ "type": "simple"
1445
+ },
1178
1446
  "type": "Dropdown",
1179
- "value": "PUBLIC",
1180
- "optional": false,
1181
1447
  "choices": [
1182
- {
1183
- "name": "Private",
1184
- "value": "PRIVATE"
1185
- },
1186
1448
  {
1187
1449
  "name": "Public",
1188
1450
  "value": "PUBLIC"
1451
+ },
1452
+ {
1453
+ "name": "Private",
1454
+ "value": "PRIVATE"
1189
1455
  }
1190
- ],
1191
- "binding": {
1192
- "type": "zeebe:input",
1193
- "name": "data.visibility"
1194
- },
1195
- "condition": {
1196
- "property": "method",
1197
- "equals": "conversations.create"
1198
- }
1456
+ ]
1199
1457
  },
1200
1458
  {
1201
- "label": "Message",
1202
- "group": "message",
1203
- "type": "Text",
1204
- "feel": "optional",
1459
+ "id": "data.channelType",
1460
+ "label": "Invite By",
1461
+ "optional": false,
1462
+ "value": "channelId",
1463
+ "group": "invite",
1205
1464
  "binding": {
1206
- "type": "zeebe:input",
1207
- "name": "data.text"
1208
- },
1209
- "constraints": {
1210
- "notEmpty": true
1465
+ "name": "data.channelType",
1466
+ "type": "zeebe:input"
1211
1467
  },
1212
1468
  "condition": {
1213
- "property": "method",
1214
- "equals": "chat.postMessage"
1215
- }
1469
+ "allMatch": [
1470
+ {
1471
+ "property": "method",
1472
+ "equals": "conversations.invite",
1473
+ "type": "simple"
1474
+ },
1475
+ {
1476
+ "property": "method",
1477
+ "equals": "conversations.invite",
1478
+ "type": "simple"
1479
+ }
1480
+ ]
1481
+ },
1482
+ "type": "Dropdown",
1483
+ "choices": [
1484
+ {
1485
+ "name": "Channel ID",
1486
+ "value": "channelId"
1487
+ },
1488
+ {
1489
+ "name": "Channel name",
1490
+ "value": "channelName"
1491
+ }
1492
+ ]
1216
1493
  },
1217
1494
  {
1495
+ "id": "data.channelName",
1218
1496
  "label": "Channel name",
1219
- "group": "invite",
1220
- "type": "String",
1497
+ "optional": false,
1498
+ "constraints": {
1499
+ "notEmpty": true,
1500
+ "pattern": {
1501
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1502
+ "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1503
+ }
1504
+ },
1221
1505
  "feel": "optional",
1506
+ "group": "invite",
1222
1507
  "binding": {
1223
- "type": "zeebe:input",
1224
- "name": "data.channelName"
1508
+ "name": "data.channelName",
1509
+ "type": "zeebe:input"
1510
+ },
1511
+ "condition": {
1512
+ "allMatch": [
1513
+ {
1514
+ "property": "data.channelType",
1515
+ "equals": "channelName",
1516
+ "type": "simple"
1517
+ },
1518
+ {
1519
+ "property": "method",
1520
+ "equals": "conversations.invite",
1521
+ "type": "simple"
1522
+ }
1523
+ ]
1225
1524
  },
1525
+ "type": "String"
1526
+ },
1527
+ {
1528
+ "id": "data.channelId",
1529
+ "label": "Channel ID",
1530
+ "optional": false,
1226
1531
  "constraints": {
1227
1532
  "notEmpty": true,
1228
1533
  "pattern": {
1229
- "value": "^(=|[-_a-z0-9]{1,80}$)",
1534
+ "value": "^(=|([-_a-z0-9]{1,80}$))",
1230
1535
  "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
1231
1536
  }
1232
1537
  },
1538
+ "feel": "optional",
1539
+ "group": "invite",
1540
+ "binding": {
1541
+ "name": "data.channelId",
1542
+ "type": "zeebe:input"
1543
+ },
1233
1544
  "condition": {
1234
- "property": "method",
1235
- "equals": "conversations.invite"
1236
- }
1545
+ "allMatch": [
1546
+ {
1547
+ "property": "data.channelType",
1548
+ "equals": "channelId",
1549
+ "type": "simple"
1550
+ },
1551
+ {
1552
+ "property": "method",
1553
+ "equals": "conversations.invite",
1554
+ "type": "simple"
1555
+ }
1556
+ ]
1557
+ },
1558
+ "type": "String"
1237
1559
  },
1238
1560
  {
1561
+ "id": "data.users",
1239
1562
  "label": "Users",
1240
1563
  "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
1241
- "group": "invite",
1242
- "type": "String",
1243
- "feel": "optional",
1244
- "binding": {
1245
- "type": "zeebe:input",
1246
- "name": "data.users"
1247
- },
1564
+ "optional": false,
1248
1565
  "constraints": {
1249
1566
  "notEmpty": true
1250
1567
  },
1568
+ "feel": "optional",
1569
+ "group": "invite",
1570
+ "binding": {
1571
+ "name": "data.users",
1572
+ "type": "zeebe:input"
1573
+ },
1251
1574
  "condition": {
1252
1575
  "property": "method",
1253
- "equals": "conversations.invite"
1254
- }
1576
+ "equals": "conversations.invite",
1577
+ "type": "simple"
1578
+ },
1579
+ "type": "String"
1255
1580
  },
1256
1581
  {
1582
+ "id": "resultVariable",
1257
1583
  "label": "Result variable",
1258
- "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>",
1584
+ "description": "Name of variable to store the response in",
1259
1585
  "group": "output",
1260
- "type": "String",
1261
1586
  "binding": {
1262
- "type": "zeebe:taskHeader",
1263
- "key": "resultVariable"
1264
- }
1587
+ "key": "resultVariable",
1588
+ "type": "zeebe:taskHeader"
1589
+ },
1590
+ "type": "String"
1265
1591
  },
1266
1592
  {
1593
+ "id": "resultExpression",
1267
1594
  "label": "Result expression",
1268
- "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>",
1269
- "group": "output",
1270
- "type": "Text",
1595
+ "description": "Expression to map the response into process variables",
1271
1596
  "feel": "required",
1597
+ "group": "output",
1272
1598
  "binding": {
1273
- "type": "zeebe:taskHeader",
1274
- "key": "resultExpression"
1275
- }
1599
+ "key": "resultExpression",
1600
+ "type": "zeebe:taskHeader"
1601
+ },
1602
+ "type": "Text"
1276
1603
  },
1277
1604
  {
1605
+ "id": "errorExpression",
1278
1606
  "label": "Error expression",
1279
- "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>",
1280
- "group": "errors",
1281
- "type": "Text",
1607
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1282
1608
  "feel": "required",
1609
+ "group": "error",
1283
1610
  "binding": {
1284
- "type": "zeebe:taskHeader",
1285
- "key": "errorExpression"
1286
- }
1611
+ "key": "errorExpression",
1612
+ "type": "zeebe:taskHeader"
1613
+ },
1614
+ "type": "Text"
1615
+ },
1616
+ {
1617
+ "id": "retryCount",
1618
+ "label": "Retries",
1619
+ "description": "Number of retries",
1620
+ "value": "3",
1621
+ "feel": "optional",
1622
+ "group": "retries",
1623
+ "binding": {
1624
+ "property": "retries",
1625
+ "type": "zeebe:taskDefinition"
1626
+ },
1627
+ "type": "String"
1628
+ },
1629
+ {
1630
+ "id": "retryBackoff",
1631
+ "label": "Retry backoff",
1632
+ "description": "ISO-8601 duration to wait between retries",
1633
+ "value": "PT0S",
1634
+ "group": "retries",
1635
+ "binding": {
1636
+ "key": "retryBackoff",
1637
+ "type": "zeebe:taskHeader"
1638
+ },
1639
+ "type": "String"
1287
1640
  }
1288
1641
  ],
1289
- "engines": {
1290
- "camunda": "^8.2"
1642
+ "icon": {
1643
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1291
1644
  }
1292
1645
  },
1293
1646
  {
@@ -1772,11 +2125,8 @@
1772
2125
  "name": "Slack Outbound Connector",
1773
2126
  "id": "io.camunda.connectors.Slack.v1",
1774
2127
  "description": "Create a channel or send a message to a channel or user",
1775
- "metadata": {
1776
- "keywords": []
1777
- },
1778
2128
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=outbound",
1779
- "version": 6,
2129
+ "version": 4,
1780
2130
  "category": {
1781
2131
  "id": "connectors",
1782
2132
  "name": "Connectors"
@@ -1785,9 +2135,6 @@
1785
2135
  "elementType": {
1786
2136
  "value": "bpmn:ServiceTask"
1787
2137
  },
1788
- "engines": {
1789
- "camunda": "^8.3"
1790
- },
1791
2138
  "groups": [
1792
2139
  {
1793
2140
  "id": "authentication",
@@ -1967,24 +2314,6 @@
1967
2314
  },
1968
2315
  "type": "String"
1969
2316
  },
1970
- {
1971
- "id": "data.documents",
1972
- "label": "attachments",
1973
- "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",
1974
- "optional": true,
1975
- "feel": "required",
1976
- "group": "message",
1977
- "binding": {
1978
- "name": "data.documents",
1979
- "type": "zeebe:input"
1980
- },
1981
- "condition": {
1982
- "property": "method",
1983
- "equals": "chat.postMessage",
1984
- "type": "simple"
1985
- },
1986
- "type": "String"
1987
- },
1988
2317
  {
1989
2318
  "id": "data.channel",
1990
2319
  "label": "Channel/user name/email",
@@ -2076,42 +2405,6 @@
2076
2405
  }
2077
2406
  ]
2078
2407
  },
2079
- {
2080
- "id": "data.channelType",
2081
- "label": "Invite By",
2082
- "optional": false,
2083
- "value": "channelId",
2084
- "group": "invite",
2085
- "binding": {
2086
- "name": "data.channelType",
2087
- "type": "zeebe:input"
2088
- },
2089
- "condition": {
2090
- "allMatch": [
2091
- {
2092
- "property": "method",
2093
- "equals": "conversations.invite",
2094
- "type": "simple"
2095
- },
2096
- {
2097
- "property": "method",
2098
- "equals": "conversations.invite",
2099
- "type": "simple"
2100
- }
2101
- ]
2102
- },
2103
- "type": "Dropdown",
2104
- "choices": [
2105
- {
2106
- "name": "Channel ID",
2107
- "value": "channelId"
2108
- },
2109
- {
2110
- "name": "Channel name",
2111
- "value": "channelName"
2112
- }
2113
- ]
2114
- },
2115
2408
  {
2116
2409
  "id": "data.channelName",
2117
2410
  "label": "Channel name",
@@ -2130,51 +2423,9 @@
2130
2423
  "type": "zeebe:input"
2131
2424
  },
2132
2425
  "condition": {
2133
- "allMatch": [
2134
- {
2135
- "property": "data.channelType",
2136
- "equals": "channelName",
2137
- "type": "simple"
2138
- },
2139
- {
2140
- "property": "method",
2141
- "equals": "conversations.invite",
2142
- "type": "simple"
2143
- }
2144
- ]
2145
- },
2146
- "type": "String"
2147
- },
2148
- {
2149
- "id": "data.channelId",
2150
- "label": "Channel ID",
2151
- "optional": false,
2152
- "constraints": {
2153
- "notEmpty": true,
2154
- "pattern": {
2155
- "value": "^(=|([-_a-z0-9]{1,80}$))",
2156
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
2157
- }
2158
- },
2159
- "feel": "optional",
2160
- "group": "invite",
2161
- "binding": {
2162
- "name": "data.channelId",
2163
- "type": "zeebe:input"
2164
- },
2165
- "condition": {
2166
- "allMatch": [
2167
- {
2168
- "property": "data.channelType",
2169
- "equals": "channelId",
2170
- "type": "simple"
2171
- },
2172
- {
2173
- "property": "method",
2174
- "equals": "conversations.invite",
2175
- "type": "simple"
2176
- }
2177
- ]
2426
+ "property": "method",
2427
+ "equals": "conversations.invite",
2428
+ "type": "simple"
2178
2429
  },
2179
2430
  "type": "String"
2180
2431
  },
@@ -2252,6 +2503,7 @@
2252
2503
  "label": "Retry backoff",
2253
2504
  "description": "ISO-8601 duration to wait between retries",
2254
2505
  "value": "PT0S",
2506
+ "feel": "optional",
2255
2507
  "group": "retries",
2256
2508
  "binding": {
2257
2509
  "key": "retryBackoff",
@@ -2262,261 +2514,9 @@
2262
2514
  ],
2263
2515
  "icon": {
2264
2516
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
2265
- }
2266
- },
2267
- {
2268
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2269
- "name": "Slack connector",
2270
- "id": "io.camunda.connectors.Slack.v1",
2271
- "version": 1,
2272
- "description": "Create a channel or send a message to a channel or user",
2273
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/",
2274
- "icon": {
2275
- "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"
2276
- },
2277
- "category": {
2278
- "id": "connectors",
2279
- "name": "Connectors"
2280
- },
2281
- "appliesTo": ["bpmn:Task"],
2282
- "elementType": {
2283
- "value": "bpmn:ServiceTask"
2284
2517
  },
2285
- "groups": [
2286
- {
2287
- "id": "method",
2288
- "label": "Method"
2289
- },
2290
- {
2291
- "id": "authentication",
2292
- "label": "Authentication"
2293
- },
2294
- {
2295
- "id": "message",
2296
- "label": "Message"
2297
- },
2298
- {
2299
- "id": "channel",
2300
- "label": "Channel"
2301
- },
2302
- {
2303
- "id": "invite",
2304
- "label": "Invite"
2305
- },
2306
- {
2307
- "id": "output",
2308
- "label": "Output mapping"
2309
- },
2310
- {
2311
- "id": "errors",
2312
- "label": "Error handling"
2313
- }
2314
- ],
2315
- "properties": [
2316
- {
2317
- "type": "Hidden",
2318
- "value": "io.camunda:slack:1",
2319
- "binding": {
2320
- "type": "zeebe:taskDefinition",
2321
- "property": "type"
2322
- }
2323
- },
2324
- {
2325
- "label": "Method",
2326
- "group": "method",
2327
- "id": "method",
2328
- "type": "Dropdown",
2329
- "value": "chat.postMessage",
2330
- "choices": [
2331
- {
2332
- "name": "Post message",
2333
- "value": "chat.postMessage"
2334
- },
2335
- {
2336
- "name": "Create channel",
2337
- "value": "conversations.create"
2338
- },
2339
- {
2340
- "name": "Invite to channel",
2341
- "value": "conversations.invite"
2342
- }
2343
- ],
2344
- "binding": {
2345
- "type": "zeebe:input",
2346
- "name": "method"
2347
- }
2348
- },
2349
- {
2350
- "label": "OAuth token",
2351
- "group": "authentication",
2352
- "type": "String",
2353
- "feel": "optional",
2354
- "binding": {
2355
- "type": "zeebe:input",
2356
- "name": "token"
2357
- },
2358
- "constraints": {
2359
- "notEmpty": true
2360
- }
2361
- },
2362
- {
2363
- "label": "Channel/user name/email",
2364
- "group": "channel",
2365
- "type": "String",
2366
- "feel": "optional",
2367
- "binding": {
2368
- "type": "zeebe:input",
2369
- "name": "data.channel"
2370
- },
2371
- "constraints": {
2372
- "notEmpty": true,
2373
- "pattern": {
2374
- "value": "(^(#|@|=).*)|(^.+[@].+[.].{2,4}$)",
2375
- "message": "Must be a #channel, @user, email or FEEL expression."
2376
- }
2377
- },
2378
- "condition": {
2379
- "property": "method",
2380
- "equals": "chat.postMessage"
2381
- }
2382
- },
2383
- {
2384
- "label": "New channel name",
2385
- "group": "channel",
2386
- "type": "String",
2387
- "feel": "optional",
2388
- "binding": {
2389
- "type": "zeebe:input",
2390
- "name": "data.newChannelName"
2391
- },
2392
- "constraints": {
2393
- "notEmpty": true,
2394
- "pattern": {
2395
- "value": "^(=|([-_a-z0-9]{1,80}$))",
2396
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
2397
- }
2398
- },
2399
- "condition": {
2400
- "property": "method",
2401
- "equals": "conversations.create"
2402
- }
2403
- },
2404
- {
2405
- "label": "Visibility",
2406
- "group": "channel",
2407
- "type": "Dropdown",
2408
- "value": "PUBLIC",
2409
- "optional": false,
2410
- "choices": [
2411
- {
2412
- "name": "Private",
2413
- "value": "PRIVATE"
2414
- },
2415
- {
2416
- "name": "Public",
2417
- "value": "PUBLIC"
2418
- }
2419
- ],
2420
- "binding": {
2421
- "type": "zeebe:input",
2422
- "name": "data.visibility"
2423
- },
2424
- "condition": {
2425
- "property": "method",
2426
- "equals": "conversations.create"
2427
- }
2428
- },
2429
- {
2430
- "label": "Message",
2431
- "group": "message",
2432
- "type": "Text",
2433
- "feel": "optional",
2434
- "binding": {
2435
- "type": "zeebe:input",
2436
- "name": "data.text"
2437
- },
2438
- "constraints": {
2439
- "notEmpty": true
2440
- },
2441
- "condition": {
2442
- "property": "method",
2443
- "equals": "chat.postMessage"
2444
- }
2445
- },
2446
- {
2447
- "label": "Channel name",
2448
- "group": "invite",
2449
- "type": "String",
2450
- "feel": "optional",
2451
- "binding": {
2452
- "type": "zeebe:input",
2453
- "name": "data.channelName"
2454
- },
2455
- "constraints": {
2456
- "notEmpty": true,
2457
- "pattern": {
2458
- "value": "^(=|([-_a-z0-9]{1,80}$))",
2459
- "message": "May contain up to 80 lowercase letters, digits, underscores, and dashes"
2460
- }
2461
- },
2462
- "condition": {
2463
- "property": "method",
2464
- "equals": "conversations.invite"
2465
- }
2466
- },
2467
- {
2468
- "label": "Users",
2469
- "description": "Comma-separated list of users, e.g., '@user1,@user2' or '=[ \"@user1\", \"user2@company.com\"]'",
2470
- "group": "invite",
2471
- "type": "String",
2472
- "feel": "optional",
2473
- "binding": {
2474
- "type": "zeebe:input",
2475
- "name": "data.users"
2476
- },
2477
- "constraints": {
2478
- "notEmpty": true
2479
- },
2480
- "condition": {
2481
- "property": "method",
2482
- "equals": "conversations.invite"
2483
- }
2484
- },
2485
- {
2486
- "label": "Result variable",
2487
- "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>",
2488
- "group": "output",
2489
- "type": "String",
2490
- "binding": {
2491
- "type": "zeebe:taskHeader",
2492
- "key": "resultVariable"
2493
- }
2494
- },
2495
- {
2496
- "label": "Result expression",
2497
- "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>",
2498
- "group": "output",
2499
- "type": "Text",
2500
- "feel": "required",
2501
- "binding": {
2502
- "type": "zeebe:taskHeader",
2503
- "key": "resultExpression"
2504
- }
2505
- },
2506
- {
2507
- "label": "Error expression",
2508
- "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>",
2509
- "group": "errors",
2510
- "type": "Text",
2511
- "feel": "required",
2512
- "binding": {
2513
- "type": "zeebe:taskHeader",
2514
- "key": "errorExpression"
2515
- }
2516
- }
2517
- ],
2518
2518
  "engines": {
2519
- "camunda": "^8.2"
2519
+ "camunda": "^8.6"
2520
2520
  }
2521
2521
  },
2522
2522
  {