@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
@@ -1,11 +1,23 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "AWS BedRock Outbound Connector",
4
+ "name": "AWS Bedrock Outbound Connector",
5
5
  "id": "io.camunda.connectors.aws.bedrock.v1",
6
- "description": "Execute bedrock requests",
7
- "documentationRef": "https://docs.camunda.io/docs/",
8
- "version": 1,
6
+ "description": "Invoke models and converse using AWS Bedrock.",
7
+ "keywords": [
8
+ "invoke model",
9
+ "run inference",
10
+ "invokemodel API",
11
+ "converse API",
12
+ "converse",
13
+ "AI",
14
+ "LLM",
15
+ "machine learning",
16
+ "language model",
17
+ "generative AI"
18
+ ],
19
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/amazon-bedrock/",
20
+ "version": 6,
9
21
  "category": {
10
22
  "id": "connectors",
11
23
  "name": "Connectors"
@@ -15,9 +27,13 @@
15
27
  "value": "bpmn:ServiceTask"
16
28
  },
17
29
  "engines": {
18
- "camunda": "^8.6"
30
+ "camunda": "^8.10"
19
31
  },
20
32
  "groups": [
33
+ {
34
+ "id": "operation",
35
+ "label": "Operation"
36
+ },
21
37
  {
22
38
  "id": "authentication",
23
39
  "label": "Authentication"
@@ -26,10 +42,6 @@
26
42
  "id": "configuration",
27
43
  "label": "Configuration"
28
44
  },
29
- {
30
- "id": "action",
31
- "label": "Action"
32
- },
33
45
  {
34
46
  "id": "invokeModel",
35
47
  "label": "Invoke Model"
@@ -38,6 +50,10 @@
38
50
  "id": "converse",
39
51
  "label": "Converse"
40
52
  },
53
+ {
54
+ "id": "connector",
55
+ "label": "Connector"
56
+ },
41
57
  {
42
58
  "id": "output",
43
59
  "label": "Output mapping"
@@ -60,6 +76,27 @@
60
76
  },
61
77
  "type": "Hidden"
62
78
  },
79
+ {
80
+ "id": "action",
81
+ "label": "Action",
82
+ "value": "invokeModel",
83
+ "group": "operation",
84
+ "binding": {
85
+ "name": "action",
86
+ "type": "zeebe:input"
87
+ },
88
+ "type": "Dropdown",
89
+ "choices": [
90
+ {
91
+ "name": "Invoke Model",
92
+ "value": "invokeModel"
93
+ },
94
+ {
95
+ "name": "Converse",
96
+ "value": "converse"
97
+ }
98
+ ]
99
+ },
63
100
  {
64
101
  "id": "authentication.type",
65
102
  "label": "Authentication",
@@ -85,7 +122,6 @@
85
122
  {
86
123
  "id": "authentication.accessKey",
87
124
  "label": "Access key",
88
- "description": "Provide an IAM access key tailored to a user, equipped with the necessary permissions",
89
125
  "optional": false,
90
126
  "constraints": {
91
127
  "notEmpty": true
@@ -101,12 +137,13 @@
101
137
  "equals": "credentials",
102
138
  "type": "simple"
103
139
  },
104
- "type": "String"
140
+ "tooltip": "IAM access key of a user with the necessary permissions for this connector",
141
+ "type": "String",
142
+ "secret": true
105
143
  },
106
144
  {
107
145
  "id": "authentication.secretKey",
108
146
  "label": "Secret key",
109
- "description": "Provide a secret key of a user with permissions to invoke specified AWS Lambda function",
110
147
  "optional": false,
111
148
  "constraints": {
112
149
  "notEmpty": true
@@ -122,12 +159,26 @@
122
159
  "equals": "credentials",
123
160
  "type": "simple"
124
161
  },
125
- "type": "String"
162
+ "tooltip": "IAM secret key of a user with the necessary permissions for this connector",
163
+ "type": "String",
164
+ "secret": true
165
+ },
166
+ {
167
+ "id": "awsCredential",
168
+ "label": "AWS credential",
169
+ "description": "Choose a reusable AWS credential. When set, it is bound as a whole to the connector's 'awsCredential' input.",
170
+ "optional": true,
171
+ "group": "authentication",
172
+ "binding": {
173
+ "name": "awsCredential",
174
+ "type": "zeebe:input"
175
+ },
176
+ "type": "Configuration",
177
+ "configurationTemplate": "io.camunda:aws-credential:1"
126
178
  },
127
179
  {
128
180
  "id": "configuration.region",
129
181
  "label": "Region",
130
- "description": "Specify the AWS region",
131
182
  "optional": false,
132
183
  "constraints": {
133
184
  "notEmpty": true
@@ -152,31 +203,9 @@
152
203
  },
153
204
  "type": "Hidden"
154
205
  },
155
- {
156
- "id": "action",
157
- "label": "Action",
158
- "value": "invokeModel",
159
- "group": "action",
160
- "binding": {
161
- "name": "action",
162
- "type": "zeebe:input"
163
- },
164
- "type": "Dropdown",
165
- "choices": [
166
- {
167
- "name": "Invoke Model",
168
- "value": "invokeModel"
169
- },
170
- {
171
- "name": "Converse",
172
- "value": "converse"
173
- }
174
- ]
175
- },
176
206
  {
177
207
  "id": "data.modelId0",
178
208
  "label": "Model ID",
179
- "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
180
209
  "optional": false,
181
210
  "constraints": {
182
211
  "notEmpty": true
@@ -192,12 +221,13 @@
192
221
  "equals": "invokeModel",
193
222
  "type": "simple"
194
223
  },
224
+ "tooltip": "ID of the model to invoke. See <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">AWS Bedrock model IDs</a>.",
225
+ "placeholder": "amazon.titan-text-express-v1",
195
226
  "type": "String"
196
227
  },
197
228
  {
198
229
  "id": "data.payload",
199
230
  "label": "Payload",
200
- "description": "Specify the payload. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">documentation</a>",
201
231
  "optional": false,
202
232
  "constraints": {
203
233
  "notEmpty": true
@@ -213,20 +243,17 @@
213
243
  "equals": "invokeModel",
214
244
  "type": "simple"
215
245
  },
246
+ "tooltip": "Request body sent to the model, whose structure depends on the model. See <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">AWS Bedrock model parameters</a>.",
216
247
  "type": "String"
217
248
  },
218
249
  {
219
- "id": "data.modelId1",
220
- "label": "Model ID",
221
- "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
222
- "optional": false,
223
- "constraints": {
224
- "notEmpty": true
225
- },
226
- "feel": "optional",
250
+ "id": "data.messagesHistory",
251
+ "label": "Message History",
252
+ "optional": true,
253
+ "feel": "required",
227
254
  "group": "converse",
228
255
  "binding": {
229
- "name": "data.modelId",
256
+ "name": "data.messagesHistory",
230
257
  "type": "zeebe:input"
231
258
  },
232
259
  "condition": {
@@ -234,12 +261,12 @@
234
261
  "equals": "converse",
235
262
  "type": "simple"
236
263
  },
264
+ "tooltip": "History of the conversation to continue. If not set, this starts a new conversation.",
237
265
  "type": "String"
238
266
  },
239
267
  {
240
- "id": "data.nextMessage",
241
- "label": "New Message",
242
- "description": "Specify the next message",
268
+ "id": "data.modelId1",
269
+ "label": "Model ID",
243
270
  "optional": false,
244
271
  "constraints": {
245
272
  "notEmpty": true
@@ -247,7 +274,7 @@
247
274
  "feel": "optional",
248
275
  "group": "converse",
249
276
  "binding": {
250
- "name": "data.nextMessage",
277
+ "name": "data.modelId",
251
278
  "type": "zeebe:input"
252
279
  },
253
280
  "condition": {
@@ -255,17 +282,21 @@
255
282
  "equals": "converse",
256
283
  "type": "simple"
257
284
  },
285
+ "tooltip": "ID of the model to invoke. See <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">AWS Bedrock model IDs</a>.",
286
+ "placeholder": "amazon.titan-text-express-v1",
258
287
  "type": "String"
259
288
  },
260
289
  {
261
- "id": "data.messages",
262
- "label": "Message History",
263
- "description": "Specify the message history, when previous context is needed",
264
- "optional": true,
265
- "feel": "required",
290
+ "id": "data.newMessage",
291
+ "label": "New Message",
292
+ "optional": false,
293
+ "constraints": {
294
+ "notEmpty": true
295
+ },
296
+ "feel": "optional",
266
297
  "group": "converse",
267
298
  "binding": {
268
- "name": "data.messages",
299
+ "name": "data.newMessage",
269
300
  "type": "zeebe:input"
270
301
  },
271
302
  "condition": {
@@ -290,7 +321,7 @@
290
321
  "equals": "converse",
291
322
  "type": "simple"
292
323
  },
293
- "type": "String"
324
+ "type": "Number"
294
325
  },
295
326
  {
296
327
  "id": "data.temperature",
@@ -307,7 +338,7 @@
307
338
  "equals": "converse",
308
339
  "type": "simple"
309
340
  },
310
- "type": "String"
341
+ "type": "Number"
311
342
  },
312
343
  {
313
344
  "id": "data.topP",
@@ -324,62 +355,1695 @@
324
355
  "equals": "converse",
325
356
  "type": "simple"
326
357
  },
327
- "type": "String"
358
+ "type": "Number"
328
359
  },
329
360
  {
330
- "id": "resultVariable",
331
- "label": "Result variable",
332
- "description": "Name of variable to store the response in",
333
- "group": "output",
361
+ "id": "data_newDocuments_documentMode",
362
+ "label": "Number of documents",
363
+ "value": "none",
364
+ "group": "converse",
334
365
  "binding": {
335
- "key": "resultVariable",
336
- "type": "zeebe:taskHeader"
366
+ "name": "data.data_newDocuments_documentMode",
367
+ "type": "zeebe:input"
337
368
  },
338
- "type": "String"
369
+ "condition": {
370
+ "property": "action",
371
+ "equals": "converse",
372
+ "type": "simple"
373
+ },
374
+ "type": "Dropdown",
375
+ "choices": [
376
+ {
377
+ "name": "None",
378
+ "value": "none"
379
+ },
380
+ {
381
+ "name": "Single document",
382
+ "value": "single"
383
+ },
384
+ {
385
+ "name": "Multiple documents",
386
+ "value": "multiple"
387
+ }
388
+ ]
339
389
  },
340
390
  {
341
- "id": "resultExpression",
342
- "label": "Result expression",
343
- "description": "Expression to map the response into process variables",
344
- "feel": "required",
345
- "group": "output",
391
+ "id": "data_newDocuments_single_documentSource",
392
+ "label": "Document source",
393
+ "value": "camunda",
394
+ "group": "converse",
346
395
  "binding": {
347
- "key": "resultExpression",
348
- "type": "zeebe:taskHeader"
396
+ "name": "data.data_newDocuments_single_documentSource",
397
+ "type": "zeebe:input"
349
398
  },
350
- "type": "Text"
399
+ "condition": {
400
+ "allMatch": [
401
+ {
402
+ "property": "data_newDocuments_documentMode",
403
+ "equals": "single",
404
+ "type": "simple"
405
+ },
406
+ {
407
+ "property": "action",
408
+ "equals": "converse",
409
+ "type": "simple"
410
+ }
411
+ ]
412
+ },
413
+ "type": "Dropdown",
414
+ "choices": [
415
+ {
416
+ "name": "Camunda Document",
417
+ "value": "camunda"
418
+ },
419
+ {
420
+ "name": "Inline Content",
421
+ "value": "inline"
422
+ },
423
+ {
424
+ "name": "From URL",
425
+ "value": "external"
426
+ }
427
+ ]
351
428
  },
352
429
  {
353
- "id": "errorExpression",
354
- "label": "Error expression",
355
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
430
+ "id": "data_newDocuments_single_camundaReference",
431
+ "label": "Camunda document",
432
+ "constraints": {
433
+ "notEmpty": true
434
+ },
356
435
  "feel": "required",
357
- "group": "error",
436
+ "group": "converse",
358
437
  "binding": {
359
- "key": "errorExpression",
360
- "type": "zeebe:taskHeader"
438
+ "name": "data.data_newDocuments_single_camundaReference",
439
+ "type": "zeebe:input"
361
440
  },
362
- "type": "Text"
363
- },
364
- {
365
- "id": "retryCount",
366
- "label": "Retries",
367
- "description": "Number of retries",
368
- "value": "3",
369
- "feel": "optional",
370
- "group": "retries",
371
- "binding": {
372
- "property": "retries",
373
- "type": "zeebe:taskDefinition"
441
+ "condition": {
442
+ "allMatch": [
443
+ {
444
+ "property": "data_newDocuments_documentMode",
445
+ "equals": "single",
446
+ "type": "simple"
447
+ },
448
+ {
449
+ "property": "data_newDocuments_single_documentSource",
450
+ "equals": "camunda",
451
+ "type": "simple"
452
+ },
453
+ {
454
+ "property": "action",
455
+ "equals": "converse",
456
+ "type": "simple"
457
+ }
458
+ ]
374
459
  },
375
460
  "type": "String"
376
461
  },
377
462
  {
378
- "id": "retryBackoff",
379
- "label": "Retry backoff",
380
- "description": "ISO-8601 duration to wait between retries",
381
- "value": "PT0S",
463
+ "id": "data_newDocuments_single_inline_content",
464
+ "label": "Content",
465
+ "constraints": {
466
+ "notEmpty": true
467
+ },
382
468
  "feel": "optional",
469
+ "group": "converse",
470
+ "binding": {
471
+ "name": "data.data_newDocuments_single_inline_content",
472
+ "type": "zeebe:input"
473
+ },
474
+ "condition": {
475
+ "allMatch": [
476
+ {
477
+ "property": "data_newDocuments_documentMode",
478
+ "equals": "single",
479
+ "type": "simple"
480
+ },
481
+ {
482
+ "property": "data_newDocuments_single_documentSource",
483
+ "equals": "inline",
484
+ "type": "simple"
485
+ },
486
+ {
487
+ "property": "action",
488
+ "equals": "converse",
489
+ "type": "simple"
490
+ }
491
+ ]
492
+ },
493
+ "type": "String"
494
+ },
495
+ {
496
+ "id": "data_newDocuments_single_inline_fileName",
497
+ "label": "File name",
498
+ "feel": "optional",
499
+ "group": "converse",
500
+ "binding": {
501
+ "name": "data.data_newDocuments_single_inline_fileName",
502
+ "type": "zeebe:input"
503
+ },
504
+ "condition": {
505
+ "allMatch": [
506
+ {
507
+ "property": "data_newDocuments_documentMode",
508
+ "equals": "single",
509
+ "type": "simple"
510
+ },
511
+ {
512
+ "property": "data_newDocuments_single_documentSource",
513
+ "equals": "inline",
514
+ "type": "simple"
515
+ },
516
+ {
517
+ "property": "action",
518
+ "equals": "converse",
519
+ "type": "simple"
520
+ }
521
+ ]
522
+ },
523
+ "type": "String"
524
+ },
525
+ {
526
+ "id": "data_newDocuments_single_inline_contentType",
527
+ "label": "Content type",
528
+ "feel": "optional",
529
+ "group": "converse",
530
+ "binding": {
531
+ "name": "data.data_newDocuments_single_inline_contentType",
532
+ "type": "zeebe:input"
533
+ },
534
+ "condition": {
535
+ "allMatch": [
536
+ {
537
+ "property": "data_newDocuments_documentMode",
538
+ "equals": "single",
539
+ "type": "simple"
540
+ },
541
+ {
542
+ "property": "data_newDocuments_single_documentSource",
543
+ "equals": "inline",
544
+ "type": "simple"
545
+ },
546
+ {
547
+ "property": "action",
548
+ "equals": "converse",
549
+ "type": "simple"
550
+ }
551
+ ]
552
+ },
553
+ "type": "String"
554
+ },
555
+ {
556
+ "id": "data_newDocuments_single_external_url",
557
+ "label": "URL",
558
+ "constraints": {
559
+ "notEmpty": true
560
+ },
561
+ "feel": "optional",
562
+ "group": "converse",
563
+ "binding": {
564
+ "name": "data.data_newDocuments_single_external_url",
565
+ "type": "zeebe:input"
566
+ },
567
+ "condition": {
568
+ "allMatch": [
569
+ {
570
+ "property": "data_newDocuments_documentMode",
571
+ "equals": "single",
572
+ "type": "simple"
573
+ },
574
+ {
575
+ "property": "data_newDocuments_single_documentSource",
576
+ "equals": "external",
577
+ "type": "simple"
578
+ },
579
+ {
580
+ "property": "action",
581
+ "equals": "converse",
582
+ "type": "simple"
583
+ }
584
+ ]
585
+ },
586
+ "type": "String"
587
+ },
588
+ {
589
+ "id": "data_newDocuments_single_external_fileName",
590
+ "label": "File name",
591
+ "feel": "optional",
592
+ "group": "converse",
593
+ "binding": {
594
+ "name": "data.data_newDocuments_single_external_fileName",
595
+ "type": "zeebe:input"
596
+ },
597
+ "condition": {
598
+ "allMatch": [
599
+ {
600
+ "property": "data_newDocuments_documentMode",
601
+ "equals": "single",
602
+ "type": "simple"
603
+ },
604
+ {
605
+ "property": "data_newDocuments_single_documentSource",
606
+ "equals": "external",
607
+ "type": "simple"
608
+ },
609
+ {
610
+ "property": "action",
611
+ "equals": "converse",
612
+ "type": "simple"
613
+ }
614
+ ]
615
+ },
616
+ "type": "String"
617
+ },
618
+ {
619
+ "id": "data_newDocuments_multiple_expression",
620
+ "label": "Documents",
621
+ "constraints": {
622
+ "notEmpty": true
623
+ },
624
+ "feel": "required",
625
+ "group": "converse",
626
+ "binding": {
627
+ "name": "data.data_newDocuments_multiple_expression",
628
+ "type": "zeebe:input"
629
+ },
630
+ "condition": {
631
+ "allMatch": [
632
+ {
633
+ "property": "data_newDocuments_documentMode",
634
+ "equals": "multiple",
635
+ "type": "simple"
636
+ },
637
+ {
638
+ "property": "action",
639
+ "equals": "converse",
640
+ "type": "simple"
641
+ }
642
+ ]
643
+ },
644
+ "type": "String"
645
+ },
646
+ {
647
+ "id": "data.newDocuments",
648
+ "value": "=if data_newDocuments_documentMode = \"multiple\" then data_newDocuments_multiple_expression else if data_newDocuments_documentMode = \"single\" then (if data_newDocuments_single_documentSource = \"camunda\" then [data_newDocuments_single_camundaReference] else if data_newDocuments_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: data_newDocuments_single_inline_content, name: data_newDocuments_single_inline_fileName, contentType: data_newDocuments_single_inline_contentType }] else if data_newDocuments_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: data_newDocuments_single_external_url, name: data_newDocuments_single_external_fileName }] else null) else null",
649
+ "group": "converse",
650
+ "binding": {
651
+ "name": "data.newDocuments",
652
+ "type": "zeebe:input"
653
+ },
654
+ "condition": {
655
+ "property": "action",
656
+ "equals": "converse",
657
+ "type": "simple"
658
+ },
659
+ "type": "Hidden"
660
+ },
661
+ {
662
+ "id": "version",
663
+ "label": "Version",
664
+ "description": "Version of the element template",
665
+ "value": "6",
666
+ "group": "connector",
667
+ "binding": {
668
+ "key": "elementTemplateVersion",
669
+ "type": "zeebe:taskHeader"
670
+ },
671
+ "type": "Hidden"
672
+ },
673
+ {
674
+ "id": "id",
675
+ "label": "ID",
676
+ "description": "ID of the element template",
677
+ "value": "io.camunda.connectors.aws.bedrock.v1",
678
+ "group": "connector",
679
+ "binding": {
680
+ "key": "elementTemplateId",
681
+ "type": "zeebe:taskHeader"
682
+ },
683
+ "type": "Hidden"
684
+ },
685
+ {
686
+ "id": "resultVariable",
687
+ "label": "Result variable",
688
+ "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>.",
689
+ "group": "output",
690
+ "binding": {
691
+ "key": "resultVariable",
692
+ "type": "zeebe:taskHeader"
693
+ },
694
+ "type": "String"
695
+ },
696
+ {
697
+ "id": "resultExpression",
698
+ "label": "Result expression",
699
+ "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>.",
700
+ "feel": "required",
701
+ "group": "output",
702
+ "binding": {
703
+ "key": "resultExpression",
704
+ "type": "zeebe:taskHeader"
705
+ },
706
+ "type": "Text"
707
+ },
708
+ {
709
+ "id": "errorExpression",
710
+ "label": "Error expression",
711
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
712
+ "feel": "required",
713
+ "group": "error",
714
+ "binding": {
715
+ "key": "errorExpression",
716
+ "type": "zeebe:taskHeader"
717
+ },
718
+ "type": "Text"
719
+ },
720
+ {
721
+ "id": "retryCount",
722
+ "label": "Retries",
723
+ "description": "Number of retries",
724
+ "value": "3",
725
+ "feel": "optional",
726
+ "group": "retries",
727
+ "binding": {
728
+ "property": "retries",
729
+ "type": "zeebe:taskDefinition"
730
+ },
731
+ "type": "String"
732
+ },
733
+ {
734
+ "id": "retryBackoff",
735
+ "label": "Retry backoff",
736
+ "description": "ISO-8601 duration to wait between retries",
737
+ "value": "PT30S",
738
+ "group": "retries",
739
+ "binding": {
740
+ "key": "retryBackoff",
741
+ "type": "zeebe:taskHeader"
742
+ },
743
+ "type": "String"
744
+ }
745
+ ],
746
+ "steps": [
747
+ {
748
+ "name": "Invoke Model",
749
+ "description": "Invoke an Amazon Bedrock foundation model with a single request",
750
+ "keywords": [
751
+ "invoke model",
752
+ "call model",
753
+ "generate",
754
+ "run model",
755
+ "ai inference",
756
+ "foundation model"
757
+ ],
758
+ "presetId": "action_invokeModel"
759
+ },
760
+ {
761
+ "name": "Converse",
762
+ "description": "Have a multi-turn conversation with an Amazon Bedrock foundation model",
763
+ "keywords": [
764
+ "converse",
765
+ "chat",
766
+ "multi-turn conversation",
767
+ "ai chat",
768
+ "foundation model chat",
769
+ "dialog"
770
+ ],
771
+ "presetId": "action_converse"
772
+ }
773
+ ],
774
+ "presets": [
775
+ {
776
+ "id": "action_invokeModel",
777
+ "properties": {
778
+ "action": "invokeModel"
779
+ }
780
+ },
781
+ {
782
+ "id": "action_converse",
783
+ "properties": {
784
+ "action": "converse"
785
+ }
786
+ }
787
+ ],
788
+ "configurationTemplates": [
789
+ {
790
+ "id": "io.camunda:aws-credential:1",
791
+ "kind": "CREDENTIAL",
792
+ "version": 1,
793
+ "name": "AWS Credential",
794
+ "properties": [
795
+ {
796
+ "id": "authentication.type",
797
+ "label": "Authentication",
798
+ "description": "Specify AWS authentication strategy. Learn more at the <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/aws-lambda/#aws-authentication-types\" target=\"_blank\">documentation page</a>",
799
+ "value": "credentials",
800
+ "group": "authentication",
801
+ "binding": {
802
+ "name": "authentication.type",
803
+ "type": "property"
804
+ },
805
+ "type": "Dropdown",
806
+ "choices": [
807
+ {
808
+ "name": "Default Credentials Chain (Hybrid/Self-Managed only)",
809
+ "value": "defaultCredentialsChain"
810
+ },
811
+ {
812
+ "name": "Credentials",
813
+ "value": "credentials"
814
+ }
815
+ ]
816
+ },
817
+ {
818
+ "id": "authentication.accessKey",
819
+ "label": "Access key",
820
+ "constraints": {
821
+ "notEmpty": true
822
+ },
823
+ "group": "authentication",
824
+ "binding": {
825
+ "name": "authentication.accessKey",
826
+ "type": "property"
827
+ },
828
+ "condition": {
829
+ "property": "authentication.type",
830
+ "equals": "credentials",
831
+ "type": "simple"
832
+ },
833
+ "tooltip": "IAM access key of a user with the necessary permissions for this connector",
834
+ "type": "String",
835
+ "secret": true
836
+ },
837
+ {
838
+ "id": "authentication.secretKey",
839
+ "label": "Secret key",
840
+ "constraints": {
841
+ "notEmpty": true
842
+ },
843
+ "group": "authentication",
844
+ "binding": {
845
+ "name": "authentication.secretKey",
846
+ "type": "property"
847
+ },
848
+ "condition": {
849
+ "property": "authentication.type",
850
+ "equals": "credentials",
851
+ "type": "simple"
852
+ },
853
+ "tooltip": "IAM secret key of a user with the necessary permissions for this connector",
854
+ "type": "String",
855
+ "secret": true
856
+ },
857
+ {
858
+ "id": "region",
859
+ "label": "Region",
860
+ "constraints": {
861
+ "notEmpty": true
862
+ },
863
+ "group": "configuration",
864
+ "binding": {
865
+ "name": "region",
866
+ "type": "property"
867
+ },
868
+ "type": "String"
869
+ }
870
+ ]
871
+ }
872
+ ],
873
+ "icon": {
874
+ "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgODAgODAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53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5OTg5MTggNTYsMjcuMjA1ODkxOCA1NiwyNC45OTk4OTE4IEM1NiwyMi43OTM4OTE4IDU0LjIwNiwyMC45OTk4OTE4IDUyLDIwLjk5OTg5MTggTDUyLDIwLjk5OTg5MTggWiIgaWQ9IkZpbGwtMSI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"
875
+ }
876
+ },
877
+ {
878
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
879
+ "name": "AWS Bedrock Outbound Connector",
880
+ "id": "io.camunda.connectors.aws.bedrock.v1",
881
+ "description": "Invoke models and converse using AWS Bedrock.",
882
+ "keywords": [
883
+ "invoke model",
884
+ "run inference",
885
+ "invokemodel API",
886
+ "converse API",
887
+ "converse",
888
+ "AI",
889
+ "LLM",
890
+ "machine learning",
891
+ "language model",
892
+ "generative AI"
893
+ ],
894
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/amazon-bedrock/",
895
+ "version": 3,
896
+ "category": {
897
+ "id": "connectors",
898
+ "name": "Connectors"
899
+ },
900
+ "appliesTo": ["bpmn:Task"],
901
+ "elementType": {
902
+ "value": "bpmn:ServiceTask"
903
+ },
904
+ "engines": {
905
+ "camunda": "^8.6"
906
+ },
907
+ "groups": [
908
+ {
909
+ "id": "authentication",
910
+ "label": "Authentication"
911
+ },
912
+ {
913
+ "id": "configuration",
914
+ "label": "Configuration"
915
+ },
916
+ {
917
+ "id": "action",
918
+ "label": "Action"
919
+ },
920
+ {
921
+ "id": "invokeModel",
922
+ "label": "Invoke Model"
923
+ },
924
+ {
925
+ "id": "converse",
926
+ "label": "Converse"
927
+ },
928
+ {
929
+ "id": "connector",
930
+ "label": "Connector"
931
+ },
932
+ {
933
+ "id": "output",
934
+ "label": "Output mapping"
935
+ },
936
+ {
937
+ "id": "error",
938
+ "label": "Error handling"
939
+ },
940
+ {
941
+ "id": "retries",
942
+ "label": "Retries"
943
+ }
944
+ ],
945
+ "properties": [
946
+ {
947
+ "value": "io.camunda:aws-bedrock:1",
948
+ "binding": {
949
+ "property": "type",
950
+ "type": "zeebe:taskDefinition"
951
+ },
952
+ "type": "Hidden"
953
+ },
954
+ {
955
+ "id": "authentication.type",
956
+ "label": "Authentication",
957
+ "description": "Specify AWS authentication strategy. Learn more at the <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/aws-lambda/#aws-authentication-types\" target=\"_blank\">documentation page</a>",
958
+ "value": "credentials",
959
+ "group": "authentication",
960
+ "binding": {
961
+ "name": "authentication.type",
962
+ "type": "zeebe:input"
963
+ },
964
+ "type": "Dropdown",
965
+ "choices": [
966
+ {
967
+ "name": "Default Credentials Chain (Hybrid/Self-Managed only)",
968
+ "value": "defaultCredentialsChain"
969
+ },
970
+ {
971
+ "name": "Credentials",
972
+ "value": "credentials"
973
+ }
974
+ ]
975
+ },
976
+ {
977
+ "id": "authentication.accessKey",
978
+ "label": "Access key",
979
+ "description": "Provide an IAM access key tailored to a user, equipped with the necessary permissions",
980
+ "optional": false,
981
+ "constraints": {
982
+ "notEmpty": true
983
+ },
984
+ "feel": "optional",
985
+ "group": "authentication",
986
+ "binding": {
987
+ "name": "authentication.accessKey",
988
+ "type": "zeebe:input"
989
+ },
990
+ "condition": {
991
+ "property": "authentication.type",
992
+ "equals": "credentials",
993
+ "type": "simple"
994
+ },
995
+ "type": "String"
996
+ },
997
+ {
998
+ "id": "authentication.secretKey",
999
+ "label": "Secret key",
1000
+ "description": "Provide a secret key of a user with permissions to invoke specified AWS Lambda function",
1001
+ "optional": false,
1002
+ "constraints": {
1003
+ "notEmpty": true
1004
+ },
1005
+ "feel": "optional",
1006
+ "group": "authentication",
1007
+ "binding": {
1008
+ "name": "authentication.secretKey",
1009
+ "type": "zeebe:input"
1010
+ },
1011
+ "condition": {
1012
+ "property": "authentication.type",
1013
+ "equals": "credentials",
1014
+ "type": "simple"
1015
+ },
1016
+ "type": "String"
1017
+ },
1018
+ {
1019
+ "id": "configuration.region",
1020
+ "label": "Region",
1021
+ "description": "Specify the AWS region",
1022
+ "optional": false,
1023
+ "constraints": {
1024
+ "notEmpty": true
1025
+ },
1026
+ "feel": "optional",
1027
+ "group": "configuration",
1028
+ "binding": {
1029
+ "name": "configuration.region",
1030
+ "type": "zeebe:input"
1031
+ },
1032
+ "type": "String"
1033
+ },
1034
+ {
1035
+ "id": "configuration.endpoint",
1036
+ "label": "Endpoint",
1037
+ "description": "Specify endpoint if need to use custom endpoint",
1038
+ "optional": true,
1039
+ "group": "configuration",
1040
+ "binding": {
1041
+ "name": "configuration.endpoint",
1042
+ "type": "zeebe:input"
1043
+ },
1044
+ "type": "Hidden"
1045
+ },
1046
+ {
1047
+ "id": "action",
1048
+ "label": "Action",
1049
+ "value": "invokeModel",
1050
+ "group": "action",
1051
+ "binding": {
1052
+ "name": "action",
1053
+ "type": "zeebe:input"
1054
+ },
1055
+ "type": "Dropdown",
1056
+ "choices": [
1057
+ {
1058
+ "name": "Invoke Model",
1059
+ "value": "invokeModel"
1060
+ },
1061
+ {
1062
+ "name": "Converse",
1063
+ "value": "converse"
1064
+ }
1065
+ ]
1066
+ },
1067
+ {
1068
+ "id": "data.modelId0",
1069
+ "label": "Model ID",
1070
+ "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1071
+ "optional": false,
1072
+ "constraints": {
1073
+ "notEmpty": true
1074
+ },
1075
+ "feel": "optional",
1076
+ "group": "invokeModel",
1077
+ "binding": {
1078
+ "name": "data.modelId",
1079
+ "type": "zeebe:input"
1080
+ },
1081
+ "condition": {
1082
+ "property": "action",
1083
+ "equals": "invokeModel",
1084
+ "type": "simple"
1085
+ },
1086
+ "type": "String"
1087
+ },
1088
+ {
1089
+ "id": "data.payload",
1090
+ "label": "Payload",
1091
+ "description": "Specify the payload. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">documentation</a>",
1092
+ "optional": false,
1093
+ "constraints": {
1094
+ "notEmpty": true
1095
+ },
1096
+ "feel": "required",
1097
+ "group": "invokeModel",
1098
+ "binding": {
1099
+ "name": "data.payload",
1100
+ "type": "zeebe:input"
1101
+ },
1102
+ "condition": {
1103
+ "property": "action",
1104
+ "equals": "invokeModel",
1105
+ "type": "simple"
1106
+ },
1107
+ "type": "String"
1108
+ },
1109
+ {
1110
+ "id": "data.messagesHistory",
1111
+ "label": "Message History",
1112
+ "description": "Specify the message history, when previous context is needed",
1113
+ "optional": true,
1114
+ "feel": "required",
1115
+ "group": "converse",
1116
+ "binding": {
1117
+ "name": "data.messagesHistory",
1118
+ "type": "zeebe:input"
1119
+ },
1120
+ "condition": {
1121
+ "property": "action",
1122
+ "equals": "converse",
1123
+ "type": "simple"
1124
+ },
1125
+ "type": "String"
1126
+ },
1127
+ {
1128
+ "id": "data.modelId1",
1129
+ "label": "Model ID",
1130
+ "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1131
+ "optional": false,
1132
+ "constraints": {
1133
+ "notEmpty": true
1134
+ },
1135
+ "feel": "optional",
1136
+ "group": "converse",
1137
+ "binding": {
1138
+ "name": "data.modelId",
1139
+ "type": "zeebe:input"
1140
+ },
1141
+ "condition": {
1142
+ "property": "action",
1143
+ "equals": "converse",
1144
+ "type": "simple"
1145
+ },
1146
+ "type": "String"
1147
+ },
1148
+ {
1149
+ "id": "data.newMessage",
1150
+ "label": "New Message",
1151
+ "description": "Specify the next message",
1152
+ "optional": false,
1153
+ "constraints": {
1154
+ "notEmpty": true
1155
+ },
1156
+ "feel": "optional",
1157
+ "group": "converse",
1158
+ "binding": {
1159
+ "name": "data.newMessage",
1160
+ "type": "zeebe:input"
1161
+ },
1162
+ "condition": {
1163
+ "property": "action",
1164
+ "equals": "converse",
1165
+ "type": "simple"
1166
+ },
1167
+ "type": "String"
1168
+ },
1169
+ {
1170
+ "id": "data.maxTokens",
1171
+ "label": "Max token returned",
1172
+ "optional": true,
1173
+ "feel": "optional",
1174
+ "group": "converse",
1175
+ "binding": {
1176
+ "name": "data.maxTokens",
1177
+ "type": "zeebe:input"
1178
+ },
1179
+ "condition": {
1180
+ "property": "action",
1181
+ "equals": "converse",
1182
+ "type": "simple"
1183
+ },
1184
+ "type": "Number"
1185
+ },
1186
+ {
1187
+ "id": "data.temperature",
1188
+ "label": "Temperature",
1189
+ "optional": true,
1190
+ "feel": "optional",
1191
+ "group": "converse",
1192
+ "binding": {
1193
+ "name": "data.temperature",
1194
+ "type": "zeebe:input"
1195
+ },
1196
+ "condition": {
1197
+ "property": "action",
1198
+ "equals": "converse",
1199
+ "type": "simple"
1200
+ },
1201
+ "type": "Number"
1202
+ },
1203
+ {
1204
+ "id": "data.topP",
1205
+ "label": "top P",
1206
+ "optional": true,
1207
+ "feel": "optional",
1208
+ "group": "converse",
1209
+ "binding": {
1210
+ "name": "data.topP",
1211
+ "type": "zeebe:input"
1212
+ },
1213
+ "condition": {
1214
+ "property": "action",
1215
+ "equals": "converse",
1216
+ "type": "simple"
1217
+ },
1218
+ "type": "Number"
1219
+ },
1220
+ {
1221
+ "id": "data.newDocuments",
1222
+ "label": "documents",
1223
+ "optional": true,
1224
+ "feel": "required",
1225
+ "group": "converse",
1226
+ "binding": {
1227
+ "name": "data.newDocuments",
1228
+ "type": "zeebe:input"
1229
+ },
1230
+ "condition": {
1231
+ "property": "action",
1232
+ "equals": "converse",
1233
+ "type": "simple"
1234
+ },
1235
+ "type": "String"
1236
+ },
1237
+ {
1238
+ "id": "version",
1239
+ "label": "Version",
1240
+ "description": "Version of the element template",
1241
+ "value": "3",
1242
+ "group": "connector",
1243
+ "binding": {
1244
+ "key": "elementTemplateVersion",
1245
+ "type": "zeebe:taskHeader"
1246
+ },
1247
+ "type": "Hidden"
1248
+ },
1249
+ {
1250
+ "id": "id",
1251
+ "label": "ID",
1252
+ "description": "ID of the element template",
1253
+ "value": "io.camunda.connectors.aws.bedrock.v1",
1254
+ "group": "connector",
1255
+ "binding": {
1256
+ "key": "elementTemplateId",
1257
+ "type": "zeebe:taskHeader"
1258
+ },
1259
+ "type": "Hidden"
1260
+ },
1261
+ {
1262
+ "id": "resultVariable",
1263
+ "label": "Result variable",
1264
+ "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>.",
1265
+ "group": "output",
1266
+ "binding": {
1267
+ "key": "resultVariable",
1268
+ "type": "zeebe:taskHeader"
1269
+ },
1270
+ "type": "String"
1271
+ },
1272
+ {
1273
+ "id": "resultExpression",
1274
+ "label": "Result expression",
1275
+ "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>.",
1276
+ "feel": "required",
1277
+ "group": "output",
1278
+ "binding": {
1279
+ "key": "resultExpression",
1280
+ "type": "zeebe:taskHeader"
1281
+ },
1282
+ "type": "Text"
1283
+ },
1284
+ {
1285
+ "id": "errorExpression",
1286
+ "label": "Error expression",
1287
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1288
+ "feel": "required",
1289
+ "group": "error",
1290
+ "binding": {
1291
+ "key": "errorExpression",
1292
+ "type": "zeebe:taskHeader"
1293
+ },
1294
+ "type": "Text"
1295
+ },
1296
+ {
1297
+ "id": "retryCount",
1298
+ "label": "Retries",
1299
+ "description": "Number of retries",
1300
+ "value": "3",
1301
+ "feel": "optional",
1302
+ "group": "retries",
1303
+ "binding": {
1304
+ "property": "retries",
1305
+ "type": "zeebe:taskDefinition"
1306
+ },
1307
+ "type": "String"
1308
+ },
1309
+ {
1310
+ "id": "retryBackoff",
1311
+ "label": "Retry backoff",
1312
+ "description": "ISO-8601 duration to wait between retries",
1313
+ "value": "PT0S",
1314
+ "group": "retries",
1315
+ "binding": {
1316
+ "key": "retryBackoff",
1317
+ "type": "zeebe:taskHeader"
1318
+ },
1319
+ "type": "String"
1320
+ }
1321
+ ],
1322
+ "icon": {
1323
+ "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgODAgODAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+SWNvbi1BcmNoaXRlY3R1cmUvNjQvQXJjaF9BbWF6b24tQmVkcm9ja182NDwvdGl0bGU+CiAgICA8ZyBpZD0iSWNvbi1BcmNoaXRlY3R1cmUvNjQvQXJjaF9BbWF6b24tQmVkcm9ja182NCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Ikljb24tQXJjaGl0ZWN0dXJlLUJHLzY0L01hY2hpbmUtTGVhcm5pbmciIGZpbGw9IiM5OTY5ZjciPgogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIwIiB5PSIwIiB3aWR0aD0iODAiIGhlaWdodD0iODAiPjwvcmVjdD4KICAgICAgICA8L2c+CiAgICAgICAgPGcgaWQ9Ikljb24tU2VydmljZS82NC9BbWF6b24tQmVkcm9ja182NCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIuMDAwMDAwLCAxMi4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTUyLDI2Ljk5OTg5MTggQzUwLjg5NywyNi45OTk4OTE4IDUwLDI2LjEwMjg5MTggNTAsMjQuOTk5ODkxOCBDNTAsMjMuODk2ODkxO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EM0Ny4zMTYsMzMuOTk5ODkxOCA0Ni42ODIsMzQuMTg3ODkxOCA0Ni4xMTksMzQuNDkxODkxOCBMNDMuOCwzMS4zOTk4OTE4IEM0My42MTEsMzEuMTQ3ODkxOCA0My4zMTQsMzAuOTk5ODkxOCA0MywzMC45OTk4OTE4IEwzMCwzMC45OTk4OTE4IEwzMCwyNS45OTk4OTE4IEw0OC4xNDIsMjUuOTk5ODkxOCBDNDguNTg5LDI3LjcxOTg5MTggNTAuMTQxLDI4Ljk5OTg5MTggNTIsMjguOTk5ODkxOCBDNTQuMjA2LDI4Ljk5OTg5MTggNTYsMjcuMjA1ODkxOCA1NiwyNC45OTk4OTE4IEM1NiwyMi43OTM4OTE4IDU0LjIwNiwyMC45OTk4OTE4IDUyLDIwLjk5OTg5MTggTDUyLDIwLjk5OTg5MTggWiIgaWQ9IkZpbGwtMSI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"
1324
+ }
1325
+ },
1326
+ {
1327
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1328
+ "name": "AWS Bedrock Outbound Connector",
1329
+ "id": "io.camunda.connectors.aws.bedrock.v1",
1330
+ "description": "Invoke models and converse using AWS Bedrock.",
1331
+ "keywords": [
1332
+ "invoke model",
1333
+ "run inference",
1334
+ "invokemodel API",
1335
+ "converse API",
1336
+ "converse",
1337
+ "AI",
1338
+ "LLM",
1339
+ "machine learning",
1340
+ "language model",
1341
+ "generative AI"
1342
+ ],
1343
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/amazon-bedrock/",
1344
+ "version": 4,
1345
+ "category": {
1346
+ "id": "connectors",
1347
+ "name": "Connectors"
1348
+ },
1349
+ "appliesTo": ["bpmn:Task"],
1350
+ "elementType": {
1351
+ "value": "bpmn:ServiceTask"
1352
+ },
1353
+ "engines": {
1354
+ "camunda": "^8.10"
1355
+ },
1356
+ "groups": [
1357
+ {
1358
+ "id": "authentication",
1359
+ "label": "Authentication"
1360
+ },
1361
+ {
1362
+ "id": "configuration",
1363
+ "label": "Configuration"
1364
+ },
1365
+ {
1366
+ "id": "action",
1367
+ "label": "Action"
1368
+ },
1369
+ {
1370
+ "id": "invokeModel",
1371
+ "label": "Invoke Model"
1372
+ },
1373
+ {
1374
+ "id": "converse",
1375
+ "label": "Converse"
1376
+ },
1377
+ {
1378
+ "id": "connector",
1379
+ "label": "Connector"
1380
+ },
1381
+ {
1382
+ "id": "output",
1383
+ "label": "Output mapping"
1384
+ },
1385
+ {
1386
+ "id": "error",
1387
+ "label": "Error handling"
1388
+ },
1389
+ {
1390
+ "id": "retries",
1391
+ "label": "Retries"
1392
+ }
1393
+ ],
1394
+ "properties": [
1395
+ {
1396
+ "value": "io.camunda:aws-bedrock:1",
1397
+ "binding": {
1398
+ "property": "type",
1399
+ "type": "zeebe:taskDefinition"
1400
+ },
1401
+ "type": "Hidden"
1402
+ },
1403
+ {
1404
+ "id": "authentication.type",
1405
+ "label": "Authentication",
1406
+ "description": "Specify AWS authentication strategy. Learn more at the <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/aws-lambda/#aws-authentication-types\" target=\"_blank\">documentation page</a>",
1407
+ "value": "credentials",
1408
+ "group": "authentication",
1409
+ "binding": {
1410
+ "name": "authentication.type",
1411
+ "type": "zeebe:input"
1412
+ },
1413
+ "type": "Dropdown",
1414
+ "choices": [
1415
+ {
1416
+ "name": "Default Credentials Chain (Hybrid/Self-Managed only)",
1417
+ "value": "defaultCredentialsChain"
1418
+ },
1419
+ {
1420
+ "name": "Credentials",
1421
+ "value": "credentials"
1422
+ }
1423
+ ]
1424
+ },
1425
+ {
1426
+ "id": "authentication.accessKey",
1427
+ "label": "Access key",
1428
+ "description": "Provide an IAM access key tailored to a user, equipped with the necessary permissions",
1429
+ "optional": false,
1430
+ "constraints": {
1431
+ "notEmpty": true
1432
+ },
1433
+ "feel": "optional",
1434
+ "group": "authentication",
1435
+ "binding": {
1436
+ "name": "authentication.accessKey",
1437
+ "type": "zeebe:input"
1438
+ },
1439
+ "condition": {
1440
+ "property": "authentication.type",
1441
+ "equals": "credentials",
1442
+ "type": "simple"
1443
+ },
1444
+ "type": "String"
1445
+ },
1446
+ {
1447
+ "id": "authentication.secretKey",
1448
+ "label": "Secret key",
1449
+ "description": "Provide a secret key of a user with permissions to invoke specified AWS Lambda function",
1450
+ "optional": false,
1451
+ "constraints": {
1452
+ "notEmpty": true
1453
+ },
1454
+ "feel": "optional",
1455
+ "group": "authentication",
1456
+ "binding": {
1457
+ "name": "authentication.secretKey",
1458
+ "type": "zeebe:input"
1459
+ },
1460
+ "condition": {
1461
+ "property": "authentication.type",
1462
+ "equals": "credentials",
1463
+ "type": "simple"
1464
+ },
1465
+ "type": "String"
1466
+ },
1467
+ {
1468
+ "id": "configuration.region",
1469
+ "label": "Region",
1470
+ "description": "Specify the AWS region",
1471
+ "optional": false,
1472
+ "constraints": {
1473
+ "notEmpty": true
1474
+ },
1475
+ "feel": "optional",
1476
+ "group": "configuration",
1477
+ "binding": {
1478
+ "name": "configuration.region",
1479
+ "type": "zeebe:input"
1480
+ },
1481
+ "type": "String"
1482
+ },
1483
+ {
1484
+ "id": "configuration.endpoint",
1485
+ "label": "Endpoint",
1486
+ "description": "Specify endpoint if need to use custom endpoint",
1487
+ "optional": true,
1488
+ "group": "configuration",
1489
+ "binding": {
1490
+ "name": "configuration.endpoint",
1491
+ "type": "zeebe:input"
1492
+ },
1493
+ "type": "Hidden"
1494
+ },
1495
+ {
1496
+ "id": "action",
1497
+ "label": "Action",
1498
+ "value": "invokeModel",
1499
+ "group": "action",
1500
+ "binding": {
1501
+ "name": "action",
1502
+ "type": "zeebe:input"
1503
+ },
1504
+ "type": "Dropdown",
1505
+ "choices": [
1506
+ {
1507
+ "name": "Invoke Model",
1508
+ "value": "invokeModel"
1509
+ },
1510
+ {
1511
+ "name": "Converse",
1512
+ "value": "converse"
1513
+ }
1514
+ ]
1515
+ },
1516
+ {
1517
+ "id": "data.modelId0",
1518
+ "label": "Model ID",
1519
+ "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1520
+ "optional": false,
1521
+ "constraints": {
1522
+ "notEmpty": true
1523
+ },
1524
+ "feel": "optional",
1525
+ "group": "invokeModel",
1526
+ "binding": {
1527
+ "name": "data.modelId",
1528
+ "type": "zeebe:input"
1529
+ },
1530
+ "condition": {
1531
+ "property": "action",
1532
+ "equals": "invokeModel",
1533
+ "type": "simple"
1534
+ },
1535
+ "type": "String"
1536
+ },
1537
+ {
1538
+ "id": "data.payload",
1539
+ "label": "Payload",
1540
+ "description": "Specify the payload. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">documentation</a>",
1541
+ "optional": false,
1542
+ "constraints": {
1543
+ "notEmpty": true
1544
+ },
1545
+ "feel": "required",
1546
+ "group": "invokeModel",
1547
+ "binding": {
1548
+ "name": "data.payload",
1549
+ "type": "zeebe:input"
1550
+ },
1551
+ "condition": {
1552
+ "property": "action",
1553
+ "equals": "invokeModel",
1554
+ "type": "simple"
1555
+ },
1556
+ "type": "String"
1557
+ },
1558
+ {
1559
+ "id": "data.messagesHistory",
1560
+ "label": "Message History",
1561
+ "description": "Specify the message history, when previous context is needed",
1562
+ "optional": true,
1563
+ "feel": "required",
1564
+ "group": "converse",
1565
+ "binding": {
1566
+ "name": "data.messagesHistory",
1567
+ "type": "zeebe:input"
1568
+ },
1569
+ "condition": {
1570
+ "property": "action",
1571
+ "equals": "converse",
1572
+ "type": "simple"
1573
+ },
1574
+ "type": "String"
1575
+ },
1576
+ {
1577
+ "id": "data.modelId1",
1578
+ "label": "Model ID",
1579
+ "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1580
+ "optional": false,
1581
+ "constraints": {
1582
+ "notEmpty": true
1583
+ },
1584
+ "feel": "optional",
1585
+ "group": "converse",
1586
+ "binding": {
1587
+ "name": "data.modelId",
1588
+ "type": "zeebe:input"
1589
+ },
1590
+ "condition": {
1591
+ "property": "action",
1592
+ "equals": "converse",
1593
+ "type": "simple"
1594
+ },
1595
+ "type": "String"
1596
+ },
1597
+ {
1598
+ "id": "data.newMessage",
1599
+ "label": "New Message",
1600
+ "description": "Specify the next message",
1601
+ "optional": false,
1602
+ "constraints": {
1603
+ "notEmpty": true
1604
+ },
1605
+ "feel": "optional",
1606
+ "group": "converse",
1607
+ "binding": {
1608
+ "name": "data.newMessage",
1609
+ "type": "zeebe:input"
1610
+ },
1611
+ "condition": {
1612
+ "property": "action",
1613
+ "equals": "converse",
1614
+ "type": "simple"
1615
+ },
1616
+ "type": "String"
1617
+ },
1618
+ {
1619
+ "id": "data.maxTokens",
1620
+ "label": "Max token returned",
1621
+ "optional": true,
1622
+ "feel": "optional",
1623
+ "group": "converse",
1624
+ "binding": {
1625
+ "name": "data.maxTokens",
1626
+ "type": "zeebe:input"
1627
+ },
1628
+ "condition": {
1629
+ "property": "action",
1630
+ "equals": "converse",
1631
+ "type": "simple"
1632
+ },
1633
+ "type": "Number"
1634
+ },
1635
+ {
1636
+ "id": "data.temperature",
1637
+ "label": "Temperature",
1638
+ "optional": true,
1639
+ "feel": "optional",
1640
+ "group": "converse",
1641
+ "binding": {
1642
+ "name": "data.temperature",
1643
+ "type": "zeebe:input"
1644
+ },
1645
+ "condition": {
1646
+ "property": "action",
1647
+ "equals": "converse",
1648
+ "type": "simple"
1649
+ },
1650
+ "type": "Number"
1651
+ },
1652
+ {
1653
+ "id": "data.topP",
1654
+ "label": "top P",
1655
+ "optional": true,
1656
+ "feel": "optional",
1657
+ "group": "converse",
1658
+ "binding": {
1659
+ "name": "data.topP",
1660
+ "type": "zeebe:input"
1661
+ },
1662
+ "condition": {
1663
+ "property": "action",
1664
+ "equals": "converse",
1665
+ "type": "simple"
1666
+ },
1667
+ "type": "Number"
1668
+ },
1669
+ {
1670
+ "id": "data_newDocuments_documentMode",
1671
+ "label": "Number of documents",
1672
+ "value": "none",
1673
+ "group": "converse",
1674
+ "binding": {
1675
+ "name": "data.data_newDocuments_documentMode",
1676
+ "type": "zeebe:input"
1677
+ },
1678
+ "condition": {
1679
+ "property": "action",
1680
+ "equals": "converse",
1681
+ "type": "simple"
1682
+ },
1683
+ "type": "Dropdown",
1684
+ "choices": [
1685
+ {
1686
+ "name": "None",
1687
+ "value": "none"
1688
+ },
1689
+ {
1690
+ "name": "Single document",
1691
+ "value": "single"
1692
+ },
1693
+ {
1694
+ "name": "Multiple documents",
1695
+ "value": "multiple"
1696
+ }
1697
+ ]
1698
+ },
1699
+ {
1700
+ "id": "data_newDocuments_single_documentSource",
1701
+ "label": "Document source",
1702
+ "value": "camunda",
1703
+ "group": "converse",
1704
+ "binding": {
1705
+ "name": "data.data_newDocuments_single_documentSource",
1706
+ "type": "zeebe:input"
1707
+ },
1708
+ "condition": {
1709
+ "allMatch": [
1710
+ {
1711
+ "property": "data_newDocuments_documentMode",
1712
+ "equals": "single",
1713
+ "type": "simple"
1714
+ },
1715
+ {
1716
+ "property": "action",
1717
+ "equals": "converse",
1718
+ "type": "simple"
1719
+ }
1720
+ ]
1721
+ },
1722
+ "type": "Dropdown",
1723
+ "choices": [
1724
+ {
1725
+ "name": "Camunda Document",
1726
+ "value": "camunda"
1727
+ },
1728
+ {
1729
+ "name": "Inline Content",
1730
+ "value": "inline"
1731
+ },
1732
+ {
1733
+ "name": "From URL",
1734
+ "value": "external"
1735
+ }
1736
+ ]
1737
+ },
1738
+ {
1739
+ "id": "data_newDocuments_single_camundaReference",
1740
+ "label": "Camunda document",
1741
+ "constraints": {
1742
+ "notEmpty": true
1743
+ },
1744
+ "feel": "required",
1745
+ "group": "converse",
1746
+ "binding": {
1747
+ "name": "data.data_newDocuments_single_camundaReference",
1748
+ "type": "zeebe:input"
1749
+ },
1750
+ "condition": {
1751
+ "allMatch": [
1752
+ {
1753
+ "property": "data_newDocuments_documentMode",
1754
+ "equals": "single",
1755
+ "type": "simple"
1756
+ },
1757
+ {
1758
+ "property": "data_newDocuments_single_documentSource",
1759
+ "equals": "camunda",
1760
+ "type": "simple"
1761
+ },
1762
+ {
1763
+ "property": "action",
1764
+ "equals": "converse",
1765
+ "type": "simple"
1766
+ }
1767
+ ]
1768
+ },
1769
+ "type": "String"
1770
+ },
1771
+ {
1772
+ "id": "data_newDocuments_single_inline_content",
1773
+ "label": "Content",
1774
+ "constraints": {
1775
+ "notEmpty": true
1776
+ },
1777
+ "feel": "optional",
1778
+ "group": "converse",
1779
+ "binding": {
1780
+ "name": "data.data_newDocuments_single_inline_content",
1781
+ "type": "zeebe:input"
1782
+ },
1783
+ "condition": {
1784
+ "allMatch": [
1785
+ {
1786
+ "property": "data_newDocuments_documentMode",
1787
+ "equals": "single",
1788
+ "type": "simple"
1789
+ },
1790
+ {
1791
+ "property": "data_newDocuments_single_documentSource",
1792
+ "equals": "inline",
1793
+ "type": "simple"
1794
+ },
1795
+ {
1796
+ "property": "action",
1797
+ "equals": "converse",
1798
+ "type": "simple"
1799
+ }
1800
+ ]
1801
+ },
1802
+ "type": "String"
1803
+ },
1804
+ {
1805
+ "id": "data_newDocuments_single_inline_fileName",
1806
+ "label": "File name",
1807
+ "feel": "optional",
1808
+ "group": "converse",
1809
+ "binding": {
1810
+ "name": "data.data_newDocuments_single_inline_fileName",
1811
+ "type": "zeebe:input"
1812
+ },
1813
+ "condition": {
1814
+ "allMatch": [
1815
+ {
1816
+ "property": "data_newDocuments_documentMode",
1817
+ "equals": "single",
1818
+ "type": "simple"
1819
+ },
1820
+ {
1821
+ "property": "data_newDocuments_single_documentSource",
1822
+ "equals": "inline",
1823
+ "type": "simple"
1824
+ },
1825
+ {
1826
+ "property": "action",
1827
+ "equals": "converse",
1828
+ "type": "simple"
1829
+ }
1830
+ ]
1831
+ },
1832
+ "type": "String"
1833
+ },
1834
+ {
1835
+ "id": "data_newDocuments_single_inline_contentType",
1836
+ "label": "Content type",
1837
+ "feel": "optional",
1838
+ "group": "converse",
1839
+ "binding": {
1840
+ "name": "data.data_newDocuments_single_inline_contentType",
1841
+ "type": "zeebe:input"
1842
+ },
1843
+ "condition": {
1844
+ "allMatch": [
1845
+ {
1846
+ "property": "data_newDocuments_documentMode",
1847
+ "equals": "single",
1848
+ "type": "simple"
1849
+ },
1850
+ {
1851
+ "property": "data_newDocuments_single_documentSource",
1852
+ "equals": "inline",
1853
+ "type": "simple"
1854
+ },
1855
+ {
1856
+ "property": "action",
1857
+ "equals": "converse",
1858
+ "type": "simple"
1859
+ }
1860
+ ]
1861
+ },
1862
+ "type": "String"
1863
+ },
1864
+ {
1865
+ "id": "data_newDocuments_single_external_url",
1866
+ "label": "URL",
1867
+ "constraints": {
1868
+ "notEmpty": true
1869
+ },
1870
+ "feel": "optional",
1871
+ "group": "converse",
1872
+ "binding": {
1873
+ "name": "data.data_newDocuments_single_external_url",
1874
+ "type": "zeebe:input"
1875
+ },
1876
+ "condition": {
1877
+ "allMatch": [
1878
+ {
1879
+ "property": "data_newDocuments_documentMode",
1880
+ "equals": "single",
1881
+ "type": "simple"
1882
+ },
1883
+ {
1884
+ "property": "data_newDocuments_single_documentSource",
1885
+ "equals": "external",
1886
+ "type": "simple"
1887
+ },
1888
+ {
1889
+ "property": "action",
1890
+ "equals": "converse",
1891
+ "type": "simple"
1892
+ }
1893
+ ]
1894
+ },
1895
+ "type": "String"
1896
+ },
1897
+ {
1898
+ "id": "data_newDocuments_single_external_fileName",
1899
+ "label": "File name",
1900
+ "feel": "optional",
1901
+ "group": "converse",
1902
+ "binding": {
1903
+ "name": "data.data_newDocuments_single_external_fileName",
1904
+ "type": "zeebe:input"
1905
+ },
1906
+ "condition": {
1907
+ "allMatch": [
1908
+ {
1909
+ "property": "data_newDocuments_documentMode",
1910
+ "equals": "single",
1911
+ "type": "simple"
1912
+ },
1913
+ {
1914
+ "property": "data_newDocuments_single_documentSource",
1915
+ "equals": "external",
1916
+ "type": "simple"
1917
+ },
1918
+ {
1919
+ "property": "action",
1920
+ "equals": "converse",
1921
+ "type": "simple"
1922
+ }
1923
+ ]
1924
+ },
1925
+ "type": "String"
1926
+ },
1927
+ {
1928
+ "id": "data_newDocuments_multiple_expression",
1929
+ "label": "Documents",
1930
+ "constraints": {
1931
+ "notEmpty": true
1932
+ },
1933
+ "feel": "required",
1934
+ "group": "converse",
1935
+ "binding": {
1936
+ "name": "data.data_newDocuments_multiple_expression",
1937
+ "type": "zeebe:input"
1938
+ },
1939
+ "condition": {
1940
+ "allMatch": [
1941
+ {
1942
+ "property": "data_newDocuments_documentMode",
1943
+ "equals": "multiple",
1944
+ "type": "simple"
1945
+ },
1946
+ {
1947
+ "property": "action",
1948
+ "equals": "converse",
1949
+ "type": "simple"
1950
+ }
1951
+ ]
1952
+ },
1953
+ "type": "String"
1954
+ },
1955
+ {
1956
+ "id": "data.newDocuments",
1957
+ "value": "=if data_newDocuments_documentMode = \"multiple\" then data_newDocuments_multiple_expression else if data_newDocuments_documentMode = \"single\" then (if data_newDocuments_single_documentSource = \"camunda\" then [data_newDocuments_single_camundaReference] else if data_newDocuments_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: data_newDocuments_single_inline_content, name: data_newDocuments_single_inline_fileName, contentType: data_newDocuments_single_inline_contentType }] else if data_newDocuments_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: data_newDocuments_single_external_url, name: data_newDocuments_single_external_fileName }] else null) else null",
1958
+ "group": "converse",
1959
+ "binding": {
1960
+ "name": "data.newDocuments",
1961
+ "type": "zeebe:input"
1962
+ },
1963
+ "condition": {
1964
+ "property": "action",
1965
+ "equals": "converse",
1966
+ "type": "simple"
1967
+ },
1968
+ "type": "Hidden"
1969
+ },
1970
+ {
1971
+ "id": "version",
1972
+ "label": "Version",
1973
+ "description": "Version of the element template",
1974
+ "value": "4",
1975
+ "group": "connector",
1976
+ "binding": {
1977
+ "key": "elementTemplateVersion",
1978
+ "type": "zeebe:taskHeader"
1979
+ },
1980
+ "type": "Hidden"
1981
+ },
1982
+ {
1983
+ "id": "id",
1984
+ "label": "ID",
1985
+ "description": "ID of the element template",
1986
+ "value": "io.camunda.connectors.aws.bedrock.v1",
1987
+ "group": "connector",
1988
+ "binding": {
1989
+ "key": "elementTemplateId",
1990
+ "type": "zeebe:taskHeader"
1991
+ },
1992
+ "type": "Hidden"
1993
+ },
1994
+ {
1995
+ "id": "resultVariable",
1996
+ "label": "Result variable",
1997
+ "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>.",
1998
+ "group": "output",
1999
+ "binding": {
2000
+ "key": "resultVariable",
2001
+ "type": "zeebe:taskHeader"
2002
+ },
2003
+ "type": "String"
2004
+ },
2005
+ {
2006
+ "id": "resultExpression",
2007
+ "label": "Result expression",
2008
+ "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>.",
2009
+ "feel": "required",
2010
+ "group": "output",
2011
+ "binding": {
2012
+ "key": "resultExpression",
2013
+ "type": "zeebe:taskHeader"
2014
+ },
2015
+ "type": "Text"
2016
+ },
2017
+ {
2018
+ "id": "errorExpression",
2019
+ "label": "Error expression",
2020
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2021
+ "feel": "required",
2022
+ "group": "error",
2023
+ "binding": {
2024
+ "key": "errorExpression",
2025
+ "type": "zeebe:taskHeader"
2026
+ },
2027
+ "type": "Text"
2028
+ },
2029
+ {
2030
+ "id": "retryCount",
2031
+ "label": "Retries",
2032
+ "description": "Number of retries",
2033
+ "value": "3",
2034
+ "feel": "optional",
2035
+ "group": "retries",
2036
+ "binding": {
2037
+ "property": "retries",
2038
+ "type": "zeebe:taskDefinition"
2039
+ },
2040
+ "type": "String"
2041
+ },
2042
+ {
2043
+ "id": "retryBackoff",
2044
+ "label": "Retry backoff",
2045
+ "description": "ISO-8601 duration to wait between retries",
2046
+ "value": "PT30S",
383
2047
  "group": "retries",
384
2048
  "binding": {
385
2049
  "key": "retryBackoff",
@@ -827,7 +2491,7 @@
827
2491
  "generative AI"
828
2492
  ],
829
2493
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/amazon-bedrock/",
830
- "version": 3,
2494
+ "version": 5,
831
2495
  "category": {
832
2496
  "id": "connectors",
833
2497
  "name": "Connectors"
@@ -837,9 +2501,13 @@
837
2501
  "value": "bpmn:ServiceTask"
838
2502
  },
839
2503
  "engines": {
840
- "camunda": "^8.6"
2504
+ "camunda": "^8.10"
841
2505
  },
842
2506
  "groups": [
2507
+ {
2508
+ "id": "operation",
2509
+ "label": "Operation"
2510
+ },
843
2511
  {
844
2512
  "id": "authentication",
845
2513
  "label": "Authentication"
@@ -848,10 +2516,6 @@
848
2516
  "id": "configuration",
849
2517
  "label": "Configuration"
850
2518
  },
851
- {
852
- "id": "action",
853
- "label": "Action"
854
- },
855
2519
  {
856
2520
  "id": "invokeModel",
857
2521
  "label": "Invoke Model"
@@ -886,6 +2550,27 @@
886
2550
  },
887
2551
  "type": "Hidden"
888
2552
  },
2553
+ {
2554
+ "id": "action",
2555
+ "label": "Action",
2556
+ "value": "invokeModel",
2557
+ "group": "operation",
2558
+ "binding": {
2559
+ "name": "action",
2560
+ "type": "zeebe:input"
2561
+ },
2562
+ "type": "Dropdown",
2563
+ "choices": [
2564
+ {
2565
+ "name": "Invoke Model",
2566
+ "value": "invokeModel"
2567
+ },
2568
+ {
2569
+ "name": "Converse",
2570
+ "value": "converse"
2571
+ }
2572
+ ]
2573
+ },
889
2574
  {
890
2575
  "id": "authentication.type",
891
2576
  "label": "Authentication",
@@ -911,7 +2596,6 @@
911
2596
  {
912
2597
  "id": "authentication.accessKey",
913
2598
  "label": "Access key",
914
- "description": "Provide an IAM access key tailored to a user, equipped with the necessary permissions",
915
2599
  "optional": false,
916
2600
  "constraints": {
917
2601
  "notEmpty": true
@@ -927,12 +2611,12 @@
927
2611
  "equals": "credentials",
928
2612
  "type": "simple"
929
2613
  },
2614
+ "tooltip": "IAM access key of a user with the necessary permissions for this connector",
930
2615
  "type": "String"
931
2616
  },
932
2617
  {
933
2618
  "id": "authentication.secretKey",
934
2619
  "label": "Secret key",
935
- "description": "Provide a secret key of a user with permissions to invoke specified AWS Lambda function",
936
2620
  "optional": false,
937
2621
  "constraints": {
938
2622
  "notEmpty": true
@@ -948,12 +2632,12 @@
948
2632
  "equals": "credentials",
949
2633
  "type": "simple"
950
2634
  },
2635
+ "tooltip": "IAM secret key of a user with the necessary permissions for this connector",
951
2636
  "type": "String"
952
2637
  },
953
2638
  {
954
2639
  "id": "configuration.region",
955
2640
  "label": "Region",
956
- "description": "Specify the AWS region",
957
2641
  "optional": false,
958
2642
  "constraints": {
959
2643
  "notEmpty": true
@@ -979,184 +2663,448 @@
979
2663
  "type": "Hidden"
980
2664
  },
981
2665
  {
982
- "id": "action",
983
- "label": "Action",
984
- "value": "invokeModel",
985
- "group": "action",
2666
+ "id": "data.modelId0",
2667
+ "label": "Model ID",
2668
+ "optional": false,
2669
+ "constraints": {
2670
+ "notEmpty": true
2671
+ },
2672
+ "feel": "optional",
2673
+ "group": "invokeModel",
986
2674
  "binding": {
987
- "name": "action",
2675
+ "name": "data.modelId",
2676
+ "type": "zeebe:input"
2677
+ },
2678
+ "condition": {
2679
+ "property": "action",
2680
+ "equals": "invokeModel",
2681
+ "type": "simple"
2682
+ },
2683
+ "tooltip": "ID of the model to invoke. See <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">AWS Bedrock model IDs</a>.",
2684
+ "placeholder": "amazon.titan-text-express-v1",
2685
+ "type": "String"
2686
+ },
2687
+ {
2688
+ "id": "data.payload",
2689
+ "label": "Payload",
2690
+ "optional": false,
2691
+ "constraints": {
2692
+ "notEmpty": true
2693
+ },
2694
+ "feel": "required",
2695
+ "group": "invokeModel",
2696
+ "binding": {
2697
+ "name": "data.payload",
2698
+ "type": "zeebe:input"
2699
+ },
2700
+ "condition": {
2701
+ "property": "action",
2702
+ "equals": "invokeModel",
2703
+ "type": "simple"
2704
+ },
2705
+ "tooltip": "Request body sent to the model, whose structure depends on the model. See <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">AWS Bedrock model parameters</a>.",
2706
+ "type": "String"
2707
+ },
2708
+ {
2709
+ "id": "data.messagesHistory",
2710
+ "label": "Message History",
2711
+ "optional": true,
2712
+ "feel": "required",
2713
+ "group": "converse",
2714
+ "binding": {
2715
+ "name": "data.messagesHistory",
2716
+ "type": "zeebe:input"
2717
+ },
2718
+ "condition": {
2719
+ "property": "action",
2720
+ "equals": "converse",
2721
+ "type": "simple"
2722
+ },
2723
+ "tooltip": "History of the conversation to continue. If not set, this starts a new conversation.",
2724
+ "type": "String"
2725
+ },
2726
+ {
2727
+ "id": "data.modelId1",
2728
+ "label": "Model ID",
2729
+ "optional": false,
2730
+ "constraints": {
2731
+ "notEmpty": true
2732
+ },
2733
+ "feel": "optional",
2734
+ "group": "converse",
2735
+ "binding": {
2736
+ "name": "data.modelId",
2737
+ "type": "zeebe:input"
2738
+ },
2739
+ "condition": {
2740
+ "property": "action",
2741
+ "equals": "converse",
2742
+ "type": "simple"
2743
+ },
2744
+ "tooltip": "ID of the model to invoke. See <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">AWS Bedrock model IDs</a>.",
2745
+ "placeholder": "amazon.titan-text-express-v1",
2746
+ "type": "String"
2747
+ },
2748
+ {
2749
+ "id": "data.newMessage",
2750
+ "label": "New Message",
2751
+ "optional": false,
2752
+ "constraints": {
2753
+ "notEmpty": true
2754
+ },
2755
+ "feel": "optional",
2756
+ "group": "converse",
2757
+ "binding": {
2758
+ "name": "data.newMessage",
2759
+ "type": "zeebe:input"
2760
+ },
2761
+ "condition": {
2762
+ "property": "action",
2763
+ "equals": "converse",
2764
+ "type": "simple"
2765
+ },
2766
+ "type": "String"
2767
+ },
2768
+ {
2769
+ "id": "data.maxTokens",
2770
+ "label": "Max token returned",
2771
+ "optional": true,
2772
+ "feel": "optional",
2773
+ "group": "converse",
2774
+ "binding": {
2775
+ "name": "data.maxTokens",
2776
+ "type": "zeebe:input"
2777
+ },
2778
+ "condition": {
2779
+ "property": "action",
2780
+ "equals": "converse",
2781
+ "type": "simple"
2782
+ },
2783
+ "type": "Number"
2784
+ },
2785
+ {
2786
+ "id": "data.temperature",
2787
+ "label": "Temperature",
2788
+ "optional": true,
2789
+ "feel": "optional",
2790
+ "group": "converse",
2791
+ "binding": {
2792
+ "name": "data.temperature",
2793
+ "type": "zeebe:input"
2794
+ },
2795
+ "condition": {
2796
+ "property": "action",
2797
+ "equals": "converse",
2798
+ "type": "simple"
2799
+ },
2800
+ "type": "Number"
2801
+ },
2802
+ {
2803
+ "id": "data.topP",
2804
+ "label": "top P",
2805
+ "optional": true,
2806
+ "feel": "optional",
2807
+ "group": "converse",
2808
+ "binding": {
2809
+ "name": "data.topP",
2810
+ "type": "zeebe:input"
2811
+ },
2812
+ "condition": {
2813
+ "property": "action",
2814
+ "equals": "converse",
2815
+ "type": "simple"
2816
+ },
2817
+ "type": "Number"
2818
+ },
2819
+ {
2820
+ "id": "data_newDocuments_documentMode",
2821
+ "label": "Number of documents",
2822
+ "value": "none",
2823
+ "group": "converse",
2824
+ "binding": {
2825
+ "name": "data.data_newDocuments_documentMode",
2826
+ "type": "zeebe:input"
2827
+ },
2828
+ "condition": {
2829
+ "property": "action",
2830
+ "equals": "converse",
2831
+ "type": "simple"
2832
+ },
2833
+ "type": "Dropdown",
2834
+ "choices": [
2835
+ {
2836
+ "name": "None",
2837
+ "value": "none"
2838
+ },
2839
+ {
2840
+ "name": "Single document",
2841
+ "value": "single"
2842
+ },
2843
+ {
2844
+ "name": "Multiple documents",
2845
+ "value": "multiple"
2846
+ }
2847
+ ]
2848
+ },
2849
+ {
2850
+ "id": "data_newDocuments_single_documentSource",
2851
+ "label": "Document source",
2852
+ "value": "camunda",
2853
+ "group": "converse",
2854
+ "binding": {
2855
+ "name": "data.data_newDocuments_single_documentSource",
988
2856
  "type": "zeebe:input"
989
2857
  },
2858
+ "condition": {
2859
+ "allMatch": [
2860
+ {
2861
+ "property": "data_newDocuments_documentMode",
2862
+ "equals": "single",
2863
+ "type": "simple"
2864
+ },
2865
+ {
2866
+ "property": "action",
2867
+ "equals": "converse",
2868
+ "type": "simple"
2869
+ }
2870
+ ]
2871
+ },
990
2872
  "type": "Dropdown",
991
2873
  "choices": [
992
2874
  {
993
- "name": "Invoke Model",
994
- "value": "invokeModel"
2875
+ "name": "Camunda Document",
2876
+ "value": "camunda"
995
2877
  },
996
2878
  {
997
- "name": "Converse",
998
- "value": "converse"
2879
+ "name": "Inline Content",
2880
+ "value": "inline"
2881
+ },
2882
+ {
2883
+ "name": "From URL",
2884
+ "value": "external"
999
2885
  }
1000
2886
  ]
1001
2887
  },
1002
2888
  {
1003
- "id": "data.modelId0",
1004
- "label": "Model ID",
1005
- "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1006
- "optional": false,
2889
+ "id": "data_newDocuments_single_camundaReference",
2890
+ "label": "Camunda document",
1007
2891
  "constraints": {
1008
2892
  "notEmpty": true
1009
2893
  },
1010
- "feel": "optional",
1011
- "group": "invokeModel",
2894
+ "feel": "required",
2895
+ "group": "converse",
1012
2896
  "binding": {
1013
- "name": "data.modelId",
2897
+ "name": "data.data_newDocuments_single_camundaReference",
1014
2898
  "type": "zeebe:input"
1015
2899
  },
1016
2900
  "condition": {
1017
- "property": "action",
1018
- "equals": "invokeModel",
1019
- "type": "simple"
2901
+ "allMatch": [
2902
+ {
2903
+ "property": "data_newDocuments_documentMode",
2904
+ "equals": "single",
2905
+ "type": "simple"
2906
+ },
2907
+ {
2908
+ "property": "data_newDocuments_single_documentSource",
2909
+ "equals": "camunda",
2910
+ "type": "simple"
2911
+ },
2912
+ {
2913
+ "property": "action",
2914
+ "equals": "converse",
2915
+ "type": "simple"
2916
+ }
2917
+ ]
1020
2918
  },
1021
2919
  "type": "String"
1022
2920
  },
1023
2921
  {
1024
- "id": "data.payload",
1025
- "label": "Payload",
1026
- "description": "Specify the payload. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">documentation</a>",
1027
- "optional": false,
2922
+ "id": "data_newDocuments_single_inline_content",
2923
+ "label": "Content",
1028
2924
  "constraints": {
1029
2925
  "notEmpty": true
1030
2926
  },
1031
- "feel": "required",
1032
- "group": "invokeModel",
2927
+ "feel": "optional",
2928
+ "group": "converse",
1033
2929
  "binding": {
1034
- "name": "data.payload",
2930
+ "name": "data.data_newDocuments_single_inline_content",
1035
2931
  "type": "zeebe:input"
1036
2932
  },
1037
2933
  "condition": {
1038
- "property": "action",
1039
- "equals": "invokeModel",
1040
- "type": "simple"
2934
+ "allMatch": [
2935
+ {
2936
+ "property": "data_newDocuments_documentMode",
2937
+ "equals": "single",
2938
+ "type": "simple"
2939
+ },
2940
+ {
2941
+ "property": "data_newDocuments_single_documentSource",
2942
+ "equals": "inline",
2943
+ "type": "simple"
2944
+ },
2945
+ {
2946
+ "property": "action",
2947
+ "equals": "converse",
2948
+ "type": "simple"
2949
+ }
2950
+ ]
1041
2951
  },
1042
2952
  "type": "String"
1043
2953
  },
1044
2954
  {
1045
- "id": "data.messagesHistory",
1046
- "label": "Message History",
1047
- "description": "Specify the message history, when previous context is needed",
1048
- "optional": true,
1049
- "feel": "required",
2955
+ "id": "data_newDocuments_single_inline_fileName",
2956
+ "label": "File name",
2957
+ "feel": "optional",
1050
2958
  "group": "converse",
1051
2959
  "binding": {
1052
- "name": "data.messagesHistory",
2960
+ "name": "data.data_newDocuments_single_inline_fileName",
1053
2961
  "type": "zeebe:input"
1054
2962
  },
1055
2963
  "condition": {
1056
- "property": "action",
1057
- "equals": "converse",
1058
- "type": "simple"
2964
+ "allMatch": [
2965
+ {
2966
+ "property": "data_newDocuments_documentMode",
2967
+ "equals": "single",
2968
+ "type": "simple"
2969
+ },
2970
+ {
2971
+ "property": "data_newDocuments_single_documentSource",
2972
+ "equals": "inline",
2973
+ "type": "simple"
2974
+ },
2975
+ {
2976
+ "property": "action",
2977
+ "equals": "converse",
2978
+ "type": "simple"
2979
+ }
2980
+ ]
1059
2981
  },
1060
2982
  "type": "String"
1061
2983
  },
1062
2984
  {
1063
- "id": "data.modelId1",
1064
- "label": "Model ID",
1065
- "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1066
- "optional": false,
1067
- "constraints": {
1068
- "notEmpty": true
1069
- },
2985
+ "id": "data_newDocuments_single_inline_contentType",
2986
+ "label": "Content type",
1070
2987
  "feel": "optional",
1071
2988
  "group": "converse",
1072
2989
  "binding": {
1073
- "name": "data.modelId",
2990
+ "name": "data.data_newDocuments_single_inline_contentType",
1074
2991
  "type": "zeebe:input"
1075
2992
  },
1076
2993
  "condition": {
1077
- "property": "action",
1078
- "equals": "converse",
1079
- "type": "simple"
2994
+ "allMatch": [
2995
+ {
2996
+ "property": "data_newDocuments_documentMode",
2997
+ "equals": "single",
2998
+ "type": "simple"
2999
+ },
3000
+ {
3001
+ "property": "data_newDocuments_single_documentSource",
3002
+ "equals": "inline",
3003
+ "type": "simple"
3004
+ },
3005
+ {
3006
+ "property": "action",
3007
+ "equals": "converse",
3008
+ "type": "simple"
3009
+ }
3010
+ ]
1080
3011
  },
1081
3012
  "type": "String"
1082
3013
  },
1083
3014
  {
1084
- "id": "data.newMessage",
1085
- "label": "New Message",
1086
- "description": "Specify the next message",
1087
- "optional": false,
3015
+ "id": "data_newDocuments_single_external_url",
3016
+ "label": "URL",
1088
3017
  "constraints": {
1089
3018
  "notEmpty": true
1090
3019
  },
1091
3020
  "feel": "optional",
1092
3021
  "group": "converse",
1093
3022
  "binding": {
1094
- "name": "data.newMessage",
3023
+ "name": "data.data_newDocuments_single_external_url",
1095
3024
  "type": "zeebe:input"
1096
3025
  },
1097
3026
  "condition": {
1098
- "property": "action",
1099
- "equals": "converse",
1100
- "type": "simple"
3027
+ "allMatch": [
3028
+ {
3029
+ "property": "data_newDocuments_documentMode",
3030
+ "equals": "single",
3031
+ "type": "simple"
3032
+ },
3033
+ {
3034
+ "property": "data_newDocuments_single_documentSource",
3035
+ "equals": "external",
3036
+ "type": "simple"
3037
+ },
3038
+ {
3039
+ "property": "action",
3040
+ "equals": "converse",
3041
+ "type": "simple"
3042
+ }
3043
+ ]
1101
3044
  },
1102
3045
  "type": "String"
1103
3046
  },
1104
3047
  {
1105
- "id": "data.maxTokens",
1106
- "label": "Max token returned",
1107
- "optional": true,
3048
+ "id": "data_newDocuments_single_external_fileName",
3049
+ "label": "File name",
1108
3050
  "feel": "optional",
1109
3051
  "group": "converse",
1110
3052
  "binding": {
1111
- "name": "data.maxTokens",
3053
+ "name": "data.data_newDocuments_single_external_fileName",
1112
3054
  "type": "zeebe:input"
1113
3055
  },
1114
3056
  "condition": {
1115
- "property": "action",
1116
- "equals": "converse",
1117
- "type": "simple"
3057
+ "allMatch": [
3058
+ {
3059
+ "property": "data_newDocuments_documentMode",
3060
+ "equals": "single",
3061
+ "type": "simple"
3062
+ },
3063
+ {
3064
+ "property": "data_newDocuments_single_documentSource",
3065
+ "equals": "external",
3066
+ "type": "simple"
3067
+ },
3068
+ {
3069
+ "property": "action",
3070
+ "equals": "converse",
3071
+ "type": "simple"
3072
+ }
3073
+ ]
1118
3074
  },
1119
- "type": "Number"
3075
+ "type": "String"
1120
3076
  },
1121
3077
  {
1122
- "id": "data.temperature",
1123
- "label": "Temperature",
1124
- "optional": true,
1125
- "feel": "optional",
1126
- "group": "converse",
1127
- "binding": {
1128
- "name": "data.temperature",
1129
- "type": "zeebe:input"
1130
- },
1131
- "condition": {
1132
- "property": "action",
1133
- "equals": "converse",
1134
- "type": "simple"
3078
+ "id": "data_newDocuments_multiple_expression",
3079
+ "label": "Documents",
3080
+ "constraints": {
3081
+ "notEmpty": true
1135
3082
  },
1136
- "type": "Number"
1137
- },
1138
- {
1139
- "id": "data.topP",
1140
- "label": "top P",
1141
- "optional": true,
1142
- "feel": "optional",
3083
+ "feel": "required",
1143
3084
  "group": "converse",
1144
3085
  "binding": {
1145
- "name": "data.topP",
3086
+ "name": "data.data_newDocuments_multiple_expression",
1146
3087
  "type": "zeebe:input"
1147
3088
  },
1148
3089
  "condition": {
1149
- "property": "action",
1150
- "equals": "converse",
1151
- "type": "simple"
3090
+ "allMatch": [
3091
+ {
3092
+ "property": "data_newDocuments_documentMode",
3093
+ "equals": "multiple",
3094
+ "type": "simple"
3095
+ },
3096
+ {
3097
+ "property": "action",
3098
+ "equals": "converse",
3099
+ "type": "simple"
3100
+ }
3101
+ ]
1152
3102
  },
1153
- "type": "Number"
3103
+ "type": "String"
1154
3104
  },
1155
3105
  {
1156
3106
  "id": "data.newDocuments",
1157
- "label": "documents",
1158
- "optional": true,
1159
- "feel": "required",
3107
+ "value": "=if data_newDocuments_documentMode = \"multiple\" then data_newDocuments_multiple_expression else if data_newDocuments_documentMode = \"single\" then (if data_newDocuments_single_documentSource = \"camunda\" then [data_newDocuments_single_camundaReference] else if data_newDocuments_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: data_newDocuments_single_inline_content, name: data_newDocuments_single_inline_fileName, contentType: data_newDocuments_single_inline_contentType }] else if data_newDocuments_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: data_newDocuments_single_external_url, name: data_newDocuments_single_external_fileName }] else null) else null",
1160
3108
  "group": "converse",
1161
3109
  "binding": {
1162
3110
  "name": "data.newDocuments",
@@ -1167,13 +3115,13 @@
1167
3115
  "equals": "converse",
1168
3116
  "type": "simple"
1169
3117
  },
1170
- "type": "String"
3118
+ "type": "Hidden"
1171
3119
  },
1172
3120
  {
1173
3121
  "id": "version",
1174
3122
  "label": "Version",
1175
3123
  "description": "Version of the element template",
1176
- "value": "3",
3124
+ "value": "5",
1177
3125
  "group": "connector",
1178
3126
  "binding": {
1179
3127
  "key": "elementTemplateVersion",
@@ -1245,7 +3193,7 @@
1245
3193
  "id": "retryBackoff",
1246
3194
  "label": "Retry backoff",
1247
3195
  "description": "ISO-8601 duration to wait between retries",
1248
- "value": "PT0S",
3196
+ "value": "PT30S",
1249
3197
  "group": "retries",
1250
3198
  "binding": {
1251
3199
  "key": "retryBackoff",
@@ -1254,29 +3202,59 @@
1254
3202
  "type": "String"
1255
3203
  }
1256
3204
  ],
3205
+ "steps": [
3206
+ {
3207
+ "name": "Invoke Model",
3208
+ "description": "Invoke an Amazon Bedrock foundation model with a single request",
3209
+ "keywords": [
3210
+ "invoke model",
3211
+ "call model",
3212
+ "generate",
3213
+ "run model",
3214
+ "ai inference",
3215
+ "foundation model"
3216
+ ],
3217
+ "presetId": "action_invokeModel"
3218
+ },
3219
+ {
3220
+ "name": "Converse",
3221
+ "description": "Have a multi-turn conversation with an Amazon Bedrock foundation model",
3222
+ "keywords": [
3223
+ "converse",
3224
+ "chat",
3225
+ "multi-turn conversation",
3226
+ "ai chat",
3227
+ "foundation model chat",
3228
+ "dialog"
3229
+ ],
3230
+ "presetId": "action_converse"
3231
+ }
3232
+ ],
3233
+ "presets": [
3234
+ {
3235
+ "id": "action_invokeModel",
3236
+ "properties": {
3237
+ "action": "invokeModel"
3238
+ }
3239
+ },
3240
+ {
3241
+ "id": "action_converse",
3242
+ "properties": {
3243
+ "action": "converse"
3244
+ }
3245
+ }
3246
+ ],
1257
3247
  "icon": {
1258
3248
  "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgODAgODAiIHZlcnNpb249IjEuMSIgeG1sbnM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cxOTg5MTggNTAuMTQxLDI4Ljk5OTg5MTggNTIsMjguOTk5ODkxOCBDNTQuMjA2LDI4Ljk5OTg5MTggNTYsMjcuMjA1ODkxOCA1NiwyNC45OTk4OTE4IEM1NiwyMi43OTM4OTE4IDU0LjIwNiwyMC45OTk4OTE4IDUyLDIwLjk5OTg5MTggTDUyLDIwLjk5OTg5MTggWiIgaWQ9IkZpbGwtMSI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"
1259
3249
  }
1260
3250
  },
1261
3251
  {
1262
3252
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1263
- "name": "AWS Bedrock Outbound Connector",
3253
+ "name": "AWS BedRock Outbound Connector",
1264
3254
  "id": "io.camunda.connectors.aws.bedrock.v1",
1265
- "description": "Invoke models and converse using AWS Bedrock.",
1266
- "keywords": [
1267
- "invoke model",
1268
- "run inference",
1269
- "invokemodel API",
1270
- "converse API",
1271
- "converse",
1272
- "AI",
1273
- "LLM",
1274
- "machine learning",
1275
- "language model",
1276
- "generative AI"
1277
- ],
1278
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/amazon-bedrock/",
1279
- "version": 4,
3255
+ "description": "Execute bedrock requests",
3256
+ "documentationRef": "https://docs.camunda.io/docs/",
3257
+ "version": 1,
1280
3258
  "category": {
1281
3259
  "id": "connectors",
1282
3260
  "name": "Connectors"
@@ -1286,7 +3264,7 @@
1286
3264
  "value": "bpmn:ServiceTask"
1287
3265
  },
1288
3266
  "engines": {
1289
- "camunda": "^8.10"
3267
+ "camunda": "^8.6"
1290
3268
  },
1291
3269
  "groups": [
1292
3270
  {
@@ -1309,10 +3287,6 @@
1309
3287
  "id": "converse",
1310
3288
  "label": "Converse"
1311
3289
  },
1312
- {
1313
- "id": "connector",
1314
- "label": "Connector"
1315
- },
1316
3290
  {
1317
3291
  "id": "output",
1318
3292
  "label": "Output mapping"
@@ -1443,456 +3417,155 @@
1443
3417
  "value": "invokeModel"
1444
3418
  },
1445
3419
  {
1446
- "name": "Converse",
1447
- "value": "converse"
1448
- }
1449
- ]
1450
- },
1451
- {
1452
- "id": "data.modelId0",
1453
- "label": "Model ID",
1454
- "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1455
- "optional": false,
1456
- "constraints": {
1457
- "notEmpty": true
1458
- },
1459
- "feel": "optional",
1460
- "group": "invokeModel",
1461
- "binding": {
1462
- "name": "data.modelId",
1463
- "type": "zeebe:input"
1464
- },
1465
- "condition": {
1466
- "property": "action",
1467
- "equals": "invokeModel",
1468
- "type": "simple"
1469
- },
1470
- "type": "String"
1471
- },
1472
- {
1473
- "id": "data.payload",
1474
- "label": "Payload",
1475
- "description": "Specify the payload. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">documentation</a>",
1476
- "optional": false,
1477
- "constraints": {
1478
- "notEmpty": true
1479
- },
1480
- "feel": "required",
1481
- "group": "invokeModel",
1482
- "binding": {
1483
- "name": "data.payload",
1484
- "type": "zeebe:input"
1485
- },
1486
- "condition": {
1487
- "property": "action",
1488
- "equals": "invokeModel",
1489
- "type": "simple"
1490
- },
1491
- "type": "String"
1492
- },
1493
- {
1494
- "id": "data.messagesHistory",
1495
- "label": "Message History",
1496
- "description": "Specify the message history, when previous context is needed",
1497
- "optional": true,
1498
- "feel": "required",
1499
- "group": "converse",
1500
- "binding": {
1501
- "name": "data.messagesHistory",
1502
- "type": "zeebe:input"
1503
- },
1504
- "condition": {
1505
- "property": "action",
1506
- "equals": "converse",
1507
- "type": "simple"
1508
- },
1509
- "type": "String"
1510
- },
1511
- {
1512
- "id": "data.modelId1",
1513
- "label": "Model ID",
1514
- "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
1515
- "optional": false,
1516
- "constraints": {
1517
- "notEmpty": true
1518
- },
1519
- "feel": "optional",
1520
- "group": "converse",
1521
- "binding": {
1522
- "name": "data.modelId",
1523
- "type": "zeebe:input"
1524
- },
1525
- "condition": {
1526
- "property": "action",
1527
- "equals": "converse",
1528
- "type": "simple"
1529
- },
1530
- "type": "String"
1531
- },
1532
- {
1533
- "id": "data.newMessage",
1534
- "label": "New Message",
1535
- "description": "Specify the next message",
1536
- "optional": false,
1537
- "constraints": {
1538
- "notEmpty": true
1539
- },
1540
- "feel": "optional",
1541
- "group": "converse",
1542
- "binding": {
1543
- "name": "data.newMessage",
1544
- "type": "zeebe:input"
1545
- },
1546
- "condition": {
1547
- "property": "action",
1548
- "equals": "converse",
1549
- "type": "simple"
1550
- },
1551
- "type": "String"
1552
- },
1553
- {
1554
- "id": "data.maxTokens",
1555
- "label": "Max token returned",
1556
- "optional": true,
1557
- "feel": "optional",
1558
- "group": "converse",
1559
- "binding": {
1560
- "name": "data.maxTokens",
1561
- "type": "zeebe:input"
1562
- },
1563
- "condition": {
1564
- "property": "action",
1565
- "equals": "converse",
1566
- "type": "simple"
1567
- },
1568
- "type": "Number"
1569
- },
1570
- {
1571
- "id": "data.temperature",
1572
- "label": "Temperature",
1573
- "optional": true,
1574
- "feel": "optional",
1575
- "group": "converse",
1576
- "binding": {
1577
- "name": "data.temperature",
1578
- "type": "zeebe:input"
1579
- },
1580
- "condition": {
1581
- "property": "action",
1582
- "equals": "converse",
1583
- "type": "simple"
1584
- },
1585
- "type": "Number"
1586
- },
1587
- {
1588
- "id": "data.topP",
1589
- "label": "top P",
1590
- "optional": true,
1591
- "feel": "optional",
1592
- "group": "converse",
1593
- "binding": {
1594
- "name": "data.topP",
1595
- "type": "zeebe:input"
1596
- },
1597
- "condition": {
1598
- "property": "action",
1599
- "equals": "converse",
1600
- "type": "simple"
1601
- },
1602
- "type": "Number"
1603
- },
1604
- {
1605
- "id": "data_newDocuments_documentMode",
1606
- "label": "Number of documents",
1607
- "value": "none",
1608
- "group": "converse",
1609
- "binding": {
1610
- "name": "data.data_newDocuments_documentMode",
1611
- "type": "zeebe:input"
1612
- },
1613
- "condition": {
1614
- "property": "action",
1615
- "equals": "converse",
1616
- "type": "simple"
1617
- },
1618
- "type": "Dropdown",
1619
- "choices": [
1620
- {
1621
- "name": "None",
1622
- "value": "none"
1623
- },
1624
- {
1625
- "name": "Single document",
1626
- "value": "single"
1627
- },
1628
- {
1629
- "name": "Multiple documents",
1630
- "value": "multiple"
1631
- }
1632
- ]
1633
- },
1634
- {
1635
- "id": "data_newDocuments_single_documentSource",
1636
- "label": "Document source",
1637
- "value": "camunda",
1638
- "group": "converse",
1639
- "binding": {
1640
- "name": "data.data_newDocuments_single_documentSource",
1641
- "type": "zeebe:input"
1642
- },
1643
- "condition": {
1644
- "allMatch": [
1645
- {
1646
- "property": "data_newDocuments_documentMode",
1647
- "equals": "single",
1648
- "type": "simple"
1649
- },
1650
- {
1651
- "property": "action",
1652
- "equals": "converse",
1653
- "type": "simple"
1654
- }
1655
- ]
1656
- },
1657
- "type": "Dropdown",
1658
- "choices": [
1659
- {
1660
- "name": "Camunda Document",
1661
- "value": "camunda"
1662
- },
1663
- {
1664
- "name": "Inline Content",
1665
- "value": "inline"
1666
- },
1667
- {
1668
- "name": "From URL",
1669
- "value": "external"
3420
+ "name": "Converse",
3421
+ "value": "converse"
1670
3422
  }
1671
3423
  ]
1672
3424
  },
1673
3425
  {
1674
- "id": "data_newDocuments_single_camundaReference",
1675
- "label": "Camunda document",
3426
+ "id": "data.modelId0",
3427
+ "label": "Model ID",
3428
+ "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
3429
+ "optional": false,
1676
3430
  "constraints": {
1677
3431
  "notEmpty": true
1678
3432
  },
1679
- "feel": "required",
1680
- "group": "converse",
3433
+ "feel": "optional",
3434
+ "group": "invokeModel",
1681
3435
  "binding": {
1682
- "name": "data.data_newDocuments_single_camundaReference",
3436
+ "name": "data.modelId",
1683
3437
  "type": "zeebe:input"
1684
3438
  },
1685
3439
  "condition": {
1686
- "allMatch": [
1687
- {
1688
- "property": "data_newDocuments_documentMode",
1689
- "equals": "single",
1690
- "type": "simple"
1691
- },
1692
- {
1693
- "property": "data_newDocuments_single_documentSource",
1694
- "equals": "camunda",
1695
- "type": "simple"
1696
- },
1697
- {
1698
- "property": "action",
1699
- "equals": "converse",
1700
- "type": "simple"
1701
- }
1702
- ]
3440
+ "property": "action",
3441
+ "equals": "invokeModel",
3442
+ "type": "simple"
1703
3443
  },
1704
3444
  "type": "String"
1705
3445
  },
1706
3446
  {
1707
- "id": "data_newDocuments_single_inline_content",
1708
- "label": "Content",
3447
+ "id": "data.payload",
3448
+ "label": "Payload",
3449
+ "description": "Specify the payload. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\" target=\"_blank\">documentation</a>",
3450
+ "optional": false,
1709
3451
  "constraints": {
1710
3452
  "notEmpty": true
1711
3453
  },
1712
- "feel": "optional",
1713
- "group": "converse",
3454
+ "feel": "required",
3455
+ "group": "invokeModel",
1714
3456
  "binding": {
1715
- "name": "data.data_newDocuments_single_inline_content",
3457
+ "name": "data.payload",
1716
3458
  "type": "zeebe:input"
1717
3459
  },
1718
3460
  "condition": {
1719
- "allMatch": [
1720
- {
1721
- "property": "data_newDocuments_documentMode",
1722
- "equals": "single",
1723
- "type": "simple"
1724
- },
1725
- {
1726
- "property": "data_newDocuments_single_documentSource",
1727
- "equals": "inline",
1728
- "type": "simple"
1729
- },
1730
- {
1731
- "property": "action",
1732
- "equals": "converse",
1733
- "type": "simple"
1734
- }
1735
- ]
3461
+ "property": "action",
3462
+ "equals": "invokeModel",
3463
+ "type": "simple"
1736
3464
  },
1737
3465
  "type": "String"
1738
3466
  },
1739
3467
  {
1740
- "id": "data_newDocuments_single_inline_fileName",
1741
- "label": "File name",
3468
+ "id": "data.modelId1",
3469
+ "label": "Model ID",
3470
+ "description": "Specify the model ID. Details in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html\" target=\"_blank\">documentation</a>",
3471
+ "optional": false,
3472
+ "constraints": {
3473
+ "notEmpty": true
3474
+ },
1742
3475
  "feel": "optional",
1743
3476
  "group": "converse",
1744
3477
  "binding": {
1745
- "name": "data.data_newDocuments_single_inline_fileName",
3478
+ "name": "data.modelId",
1746
3479
  "type": "zeebe:input"
1747
3480
  },
1748
3481
  "condition": {
1749
- "allMatch": [
1750
- {
1751
- "property": "data_newDocuments_documentMode",
1752
- "equals": "single",
1753
- "type": "simple"
1754
- },
1755
- {
1756
- "property": "data_newDocuments_single_documentSource",
1757
- "equals": "inline",
1758
- "type": "simple"
1759
- },
1760
- {
1761
- "property": "action",
1762
- "equals": "converse",
1763
- "type": "simple"
1764
- }
1765
- ]
3482
+ "property": "action",
3483
+ "equals": "converse",
3484
+ "type": "simple"
1766
3485
  },
1767
3486
  "type": "String"
1768
3487
  },
1769
3488
  {
1770
- "id": "data_newDocuments_single_inline_contentType",
1771
- "label": "Content type",
3489
+ "id": "data.nextMessage",
3490
+ "label": "New Message",
3491
+ "description": "Specify the next message",
3492
+ "optional": false,
3493
+ "constraints": {
3494
+ "notEmpty": true
3495
+ },
1772
3496
  "feel": "optional",
1773
3497
  "group": "converse",
1774
3498
  "binding": {
1775
- "name": "data.data_newDocuments_single_inline_contentType",
3499
+ "name": "data.nextMessage",
1776
3500
  "type": "zeebe:input"
1777
3501
  },
1778
3502
  "condition": {
1779
- "allMatch": [
1780
- {
1781
- "property": "data_newDocuments_documentMode",
1782
- "equals": "single",
1783
- "type": "simple"
1784
- },
1785
- {
1786
- "property": "data_newDocuments_single_documentSource",
1787
- "equals": "inline",
1788
- "type": "simple"
1789
- },
1790
- {
1791
- "property": "action",
1792
- "equals": "converse",
1793
- "type": "simple"
1794
- }
1795
- ]
3503
+ "property": "action",
3504
+ "equals": "converse",
3505
+ "type": "simple"
1796
3506
  },
1797
3507
  "type": "String"
1798
3508
  },
1799
3509
  {
1800
- "id": "data_newDocuments_single_external_url",
1801
- "label": "URL",
1802
- "constraints": {
1803
- "notEmpty": true
1804
- },
1805
- "feel": "optional",
3510
+ "id": "data.messages",
3511
+ "label": "Message History",
3512
+ "description": "Specify the message history, when previous context is needed",
3513
+ "optional": true,
3514
+ "feel": "required",
1806
3515
  "group": "converse",
1807
3516
  "binding": {
1808
- "name": "data.data_newDocuments_single_external_url",
3517
+ "name": "data.messages",
1809
3518
  "type": "zeebe:input"
1810
3519
  },
1811
3520
  "condition": {
1812
- "allMatch": [
1813
- {
1814
- "property": "data_newDocuments_documentMode",
1815
- "equals": "single",
1816
- "type": "simple"
1817
- },
1818
- {
1819
- "property": "data_newDocuments_single_documentSource",
1820
- "equals": "external",
1821
- "type": "simple"
1822
- },
1823
- {
1824
- "property": "action",
1825
- "equals": "converse",
1826
- "type": "simple"
1827
- }
1828
- ]
3521
+ "property": "action",
3522
+ "equals": "converse",
3523
+ "type": "simple"
1829
3524
  },
1830
3525
  "type": "String"
1831
3526
  },
1832
3527
  {
1833
- "id": "data_newDocuments_single_external_fileName",
1834
- "label": "File name",
3528
+ "id": "data.maxTokens",
3529
+ "label": "Max token returned",
3530
+ "optional": true,
1835
3531
  "feel": "optional",
1836
3532
  "group": "converse",
1837
3533
  "binding": {
1838
- "name": "data.data_newDocuments_single_external_fileName",
3534
+ "name": "data.maxTokens",
1839
3535
  "type": "zeebe:input"
1840
3536
  },
1841
3537
  "condition": {
1842
- "allMatch": [
1843
- {
1844
- "property": "data_newDocuments_documentMode",
1845
- "equals": "single",
1846
- "type": "simple"
1847
- },
1848
- {
1849
- "property": "data_newDocuments_single_documentSource",
1850
- "equals": "external",
1851
- "type": "simple"
1852
- },
1853
- {
1854
- "property": "action",
1855
- "equals": "converse",
1856
- "type": "simple"
1857
- }
1858
- ]
3538
+ "property": "action",
3539
+ "equals": "converse",
3540
+ "type": "simple"
1859
3541
  },
1860
3542
  "type": "String"
1861
3543
  },
1862
3544
  {
1863
- "id": "data_newDocuments_multiple_expression",
1864
- "label": "Documents",
1865
- "constraints": {
1866
- "notEmpty": true
1867
- },
1868
- "feel": "required",
3545
+ "id": "data.temperature",
3546
+ "label": "Temperature",
3547
+ "optional": true,
3548
+ "feel": "optional",
1869
3549
  "group": "converse",
1870
3550
  "binding": {
1871
- "name": "data.data_newDocuments_multiple_expression",
3551
+ "name": "data.temperature",
1872
3552
  "type": "zeebe:input"
1873
3553
  },
1874
3554
  "condition": {
1875
- "allMatch": [
1876
- {
1877
- "property": "data_newDocuments_documentMode",
1878
- "equals": "multiple",
1879
- "type": "simple"
1880
- },
1881
- {
1882
- "property": "action",
1883
- "equals": "converse",
1884
- "type": "simple"
1885
- }
1886
- ]
3555
+ "property": "action",
3556
+ "equals": "converse",
3557
+ "type": "simple"
1887
3558
  },
1888
3559
  "type": "String"
1889
3560
  },
1890
3561
  {
1891
- "id": "data.newDocuments",
1892
- "value": "=if data_newDocuments_documentMode = \"multiple\" then data_newDocuments_multiple_expression else if data_newDocuments_documentMode = \"single\" then (if data_newDocuments_single_documentSource = \"camunda\" then [data_newDocuments_single_camundaReference] else if data_newDocuments_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: data_newDocuments_single_inline_content, name: data_newDocuments_single_inline_fileName, contentType: data_newDocuments_single_inline_contentType }] else if data_newDocuments_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: data_newDocuments_single_external_url, name: data_newDocuments_single_external_fileName }] else null) else null",
3562
+ "id": "data.topP",
3563
+ "label": "top P",
3564
+ "optional": true,
3565
+ "feel": "optional",
1893
3566
  "group": "converse",
1894
3567
  "binding": {
1895
- "name": "data.newDocuments",
3568
+ "name": "data.topP",
1896
3569
  "type": "zeebe:input"
1897
3570
  },
1898
3571
  "condition": {
@@ -1900,36 +3573,12 @@
1900
3573
  "equals": "converse",
1901
3574
  "type": "simple"
1902
3575
  },
1903
- "type": "Hidden"
1904
- },
1905
- {
1906
- "id": "version",
1907
- "label": "Version",
1908
- "description": "Version of the element template",
1909
- "value": "4",
1910
- "group": "connector",
1911
- "binding": {
1912
- "key": "elementTemplateVersion",
1913
- "type": "zeebe:taskHeader"
1914
- },
1915
- "type": "Hidden"
1916
- },
1917
- {
1918
- "id": "id",
1919
- "label": "ID",
1920
- "description": "ID of the element template",
1921
- "value": "io.camunda.connectors.aws.bedrock.v1",
1922
- "group": "connector",
1923
- "binding": {
1924
- "key": "elementTemplateId",
1925
- "type": "zeebe:taskHeader"
1926
- },
1927
- "type": "Hidden"
3576
+ "type": "String"
1928
3577
  },
1929
3578
  {
1930
3579
  "id": "resultVariable",
1931
3580
  "label": "Result variable",
1932
- "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>.",
3581
+ "description": "Name of variable to store the response in",
1933
3582
  "group": "output",
1934
3583
  "binding": {
1935
3584
  "key": "resultVariable",
@@ -1940,7 +3589,7 @@
1940
3589
  {
1941
3590
  "id": "resultExpression",
1942
3591
  "label": "Result expression",
1943
- "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>.",
3592
+ "description": "Expression to map the response into process variables",
1944
3593
  "feel": "required",
1945
3594
  "group": "output",
1946
3595
  "binding": {
@@ -1979,6 +3628,7 @@
1979
3628
  "label": "Retry backoff",
1980
3629
  "description": "ISO-8601 duration to wait between retries",
1981
3630
  "value": "PT0S",
3631
+ "feel": "optional",
1982
3632
  "group": "retries",
1983
3633
  "binding": {
1984
3634
  "key": "retryBackoff",