@camunda/connectors-element-templates 1.0.9 → 1.0.11

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 (21) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +10 -0
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +832 -0
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +340 -0
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +339 -0
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +558 -0
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +557 -0
  8. package/src/element-templates/agenticai-aiagent-job-worker.json +3273 -9
  9. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3366 -140
  10. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +360 -1
  11. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1123 -1
  12. package/src/element-templates/aws-textract-outbound-connector.json +627 -0
  13. package/src/element-templates/azure-blobstorage-outbound-connector.json +463 -0
  14. package/src/element-templates/email-outbound-connector.json +1532 -4
  15. package/src/element-templates/embeddings-vector-database-outbound-connector.json +4 -1
  16. package/src/element-templates/http-polling-boundary-catch-event-connector.json +22 -0
  17. package/src/element-templates/http-polling-connector.json +22 -0
  18. package/src/element-templates/hubspot-outbound-connector.json +2347 -0
  19. package/src/element-templates/servicenow-connector.json +1 -1
  20. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  21. package/src/element-templates/servicenow-incident-connector.json +1 -1
@@ -1,7 +1,7 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "MCP Client (experimental)",
4
+ "name": "MCP Client (early access)",
5
5
  "id": "io.camunda.connectors.agenticai.mcp.client.v0",
6
6
  "description": "MCP (Model Context Protocol) client using MCP connections configured on the connector runtime. Only supports tool operations.",
7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QgMTMxLjA4N0wxNDMuNzk0IDgwLjg4MjIiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K"
233
233
  }
234
+ },
235
+ {
236
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
237
+ "name": "MCP Client (early access)",
238
+ "id": "io.camunda.connectors.agenticai.mcp.client.v0",
239
+ "description": "MCP (Model Context Protocol) client using MCP connections configured on the connector runtime.",
240
+ "metadata": {
241
+ "keywords": []
242
+ },
243
+ "version": 1,
244
+ "category": {
245
+ "id": "connectors",
246
+ "name": "Connectors"
247
+ },
248
+ "appliesTo": ["bpmn:Task"],
249
+ "elementType": {
250
+ "value": "bpmn:ServiceTask"
251
+ },
252
+ "engines": {
253
+ "camunda": "^8.9"
254
+ },
255
+ "groups": [
256
+ {
257
+ "id": "client",
258
+ "label": "MCP Client"
259
+ },
260
+ {
261
+ "id": "connectorMode",
262
+ "label": "Connector mode",
263
+ "tooltip": "Select how this connector is used. When the connector is used as an AI agent tool, select the AI Agent tool mode."
264
+ },
265
+ {
266
+ "id": "operation",
267
+ "label": "Operation"
268
+ },
269
+ {
270
+ "id": "tools",
271
+ "label": "Tools",
272
+ "openByDefault": false
273
+ },
274
+ {
275
+ "id": "connector",
276
+ "label": "Connector"
277
+ },
278
+ {
279
+ "id": "output",
280
+ "label": "Output mapping"
281
+ },
282
+ {
283
+ "id": "error",
284
+ "label": "Error handling"
285
+ },
286
+ {
287
+ "id": "retries",
288
+ "label": "Retries"
289
+ }
290
+ ],
291
+ "properties": [
292
+ {
293
+ "value": "io.camunda.agenticai:mcpclient:1",
294
+ "binding": {
295
+ "property": "type",
296
+ "type": "zeebe:taskDefinition"
297
+ },
298
+ "type": "Hidden"
299
+ },
300
+ {
301
+ "value": "mcpClient",
302
+ "binding": {
303
+ "name": "io.camunda.agenticai.gateway.type",
304
+ "type": "zeebe:property"
305
+ },
306
+ "condition": {
307
+ "property": "data.connectorMode.type",
308
+ "equals": "aiAgentTool",
309
+ "type": "simple"
310
+ },
311
+ "type": "Hidden"
312
+ },
313
+ {
314
+ "id": "data.client.clientId",
315
+ "label": "Client ID",
316
+ "description": "The MCP client ID. This needs to be configured on your connector runtime.",
317
+ "optional": false,
318
+ "constraints": {
319
+ "notEmpty": true
320
+ },
321
+ "feel": "optional",
322
+ "group": "client",
323
+ "binding": {
324
+ "name": "data.client.clientId",
325
+ "type": "zeebe:input"
326
+ },
327
+ "type": "String"
328
+ },
329
+ {
330
+ "id": "data.connectorMode.type",
331
+ "label": "Connector mode",
332
+ "description": "Select how this connector is used.",
333
+ "value": "aiAgentTool",
334
+ "group": "connectorMode",
335
+ "binding": {
336
+ "name": "data.connectorMode.type",
337
+ "type": "zeebe:input"
338
+ },
339
+ "type": "Dropdown",
340
+ "choices": [
341
+ {
342
+ "name": "Standalone",
343
+ "value": "standalone"
344
+ },
345
+ {
346
+ "name": "AI Agent tool",
347
+ "value": "aiAgentTool"
348
+ }
349
+ ]
350
+ },
351
+ {
352
+ "id": "data.connectorMode.operation.type",
353
+ "label": "Operation",
354
+ "description": "The type of operation to perform.",
355
+ "value": "tools/list",
356
+ "group": "operation",
357
+ "binding": {
358
+ "name": "data.connectorMode.operation.type",
359
+ "type": "zeebe:input"
360
+ },
361
+ "condition": {
362
+ "property": "data.connectorMode.type",
363
+ "equals": "standalone",
364
+ "type": "simple"
365
+ },
366
+ "type": "Dropdown",
367
+ "choices": [
368
+ {
369
+ "name": "List Tools",
370
+ "value": "tools/list"
371
+ },
372
+ {
373
+ "name": "Call Tool",
374
+ "value": "tools/call"
375
+ }
376
+ ]
377
+ },
378
+ {
379
+ "id": "data.connectorMode.operation.toolName",
380
+ "label": "Tool name",
381
+ "description": "The name of the tool to call.",
382
+ "optional": false,
383
+ "constraints": {
384
+ "notEmpty": true
385
+ },
386
+ "feel": "optional",
387
+ "group": "operation",
388
+ "binding": {
389
+ "name": "data.connectorMode.operation.toolName",
390
+ "type": "zeebe:input"
391
+ },
392
+ "condition": {
393
+ "allMatch": [
394
+ {
395
+ "property": "data.connectorMode.operation.type",
396
+ "equals": "tools/call",
397
+ "type": "simple"
398
+ },
399
+ {
400
+ "property": "data.connectorMode.type",
401
+ "equals": "standalone",
402
+ "type": "simple"
403
+ }
404
+ ]
405
+ },
406
+ "type": "String"
407
+ },
408
+ {
409
+ "id": "data.connectorMode.operation.toolArguments",
410
+ "label": "Tool arguments",
411
+ "description": "The arguments to pass to the tool.",
412
+ "optional": true,
413
+ "feel": "required",
414
+ "group": "operation",
415
+ "binding": {
416
+ "name": "data.connectorMode.operation.toolArguments",
417
+ "type": "zeebe:input"
418
+ },
419
+ "condition": {
420
+ "allMatch": [
421
+ {
422
+ "property": "data.connectorMode.operation.type",
423
+ "equals": "tools/call",
424
+ "type": "simple"
425
+ },
426
+ {
427
+ "property": "data.connectorMode.type",
428
+ "equals": "standalone",
429
+ "type": "simple"
430
+ }
431
+ ]
432
+ },
433
+ "type": "String"
434
+ },
435
+ {
436
+ "id": "data.connectorMode.toolOperation.method",
437
+ "label": "Method",
438
+ "description": "The MCP method to be called, e.g. <code>tools/list</code>.",
439
+ "optional": false,
440
+ "value": "=toolCall.method",
441
+ "constraints": {
442
+ "notEmpty": true
443
+ },
444
+ "feel": "optional",
445
+ "group": "operation",
446
+ "binding": {
447
+ "name": "data.connectorMode.toolOperation.method",
448
+ "type": "zeebe:input"
449
+ },
450
+ "condition": {
451
+ "property": "data.connectorMode.type",
452
+ "equals": "aiAgentTool",
453
+ "type": "simple"
454
+ },
455
+ "tooltip": "The method to be called on the MCP server. See the <a href=\"https://modelcontextprotocol.io/specification/2024-11-05/server\">MCP specification</a> for a list of available methods.<br><br>Currently supported:<br><code>tools/list</code>, <code>tools/call</code>",
456
+ "type": "String"
457
+ },
458
+ {
459
+ "id": "data.connectorMode.toolOperation.params",
460
+ "label": "Parameters",
461
+ "description": "The parameters to be passed to the MCP method.",
462
+ "optional": true,
463
+ "value": "=toolCall.params",
464
+ "feel": "required",
465
+ "group": "operation",
466
+ "binding": {
467
+ "name": "data.connectorMode.toolOperation.params",
468
+ "type": "zeebe:input"
469
+ },
470
+ "condition": {
471
+ "property": "data.connectorMode.type",
472
+ "equals": "aiAgentTool",
473
+ "type": "simple"
474
+ },
475
+ "tooltip": "The parameter structure depends on the method being called. See the <a href=\"https://modelcontextprotocol.io/specification/2024-11-05/server/tools#calling-tools\">MCP specification</a> for an example of the parameters for the <code>tools/call</code> method.",
476
+ "type": "String"
477
+ },
478
+ {
479
+ "id": "data.tools.included",
480
+ "label": "Included tools",
481
+ "description": "List of tools that can be used by the MCP client. By default, all tools are allowed.",
482
+ "optional": true,
483
+ "feel": "required",
484
+ "group": "tools",
485
+ "binding": {
486
+ "name": "data.tools.included",
487
+ "type": "zeebe:input"
488
+ },
489
+ "type": "Text"
490
+ },
491
+ {
492
+ "id": "data.tools.excluded",
493
+ "label": "Excluded tools",
494
+ "description": "List of tools that are not allowed to be used by the MCP client. Will override any included tools.",
495
+ "optional": true,
496
+ "feel": "required",
497
+ "group": "tools",
498
+ "binding": {
499
+ "name": "data.tools.excluded",
500
+ "type": "zeebe:input"
501
+ },
502
+ "type": "Text"
503
+ },
504
+ {
505
+ "id": "version",
506
+ "label": "Version",
507
+ "description": "Version of the element template",
508
+ "value": "1",
509
+ "group": "connector",
510
+ "binding": {
511
+ "key": "elementTemplateVersion",
512
+ "type": "zeebe:taskHeader"
513
+ },
514
+ "type": "Hidden"
515
+ },
516
+ {
517
+ "id": "id",
518
+ "label": "ID",
519
+ "description": "ID of the element template",
520
+ "value": "io.camunda.connectors.agenticai.mcp.client.v0",
521
+ "group": "connector",
522
+ "binding": {
523
+ "key": "elementTemplateId",
524
+ "type": "zeebe:taskHeader"
525
+ },
526
+ "type": "Hidden"
527
+ },
528
+ {
529
+ "id": "resultVariable",
530
+ "label": "Result variable",
531
+ "description": "Name of variable to store the response in",
532
+ "value": "toolCallResult",
533
+ "group": "output",
534
+ "binding": {
535
+ "key": "resultVariable",
536
+ "type": "zeebe:taskHeader"
537
+ },
538
+ "type": "String"
539
+ },
540
+ {
541
+ "id": "resultExpression",
542
+ "label": "Result expression",
543
+ "description": "Expression to map the response into process variables",
544
+ "feel": "required",
545
+ "group": "output",
546
+ "binding": {
547
+ "key": "resultExpression",
548
+ "type": "zeebe:taskHeader"
549
+ },
550
+ "type": "Text"
551
+ },
552
+ {
553
+ "id": "errorExpression",
554
+ "label": "Error expression",
555
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
556
+ "feel": "required",
557
+ "group": "error",
558
+ "binding": {
559
+ "key": "errorExpression",
560
+ "type": "zeebe:taskHeader"
561
+ },
562
+ "type": "Text"
563
+ },
564
+ {
565
+ "id": "retryCount",
566
+ "label": "Retries",
567
+ "description": "Number of retries",
568
+ "value": "3",
569
+ "feel": "optional",
570
+ "group": "retries",
571
+ "binding": {
572
+ "property": "retries",
573
+ "type": "zeebe:taskDefinition"
574
+ },
575
+ "type": "String"
576
+ },
577
+ {
578
+ "id": "retryBackoff",
579
+ "label": "Retry backoff",
580
+ "description": "ISO-8601 duration to wait between retries",
581
+ "value": "PT0S",
582
+ "group": "retries",
583
+ "binding": {
584
+ "key": "retryBackoff",
585
+ "type": "zeebe:taskHeader"
586
+ },
587
+ "type": "String"
588
+ }
589
+ ],
590
+ "icon": {
591
+ "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjAwIDIwMCI+CiAgICA8cGF0aCBkPSJNMjUgOTcuODUyOEw5Mi44ODIzIDI5Ljk3MDZDMTAyLjI1NSAyMC41OTggMTE3LjQ1MSAyMC41OTggMTI2LjgyMyAyOS45NzA2VjI5Ljk3MDZDMTM2LjE5N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