@camunda/connectors-element-templates 1.0.15 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +8 -6
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -0
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +3 -2
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +3 -2
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +3 -2
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +3 -2
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +175 -171
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +2144 -2144
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +467 -466
  12. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +482 -481
  13. package/src/element-templates/automation-anywhere-outbound-connector.json +613 -613
  14. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  15. package/src/element-templates/aws-dynamodb-outbound-connector.json +80 -80
  16. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  17. package/src/element-templates/aws-eventbridge-connector-intermediate.json +22 -22
  18. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  19. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  20. package/src/element-templates/aws-eventbridge-outbound-connector.json +188 -188
  21. package/src/element-templates/aws-lambda-outbound-connector.json +238 -238
  22. package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
  23. package/src/element-templates/aws-sns-inbound-intermediate.json +332 -332
  24. package/src/element-templates/aws-sns-inbound-message-start.json +110 -110
  25. package/src/element-templates/aws-sns-outbound-connector.json +741 -741
  26. package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
  27. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +493 -493
  28. package/src/element-templates/aws-sqs-outbound-connector.json +753 -753
  29. package/src/element-templates/aws-sqs-start-event-connector.json +483 -483
  30. package/src/element-templates/aws-sqs-start-message.json +438 -438
  31. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  32. package/src/element-templates/azure-open-ai-connector.json +32 -32
  33. package/src/element-templates/blue-prism-connector.json +6 -6
  34. package/src/element-templates/easy-post-connector.json +114 -114
  35. package/src/element-templates/email-inbound-connector-boundary.json +19 -19
  36. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  37. package/src/element-templates/email-message-start-event-connector.json +32 -32
  38. package/src/element-templates/email-outbound-connector.json +233 -233
  39. package/src/element-templates/github-connector.json +11435 -7908
  40. package/src/element-templates/github-webhook-connector-boundary.json +16 -16
  41. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  42. package/src/element-templates/github-webhook-connector-start-event.json +64 -64
  43. package/src/element-templates/gitlab-connector.json +3394 -3394
  44. package/src/element-templates/google-drive-outbound-connector.json +420 -420
  45. package/src/element-templates/google-gemini-outbound-connector.json +705 -0
  46. package/src/element-templates/google-maps-platform-connector.json +14 -14
  47. package/src/element-templates/google-sheets-outbound-connector.json +1055 -1055
  48. package/src/element-templates/graphql-outbound-connector.json +1341 -763
  49. package/src/element-templates/http-connector.json.json +654 -0
  50. package/src/element-templates/http-json-connector.json +1491 -1472
  51. package/src/element-templates/http-polling-boundary-catch-event-connector.json +801 -136
  52. package/src/element-templates/http-polling-connector.json +1604 -939
  53. package/src/element-templates/hugging-face-connector.json +215 -10
  54. package/src/element-templates/kafka-inbound-connector-boundary.json +483 -483
  55. package/src/element-templates/kafka-inbound-connector-intermediate.json +466 -466
  56. package/src/element-templates/kafka-inbound-connector-start-message.json +529 -529
  57. package/src/element-templates/kafka-outbound-connector.json +360 -360
  58. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +687 -0
  59. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +687 -0
  60. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +719 -0
  61. package/src/element-templates/microsoft-teams-outbound-connector.json +1892 -47
  62. package/src/element-templates/openai-connector.json +83 -83
  63. package/src/element-templates/operate-connector.json +21 -21
  64. package/src/element-templates/power-automate-connector.json +4 -4
  65. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +422 -422
  66. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +338 -338
  67. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +463 -463
  68. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +360 -360
  69. package/src/element-templates/rabbitmq-outbound-connector.json +354 -354
  70. package/src/element-templates/salesforce-connector.json +38 -38
  71. package/src/element-templates/sendgrid-outbound-connector.json +354 -354
  72. package/src/element-templates/slack-inbound-boundary.json +253 -253
  73. package/src/element-templates/slack-inbound-message-start.json +321 -321
  74. package/src/element-templates/slack-inbound-start-event.json +327 -327
  75. package/src/element-templates/slack-outbound-connector.json +1484 -717
  76. package/src/element-templates/twilio-connector.json +65 -65
  77. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  78. package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
  79. package/src/element-templates/uipath-connector.json +10 -10
  80. package/src/element-templates/webhook-connector-boundary.json +1192 -547
  81. package/src/element-templates/webhook-connector-intermediate.json +1258 -613
  82. package/src/element-templates/webhook-connector-receive.json +644 -0
  83. package/src/element-templates/webhook-connector-start-event.json +1690 -1136
  84. package/src/element-templates/webhook-connector-start-message.json +1601 -924
  85. package/src/element-templates/idp-classification-outbound-connector.json +0 -1141
  86. package/src/element-templates/idp-structured-extraction-outbound-connector.json +0 -656
  87. package/src/element-templates/idp-unstructured-extraction-outbound-connector.json +0 -1115
@@ -321,17 +321,14 @@
321
321
  },
322
322
  {
323
323
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
324
- "name": "SendGrid: Send Email via Template",
325
- "id": "io.camunda.connectors.SendGrid.v1.template",
326
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
327
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
324
+ "name": "SendGrid connector",
325
+ "id": "io.camunda.connectors.SendGrid.v2",
326
+ "version": 1,
327
+ "description": "Send an email via SendGrid",
328
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
328
329
  "icon": {
329
330
  "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
330
331
  },
331
- "deprecated": {
332
- "message": "Replace with 'SendGrid Connector' template.",
333
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
334
- },
335
332
  "category": {
336
333
  "id": "connectors",
337
334
  "name": "Connectors"
@@ -342,8 +339,8 @@
342
339
  },
343
340
  "groups": [
344
341
  {
345
- "id": "sendgrid",
346
- "label": "SendGrid API"
342
+ "id": "authentication",
343
+ "label": "Authentication"
347
344
  },
348
345
  {
349
346
  "id": "sender",
@@ -354,8 +351,12 @@
354
351
  "label": "Receiver"
355
352
  },
356
353
  {
357
- "id": "template",
358
- "label": "Dynamic Email Template"
354
+ "id": "content",
355
+ "label": "Compose email"
356
+ },
357
+ {
358
+ "id": "errors",
359
+ "label": "Error handling"
359
360
  }
360
361
  ],
361
362
  "properties": [
@@ -368,8 +369,8 @@
368
369
  }
369
370
  },
370
371
  {
371
- "label": "SendGrid API Key",
372
- "group": "sendgrid",
372
+ "label": "SendGrid API key",
373
+ "group": "authentication",
373
374
  "type": "String",
374
375
  "feel": "optional",
375
376
  "binding": {
@@ -394,7 +395,7 @@
394
395
  }
395
396
  },
396
397
  {
397
- "label": "Email Address",
398
+ "label": "Email address",
398
399
  "group": "sender",
399
400
  "type": "String",
400
401
  "feel": "optional",
@@ -420,7 +421,7 @@
420
421
  }
421
422
  },
422
423
  {
423
- "label": "Email Address",
424
+ "label": "Email address",
424
425
  "group": "receiver",
425
426
  "type": "String",
426
427
  "feel": "optional",
@@ -432,9 +433,81 @@
432
433
  "notEmpty": true
433
434
  }
434
435
  },
436
+ {
437
+ "id": "mailType",
438
+ "group": "content",
439
+ "value": "mail",
440
+ "type": "Dropdown",
441
+ "choices": [
442
+ {
443
+ "name": "Simple (no dynamic template)",
444
+ "value": "mail"
445
+ },
446
+ {
447
+ "name": "Using dynamic template",
448
+ "value": "byTemplate"
449
+ }
450
+ ],
451
+ "binding": {
452
+ "type": "zeebe:input",
453
+ "name": "unMappedFieldNotUseInModel.mailType"
454
+ }
455
+ },
456
+ {
457
+ "label": "Subject",
458
+ "group": "content",
459
+ "type": "String",
460
+ "feel": "optional",
461
+ "binding": {
462
+ "type": "zeebe:input",
463
+ "name": "content.subject"
464
+ },
465
+ "constraints": {
466
+ "notEmpty": true
467
+ },
468
+ "condition": {
469
+ "property": "mailType",
470
+ "equals": "mail"
471
+ }
472
+ },
473
+ {
474
+ "label": "Content type",
475
+ "group": "content",
476
+ "type": "String",
477
+ "feel": "optional",
478
+ "value": "text/plain",
479
+ "binding": {
480
+ "type": "zeebe:input",
481
+ "name": "content.type"
482
+ },
483
+ "constraints": {
484
+ "notEmpty": true
485
+ },
486
+ "condition": {
487
+ "property": "mailType",
488
+ "equals": "mail"
489
+ }
490
+ },
491
+ {
492
+ "label": "Body",
493
+ "group": "content",
494
+ "type": "Text",
495
+ "feel": "optional",
496
+ "binding": {
497
+ "type": "zeebe:input",
498
+ "name": "content.value"
499
+ },
500
+ "constraints": {
501
+ "notEmpty": true
502
+ },
503
+ "condition": {
504
+ "property": "mailType",
505
+ "equals": "mail"
506
+ }
507
+ },
435
508
  {
436
509
  "label": "Template ID",
437
- "group": "template",
510
+ "group": "content",
438
511
  "type": "String",
439
512
  "feel": "optional",
440
513
  "binding": {
@@ -443,11 +516,15 @@
443
516
  },
444
517
  "constraints": {
445
518
  "notEmpty": true
519
+ },
520
+ "condition": {
521
+ "property": "mailType",
522
+ "equals": "byTemplate"
446
523
  }
447
524
  },
448
525
  {
449
- "label": "Template Data",
450
- "group": "template",
526
+ "label": "Template data",
527
+ "group": "content",
451
528
  "type": "Text",
452
529
  "feel": "required",
453
530
  "binding": {
@@ -456,23 +533,41 @@
456
533
  },
457
534
  "constraints": {
458
535
  "notEmpty": true
536
+ },
537
+ "condition": {
538
+ "property": "mailType",
539
+ "equals": "byTemplate"
540
+ }
541
+ },
542
+ {
543
+ "label": "Error expression",
544
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
545
+ "group": "errors",
546
+ "type": "Text",
547
+ "feel": "required",
548
+ "binding": {
549
+ "type": "zeebe:taskHeader",
550
+ "key": "errorExpression"
459
551
  }
460
552
  }
461
- ]
553
+ ],
554
+ "engines": {
555
+ "camunda": "^8.2"
556
+ }
462
557
  },
463
558
  {
464
559
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
465
- "name": "SendGrid connector",
466
- "id": "io.camunda.connectors.SendGrid.v2",
467
- "deprecated": {
468
- "message": "Replace with 'SendGrid connector' template.",
469
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
470
- },
471
- "description": "Send an email via SendGrid",
472
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
560
+ "name": "SendGrid: Send Email via Template",
561
+ "id": "io.camunda.connectors.SendGrid.v1.template",
562
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
563
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
473
564
  "icon": {
474
565
  "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
475
566
  },
567
+ "deprecated": {
568
+ "message": "Replace with 'SendGrid Connector' template.",
569
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
570
+ },
476
571
  "category": {
477
572
  "id": "connectors",
478
573
  "name": "Connectors"
@@ -483,8 +578,8 @@
483
578
  },
484
579
  "groups": [
485
580
  {
486
- "id": "authentication",
487
- "label": "Authentication"
581
+ "id": "sendgrid",
582
+ "label": "SendGrid API"
488
583
  },
489
584
  {
490
585
  "id": "sender",
@@ -495,12 +590,8 @@
495
590
  "label": "Receiver"
496
591
  },
497
592
  {
498
- "id": "content",
499
- "label": "Compose email"
500
- },
501
- {
502
- "id": "errors",
503
- "label": "Error handling"
593
+ "id": "template",
594
+ "label": "Dynamic Email Template"
504
595
  }
505
596
  ],
506
597
  "properties": [
@@ -513,8 +604,8 @@
513
604
  }
514
605
  },
515
606
  {
516
- "label": "SendGrid API key",
517
- "group": "authentication",
607
+ "label": "SendGrid API Key",
608
+ "group": "sendgrid",
518
609
  "type": "String",
519
610
  "feel": "optional",
520
611
  "binding": {
@@ -539,7 +630,7 @@
539
630
  }
540
631
  },
541
632
  {
542
- "label": "Email address",
633
+ "label": "Email Address",
543
634
  "group": "sender",
544
635
  "type": "String",
545
636
  "feel": "optional",
@@ -565,7 +656,7 @@
565
656
  }
566
657
  },
567
658
  {
568
- "label": "Email address",
659
+ "label": "Email Address",
569
660
  "group": "receiver",
570
661
  "type": "String",
571
662
  "feel": "optional",
@@ -578,137 +669,198 @@
578
669
  }
579
670
  },
580
671
  {
581
- "id": "mailType",
582
- "group": "content",
583
- "value": "mail",
584
- "type": "Dropdown",
585
- "choices": [
586
- {
587
- "name": "Simple (no dynamic template)",
588
- "value": "mail"
589
- },
590
- {
591
- "name": "Using dynamic template",
592
- "value": "byTemplate"
593
- }
594
- ],
672
+ "label": "Template ID",
673
+ "group": "template",
674
+ "type": "String",
675
+ "feel": "optional",
595
676
  "binding": {
596
677
  "type": "zeebe:input",
597
- "name": "unMappedFieldNotUseInModel.mailType"
678
+ "name": "template.id"
679
+ },
680
+ "constraints": {
681
+ "notEmpty": true
598
682
  }
599
683
  },
600
684
  {
601
- "label": "Subject",
602
- "group": "content",
685
+ "label": "Template Data",
686
+ "group": "template",
687
+ "type": "Text",
688
+ "feel": "required",
689
+ "binding": {
690
+ "type": "zeebe:input",
691
+ "name": "template.data"
692
+ },
693
+ "constraints": {
694
+ "notEmpty": true
695
+ }
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
701
+ "name": "SendGrid: Send Email",
702
+ "id": "io.camunda.connectors.SendGrid.v1.content",
703
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
704
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
705
+ "icon": {
706
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
707
+ },
708
+ "deprecated": {
709
+ "message": "Replace with 'SendGrid Connector' template.",
710
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
711
+ },
712
+ "category": {
713
+ "id": "connectors",
714
+ "name": "Connectors"
715
+ },
716
+ "appliesTo": ["bpmn:Task"],
717
+ "elementType": {
718
+ "value": "bpmn:ServiceTask"
719
+ },
720
+ "groups": [
721
+ {
722
+ "id": "sendgrid",
723
+ "label": "SendGrid API"
724
+ },
725
+ {
726
+ "id": "sender",
727
+ "label": "Sender"
728
+ },
729
+ {
730
+ "id": "receiver",
731
+ "label": "Receiver"
732
+ },
733
+ {
734
+ "id": "content",
735
+ "label": "Email Content"
736
+ }
737
+ ],
738
+ "properties": [
739
+ {
740
+ "type": "Hidden",
741
+ "value": "io.camunda:sendgrid:1",
742
+ "binding": {
743
+ "type": "zeebe:taskDefinition",
744
+ "property": "type"
745
+ }
746
+ },
747
+ {
748
+ "label": "SendGrid API Key",
749
+ "group": "sendgrid",
603
750
  "type": "String",
604
751
  "feel": "optional",
605
752
  "binding": {
606
753
  "type": "zeebe:input",
607
- "name": "content.subject"
754
+ "name": "apiKey"
608
755
  },
609
756
  "constraints": {
610
757
  "notEmpty": true
611
- },
612
- "condition": {
613
- "property": "mailType",
614
- "equals": "mail"
615
758
  }
616
759
  },
617
760
  {
618
- "label": "Content type",
619
- "group": "content",
761
+ "label": "Name",
762
+ "group": "sender",
620
763
  "type": "String",
621
764
  "feel": "optional",
622
- "value": "text/plain",
623
765
  "binding": {
624
766
  "type": "zeebe:input",
625
- "name": "content.type"
767
+ "name": "from.name"
626
768
  },
627
769
  "constraints": {
628
770
  "notEmpty": true
771
+ }
772
+ },
773
+ {
774
+ "label": "Email Address",
775
+ "group": "sender",
776
+ "type": "String",
777
+ "feel": "optional",
778
+ "binding": {
779
+ "type": "zeebe:input",
780
+ "name": "from.email"
629
781
  },
630
- "condition": {
631
- "property": "mailType",
632
- "equals": "mail"
782
+ "constraints": {
783
+ "notEmpty": true
633
784
  }
634
785
  },
635
786
  {
636
- "label": "Body",
637
- "group": "content",
638
- "type": "Text",
787
+ "label": "Name",
788
+ "group": "receiver",
789
+ "type": "String",
639
790
  "feel": "optional",
640
791
  "binding": {
641
792
  "type": "zeebe:input",
642
- "name": "content.value"
793
+ "name": "to.name"
643
794
  },
644
795
  "constraints": {
645
796
  "notEmpty": true
797
+ }
798
+ },
799
+ {
800
+ "label": "Email Address",
801
+ "group": "receiver",
802
+ "type": "String",
803
+ "feel": "optional",
804
+ "binding": {
805
+ "type": "zeebe:input",
806
+ "name": "to.email"
646
807
  },
647
- "condition": {
648
- "property": "mailType",
649
- "equals": "mail"
808
+ "constraints": {
809
+ "notEmpty": true
650
810
  }
651
811
  },
652
812
  {
653
- "label": "Template ID",
813
+ "label": "Subject",
654
814
  "group": "content",
655
815
  "type": "String",
656
816
  "feel": "optional",
657
817
  "binding": {
658
818
  "type": "zeebe:input",
659
- "name": "template.id"
819
+ "name": "content.subject"
660
820
  },
661
821
  "constraints": {
662
822
  "notEmpty": true
663
- },
664
- "condition": {
665
- "property": "mailType",
666
- "equals": "byTemplate"
667
823
  }
668
824
  },
669
825
  {
670
- "label": "Template data",
826
+ "label": "Content Type",
671
827
  "group": "content",
672
- "type": "Text",
673
- "feel": "required",
828
+ "type": "String",
829
+ "feel": "optional",
830
+ "value": "text/plain",
674
831
  "binding": {
675
832
  "type": "zeebe:input",
676
- "name": "template.data"
833
+ "name": "content.type"
677
834
  },
678
835
  "constraints": {
679
836
  "notEmpty": true
680
- },
681
- "condition": {
682
- "property": "mailType",
683
- "equals": "byTemplate"
684
837
  }
685
838
  },
686
839
  {
687
- "label": "Error expression",
688
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
689
- "group": "errors",
840
+ "label": "Body",
841
+ "group": "content",
690
842
  "type": "Text",
691
- "feel": "required",
843
+ "feel": "optional",
692
844
  "binding": {
693
- "type": "zeebe:taskHeader",
694
- "key": "errorExpression"
845
+ "type": "zeebe:input",
846
+ "name": "content.value"
847
+ },
848
+ "constraints": {
849
+ "notEmpty": true
695
850
  }
696
851
  }
697
852
  ]
698
853
  },
699
854
  {
700
855
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
701
- "name": "SendGrid: Send Email",
702
- "id": "io.camunda.connectors.SendGrid.v1.content",
703
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
704
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
856
+ "name": "SendGrid Outbound Connector",
857
+ "id": "io.camunda.connectors.SendGrid.v2",
858
+ "version": 2,
859
+ "description": "Send an email via SendGrid",
860
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
705
861
  "icon": {
706
862
  "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
707
863
  },
708
- "deprecated": {
709
- "message": "Replace with 'SendGrid Connector' template.",
710
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
711
- },
712
864
  "category": {
713
865
  "id": "connectors",
714
866
  "name": "Connectors"
@@ -719,8 +871,8 @@
719
871
  },
720
872
  "groups": [
721
873
  {
722
- "id": "sendgrid",
723
- "label": "SendGrid API"
874
+ "id": "authentication",
875
+ "label": "Authentication"
724
876
  },
725
877
  {
726
878
  "id": "sender",
@@ -732,7 +884,11 @@
732
884
  },
733
885
  {
734
886
  "id": "content",
735
- "label": "Email Content"
887
+ "label": "Compose email"
888
+ },
889
+ {
890
+ "id": "errors",
891
+ "label": "Error handling"
736
892
  }
737
893
  ],
738
894
  "properties": [
@@ -745,8 +901,8 @@
745
901
  }
746
902
  },
747
903
  {
748
- "label": "SendGrid API Key",
749
- "group": "sendgrid",
904
+ "label": "SendGrid API key",
905
+ "group": "authentication",
750
906
  "type": "String",
751
907
  "feel": "optional",
752
908
  "binding": {
@@ -771,7 +927,7 @@
771
927
  }
772
928
  },
773
929
  {
774
- "label": "Email Address",
930
+ "label": "Email address",
775
931
  "group": "sender",
776
932
  "type": "String",
777
933
  "feel": "optional",
@@ -797,7 +953,7 @@
797
953
  }
798
954
  },
799
955
  {
800
- "label": "Email Address",
956
+ "label": "Email address",
801
957
  "group": "receiver",
802
958
  "type": "String",
803
959
  "feel": "optional",
@@ -809,6 +965,26 @@
809
965
  "notEmpty": true
810
966
  }
811
967
  },
968
+ {
969
+ "id": "mailType",
970
+ "group": "content",
971
+ "value": "mail",
972
+ "type": "Dropdown",
973
+ "choices": [
974
+ {
975
+ "name": "Simple (no dynamic template)",
976
+ "value": "mail"
977
+ },
978
+ {
979
+ "name": "Using dynamic template",
980
+ "value": "byTemplate"
981
+ }
982
+ ],
983
+ "binding": {
984
+ "type": "zeebe:input",
985
+ "name": "unMappedFieldNotUseInModel.mailType"
986
+ }
987
+ },
812
988
  {
813
989
  "label": "Subject",
814
990
  "group": "content",
@@ -820,10 +996,14 @@
820
996
  },
821
997
  "constraints": {
822
998
  "notEmpty": true
999
+ },
1000
+ "condition": {
1001
+ "property": "mailType",
1002
+ "equals": "mail"
823
1003
  }
824
1004
  },
825
1005
  {
826
- "label": "Content Type",
1006
+ "label": "Content type",
827
1007
  "group": "content",
828
1008
  "type": "String",
829
1009
  "feel": "optional",
@@ -834,6 +1014,10 @@
834
1014
  },
835
1015
  "constraints": {
836
1016
  "notEmpty": true
1017
+ },
1018
+ "condition": {
1019
+ "property": "mailType",
1020
+ "equals": "mail"
837
1021
  }
838
1022
  },
839
1023
  {
@@ -847,15 +1031,70 @@
847
1031
  },
848
1032
  "constraints": {
849
1033
  "notEmpty": true
1034
+ },
1035
+ "condition": {
1036
+ "property": "mailType",
1037
+ "equals": "mail"
1038
+ }
1039
+ },
1040
+ {
1041
+ "label": "Template ID",
1042
+ "group": "content",
1043
+ "type": "String",
1044
+ "feel": "optional",
1045
+ "binding": {
1046
+ "type": "zeebe:input",
1047
+ "name": "template.id"
1048
+ },
1049
+ "constraints": {
1050
+ "notEmpty": true
1051
+ },
1052
+ "condition": {
1053
+ "property": "mailType",
1054
+ "equals": "byTemplate"
1055
+ }
1056
+ },
1057
+ {
1058
+ "label": "Template data",
1059
+ "group": "content",
1060
+ "type": "Text",
1061
+ "feel": "required",
1062
+ "binding": {
1063
+ "type": "zeebe:input",
1064
+ "name": "template.data"
1065
+ },
1066
+ "constraints": {
1067
+ "notEmpty": true
1068
+ },
1069
+ "condition": {
1070
+ "property": "mailType",
1071
+ "equals": "byTemplate"
1072
+ }
1073
+ },
1074
+ {
1075
+ "label": "Error expression",
1076
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1077
+ "group": "errors",
1078
+ "type": "Text",
1079
+ "feel": "required",
1080
+ "binding": {
1081
+ "type": "zeebe:taskHeader",
1082
+ "key": "errorExpression"
850
1083
  }
851
1084
  }
852
- ]
1085
+ ],
1086
+ "engines": {
1087
+ "camunda": "^8.2"
1088
+ }
853
1089
  },
854
1090
  {
855
1091
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
856
1092
  "name": "SendGrid connector",
857
1093
  "id": "io.camunda.connectors.SendGrid.v2",
858
- "version": 1,
1094
+ "deprecated": {
1095
+ "message": "Replace with 'SendGrid connector' template.",
1096
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1097
+ },
859
1098
  "description": "Send an email via SendGrid",
860
1099
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
861
1100
  "icon": {
@@ -1082,10 +1321,7 @@
1082
1321
  "key": "errorExpression"
1083
1322
  }
1084
1323
  }
1085
- ],
1086
- "engines": {
1087
- "camunda": "^8.2"
1088
- }
1324
+ ]
1089
1325
  },
1090
1326
  {
1091
1327
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -1422,242 +1658,6 @@
1422
1658
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1423
1659
  }
1424
1660
  },
1425
- {
1426
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1427
- "name": "SendGrid Outbound Connector",
1428
- "id": "io.camunda.connectors.SendGrid.v2",
1429
- "version": 2,
1430
- "description": "Send an email via SendGrid",
1431
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1432
- "icon": {
1433
- "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
1434
- },
1435
- "category": {
1436
- "id": "connectors",
1437
- "name": "Connectors"
1438
- },
1439
- "appliesTo": ["bpmn:Task"],
1440
- "elementType": {
1441
- "value": "bpmn:ServiceTask"
1442
- },
1443
- "groups": [
1444
- {
1445
- "id": "authentication",
1446
- "label": "Authentication"
1447
- },
1448
- {
1449
- "id": "sender",
1450
- "label": "Sender"
1451
- },
1452
- {
1453
- "id": "receiver",
1454
- "label": "Receiver"
1455
- },
1456
- {
1457
- "id": "content",
1458
- "label": "Compose email"
1459
- },
1460
- {
1461
- "id": "errors",
1462
- "label": "Error handling"
1463
- }
1464
- ],
1465
- "properties": [
1466
- {
1467
- "type": "Hidden",
1468
- "value": "io.camunda:sendgrid:1",
1469
- "binding": {
1470
- "type": "zeebe:taskDefinition",
1471
- "property": "type"
1472
- }
1473
- },
1474
- {
1475
- "label": "SendGrid API key",
1476
- "group": "authentication",
1477
- "type": "String",
1478
- "feel": "optional",
1479
- "binding": {
1480
- "type": "zeebe:input",
1481
- "name": "apiKey"
1482
- },
1483
- "constraints": {
1484
- "notEmpty": true
1485
- }
1486
- },
1487
- {
1488
- "label": "Name",
1489
- "group": "sender",
1490
- "type": "String",
1491
- "feel": "optional",
1492
- "binding": {
1493
- "type": "zeebe:input",
1494
- "name": "from.name"
1495
- },
1496
- "constraints": {
1497
- "notEmpty": true
1498
- }
1499
- },
1500
- {
1501
- "label": "Email address",
1502
- "group": "sender",
1503
- "type": "String",
1504
- "feel": "optional",
1505
- "binding": {
1506
- "type": "zeebe:input",
1507
- "name": "from.email"
1508
- },
1509
- "constraints": {
1510
- "notEmpty": true
1511
- }
1512
- },
1513
- {
1514
- "label": "Name",
1515
- "group": "receiver",
1516
- "type": "String",
1517
- "feel": "optional",
1518
- "binding": {
1519
- "type": "zeebe:input",
1520
- "name": "to.name"
1521
- },
1522
- "constraints": {
1523
- "notEmpty": true
1524
- }
1525
- },
1526
- {
1527
- "label": "Email address",
1528
- "group": "receiver",
1529
- "type": "String",
1530
- "feel": "optional",
1531
- "binding": {
1532
- "type": "zeebe:input",
1533
- "name": "to.email"
1534
- },
1535
- "constraints": {
1536
- "notEmpty": true
1537
- }
1538
- },
1539
- {
1540
- "id": "mailType",
1541
- "group": "content",
1542
- "value": "mail",
1543
- "type": "Dropdown",
1544
- "choices": [
1545
- {
1546
- "name": "Simple (no dynamic template)",
1547
- "value": "mail"
1548
- },
1549
- {
1550
- "name": "Using dynamic template",
1551
- "value": "byTemplate"
1552
- }
1553
- ],
1554
- "binding": {
1555
- "type": "zeebe:input",
1556
- "name": "unMappedFieldNotUseInModel.mailType"
1557
- }
1558
- },
1559
- {
1560
- "label": "Subject",
1561
- "group": "content",
1562
- "type": "String",
1563
- "feel": "optional",
1564
- "binding": {
1565
- "type": "zeebe:input",
1566
- "name": "content.subject"
1567
- },
1568
- "constraints": {
1569
- "notEmpty": true
1570
- },
1571
- "condition": {
1572
- "property": "mailType",
1573
- "equals": "mail"
1574
- }
1575
- },
1576
- {
1577
- "label": "Content type",
1578
- "group": "content",
1579
- "type": "String",
1580
- "feel": "optional",
1581
- "value": "text/plain",
1582
- "binding": {
1583
- "type": "zeebe:input",
1584
- "name": "content.type"
1585
- },
1586
- "constraints": {
1587
- "notEmpty": true
1588
- },
1589
- "condition": {
1590
- "property": "mailType",
1591
- "equals": "mail"
1592
- }
1593
- },
1594
- {
1595
- "label": "Body",
1596
- "group": "content",
1597
- "type": "Text",
1598
- "feel": "optional",
1599
- "binding": {
1600
- "type": "zeebe:input",
1601
- "name": "content.value"
1602
- },
1603
- "constraints": {
1604
- "notEmpty": true
1605
- },
1606
- "condition": {
1607
- "property": "mailType",
1608
- "equals": "mail"
1609
- }
1610
- },
1611
- {
1612
- "label": "Template ID",
1613
- "group": "content",
1614
- "type": "String",
1615
- "feel": "optional",
1616
- "binding": {
1617
- "type": "zeebe:input",
1618
- "name": "template.id"
1619
- },
1620
- "constraints": {
1621
- "notEmpty": true
1622
- },
1623
- "condition": {
1624
- "property": "mailType",
1625
- "equals": "byTemplate"
1626
- }
1627
- },
1628
- {
1629
- "label": "Template data",
1630
- "group": "content",
1631
- "type": "Text",
1632
- "feel": "required",
1633
- "binding": {
1634
- "type": "zeebe:input",
1635
- "name": "template.data"
1636
- },
1637
- "constraints": {
1638
- "notEmpty": true
1639
- },
1640
- "condition": {
1641
- "property": "mailType",
1642
- "equals": "byTemplate"
1643
- }
1644
- },
1645
- {
1646
- "label": "Error expression",
1647
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1648
- "group": "errors",
1649
- "type": "Text",
1650
- "feel": "required",
1651
- "binding": {
1652
- "type": "zeebe:taskHeader",
1653
- "key": "errorExpression"
1654
- }
1655
- }
1656
- ],
1657
- "engines": {
1658
- "camunda": "^8.2"
1659
- }
1660
- },
1661
1661
  {
1662
1662
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1663
1663
  "name": "SendGrid Outbound Connector",