@camunda/connectors-element-templates 1.0.16 → 1.0.17

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 (83) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +2 -0
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -0
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +3 -2
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +3 -2
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +3 -2
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +3 -2
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +163 -163
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +2144 -2144
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +467 -466
  12. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +482 -481
  13. package/src/element-templates/automation-anywhere-outbound-connector.json +613 -613
  14. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  15. package/src/element-templates/aws-dynamodb-outbound-connector.json +80 -80
  16. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  17. package/src/element-templates/aws-eventbridge-connector-intermediate.json +22 -22
  18. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  19. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  20. package/src/element-templates/aws-eventbridge-outbound-connector.json +188 -188
  21. package/src/element-templates/aws-lambda-outbound-connector.json +238 -238
  22. package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
  23. package/src/element-templates/aws-sns-inbound-intermediate.json +332 -332
  24. package/src/element-templates/aws-sns-inbound-message-start.json +110 -110
  25. package/src/element-templates/aws-sns-outbound-connector.json +741 -741
  26. package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
  27. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +493 -493
  28. package/src/element-templates/aws-sqs-outbound-connector.json +753 -753
  29. package/src/element-templates/aws-sqs-start-event-connector.json +483 -483
  30. package/src/element-templates/aws-sqs-start-message.json +438 -438
  31. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  32. package/src/element-templates/azure-open-ai-connector.json +32 -32
  33. package/src/element-templates/blue-prism-connector.json +6 -6
  34. package/src/element-templates/easy-post-connector.json +114 -114
  35. package/src/element-templates/email-inbound-connector-boundary.json +19 -19
  36. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  37. package/src/element-templates/email-message-start-event-connector.json +32 -32
  38. package/src/element-templates/email-outbound-connector.json +233 -233
  39. package/src/element-templates/github-connector.json +11435 -7908
  40. package/src/element-templates/github-webhook-connector-boundary.json +16 -16
  41. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  42. package/src/element-templates/github-webhook-connector-start-event.json +64 -64
  43. package/src/element-templates/gitlab-connector.json +3394 -3394
  44. package/src/element-templates/google-drive-outbound-connector.json +420 -420
  45. package/src/element-templates/google-maps-platform-connector.json +14 -14
  46. package/src/element-templates/google-sheets-outbound-connector.json +1055 -1055
  47. package/src/element-templates/graphql-outbound-connector.json +1341 -763
  48. package/src/element-templates/http-connector.json.json +654 -0
  49. package/src/element-templates/http-json-connector.json +1489 -1475
  50. package/src/element-templates/http-polling-boundary-catch-event-connector.json +801 -136
  51. package/src/element-templates/http-polling-connector.json +1604 -939
  52. package/src/element-templates/hugging-face-connector.json +196 -0
  53. package/src/element-templates/kafka-inbound-connector-boundary.json +483 -483
  54. package/src/element-templates/kafka-inbound-connector-intermediate.json +466 -466
  55. package/src/element-templates/kafka-inbound-connector-start-message.json +529 -529
  56. package/src/element-templates/kafka-outbound-connector.json +360 -360
  57. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +147 -7
  58. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +147 -7
  59. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +160 -20
  60. package/src/element-templates/microsoft-teams-outbound-connector.json +1892 -47
  61. package/src/element-templates/openai-connector.json +83 -83
  62. package/src/element-templates/operate-connector.json +21 -21
  63. package/src/element-templates/power-automate-connector.json +4 -4
  64. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +422 -422
  65. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +338 -338
  66. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +463 -463
  67. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +360 -360
  68. package/src/element-templates/rabbitmq-outbound-connector.json +354 -354
  69. package/src/element-templates/salesforce-connector.json +38 -38
  70. package/src/element-templates/sendgrid-outbound-connector.json +354 -354
  71. package/src/element-templates/slack-inbound-boundary.json +253 -253
  72. package/src/element-templates/slack-inbound-message-start.json +321 -321
  73. package/src/element-templates/slack-inbound-start-event.json +327 -327
  74. package/src/element-templates/slack-outbound-connector.json +1203 -507
  75. package/src/element-templates/twilio-connector.json +65 -65
  76. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  77. package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
  78. package/src/element-templates/uipath-connector.json +10 -10
  79. package/src/element-templates/webhook-connector-boundary.json +1192 -547
  80. package/src/element-templates/webhook-connector-intermediate.json +1258 -613
  81. package/src/element-templates/webhook-connector-receive.json +644 -0
  82. package/src/element-templates/webhook-connector-start-event.json +1690 -1136
  83. package/src/element-templates/webhook-connector-start-message.json +1601 -924
@@ -1,128 +1,4 @@
1
1
  [
2
- {
3
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Slack Webhook Start Event Connector",
5
- "id": "io.camunda.connectors.inbound.Slack.StartEvent.v1",
6
- "description": "Receive events from Slack",
7
- "version": 3,
8
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
9
- "category": {
10
- "id": "connectors",
11
- "name": "Connectors"
12
- },
13
- "appliesTo": ["bpmn:StartEvent"],
14
- "elementType": {
15
- "value": "bpmn:StartEvent"
16
- },
17
- "groups": [
18
- {
19
- "id": "endpoint",
20
- "label": "Webhook configuration"
21
- },
22
- {
23
- "id": "activation",
24
- "label": "Activation"
25
- },
26
- {
27
- "id": "variable-mapping",
28
- "label": "Variable mapping"
29
- }
30
- ],
31
- "properties": [
32
- {
33
- "type": "Hidden",
34
- "value": "io.camunda:slack-webhook:1",
35
- "binding": {
36
- "type": "zeebe:property",
37
- "name": "inbound.type"
38
- }
39
- },
40
- {
41
- "type": "Hidden",
42
- "value": "SlackEventsWebhook",
43
- "binding": {
44
- "type": "zeebe:property",
45
- "name": "inbound.subtype"
46
- }
47
- },
48
- {
49
- "label": "Webhook ID",
50
- "type": "String",
51
- "group": "endpoint",
52
- "binding": {
53
- "type": "zeebe:property",
54
- "name": "inbound.context"
55
- },
56
- "description": "The webhook ID is a part of the URL endpoint",
57
- "constraints": {
58
- "notEmpty": true
59
- }
60
- },
61
- {
62
- "label": "Slack signing secret",
63
- "description": "Slack signing secret. <a href='https://api.slack.com/authentication/verifying-requests-from-slack' target='_blank'>See documentation</a> regarding the Slack signing secret",
64
- "type": "String",
65
- "group": "endpoint",
66
- "feel": "optional",
67
- "binding": {
68
- "type": "zeebe:property",
69
- "name": "inbound.slackSigningSecret"
70
- },
71
- "constraints": {
72
- "notEmpty": true
73
- }
74
- },
75
- {
76
- "type": "Hidden",
77
- "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
78
- "binding": {
79
- "type": "zeebe:property",
80
- "name": "inbound.verificationExpression"
81
- }
82
- },
83
- {
84
- "label": "Condition",
85
- "type": "String",
86
- "group": "activation",
87
- "feel": "required",
88
- "optional": true,
89
- "binding": {
90
- "type": "zeebe:property",
91
- "name": "activationCondition"
92
- },
93
- "description": "Condition under which the connector triggers. Leave empty to catch all events."
94
- },
95
- {
96
- "label": "Result variable",
97
- "type": "String",
98
- "group": "variable-mapping",
99
- "optional": true,
100
- "binding": {
101
- "type": "zeebe:property",
102
- "name": "resultVariable"
103
- },
104
- "description": "Name of variable to store the result of the connector in"
105
- },
106
- {
107
- "label": "Result expression",
108
- "type": "String",
109
- "group": "variable-mapping",
110
- "feel": "required",
111
- "optional": true,
112
- "binding": {
113
- "type": "zeebe:property",
114
- "name": "resultExpression"
115
- },
116
- "description": "Expression to map the inbound payload to process variables"
117
- }
118
- ],
119
- "icon": {
120
- "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"
121
- },
122
- "engines": {
123
- "camunda": "^8.4"
124
- }
125
- },
126
2
  {
127
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
128
4
  "name": "Slack Webhook Start Event Connector",
@@ -132,15 +8,21 @@
132
8
  "keywords": []
133
9
  },
134
10
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
135
- "version": 6,
11
+ "version": 7,
136
12
  "category": {
137
13
  "id": "connectors",
138
14
  "name": "Connectors"
139
15
  },
16
+ "deprecated": {
17
+ "message": "Migrate to Webhook Message Start Event Connector"
18
+ },
140
19
  "appliesTo": ["bpmn:StartEvent"],
141
20
  "elementType": {
142
21
  "value": "bpmn:StartEvent"
143
22
  },
23
+ "engines": {
24
+ "camunda": "^8.3"
25
+ },
144
26
  "groups": [
145
27
  {
146
28
  "id": "endpoint",
@@ -150,6 +32,11 @@
150
32
  "id": "activation",
151
33
  "label": "Activation"
152
34
  },
35
+ {
36
+ "id": "deduplication",
37
+ "label": "Deduplication",
38
+ "tooltip": "Deduplication allows you to configure multiple inbound connector elements to reuse the same backend (consumer/thread/endpoint) by sharing the same deduplication ID."
39
+ },
153
40
  {
154
41
  "id": "output",
155
42
  "label": "Output mapping"
@@ -219,6 +106,82 @@
219
106
  },
220
107
  "type": "String"
221
108
  },
109
+ {
110
+ "id": "consumeUnmatchedEvents",
111
+ "label": "Consume unmatched events",
112
+ "value": true,
113
+ "group": "activation",
114
+ "binding": {
115
+ "name": "consumeUnmatchedEvents",
116
+ "type": "zeebe:property"
117
+ },
118
+ "tooltip": "Unmatched events are rejected by default, allowing the upstream service to handle the error. Check this box to consume unmatched events and return a success response",
119
+ "type": "Boolean"
120
+ },
121
+ {
122
+ "id": "deduplicationModeManualFlag",
123
+ "label": "Manual mode",
124
+ "description": "By default, similar connectors receive the same deduplication ID. Customize by activating manual mode",
125
+ "value": false,
126
+ "group": "deduplication",
127
+ "binding": {
128
+ "name": "deduplicationModeManualFlag",
129
+ "type": "zeebe:property"
130
+ },
131
+ "type": "Boolean"
132
+ },
133
+ {
134
+ "id": "deduplicationId",
135
+ "label": "Deduplication ID",
136
+ "constraints": {
137
+ "notEmpty": true,
138
+ "pattern": {
139
+ "value": "^[a-zA-Z0-9_-]+$",
140
+ "message": "can only contain alphanumeric characters, dashes, and underscores"
141
+ }
142
+ },
143
+ "group": "deduplication",
144
+ "binding": {
145
+ "name": "deduplicationId",
146
+ "type": "zeebe:property"
147
+ },
148
+ "condition": {
149
+ "property": "deduplicationModeManualFlag",
150
+ "equals": true,
151
+ "type": "simple"
152
+ },
153
+ "type": "String"
154
+ },
155
+ {
156
+ "id": "deduplicationModeManual",
157
+ "value": "MANUAL",
158
+ "group": "deduplication",
159
+ "binding": {
160
+ "name": "deduplicationMode",
161
+ "type": "zeebe:property"
162
+ },
163
+ "condition": {
164
+ "property": "deduplicationId",
165
+ "isActive": true,
166
+ "type": "simple"
167
+ },
168
+ "type": "Hidden"
169
+ },
170
+ {
171
+ "id": "deduplicationModeAuto",
172
+ "value": "AUTO",
173
+ "group": "deduplication",
174
+ "binding": {
175
+ "name": "deduplicationMode",
176
+ "type": "zeebe:property"
177
+ },
178
+ "condition": {
179
+ "property": "deduplicationId",
180
+ "isActive": false,
181
+ "type": "simple"
182
+ },
183
+ "type": "Hidden"
184
+ },
222
185
  {
223
186
  "id": "resultVariable",
224
187
  "label": "Result variable",
@@ -243,20 +206,17 @@
243
206
  "type": "Text"
244
207
  }
245
208
  ],
246
- "engines": {
247
- "camunda": "^8.3"
248
- },
249
209
  "icon": {
250
210
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
251
211
  }
252
212
  },
253
213
  {
254
214
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
255
- "name": "Slack Webhook Start Event Connector",
215
+ "name": "Slack Webhook",
256
216
  "id": "io.camunda.connectors.inbound.Slack.StartEvent.v1",
257
217
  "description": "Receive events from Slack",
258
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
259
- "version": 5,
218
+ "version": 1,
219
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack-inbound/",
260
220
  "category": {
261
221
  "id": "connectors",
262
222
  "name": "Connectors"
@@ -275,103 +235,95 @@
275
235
  "label": "Activation"
276
236
  },
277
237
  {
278
- "id": "output",
279
- "label": "Output mapping"
238
+ "id": "variable-mapping",
239
+ "label": "Variable mapping"
280
240
  }
281
241
  ],
282
242
  "properties": [
283
243
  {
244
+ "type": "Hidden",
284
245
  "value": "io.camunda:slack-webhook:1",
285
246
  "binding": {
286
- "name": "inbound.type",
287
- "type": "zeebe:property"
288
- },
289
- "type": "Hidden"
247
+ "type": "zeebe:property",
248
+ "name": "inbound.type"
249
+ }
290
250
  },
291
251
  {
292
- "id": "inbound.context",
293
- "label": "Webhook ID",
294
- "description": "The webhook ID is a part of the URL endpoint",
295
- "optional": false,
296
- "constraints": {
297
- "notEmpty": true
298
- },
299
- "group": "endpoint",
252
+ "type": "Hidden",
253
+ "value": "SlackEventsWebhook",
300
254
  "binding": {
301
- "name": "inbound.context",
302
- "type": "zeebe:property"
303
- },
304
- "type": "String"
255
+ "type": "zeebe:property",
256
+ "name": "inbound.subtype"
257
+ }
305
258
  },
306
259
  {
307
- "id": "inbound.slackSigningSecret",
308
- "label": "Slack signing secret",
309
- "description": "Slack signing secret. <a href='https://api.slack.com/authentication/verifying-requests-from-slack' target='_blank'>See documentation</a> regarding the Slack signing secret",
310
- "optional": false,
311
- "constraints": {
312
- "notEmpty": true
313
- },
260
+ "label": "Webhook ID",
261
+ "type": "String",
314
262
  "group": "endpoint",
315
263
  "binding": {
316
- "name": "inbound.slackSigningSecret",
317
- "type": "zeebe:property"
264
+ "type": "zeebe:property",
265
+ "name": "inbound.context"
318
266
  },
319
- "type": "String"
267
+ "description": "The webhook ID is a part of the URL endpoint",
268
+ "constraints": {
269
+ "notEmpty": true
270
+ }
320
271
  },
321
272
  {
322
- "id": "inbound.verificationExpression",
323
- "label": "Verification expression",
324
- "optional": true,
325
- "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
273
+ "label": "Slack signing secret",
274
+ "description": "Slack signing secret. <a href='https://api.slack.com/authentication/verifying-requests-from-slack' target='_blank'>See documentation</a> regarding the Slack signing secret",
275
+ "type": "String",
326
276
  "group": "endpoint",
277
+ "feel": "optional",
327
278
  "binding": {
328
- "name": "inbound.verificationExpression",
329
- "type": "zeebe:property"
279
+ "type": "zeebe:property",
280
+ "name": "inbound.slackSigningSecret"
330
281
  },
331
- "type": "Hidden"
282
+ "constraints": {
283
+ "notEmpty": true
284
+ }
332
285
  },
333
286
  {
334
- "id": "activationCondition",
335
- "label": "Activation condition",
336
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
337
- "optional": true,
338
- "feel": "required",
287
+ "label": "Condition",
288
+ "type": "String",
339
289
  "group": "activation",
290
+ "feel": "required",
291
+ "optional": true,
340
292
  "binding": {
341
- "name": "activationCondition",
342
- "type": "zeebe:property"
293
+ "type": "zeebe:property",
294
+ "name": "activationCondition"
343
295
  },
344
- "type": "String"
296
+ "description": "Condition under which the connector triggers. Leave empty to catch all events."
345
297
  },
346
298
  {
347
- "id": "resultVariable",
348
299
  "label": "Result variable",
349
- "description": "Name of variable to store the response in",
350
- "group": "output",
300
+ "type": "String",
301
+ "group": "variable-mapping",
302
+ "optional": true,
351
303
  "binding": {
352
- "name": "resultVariable",
353
- "type": "zeebe:property"
304
+ "type": "zeebe:property",
305
+ "name": "resultVariable"
354
306
  },
355
- "type": "String"
307
+ "description": "Name of variable to store the result of the connector in"
356
308
  },
357
309
  {
358
- "id": "resultExpression",
359
310
  "label": "Result expression",
360
- "description": "Expression to map the response into process variables",
311
+ "type": "String",
312
+ "group": "variable-mapping",
361
313
  "feel": "required",
362
- "group": "output",
314
+ "optional": true,
363
315
  "binding": {
364
- "name": "resultExpression",
365
- "type": "zeebe:property"
316
+ "type": "zeebe:property",
317
+ "name": "resultExpression"
366
318
  },
367
- "type": "Text"
319
+ "description": "Expression to map the inbound payload to process variables"
368
320
  }
369
321
  ],
370
322
  "icon": {
371
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
323
+ "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"
372
324
  },
373
325
  "engines": {
374
- "camunda": "^8.5"
326
+ "camunda": "^8.2"
375
327
  }
376
328
  },
377
329
  {
@@ -379,8 +331,8 @@
379
331
  "name": "Slack Webhook Start Event Connector",
380
332
  "id": "io.camunda.connectors.inbound.Slack.StartEvent.v1",
381
333
  "description": "Receive events from Slack",
382
- "version": 2,
383
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack-inbound/",
334
+ "version": 3,
335
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
384
336
  "category": {
385
337
  "id": "connectors",
386
338
  "name": "Connectors"
@@ -447,6 +399,14 @@
447
399
  "notEmpty": true
448
400
  }
449
401
  },
402
+ {
403
+ "type": "Hidden",
404
+ "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
405
+ "binding": {
406
+ "type": "zeebe:property",
407
+ "name": "inbound.verificationExpression"
408
+ }
409
+ },
450
410
  {
451
411
  "label": "Condition",
452
412
  "type": "String",
@@ -487,16 +447,19 @@
487
447
  "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"
488
448
  },
489
449
  "engines": {
490
- "camunda": "^8.2"
450
+ "camunda": "^8.4"
491
451
  }
492
452
  },
493
453
  {
494
454
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
495
- "name": "Slack Webhook",
455
+ "name": "Slack Webhook Start Event Connector",
496
456
  "id": "io.camunda.connectors.inbound.Slack.StartEvent.v1",
497
457
  "description": "Receive events from Slack",
498
- "version": 1,
499
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack-inbound/",
458
+ "metadata": {
459
+ "keywords": []
460
+ },
461
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
462
+ "version": 6,
500
463
  "category": {
501
464
  "id": "connectors",
502
465
  "name": "Connectors"
@@ -515,95 +478,103 @@
515
478
  "label": "Activation"
516
479
  },
517
480
  {
518
- "id": "variable-mapping",
519
- "label": "Variable mapping"
481
+ "id": "output",
482
+ "label": "Output mapping"
520
483
  }
521
484
  ],
522
485
  "properties": [
523
486
  {
524
- "type": "Hidden",
525
487
  "value": "io.camunda:slack-webhook:1",
526
488
  "binding": {
527
- "type": "zeebe:property",
528
- "name": "inbound.type"
529
- }
530
- },
531
- {
532
- "type": "Hidden",
533
- "value": "SlackEventsWebhook",
534
- "binding": {
535
- "type": "zeebe:property",
536
- "name": "inbound.subtype"
537
- }
489
+ "name": "inbound.type",
490
+ "type": "zeebe:property"
491
+ },
492
+ "type": "Hidden"
538
493
  },
539
494
  {
495
+ "id": "inbound.context",
540
496
  "label": "Webhook ID",
541
- "type": "String",
497
+ "description": "The webhook ID is a part of the URL endpoint",
498
+ "optional": false,
499
+ "constraints": {
500
+ "notEmpty": true
501
+ },
542
502
  "group": "endpoint",
543
503
  "binding": {
544
- "type": "zeebe:property",
545
- "name": "inbound.context"
504
+ "name": "inbound.context",
505
+ "type": "zeebe:property"
546
506
  },
547
- "description": "The webhook ID is a part of the URL endpoint",
507
+ "type": "String"
508
+ },
509
+ {
510
+ "id": "inbound.slackSigningSecret",
511
+ "label": "Slack signing secret",
512
+ "description": "Slack signing secret. <a href='https://api.slack.com/authentication/verifying-requests-from-slack' target='_blank'>See documentation</a> regarding the Slack signing secret",
513
+ "optional": false,
548
514
  "constraints": {
549
515
  "notEmpty": true
550
- }
516
+ },
517
+ "group": "endpoint",
518
+ "binding": {
519
+ "name": "inbound.slackSigningSecret",
520
+ "type": "zeebe:property"
521
+ },
522
+ "type": "String"
551
523
  },
552
524
  {
553
- "label": "Slack signing secret",
554
- "description": "Slack signing secret. <a href='https://api.slack.com/authentication/verifying-requests-from-slack' target='_blank'>See documentation</a> regarding the Slack signing secret",
555
- "type": "String",
525
+ "id": "inbound.verificationExpression",
526
+ "label": "Verification expression",
527
+ "optional": true,
528
+ "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
556
529
  "group": "endpoint",
557
- "feel": "optional",
558
530
  "binding": {
559
- "type": "zeebe:property",
560
- "name": "inbound.slackSigningSecret"
531
+ "name": "inbound.verificationExpression",
532
+ "type": "zeebe:property"
561
533
  },
562
- "constraints": {
563
- "notEmpty": true
564
- }
534
+ "type": "Hidden"
565
535
  },
566
536
  {
567
- "label": "Condition",
568
- "type": "String",
569
- "group": "activation",
570
- "feel": "required",
537
+ "id": "activationCondition",
538
+ "label": "Activation condition",
539
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
571
540
  "optional": true,
541
+ "feel": "required",
542
+ "group": "activation",
572
543
  "binding": {
573
- "type": "zeebe:property",
574
- "name": "activationCondition"
544
+ "name": "activationCondition",
545
+ "type": "zeebe:property"
575
546
  },
576
- "description": "Condition under which the connector triggers. Leave empty to catch all events."
547
+ "type": "String"
577
548
  },
578
549
  {
550
+ "id": "resultVariable",
579
551
  "label": "Result variable",
580
- "type": "String",
581
- "group": "variable-mapping",
582
- "optional": true,
552
+ "description": "Name of variable to store the response in",
553
+ "group": "output",
583
554
  "binding": {
584
- "type": "zeebe:property",
585
- "name": "resultVariable"
555
+ "name": "resultVariable",
556
+ "type": "zeebe:property"
586
557
  },
587
- "description": "Name of variable to store the result of the connector in"
558
+ "type": "String"
588
559
  },
589
560
  {
561
+ "id": "resultExpression",
590
562
  "label": "Result expression",
591
- "type": "String",
592
- "group": "variable-mapping",
563
+ "description": "Expression to map the response into process variables",
593
564
  "feel": "required",
594
- "optional": true,
565
+ "group": "output",
595
566
  "binding": {
596
- "type": "zeebe:property",
597
- "name": "resultExpression"
567
+ "name": "resultExpression",
568
+ "type": "zeebe:property"
598
569
  },
599
- "description": "Expression to map the inbound payload to process variables"
570
+ "type": "Text"
600
571
  }
601
572
  ],
602
- "icon": {
603
- "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"
604
- },
605
573
  "engines": {
606
- "camunda": "^8.2"
574
+ "camunda": "^8.3"
575
+ },
576
+ "icon": {
577
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
607
578
  }
608
579
  },
609
580
  {
@@ -611,25 +582,16 @@
611
582
  "name": "Slack Webhook Start Event Connector",
612
583
  "id": "io.camunda.connectors.inbound.Slack.StartEvent.v1",
613
584
  "description": "Receive events from Slack",
614
- "metadata": {
615
- "keywords": []
616
- },
617
585
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
618
- "version": 7,
586
+ "version": 5,
619
587
  "category": {
620
588
  "id": "connectors",
621
589
  "name": "Connectors"
622
590
  },
623
- "deprecated": {
624
- "message": "Migrate to Webhook Message Start Event Connector"
625
- },
626
591
  "appliesTo": ["bpmn:StartEvent"],
627
592
  "elementType": {
628
593
  "value": "bpmn:StartEvent"
629
594
  },
630
- "engines": {
631
- "camunda": "^8.3"
632
- },
633
595
  "groups": [
634
596
  {
635
597
  "id": "endpoint",
@@ -639,11 +601,6 @@
639
601
  "id": "activation",
640
602
  "label": "Activation"
641
603
  },
642
- {
643
- "id": "deduplication",
644
- "label": "Deduplication",
645
- "tooltip": "Deduplication allows you to configure multiple inbound connector elements to reuse the same backend (consumer/thread/endpoint) by sharing the same deduplication ID."
646
- },
647
604
  {
648
605
  "id": "output",
649
606
  "label": "Output mapping"
@@ -714,107 +671,150 @@
714
671
  "type": "String"
715
672
  },
716
673
  {
717
- "id": "consumeUnmatchedEvents",
718
- "label": "Consume unmatched events",
719
- "value": true,
720
- "group": "activation",
674
+ "id": "resultVariable",
675
+ "label": "Result variable",
676
+ "description": "Name of variable to store the response in",
677
+ "group": "output",
721
678
  "binding": {
722
- "name": "consumeUnmatchedEvents",
679
+ "name": "resultVariable",
723
680
  "type": "zeebe:property"
724
681
  },
725
- "tooltip": "Unmatched events are rejected by default, allowing the upstream service to handle the error. Check this box to consume unmatched events and return a success response",
726
- "type": "Boolean"
682
+ "type": "String"
727
683
  },
728
684
  {
729
- "id": "deduplicationModeManualFlag",
730
- "label": "Manual mode",
731
- "description": "By default, similar connectors receive the same deduplication ID. Customize by activating manual mode",
732
- "value": false,
733
- "group": "deduplication",
685
+ "id": "resultExpression",
686
+ "label": "Result expression",
687
+ "description": "Expression to map the response into process variables",
688
+ "feel": "required",
689
+ "group": "output",
734
690
  "binding": {
735
- "name": "deduplicationModeManualFlag",
691
+ "name": "resultExpression",
736
692
  "type": "zeebe:property"
737
693
  },
738
- "type": "Boolean"
694
+ "type": "Text"
695
+ }
696
+ ],
697
+ "icon": {
698
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
699
+ },
700
+ "engines": {
701
+ "camunda": "^8.5"
702
+ }
703
+ },
704
+ {
705
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
706
+ "name": "Slack Webhook Start Event Connector",
707
+ "id": "io.camunda.connectors.inbound.Slack.StartEvent.v1",
708
+ "description": "Receive events from Slack",
709
+ "version": 2,
710
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack-inbound/",
711
+ "category": {
712
+ "id": "connectors",
713
+ "name": "Connectors"
714
+ },
715
+ "appliesTo": ["bpmn:StartEvent"],
716
+ "elementType": {
717
+ "value": "bpmn:StartEvent"
718
+ },
719
+ "groups": [
720
+ {
721
+ "id": "endpoint",
722
+ "label": "Webhook configuration"
739
723
  },
740
724
  {
741
- "id": "deduplicationId",
742
- "label": "Deduplication ID",
743
- "constraints": {
744
- "notEmpty": true,
745
- "pattern": {
746
- "value": "^[a-zA-Z0-9_-]+$",
747
- "message": "can only contain alphanumeric characters, dashes, and underscores"
748
- }
749
- },
750
- "group": "deduplication",
725
+ "id": "activation",
726
+ "label": "Activation"
727
+ },
728
+ {
729
+ "id": "variable-mapping",
730
+ "label": "Variable mapping"
731
+ }
732
+ ],
733
+ "properties": [
734
+ {
735
+ "type": "Hidden",
736
+ "value": "io.camunda:slack-webhook:1",
751
737
  "binding": {
752
- "name": "deduplicationId",
753
- "type": "zeebe:property"
754
- },
755
- "condition": {
756
- "property": "deduplicationModeManualFlag",
757
- "equals": true,
758
- "type": "simple"
759
- },
760
- "type": "String"
738
+ "type": "zeebe:property",
739
+ "name": "inbound.type"
740
+ }
761
741
  },
762
742
  {
763
- "id": "deduplicationModeManual",
764
- "value": "MANUAL",
765
- "group": "deduplication",
743
+ "type": "Hidden",
744
+ "value": "SlackEventsWebhook",
766
745
  "binding": {
767
- "name": "deduplicationMode",
768
- "type": "zeebe:property"
769
- },
770
- "condition": {
771
- "property": "deduplicationId",
772
- "isActive": true,
773
- "type": "simple"
746
+ "type": "zeebe:property",
747
+ "name": "inbound.subtype"
748
+ }
749
+ },
750
+ {
751
+ "label": "Webhook ID",
752
+ "type": "String",
753
+ "group": "endpoint",
754
+ "binding": {
755
+ "type": "zeebe:property",
756
+ "name": "inbound.context"
774
757
  },
775
- "type": "Hidden"
758
+ "description": "The webhook ID is a part of the URL endpoint",
759
+ "constraints": {
760
+ "notEmpty": true
761
+ }
776
762
  },
777
763
  {
778
- "id": "deduplicationModeAuto",
779
- "value": "AUTO",
780
- "group": "deduplication",
764
+ "label": "Slack signing secret",
765
+ "description": "Slack signing secret. <a href='https://api.slack.com/authentication/verifying-requests-from-slack' target='_blank'>See documentation</a> regarding the Slack signing secret",
766
+ "type": "String",
767
+ "group": "endpoint",
768
+ "feel": "optional",
781
769
  "binding": {
782
- "name": "deduplicationMode",
783
- "type": "zeebe:property"
770
+ "type": "zeebe:property",
771
+ "name": "inbound.slackSigningSecret"
784
772
  },
785
- "condition": {
786
- "property": "deduplicationId",
787
- "isActive": false,
788
- "type": "simple"
773
+ "constraints": {
774
+ "notEmpty": true
775
+ }
776
+ },
777
+ {
778
+ "label": "Condition",
779
+ "type": "String",
780
+ "group": "activation",
781
+ "feel": "required",
782
+ "optional": true,
783
+ "binding": {
784
+ "type": "zeebe:property",
785
+ "name": "activationCondition"
789
786
  },
790
- "type": "Hidden"
787
+ "description": "Condition under which the connector triggers. Leave empty to catch all events."
791
788
  },
792
789
  {
793
- "id": "resultVariable",
794
790
  "label": "Result variable",
795
- "description": "Name of variable to store the response in",
796
- "group": "output",
791
+ "type": "String",
792
+ "group": "variable-mapping",
793
+ "optional": true,
797
794
  "binding": {
798
- "name": "resultVariable",
799
- "type": "zeebe:property"
795
+ "type": "zeebe:property",
796
+ "name": "resultVariable"
800
797
  },
801
- "type": "String"
798
+ "description": "Name of variable to store the result of the connector in"
802
799
  },
803
800
  {
804
- "id": "resultExpression",
805
801
  "label": "Result expression",
806
- "description": "Expression to map the response into process variables",
802
+ "type": "String",
803
+ "group": "variable-mapping",
807
804
  "feel": "required",
808
- "group": "output",
805
+ "optional": true,
809
806
  "binding": {
810
- "name": "resultExpression",
811
- "type": "zeebe:property"
807
+ "type": "zeebe:property",
808
+ "name": "resultExpression"
812
809
  },
813
- "type": "Text"
810
+ "description": "Expression to map the inbound payload to process variables"
814
811
  }
815
812
  ],
816
813
  "icon": {
817
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
814
+ "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"
815
+ },
816
+ "engines": {
817
+ "camunda": "^8.2"
818
818
  }
819
819
  }
820
820
  ]