@camunda/connectors-element-templates 1.0.19 → 1.0.21

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 (116) hide show
  1. package/package.json +2 -2
  2. package/src/connectors-template.js +1 -3
  3. package/src/connectors.js +4 -0
  4. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
  5. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +43 -43
  6. package/src/element-templates/agenticai-aiagent-job-worker.json +2230 -222
  7. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6281 -4356
  8. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +718 -36
  9. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2394 -949
  10. package/src/element-templates/app-integrations-connector.json +1047 -0
  11. package/src/element-templates/asana-connector.json +943 -109
  12. package/src/element-templates/automation-anywhere-outbound-connector.json +2240 -1747
  13. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1068 -30
  14. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +386 -5
  15. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +442 -5
  16. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +417 -5
  17. package/src/element-templates/aws-bedrock-outbound-connector.json +2273 -623
  18. package/src/element-templates/aws-comprehend-outbound-connector.json +1573 -1
  19. package/src/element-templates/aws-dynamodb-outbound-connector.json +2950 -162
  20. package/src/element-templates/aws-eventbridge-connector-boundary.json +40 -40
  21. package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
  22. package/src/element-templates/aws-eventbridge-connector-start-event.json +33 -33
  23. package/src/element-templates/aws-eventbridge-outbound-connector.json +838 -424
  24. package/src/element-templates/aws-lambda-outbound-connector.json +495 -96
  25. package/src/element-templates/aws-s3-outbound-connector.json +2238 -44
  26. package/src/element-templates/aws-sagemaker-outbound-connector.json +681 -52
  27. package/src/element-templates/aws-sns-inbound-boundary.json +4 -3
  28. package/src/element-templates/aws-sns-inbound-intermediate.json +341 -340
  29. package/src/element-templates/aws-sns-inbound-message-start.json +241 -240
  30. package/src/element-templates/aws-sns-inbound-receive.json +4 -3
  31. package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
  32. package/src/element-templates/aws-sns-outbound-connector.json +581 -124
  33. package/src/element-templates/aws-sqs-boundary-connector.json +939 -420
  34. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +851 -332
  35. package/src/element-templates/aws-sqs-outbound-connector.json +589 -136
  36. package/src/element-templates/aws-sqs-receive-connector.json +525 -7
  37. package/src/element-templates/aws-sqs-start-event-connector.json +380 -380
  38. package/src/element-templates/aws-sqs-start-message.json +736 -185
  39. package/src/element-templates/aws-textract-outbound-connector.json +866 -131
  40. package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
  41. package/src/element-templates/azure-open-ai-connector.json +1371 -8
  42. package/src/element-templates/blue-prism-connector.json +609 -30
  43. package/src/element-templates/box-outbound-connector.json +2356 -272
  44. package/src/element-templates/csv-outbound-connector.json +449 -0
  45. package/src/element-templates/easy-post-connector.json +1251 -170
  46. package/src/element-templates/email-outbound-connector.json +3087 -1013
  47. package/src/element-templates/embeddings-vector-database-outbound-connector.json +2161 -1
  48. package/src/element-templates/github-connector.json +18554 -14368
  49. package/src/element-templates/github-webhook-connector-boundary.json +24 -24
  50. package/src/element-templates/github-webhook-connector-intermediate.json +8 -8
  51. package/src/element-templates/github-webhook-connector-message-start.json +8 -8
  52. package/src/element-templates/github-webhook-connector-receive.json +8 -8
  53. package/src/element-templates/github-webhook-connector-start-event.json +58 -58
  54. package/src/element-templates/gitlab-connector.json +3022 -1120
  55. package/src/element-templates/google-cloud-storage-outbound-connector.json +1447 -240
  56. package/src/element-templates/google-drive-outbound-connector.json +2980 -1428
  57. package/src/element-templates/google-gemini-outbound-connector.json +41 -55
  58. package/src/element-templates/google-maps-platform-connector.json +688 -137
  59. package/src/element-templates/google-sheets-outbound-connector.json +3186 -2030
  60. package/src/element-templates/graphql-outbound-connector.json +4149 -1485
  61. package/src/element-templates/http-json-connector.json +6143 -2053
  62. package/src/element-templates/http-polling-boundary-catch-event-connector.json +2426 -364
  63. package/src/element-templates/http-polling-connector.json +3312 -1250
  64. package/src/element-templates/hubspot-outbound-connector.json +2817 -67
  65. package/src/element-templates/hugging-face-connector.json +83 -82
  66. package/src/element-templates/jdbc-outbound-connector.json +506 -9
  67. package/src/element-templates/kafka-inbound-connector-boundary.json +968 -971
  68. package/src/element-templates/kafka-inbound-connector-intermediate.json +53 -56
  69. package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
  70. package/src/element-templates/kafka-inbound-connector-start-message.json +545 -548
  71. package/src/element-templates/kafka-inbound-connector.json +240 -240
  72. package/src/element-templates/kafka-outbound-connector.json +304 -308
  73. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
  74. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
  75. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
  76. package/src/element-templates/microsoft-office365-mail-connector.json +2077 -35
  77. package/src/element-templates/microsoft-teams-outbound-connector.json +2897 -456
  78. package/src/element-templates/openai-connector.json +701 -207
  79. package/src/element-templates/operate-connector.json +83 -86
  80. package/src/element-templates/orchestration-connector.json +1843 -0
  81. package/src/element-templates/power-automate-connector.json +62 -62
  82. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +772 -774
  83. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +456 -458
  84. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +573 -575
  85. package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
  86. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +347 -347
  87. package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
  88. package/src/element-templates/rpa-connector.json +6 -6
  89. package/src/element-templates/salesforce-connector.json +653 -19
  90. package/src/element-templates/send-message-connector-intermediate-throw-event.json +301 -1
  91. package/src/element-templates/send-message-connector-message-end-event.json +301 -1
  92. package/src/element-templates/send-message-connector-send-task.json +300 -1
  93. package/src/element-templates/sendgrid-outbound-connector.json +790 -790
  94. package/src/element-templates/servicenow-connector.json +1364 -7
  95. package/src/element-templates/servicenow-flow-starter-connector.json +16 -16
  96. package/src/element-templates/servicenow-incident-connector.json +1075 -29
  97. package/src/element-templates/slack-inbound-boundary.json +493 -493
  98. package/src/element-templates/slack-inbound-intermediate.json +448 -448
  99. package/src/element-templates/slack-inbound-message-start.json +369 -369
  100. package/src/element-templates/slack-inbound-receive.json +2 -2
  101. package/src/element-templates/slack-inbound-start-event.json +328 -328
  102. package/src/element-templates/slack-outbound-connector.json +2365 -1262
  103. package/src/element-templates/soap-outbound-connector.json +113 -117
  104. package/src/element-templates/twilio-connector.json +1186 -373
  105. package/src/element-templates/twilio-webhook-boundary-connector.json +9 -10
  106. package/src/element-templates/twilio-webhook-connector.json +60 -61
  107. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -32
  108. package/src/element-templates/twilio-webhook-message-start-connector.json +10 -11
  109. package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
  110. package/src/element-templates/uipath-connector.json +668 -50
  111. package/src/element-templates/webhook-connector-boundary.json +1040 -385
  112. package/src/element-templates/webhook-connector-intermediate.json +2100 -1445
  113. package/src/element-templates/webhook-connector-receive.json +659 -5
  114. package/src/element-templates/webhook-connector-start-event.json +1860 -1299
  115. package/src/element-templates/webhook-connector-start-message.json +1535 -848
  116. package/src/element-templates/whatsapp-connector.json +393 -23
@@ -4,186 +4,16 @@
4
4
  "name": "Slack Webhook Intermediate Catch Event Connector",
5
5
  "id": "io.camunda.connectors.inbound.Slack.IntermediateCatchEvent.v1",
6
6
  "description": "Receive events from Slack",
7
- "version": 4,
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:IntermediateCatchEvent", "bpmn:IntermediateThrowEvent"],
14
- "elementType": {
15
- "value": "bpmn:IntermediateCatchEvent",
16
- "eventDefinition": "bpmn:MessageEventDefinition"
17
- },
18
- "groups": [
19
- {
20
- "id": "endpoint",
21
- "label": "Webhook configuration"
22
- },
23
- {
24
- "id": "activation",
25
- "label": "Activation"
26
- },
27
- {
28
- "id": "variable-mapping",
29
- "label": "Variable mapping"
30
- }
31
- ],
32
- "properties": [
33
- {
34
- "type": "Hidden",
35
- "value": "io.camunda:slack-webhook:1",
36
- "binding": {
37
- "type": "zeebe:property",
38
- "name": "inbound.type"
39
- }
40
- },
41
- {
42
- "type": "Hidden",
43
- "value": "SlackEventsWebhook",
44
- "binding": {
45
- "type": "zeebe:property",
46
- "name": "inbound.subtype"
47
- }
48
- },
49
- {
50
- "type": "Hidden",
51
- "generatedValue": {
52
- "type": "uuid"
53
- },
54
- "binding": {
55
- "type": "bpmn:Message#property",
56
- "name": "name"
57
- }
58
- },
59
- {
60
- "label": "Webhook ID",
61
- "type": "String",
62
- "group": "endpoint",
63
- "binding": {
64
- "type": "zeebe:property",
65
- "name": "inbound.context"
66
- },
67
- "description": "The webhook ID is a part of the URL endpoint",
68
- "constraints": {
69
- "notEmpty": true
70
- }
71
- },
72
- {
73
- "label": "Slack signing secret",
74
- "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",
75
- "type": "String",
76
- "group": "endpoint",
77
- "feel": "optional",
78
- "binding": {
79
- "type": "zeebe:property",
80
- "name": "inbound.slackSigningSecret"
81
- },
82
- "constraints": {
83
- "notEmpty": true
84
- }
85
- },
86
- {
87
- "type": "Hidden",
88
- "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
89
- "binding": {
90
- "type": "zeebe:property",
91
- "name": "inbound.verificationExpression"
92
- }
93
- },
94
- {
95
- "label": "Correlation key (process)",
96
- "type": "String",
97
- "group": "activation",
98
- "feel": "required",
99
- "description": "Sets up the correlation key from process variables",
100
- "binding": {
101
- "type": "bpmn:Message#zeebe:subscription#property",
102
- "name": "correlationKey"
103
- },
104
- "constraints": {
105
- "notEmpty": true
106
- }
107
- },
108
- {
109
- "label": "Correlation key (payload)",
110
- "type": "String",
111
- "group": "activation",
112
- "feel": "required",
113
- "binding": {
114
- "type": "zeebe:property",
115
- "name": "correlationKeyExpression"
116
- },
117
- "description": "Extracts the correlation key from the incoming message payload",
118
- "constraints": {
119
- "notEmpty": true
120
- }
121
- },
122
- {
123
- "label": "Message ID expression",
124
- "feel": "required",
125
- "type": "String",
126
- "optional": true,
127
- "group": "activation",
128
- "binding": {
129
- "type": "zeebe:property",
130
- "name": "messageIdExpression"
131
- },
132
- "description": "Expression to extract unique identifier of a message"
133
- },
134
- {
135
- "label": "Condition",
136
- "type": "String",
137
- "group": "activation",
138
- "feel": "required",
139
- "optional": true,
140
- "binding": {
141
- "type": "zeebe:property",
142
- "name": "activationCondition"
143
- },
144
- "description": "Condition under which the connector triggers. Leave empty to catch all events."
145
- },
146
- {
147
- "label": "Result variable",
148
- "type": "String",
149
- "group": "variable-mapping",
150
- "optional": true,
151
- "binding": {
152
- "type": "zeebe:property",
153
- "name": "resultVariable"
154
- },
155
- "description": "Name of variable to store the result of the connector in"
156
- },
157
- {
158
- "label": "Result expression",
159
- "type": "String",
160
- "group": "variable-mapping",
161
- "feel": "required",
162
- "optional": true,
163
- "binding": {
164
- "type": "zeebe:property",
165
- "name": "resultExpression"
166
- },
167
- "description": "Expression to map the inbound payload to process variables"
168
- }
7
+ "keywords": [
8
+ "message received",
9
+ "event received",
10
+ "channel event",
11
+ "webhook",
12
+ "messaging",
13
+ "new message"
169
14
  ],
170
- "icon": {
171
- "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"
172
- },
173
- "engines": {
174
- "camunda": "^8.4"
175
- }
176
- },
177
- {
178
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
179
- "name": "Slack Webhook Intermediate Catch Event Connector",
180
- "id": "io.camunda.connectors.inbound.Slack.IntermediateCatchEvent.v1",
181
- "description": "Receive events from Slack",
182
- "metadata": {
183
- "keywords": []
184
- },
185
15
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
186
- "version": 7,
16
+ "version": 8,
187
17
  "category": {
188
18
  "id": "connectors",
189
19
  "name": "Connectors"
@@ -232,7 +62,6 @@
232
62
  {
233
63
  "id": "inbound.context",
234
64
  "label": "Webhook ID",
235
- "description": "The webhook ID is a part of the URL endpoint",
236
65
  "optional": false,
237
66
  "constraints": {
238
67
  "notEmpty": true
@@ -242,12 +71,12 @@
242
71
  "name": "inbound.context",
243
72
  "type": "zeebe:property"
244
73
  },
74
+ "tooltip": "The webhook ID is a part of the URL endpoint",
245
75
  "type": "String"
246
76
  },
247
77
  {
248
78
  "id": "inbound.slackSigningSecret",
249
79
  "label": "Slack signing secret",
250
- "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",
251
80
  "optional": false,
252
81
  "constraints": {
253
82
  "notEmpty": true
@@ -257,6 +86,7 @@
257
86
  "name": "inbound.slackSigningSecret",
258
87
  "type": "zeebe:property"
259
88
  },
89
+ "tooltip": "Used to verify that incoming requests originate from Slack. See <a href='https://api.slack.com/authentication/verifying-requests-from-slack' target='_blank'>Verifying requests from Slack</a>",
260
90
  "type": "String"
261
91
  },
262
92
  {
@@ -361,15 +191,18 @@
361
191
  },
362
192
  {
363
193
  "id": "messageNameUuid",
194
+ "label": "Message name",
364
195
  "generatedValue": {
365
196
  "type": "uuid"
366
197
  },
198
+ "feel": "optional",
367
199
  "group": "correlation",
368
200
  "binding": {
369
201
  "name": "name",
370
202
  "type": "bpmn:Message#property"
371
203
  },
372
- "type": "Hidden"
204
+ "tooltip": "By default, this is an auto-generated random UUID. We recommend using a unique message name for each connector element in the diagram. Override to set a custom message name. Learn more about <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-subscriptions\">message subscriptions</a> that power inbound connectors.",
205
+ "type": "String"
373
206
  },
374
207
  {
375
208
  "id": "deduplicationModeManualFlag",
@@ -438,7 +271,7 @@
438
271
  {
439
272
  "id": "resultVariable",
440
273
  "label": "Result variable",
441
- "description": "Name of variable to store the response in",
274
+ "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>.",
442
275
  "group": "output",
443
276
  "binding": {
444
277
  "name": "resultVariable",
@@ -449,7 +282,8 @@
449
282
  {
450
283
  "id": "resultExpression",
451
284
  "label": "Result expression",
452
- "description": "Expression to map the response into process variables",
285
+ "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>.",
286
+ "value": "{\n myRequestBody: request.body\n // Use FEEL to extract values, e.g.,:\n // myUserId: request.body.event.user\n}",
453
287
  "feel": "required",
454
288
  "group": "output",
455
289
  "binding": {
@@ -468,8 +302,11 @@
468
302
  "name": "Slack Webhook Intermediate Catch Event Connector",
469
303
  "id": "io.camunda.connectors.inbound.Slack.IntermediateCatchEvent.v1",
470
304
  "description": "Receive events from Slack",
471
- "version": 2,
472
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack-inbound/",
305
+ "metadata": {
306
+ "keywords": []
307
+ },
308
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
309
+ "version": 6,
473
310
  "category": {
474
311
  "id": "connectors",
475
312
  "name": "Connectors"
@@ -489,133 +326,183 @@
489
326
  "label": "Activation"
490
327
  },
491
328
  {
492
- "id": "variable-mapping",
493
- "label": "Variable mapping"
329
+ "id": "correlation",
330
+ "label": "Correlation",
331
+ "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
332
+ },
333
+ {
334
+ "id": "output",
335
+ "label": "Output mapping"
494
336
  }
495
337
  ],
496
338
  "properties": [
497
339
  {
498
- "type": "Hidden",
499
340
  "value": "io.camunda:slack-webhook:1",
500
341
  "binding": {
501
- "type": "zeebe:property",
502
- "name": "inbound.type"
503
- }
504
- },
505
- {
506
- "type": "Hidden",
507
- "value": "SlackEventsWebhook",
508
- "binding": {
509
- "type": "zeebe:property",
510
- "name": "inbound.subtype"
511
- }
512
- },
513
- {
514
- "type": "Hidden",
515
- "generatedValue": {
516
- "type": "uuid"
342
+ "name": "inbound.type",
343
+ "type": "zeebe:property"
517
344
  },
518
- "binding": {
519
- "type": "bpmn:Message#property",
520
- "name": "name"
521
- }
345
+ "type": "Hidden"
522
346
  },
523
347
  {
348
+ "id": "inbound.context",
524
349
  "label": "Webhook ID",
525
- "type": "String",
526
- "group": "endpoint",
527
- "binding": {
528
- "type": "zeebe:property",
529
- "name": "inbound.context"
530
- },
531
350
  "description": "The webhook ID is a part of the URL endpoint",
351
+ "optional": false,
532
352
  "constraints": {
533
353
  "notEmpty": true
534
- }
354
+ },
355
+ "group": "endpoint",
356
+ "binding": {
357
+ "name": "inbound.context",
358
+ "type": "zeebe:property"
359
+ },
360
+ "type": "String"
535
361
  },
536
362
  {
363
+ "id": "inbound.slackSigningSecret",
537
364
  "label": "Slack signing secret",
538
365
  "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",
539
- "type": "String",
366
+ "optional": false,
367
+ "constraints": {
368
+ "notEmpty": true
369
+ },
540
370
  "group": "endpoint",
541
- "feel": "optional",
542
371
  "binding": {
543
- "type": "zeebe:property",
544
- "name": "inbound.slackSigningSecret"
372
+ "name": "inbound.slackSigningSecret",
373
+ "type": "zeebe:property"
545
374
  },
546
- "constraints": {
547
- "notEmpty": true
548
- }
375
+ "type": "String"
549
376
  },
550
377
  {
551
- "label": "Correlation key (process)",
552
- "type": "String",
553
- "group": "activation",
554
- "feel": "required",
555
- "description": "Sets up the correlation key from process variables",
378
+ "id": "inbound.verificationExpression",
379
+ "label": "Verification expression",
380
+ "optional": true,
381
+ "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
382
+ "group": "endpoint",
556
383
  "binding": {
557
- "type": "bpmn:Message#zeebe:subscription#property",
558
- "name": "correlationKey"
384
+ "name": "inbound.verificationExpression",
385
+ "type": "zeebe:property"
559
386
  },
560
- "constraints": {
561
- "notEmpty": true
562
- }
387
+ "type": "Hidden"
563
388
  },
564
389
  {
565
- "label": "Correlation key (payload)",
566
- "type": "String",
390
+ "id": "activationCondition",
391
+ "label": "Activation condition",
392
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
393
+ "optional": true,
394
+ "feel": "required",
567
395
  "group": "activation",
396
+ "binding": {
397
+ "name": "activationCondition",
398
+ "type": "zeebe:property"
399
+ },
400
+ "type": "String"
401
+ },
402
+ {
403
+ "id": "correlationKeyProcess",
404
+ "label": "Correlation key (process)",
405
+ "description": "Sets up the correlation key from process variables",
406
+ "constraints": {
407
+ "notEmpty": true
408
+ },
568
409
  "feel": "required",
410
+ "group": "correlation",
569
411
  "binding": {
570
- "type": "zeebe:property",
571
- "name": "correlationKeyExpression"
412
+ "name": "correlationKey",
413
+ "type": "bpmn:Message#zeebe:subscription#property"
572
414
  },
415
+ "type": "String"
416
+ },
417
+ {
418
+ "id": "correlationKeyPayload",
419
+ "label": "Correlation key (payload)",
573
420
  "description": "Extracts the correlation key from the incoming message payload",
574
421
  "constraints": {
575
422
  "notEmpty": true
576
- }
423
+ },
424
+ "feel": "required",
425
+ "group": "correlation",
426
+ "binding": {
427
+ "name": "correlationKeyExpression",
428
+ "type": "zeebe:property"
429
+ },
430
+ "type": "String"
577
431
  },
578
432
  {
579
- "label": "Condition",
580
- "type": "String",
581
- "group": "activation",
433
+ "id": "messageIdExpression",
434
+ "label": "Message ID expression",
435
+ "description": "Expression to extract unique identifier of a message",
436
+ "optional": true,
582
437
  "feel": "required",
438
+ "group": "correlation",
439
+ "binding": {
440
+ "name": "messageIdExpression",
441
+ "type": "zeebe:property"
442
+ },
443
+ "type": "String"
444
+ },
445
+ {
446
+ "id": "messageTtl",
447
+ "label": "Message TTL",
448
+ "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
583
449
  "optional": true,
450
+ "constraints": {
451
+ "notEmpty": false,
452
+ "pattern": {
453
+ "value": "^(PT.*|)$",
454
+ "message": "must be an ISO-8601 duration"
455
+ }
456
+ },
457
+ "feel": "optional",
458
+ "group": "correlation",
584
459
  "binding": {
585
- "type": "zeebe:property",
586
- "name": "activationCondition"
460
+ "name": "messageTtl",
461
+ "type": "zeebe:property"
587
462
  },
588
- "description": "Condition under which the connector triggers. Leave empty to catch all events."
463
+ "type": "String"
464
+ },
465
+ {
466
+ "id": "messageNameUuid",
467
+ "generatedValue": {
468
+ "type": "uuid"
469
+ },
470
+ "group": "correlation",
471
+ "binding": {
472
+ "name": "name",
473
+ "type": "bpmn:Message#property"
474
+ },
475
+ "type": "Hidden"
589
476
  },
590
477
  {
478
+ "id": "resultVariable",
591
479
  "label": "Result variable",
592
- "type": "String",
593
- "group": "variable-mapping",
594
- "optional": true,
480
+ "description": "Name of variable to store the response in",
481
+ "group": "output",
595
482
  "binding": {
596
- "type": "zeebe:property",
597
- "name": "resultVariable"
483
+ "name": "resultVariable",
484
+ "type": "zeebe:property"
598
485
  },
599
- "description": "Name of variable to store the result of the connector in"
486
+ "type": "String"
600
487
  },
601
488
  {
489
+ "id": "resultExpression",
602
490
  "label": "Result expression",
603
- "type": "String",
604
- "group": "variable-mapping",
491
+ "description": "Expression to map the response into process variables",
605
492
  "feel": "required",
606
- "optional": true,
493
+ "group": "output",
607
494
  "binding": {
608
- "type": "zeebe:property",
609
- "name": "resultExpression"
495
+ "name": "resultExpression",
496
+ "type": "zeebe:property"
610
497
  },
611
- "description": "Expression to map the inbound payload to process variables"
498
+ "type": "Text"
612
499
  }
613
500
  ],
614
- "icon": {
615
- "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"
616
- },
617
501
  "engines": {
618
- "camunda": "^8.2"
502
+ "camunda": "^8.3"
503
+ },
504
+ "icon": {
505
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
619
506
  }
620
507
  },
621
508
  {
@@ -987,7 +874,7 @@
987
874
  "keywords": []
988
875
  },
989
876
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
990
- "version": 6,
877
+ "version": 7,
991
878
  "category": {
992
879
  "id": "connectors",
993
880
  "name": "Connectors"
@@ -997,6 +884,9 @@
997
884
  "value": "bpmn:IntermediateCatchEvent",
998
885
  "eventDefinition": "bpmn:MessageEventDefinition"
999
886
  },
887
+ "engines": {
888
+ "camunda": "^8.3"
889
+ },
1000
890
  "groups": [
1001
891
  {
1002
892
  "id": "endpoint",
@@ -1011,6 +901,11 @@
1011
901
  "label": "Correlation",
1012
902
  "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
1013
903
  },
904
+ {
905
+ "id": "deduplication",
906
+ "label": "Deduplication",
907
+ "tooltip": "Deduplication allows you to configure multiple inbound connector elements to reuse the same backend (consumer/thread/endpoint) by sharing the same deduplication ID."
908
+ },
1014
909
  {
1015
910
  "id": "output",
1016
911
  "label": "Output mapping"
@@ -1080,6 +975,18 @@
1080
975
  },
1081
976
  "type": "String"
1082
977
  },
978
+ {
979
+ "id": "consumeUnmatchedEvents",
980
+ "label": "Consume unmatched events",
981
+ "value": true,
982
+ "group": "activation",
983
+ "binding": {
984
+ "name": "consumeUnmatchedEvents",
985
+ "type": "zeebe:property"
986
+ },
987
+ "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",
988
+ "type": "Boolean"
989
+ },
1083
990
  {
1084
991
  "id": "correlationKeyProcess",
1085
992
  "label": "Correlation key (process)",
@@ -1155,6 +1062,70 @@
1155
1062
  },
1156
1063
  "type": "Hidden"
1157
1064
  },
1065
+ {
1066
+ "id": "deduplicationModeManualFlag",
1067
+ "label": "Manual mode",
1068
+ "description": "By default, similar connectors receive the same deduplication ID. Customize by activating manual mode",
1069
+ "value": false,
1070
+ "group": "deduplication",
1071
+ "binding": {
1072
+ "name": "deduplicationModeManualFlag",
1073
+ "type": "zeebe:property"
1074
+ },
1075
+ "type": "Boolean"
1076
+ },
1077
+ {
1078
+ "id": "deduplicationId",
1079
+ "label": "Deduplication ID",
1080
+ "constraints": {
1081
+ "notEmpty": true,
1082
+ "pattern": {
1083
+ "value": "^[a-zA-Z0-9_-]+$",
1084
+ "message": "can only contain alphanumeric characters, dashes, and underscores"
1085
+ }
1086
+ },
1087
+ "group": "deduplication",
1088
+ "binding": {
1089
+ "name": "deduplicationId",
1090
+ "type": "zeebe:property"
1091
+ },
1092
+ "condition": {
1093
+ "property": "deduplicationModeManualFlag",
1094
+ "equals": true,
1095
+ "type": "simple"
1096
+ },
1097
+ "type": "String"
1098
+ },
1099
+ {
1100
+ "id": "deduplicationModeManual",
1101
+ "value": "MANUAL",
1102
+ "group": "deduplication",
1103
+ "binding": {
1104
+ "name": "deduplicationMode",
1105
+ "type": "zeebe:property"
1106
+ },
1107
+ "condition": {
1108
+ "property": "deduplicationId",
1109
+ "isActive": true,
1110
+ "type": "simple"
1111
+ },
1112
+ "type": "Hidden"
1113
+ },
1114
+ {
1115
+ "id": "deduplicationModeAuto",
1116
+ "value": "AUTO",
1117
+ "group": "deduplication",
1118
+ "binding": {
1119
+ "name": "deduplicationMode",
1120
+ "type": "zeebe:property"
1121
+ },
1122
+ "condition": {
1123
+ "property": "deduplicationId",
1124
+ "isActive": false,
1125
+ "type": "simple"
1126
+ },
1127
+ "type": "Hidden"
1128
+ },
1158
1129
  {
1159
1130
  "id": "resultVariable",
1160
1131
  "label": "Result variable",
@@ -1179,9 +1150,6 @@
1179
1150
  "type": "Text"
1180
1151
  }
1181
1152
  ],
1182
- "engines": {
1183
- "camunda": "^8.3"
1184
- },
1185
1153
  "icon": {
1186
1154
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1187
1155
  }
@@ -1354,16 +1322,8 @@
1354
1322
  "name": "Slack Webhook Intermediate Catch Event Connector",
1355
1323
  "id": "io.camunda.connectors.inbound.Slack.IntermediateCatchEvent.v1",
1356
1324
  "description": "Receive events from Slack",
1357
- "keywords": [
1358
- "message received",
1359
- "event received",
1360
- "channel event",
1361
- "webhook",
1362
- "messaging",
1363
- "new message"
1364
- ],
1365
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
1366
- "version": 8,
1325
+ "version": 2,
1326
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack-inbound/",
1367
1327
  "category": {
1368
1328
  "id": "connectors",
1369
1329
  "name": "Connectors"
@@ -1373,9 +1333,6 @@
1373
1333
  "value": "bpmn:IntermediateCatchEvent",
1374
1334
  "eventDefinition": "bpmn:MessageEventDefinition"
1375
1335
  },
1376
- "engines": {
1377
- "camunda": "^8.3"
1378
- },
1379
1336
  "groups": [
1380
1337
  {
1381
1338
  "id": "endpoint",
@@ -1386,265 +1343,308 @@
1386
1343
  "label": "Activation"
1387
1344
  },
1388
1345
  {
1389
- "id": "correlation",
1390
- "label": "Correlation",
1391
- "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
1392
- },
1393
- {
1394
- "id": "deduplication",
1395
- "label": "Deduplication",
1396
- "tooltip": "Deduplication allows you to configure multiple inbound connector elements to reuse the same backend (consumer/thread/endpoint) by sharing the same deduplication ID."
1397
- },
1398
- {
1399
- "id": "output",
1400
- "label": "Output mapping"
1346
+ "id": "variable-mapping",
1347
+ "label": "Variable mapping"
1401
1348
  }
1402
1349
  ],
1403
1350
  "properties": [
1404
1351
  {
1352
+ "type": "Hidden",
1405
1353
  "value": "io.camunda:slack-webhook:1",
1406
1354
  "binding": {
1407
- "name": "inbound.type",
1408
- "type": "zeebe:property"
1355
+ "type": "zeebe:property",
1356
+ "name": "inbound.type"
1357
+ }
1358
+ },
1359
+ {
1360
+ "type": "Hidden",
1361
+ "value": "SlackEventsWebhook",
1362
+ "binding": {
1363
+ "type": "zeebe:property",
1364
+ "name": "inbound.subtype"
1365
+ }
1366
+ },
1367
+ {
1368
+ "type": "Hidden",
1369
+ "generatedValue": {
1370
+ "type": "uuid"
1409
1371
  },
1410
- "type": "Hidden"
1372
+ "binding": {
1373
+ "type": "bpmn:Message#property",
1374
+ "name": "name"
1375
+ }
1411
1376
  },
1412
1377
  {
1413
- "id": "inbound.context",
1414
1378
  "label": "Webhook ID",
1415
- "description": "The webhook ID is a part of the URL endpoint",
1416
- "optional": false,
1417
- "constraints": {
1418
- "notEmpty": true
1419
- },
1379
+ "type": "String",
1420
1380
  "group": "endpoint",
1421
1381
  "binding": {
1422
- "name": "inbound.context",
1423
- "type": "zeebe:property"
1382
+ "type": "zeebe:property",
1383
+ "name": "inbound.context"
1424
1384
  },
1425
- "type": "String"
1385
+ "description": "The webhook ID is a part of the URL endpoint",
1386
+ "constraints": {
1387
+ "notEmpty": true
1388
+ }
1426
1389
  },
1427
1390
  {
1428
- "id": "inbound.slackSigningSecret",
1429
1391
  "label": "Slack signing secret",
1430
1392
  "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",
1431
- "optional": false,
1432
- "constraints": {
1433
- "notEmpty": true
1434
- },
1393
+ "type": "String",
1435
1394
  "group": "endpoint",
1395
+ "feel": "optional",
1436
1396
  "binding": {
1437
- "name": "inbound.slackSigningSecret",
1438
- "type": "zeebe:property"
1397
+ "type": "zeebe:property",
1398
+ "name": "inbound.slackSigningSecret"
1439
1399
  },
1440
- "type": "String"
1400
+ "constraints": {
1401
+ "notEmpty": true
1402
+ }
1441
1403
  },
1442
1404
  {
1443
- "id": "inbound.verificationExpression",
1444
- "label": "Verification expression",
1445
- "optional": true,
1446
- "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
1447
- "group": "endpoint",
1405
+ "label": "Correlation key (process)",
1406
+ "type": "String",
1407
+ "group": "activation",
1408
+ "feel": "required",
1409
+ "description": "Sets up the correlation key from process variables",
1448
1410
  "binding": {
1449
- "name": "inbound.verificationExpression",
1450
- "type": "zeebe:property"
1411
+ "type": "bpmn:Message#zeebe:subscription#property",
1412
+ "name": "correlationKey"
1451
1413
  },
1452
- "type": "Hidden"
1414
+ "constraints": {
1415
+ "notEmpty": true
1416
+ }
1453
1417
  },
1454
1418
  {
1455
- "id": "activationCondition",
1456
- "label": "Activation condition",
1457
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
1458
- "optional": true,
1459
- "feel": "required",
1419
+ "label": "Correlation key (payload)",
1420
+ "type": "String",
1460
1421
  "group": "activation",
1422
+ "feel": "required",
1461
1423
  "binding": {
1462
- "name": "activationCondition",
1463
- "type": "zeebe:property"
1424
+ "type": "zeebe:property",
1425
+ "name": "correlationKeyExpression"
1464
1426
  },
1465
- "type": "String"
1427
+ "description": "Extracts the correlation key from the incoming message payload",
1428
+ "constraints": {
1429
+ "notEmpty": true
1430
+ }
1466
1431
  },
1467
1432
  {
1468
- "id": "consumeUnmatchedEvents",
1469
- "label": "Consume unmatched events",
1470
- "value": true,
1433
+ "label": "Condition",
1434
+ "type": "String",
1471
1435
  "group": "activation",
1436
+ "feel": "required",
1437
+ "optional": true,
1472
1438
  "binding": {
1473
- "name": "consumeUnmatchedEvents",
1474
- "type": "zeebe:property"
1439
+ "type": "zeebe:property",
1440
+ "name": "activationCondition"
1475
1441
  },
1476
- "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",
1477
- "type": "Boolean"
1442
+ "description": "Condition under which the connector triggers. Leave empty to catch all events."
1478
1443
  },
1479
1444
  {
1480
- "id": "correlationKeyProcess",
1481
- "label": "Correlation key (process)",
1482
- "description": "Sets up the correlation key from process variables",
1483
- "constraints": {
1484
- "notEmpty": true
1485
- },
1486
- "feel": "required",
1487
- "group": "correlation",
1445
+ "label": "Result variable",
1446
+ "type": "String",
1447
+ "group": "variable-mapping",
1448
+ "optional": true,
1488
1449
  "binding": {
1489
- "name": "correlationKey",
1490
- "type": "bpmn:Message#zeebe:subscription#property"
1450
+ "type": "zeebe:property",
1451
+ "name": "resultVariable"
1491
1452
  },
1492
- "type": "String"
1453
+ "description": "Name of variable to store the result of the connector in"
1493
1454
  },
1494
1455
  {
1495
- "id": "correlationKeyPayload",
1496
- "label": "Correlation key (payload)",
1497
- "description": "Extracts the correlation key from the incoming message payload",
1498
- "constraints": {
1499
- "notEmpty": true
1500
- },
1456
+ "label": "Result expression",
1457
+ "type": "String",
1458
+ "group": "variable-mapping",
1501
1459
  "feel": "required",
1502
- "group": "correlation",
1460
+ "optional": true,
1503
1461
  "binding": {
1504
- "name": "correlationKeyExpression",
1505
- "type": "zeebe:property"
1462
+ "type": "zeebe:property",
1463
+ "name": "resultExpression"
1506
1464
  },
1507
- "type": "String"
1465
+ "description": "Expression to map the inbound payload to process variables"
1466
+ }
1467
+ ],
1468
+ "icon": {
1469
+ "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"
1470
+ },
1471
+ "engines": {
1472
+ "camunda": "^8.2"
1473
+ }
1474
+ },
1475
+ {
1476
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1477
+ "name": "Slack Webhook Intermediate Catch Event Connector",
1478
+ "id": "io.camunda.connectors.inbound.Slack.IntermediateCatchEvent.v1",
1479
+ "description": "Receive events from Slack",
1480
+ "version": 4,
1481
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/slack/?slack=inbound",
1482
+ "category": {
1483
+ "id": "connectors",
1484
+ "name": "Connectors"
1485
+ },
1486
+ "appliesTo": ["bpmn:IntermediateCatchEvent", "bpmn:IntermediateThrowEvent"],
1487
+ "elementType": {
1488
+ "value": "bpmn:IntermediateCatchEvent",
1489
+ "eventDefinition": "bpmn:MessageEventDefinition"
1490
+ },
1491
+ "groups": [
1492
+ {
1493
+ "id": "endpoint",
1494
+ "label": "Webhook configuration"
1508
1495
  },
1509
1496
  {
1510
- "id": "messageIdExpression",
1511
- "label": "Message ID expression",
1512
- "description": "Expression to extract unique identifier of a message",
1513
- "optional": true,
1514
- "feel": "required",
1515
- "group": "correlation",
1497
+ "id": "activation",
1498
+ "label": "Activation"
1499
+ },
1500
+ {
1501
+ "id": "variable-mapping",
1502
+ "label": "Variable mapping"
1503
+ }
1504
+ ],
1505
+ "properties": [
1506
+ {
1507
+ "type": "Hidden",
1508
+ "value": "io.camunda:slack-webhook:1",
1516
1509
  "binding": {
1517
- "name": "messageIdExpression",
1518
- "type": "zeebe:property"
1519
- },
1520
- "type": "String"
1510
+ "type": "zeebe:property",
1511
+ "name": "inbound.type"
1512
+ }
1521
1513
  },
1522
1514
  {
1523
- "id": "messageTtl",
1524
- "label": "Message TTL",
1525
- "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
1526
- "optional": true,
1527
- "constraints": {
1528
- "notEmpty": false,
1529
- "pattern": {
1530
- "value": "^(PT.*|)$",
1531
- "message": "must be an ISO-8601 duration"
1532
- }
1533
- },
1534
- "feel": "optional",
1535
- "group": "correlation",
1515
+ "type": "Hidden",
1516
+ "value": "SlackEventsWebhook",
1536
1517
  "binding": {
1537
- "name": "messageTtl",
1538
- "type": "zeebe:property"
1539
- },
1540
- "type": "String"
1518
+ "type": "zeebe:property",
1519
+ "name": "inbound.subtype"
1520
+ }
1541
1521
  },
1542
1522
  {
1543
- "id": "messageNameUuid",
1544
- "label": "Message name",
1523
+ "type": "Hidden",
1545
1524
  "generatedValue": {
1546
1525
  "type": "uuid"
1547
1526
  },
1548
- "feel": "optional",
1549
- "group": "correlation",
1550
1527
  "binding": {
1551
- "name": "name",
1552
- "type": "bpmn:Message#property"
1553
- },
1554
- "tooltip": "By default, this is an auto-generated random UUID. We recommend using a unique message name for each connector element in the diagram. Override to set a custom message name. Learn more about <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-subscriptions\">message subscriptions</a> that power inbound connectors.",
1555
- "type": "String"
1528
+ "type": "bpmn:Message#property",
1529
+ "name": "name"
1530
+ }
1556
1531
  },
1557
1532
  {
1558
- "id": "deduplicationModeManualFlag",
1559
- "label": "Manual mode",
1560
- "description": "By default, similar connectors receive the same deduplication ID. Customize by activating manual mode",
1561
- "value": false,
1562
- "group": "deduplication",
1533
+ "label": "Webhook ID",
1534
+ "type": "String",
1535
+ "group": "endpoint",
1563
1536
  "binding": {
1564
- "name": "deduplicationModeManualFlag",
1565
- "type": "zeebe:property"
1537
+ "type": "zeebe:property",
1538
+ "name": "inbound.context"
1566
1539
  },
1567
- "type": "Boolean"
1540
+ "description": "The webhook ID is a part of the URL endpoint",
1541
+ "constraints": {
1542
+ "notEmpty": true
1543
+ }
1568
1544
  },
1569
1545
  {
1570
- "id": "deduplicationId",
1571
- "label": "Deduplication ID",
1572
- "constraints": {
1573
- "notEmpty": true,
1574
- "pattern": {
1575
- "value": "^[a-zA-Z0-9_-]+$",
1576
- "message": "can only contain alphanumeric characters, dashes, and underscores"
1577
- }
1578
- },
1579
- "group": "deduplication",
1546
+ "label": "Slack signing secret",
1547
+ "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",
1548
+ "type": "String",
1549
+ "group": "endpoint",
1550
+ "feel": "optional",
1580
1551
  "binding": {
1581
- "name": "deduplicationId",
1582
- "type": "zeebe:property"
1583
- },
1584
- "condition": {
1585
- "property": "deduplicationModeManualFlag",
1586
- "equals": true,
1587
- "type": "simple"
1552
+ "type": "zeebe:property",
1553
+ "name": "inbound.slackSigningSecret"
1588
1554
  },
1589
- "type": "String"
1555
+ "constraints": {
1556
+ "notEmpty": true
1557
+ }
1590
1558
  },
1591
1559
  {
1592
- "id": "deduplicationModeManual",
1593
- "value": "MANUAL",
1594
- "group": "deduplication",
1560
+ "type": "Hidden",
1561
+ "value": "=if (body.type != null and body.type = \"url_verification\") then {body:{\"challenge\":body.challenge}, statusCode: 200} else null",
1595
1562
  "binding": {
1596
- "name": "deduplicationMode",
1597
- "type": "zeebe:property"
1563
+ "type": "zeebe:property",
1564
+ "name": "inbound.verificationExpression"
1565
+ }
1566
+ },
1567
+ {
1568
+ "label": "Correlation key (process)",
1569
+ "type": "String",
1570
+ "group": "activation",
1571
+ "feel": "required",
1572
+ "description": "Sets up the correlation key from process variables",
1573
+ "binding": {
1574
+ "type": "bpmn:Message#zeebe:subscription#property",
1575
+ "name": "correlationKey"
1598
1576
  },
1599
- "condition": {
1600
- "property": "deduplicationId",
1601
- "isActive": true,
1602
- "type": "simple"
1577
+ "constraints": {
1578
+ "notEmpty": true
1579
+ }
1580
+ },
1581
+ {
1582
+ "label": "Correlation key (payload)",
1583
+ "type": "String",
1584
+ "group": "activation",
1585
+ "feel": "required",
1586
+ "binding": {
1587
+ "type": "zeebe:property",
1588
+ "name": "correlationKeyExpression"
1603
1589
  },
1604
- "type": "Hidden"
1590
+ "description": "Extracts the correlation key from the incoming message payload",
1591
+ "constraints": {
1592
+ "notEmpty": true
1593
+ }
1605
1594
  },
1606
1595
  {
1607
- "id": "deduplicationModeAuto",
1608
- "value": "AUTO",
1609
- "group": "deduplication",
1596
+ "label": "Message ID expression",
1597
+ "feel": "required",
1598
+ "type": "String",
1599
+ "optional": true,
1600
+ "group": "activation",
1610
1601
  "binding": {
1611
- "name": "deduplicationMode",
1612
- "type": "zeebe:property"
1602
+ "type": "zeebe:property",
1603
+ "name": "messageIdExpression"
1613
1604
  },
1614
- "condition": {
1615
- "property": "deduplicationId",
1616
- "isActive": false,
1617
- "type": "simple"
1605
+ "description": "Expression to extract unique identifier of a message"
1606
+ },
1607
+ {
1608
+ "label": "Condition",
1609
+ "type": "String",
1610
+ "group": "activation",
1611
+ "feel": "required",
1612
+ "optional": true,
1613
+ "binding": {
1614
+ "type": "zeebe:property",
1615
+ "name": "activationCondition"
1618
1616
  },
1619
- "type": "Hidden"
1617
+ "description": "Condition under which the connector triggers. Leave empty to catch all events."
1620
1618
  },
1621
1619
  {
1622
- "id": "resultVariable",
1623
1620
  "label": "Result variable",
1624
- "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>.",
1625
- "group": "output",
1621
+ "type": "String",
1622
+ "group": "variable-mapping",
1623
+ "optional": true,
1626
1624
  "binding": {
1627
- "name": "resultVariable",
1628
- "type": "zeebe:property"
1625
+ "type": "zeebe:property",
1626
+ "name": "resultVariable"
1629
1627
  },
1630
- "type": "String"
1628
+ "description": "Name of variable to store the result of the connector in"
1631
1629
  },
1632
1630
  {
1633
- "id": "resultExpression",
1634
1631
  "label": "Result expression",
1635
- "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>.",
1636
- "value": "{\n myRequestBody: request.body\n // Use FEEL to extract values, e.g.,:\n // myUserId: request.body.event.user\n}",
1632
+ "type": "String",
1633
+ "group": "variable-mapping",
1637
1634
  "feel": "required",
1638
- "group": "output",
1635
+ "optional": true,
1639
1636
  "binding": {
1640
- "name": "resultExpression",
1641
- "type": "zeebe:property"
1637
+ "type": "zeebe:property",
1638
+ "name": "resultExpression"
1642
1639
  },
1643
- "type": "Text"
1640
+ "description": "Expression to map the inbound payload to process variables"
1644
1641
  }
1645
1642
  ],
1646
1643
  "icon": {
1647
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI3IiBoZWlnaHQ9IjEyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjcuMiA4MGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjJDNi43IDkzLjIuOCA4Ny4zLjggODBjMC03LjMgNS45LTEzLjIgMTMuMi0xMy4yaDEzLjJWODB6bTYuNiAwYzAtNy4zIDUuOS0xMy4yIDEzLjItMTMuMiA3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzNjMCA3LjMtNS45IDEzLjItMTMuMiAxMy4yLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMlY4MHoiIGZpbGw9IiNFMDFFNUEiLz4KICA8cGF0aCBkPSJNNDcgMjdjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMkMzMy44IDYuNSAzOS43LjYgNDcgLjZjNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yVjI3SDQ3em0wIDYuN2M3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDEzLjlDNi42IDYwLjEuNyA1NC4yLjcgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJINDd6IiBmaWxsPSIjMzZDNUYwIi8+CiAgPHBhdGggZD0iTTk5LjkgNDYuOWMwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjIgNy4zIDAgMTMuMiA1LjkgMTMuMiAxMy4yIDAgNy4zLTUuOSAxMy4yLTEzLjIgMTMuMkg5OS45VjQ2Ljl6bS02LjYgMGMwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjEzLjhDNjYuOSA2LjUgNzIuOC42IDgwLjEuNmM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjJ2MzMuMXoiIGZpbGw9IiMyRUI2N0QiLz4KICA8cGF0aCBkPSJNODAuMSA5OS44YzcuMyAwIDEzLjIgNS45IDEzLjIgMTMuMiAwIDcuMy01LjkgMTMuMi0xMy4yIDEzLjItNy4zIDAtMTMuMi01LjktMTMuMi0xMy4yVjk5LjhoMTMuMnptMC02LjZjLTcuMyAwLTEzLjItNS45LTEzLjItMTMuMiAwLTcuMyA1LjktMTMuMiAxMy4yLTEzLjJoMzMuMWM3LjMgMCAxMy4yIDUuOSAxMy4yIDEzLjIgMCA3LjMtNS45IDEzLjItMTMuMiAxMy4ySDgwLjF6IiBmaWxsPSIjRUNCMjJFIi8+Cjwvc3ZnPgo="
1644
+ "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"
1645
+ },
1646
+ "engines": {
1647
+ "camunda": "^8.4"
1648
1648
  }
1649
1649
  }
1650
1650
  ]