@camunda/connectors-element-templates 1.0.5 → 1.0.6

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 (84) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +2 -0
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +170 -13
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1596 -389
  5. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  6. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  7. package/src/element-templates/asana-connector.json +104 -104
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +1207 -1201
  9. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +1404 -1404
  11. package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
  12. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  13. package/src/element-templates/aws-eventbridge-connector-start-event.json +13 -10
  14. package/src/element-templates/aws-eventbridge-outbound-connector.json +474 -474
  15. package/src/element-templates/aws-lambda-outbound-connector.json +51 -51
  16. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  17. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  18. package/src/element-templates/aws-sns-inbound-boundary.json +283 -283
  19. package/src/element-templates/aws-sns-inbound-intermediate.json +467 -467
  20. package/src/element-templates/aws-sns-inbound-message-start.json +98 -98
  21. package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
  22. package/src/element-templates/aws-sns-outbound-connector.json +719 -719
  23. package/src/element-templates/aws-sqs-boundary-connector.json +420 -420
  24. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +958 -958
  25. package/src/element-templates/aws-sqs-outbound-connector.json +421 -421
  26. package/src/element-templates/aws-sqs-start-event-connector.json +388 -388
  27. package/src/element-templates/aws-sqs-start-message.json +463 -463
  28. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  29. package/src/element-templates/azure-open-ai-connector.json +32 -32
  30. package/src/element-templates/blue-prism-connector.json +57 -57
  31. package/src/element-templates/box-outbound-connector.json +30 -30
  32. package/src/element-templates/csv-outbound-connector.json +392 -0
  33. package/src/element-templates/easy-post-connector.json +269 -269
  34. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  35. package/src/element-templates/email-outbound-connector.json +231 -231
  36. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3473 -150
  37. package/src/element-templates/github-connector.json +2930 -2930
  38. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  39. package/src/element-templates/github-webhook-connector-intermediate.json +35 -35
  40. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  41. package/src/element-templates/github-webhook-connector-start-event.json +35 -32
  42. package/src/element-templates/gitlab-connector.json +1561 -1561
  43. package/src/element-templates/google-drive-outbound-connector.json +363 -363
  44. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  45. package/src/element-templates/google-maps-platform-connector.json +76 -76
  46. package/src/element-templates/google-sheets-outbound-connector.json +1177 -1177
  47. package/src/element-templates/graphql-outbound-connector.json +1182 -1182
  48. package/src/element-templates/http-json-connector.json +2332 -2332
  49. package/src/element-templates/http-polling-boundary-catch-event-connector.json +261 -558
  50. package/src/element-templates/http-polling-connector.json +259 -556
  51. package/src/element-templates/hugging-face-connector.json +34 -34
  52. package/src/element-templates/jdbc-outbound-connector.json +404 -2
  53. package/src/element-templates/kafka-inbound-connector-boundary.json +624 -624
  54. package/src/element-templates/kafka-inbound-connector-intermediate.json +1018 -1018
  55. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  56. package/src/element-templates/kafka-inbound-connector.json +240 -237
  57. package/src/element-templates/kafka-outbound-connector.json +588 -588
  58. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  59. package/src/element-templates/microsoft-teams-outbound-connector.json +3730 -3730
  60. package/src/element-templates/openai-connector.json +117 -117
  61. package/src/element-templates/operate-connector.json +68 -68
  62. package/src/element-templates/power-automate-connector.json +12 -12
  63. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +437 -437
  64. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +581 -581
  65. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +451 -451
  66. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +354 -354
  67. package/src/element-templates/rabbitmq-outbound-connector.json +666 -666
  68. package/src/element-templates/salesforce-connector.json +40 -40
  69. package/src/element-templates/sendgrid-outbound-connector.json +487 -487
  70. package/src/element-templates/slack-inbound-boundary.json +301 -301
  71. package/src/element-templates/slack-inbound-intermediate.json +307 -307
  72. package/src/element-templates/slack-inbound-message-start.json +350 -350
  73. package/src/element-templates/slack-inbound-start-event.json +213 -210
  74. package/src/element-templates/slack-outbound-connector.json +739 -739
  75. package/src/element-templates/twilio-connector.json +88 -88
  76. package/src/element-templates/twilio-webhook-connector.json +13 -10
  77. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  78. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  79. package/src/element-templates/uipath-connector.json +49 -49
  80. package/src/element-templates/webhook-connector-boundary.json +1644 -1644
  81. package/src/element-templates/webhook-connector-intermediate.json +972 -972
  82. package/src/element-templates/webhook-connector-start-event.json +556 -553
  83. package/src/element-templates/webhook-connector-start-message.json +33 -33
  84. package/src/element-templates/whatsapp-connector.json +6 -6
@@ -8,7 +8,7 @@
8
8
  "keywords": []
9
9
  },
10
10
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
11
- "version": 4,
11
+ "version": 5,
12
12
  "category": {
13
13
  "id": "connectors",
14
14
  "name": "Connectors"
@@ -37,6 +37,10 @@
37
37
  "id": "content",
38
38
  "label": "Compose email"
39
39
  },
40
+ {
41
+ "id": "connector",
42
+ "label": "Connector"
43
+ },
40
44
  {
41
45
  "id": "output",
42
46
  "label": "Output mapping"
@@ -269,6 +273,30 @@
269
273
  },
270
274
  "type": "String"
271
275
  },
276
+ {
277
+ "id": "version",
278
+ "label": "Version",
279
+ "description": "Version of the element template",
280
+ "value": "5",
281
+ "group": "connector",
282
+ "binding": {
283
+ "key": "elementTemplateVersion",
284
+ "type": "zeebe:taskHeader"
285
+ },
286
+ "type": "Hidden"
287
+ },
288
+ {
289
+ "id": "id",
290
+ "label": "ID",
291
+ "description": "ID of the element template",
292
+ "value": "io.camunda.connectors.SendGrid.v2",
293
+ "group": "connector",
294
+ "binding": {
295
+ "key": "elementTemplateId",
296
+ "type": "zeebe:taskHeader"
297
+ },
298
+ "type": "Hidden"
299
+ },
272
300
  {
273
301
  "id": "resultVariable",
274
302
  "label": "Result variable",
@@ -336,9 +364,12 @@
336
364
  },
337
365
  {
338
366
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
339
- "name": "SendGrid Outbound Connector",
367
+ "name": "SendGrid connector",
340
368
  "id": "io.camunda.connectors.SendGrid.v2",
341
- "version": 2,
369
+ "deprecated": {
370
+ "message": "Replace with 'SendGrid connector' template.",
371
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
372
+ },
342
373
  "description": "Send an email via SendGrid",
343
374
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
344
375
  "icon": {
@@ -565,21 +596,21 @@
565
596
  "key": "errorExpression"
566
597
  }
567
598
  }
568
- ],
569
- "engines": {
570
- "camunda": "^8.2"
571
- }
599
+ ]
572
600
  },
573
601
  {
574
602
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
575
- "name": "SendGrid connector",
576
- "id": "io.camunda.connectors.SendGrid.v2",
577
- "version": 1,
578
- "description": "Send an email via SendGrid",
579
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
603
+ "name": "SendGrid: Send Email",
604
+ "id": "io.camunda.connectors.SendGrid.v1.content",
605
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
606
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
580
607
  "icon": {
581
608
  "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"
582
609
  },
610
+ "deprecated": {
611
+ "message": "Replace with 'SendGrid Connector' template.",
612
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
613
+ },
583
614
  "category": {
584
615
  "id": "connectors",
585
616
  "name": "Connectors"
@@ -590,8 +621,8 @@
590
621
  },
591
622
  "groups": [
592
623
  {
593
- "id": "authentication",
594
- "label": "Authentication"
624
+ "id": "sendgrid",
625
+ "label": "SendGrid API"
595
626
  },
596
627
  {
597
628
  "id": "sender",
@@ -603,11 +634,7 @@
603
634
  },
604
635
  {
605
636
  "id": "content",
606
- "label": "Compose email"
607
- },
608
- {
609
- "id": "errors",
610
- "label": "Error handling"
637
+ "label": "Email Content"
611
638
  }
612
639
  ],
613
640
  "properties": [
@@ -620,8 +647,8 @@
620
647
  }
621
648
  },
622
649
  {
623
- "label": "SendGrid API key",
624
- "group": "authentication",
650
+ "label": "SendGrid API Key",
651
+ "group": "sendgrid",
625
652
  "type": "String",
626
653
  "feel": "optional",
627
654
  "binding": {
@@ -646,7 +673,7 @@
646
673
  }
647
674
  },
648
675
  {
649
- "label": "Email address",
676
+ "label": "Email Address",
650
677
  "group": "sender",
651
678
  "type": "String",
652
679
  "feel": "optional",
@@ -672,7 +699,7 @@
672
699
  }
673
700
  },
674
701
  {
675
- "label": "Email address",
702
+ "label": "Email Address",
676
703
  "group": "receiver",
677
704
  "type": "String",
678
705
  "feel": "optional",
@@ -684,26 +711,6 @@
684
711
  "notEmpty": true
685
712
  }
686
713
  },
687
- {
688
- "id": "mailType",
689
- "group": "content",
690
- "value": "mail",
691
- "type": "Dropdown",
692
- "choices": [
693
- {
694
- "name": "Simple (no dynamic template)",
695
- "value": "mail"
696
- },
697
- {
698
- "name": "Using dynamic template",
699
- "value": "byTemplate"
700
- }
701
- ],
702
- "binding": {
703
- "type": "zeebe:input",
704
- "name": "unMappedFieldNotUseInModel.mailType"
705
- }
706
- },
707
714
  {
708
715
  "label": "Subject",
709
716
  "group": "content",
@@ -715,14 +722,10 @@
715
722
  },
716
723
  "constraints": {
717
724
  "notEmpty": true
718
- },
719
- "condition": {
720
- "property": "mailType",
721
- "equals": "mail"
722
725
  }
723
726
  },
724
727
  {
725
- "label": "Content type",
728
+ "label": "Content Type",
726
729
  "group": "content",
727
730
  "type": "String",
728
731
  "feel": "optional",
@@ -733,10 +736,6 @@
733
736
  },
734
737
  "constraints": {
735
738
  "notEmpty": true
736
- },
737
- "condition": {
738
- "property": "mailType",
739
- "equals": "mail"
740
739
  }
741
740
  },
742
741
  {
@@ -750,75 +749,17 @@
750
749
  },
751
750
  "constraints": {
752
751
  "notEmpty": true
753
- },
754
- "condition": {
755
- "property": "mailType",
756
- "equals": "mail"
757
- }
758
- },
759
- {
760
- "label": "Template ID",
761
- "group": "content",
762
- "type": "String",
763
- "feel": "optional",
764
- "binding": {
765
- "type": "zeebe:input",
766
- "name": "template.id"
767
- },
768
- "constraints": {
769
- "notEmpty": true
770
- },
771
- "condition": {
772
- "property": "mailType",
773
- "equals": "byTemplate"
774
- }
775
- },
776
- {
777
- "label": "Template data",
778
- "group": "content",
779
- "type": "Text",
780
- "feel": "required",
781
- "binding": {
782
- "type": "zeebe:input",
783
- "name": "template.data"
784
- },
785
- "constraints": {
786
- "notEmpty": true
787
- },
788
- "condition": {
789
- "property": "mailType",
790
- "equals": "byTemplate"
791
- }
792
- },
793
- {
794
- "label": "Error expression",
795
- "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>",
796
- "group": "errors",
797
- "type": "Text",
798
- "feel": "required",
799
- "binding": {
800
- "type": "zeebe:taskHeader",
801
- "key": "errorExpression"
802
752
  }
803
753
  }
804
- ],
805
- "engines": {
806
- "camunda": "^8.2"
807
- }
754
+ ]
808
755
  },
809
756
  {
810
757
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
811
- "name": "SendGrid: Send Email",
812
- "id": "io.camunda.connectors.SendGrid.v1.content",
813
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
814
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
815
- "icon": {
816
- "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"
817
- },
818
- "deprecated": {
819
- "message": "Replace with 'SendGrid Connector' template.",
820
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
821
- },
758
+ "name": "SendGrid Outbound Connector",
759
+ "id": "io.camunda.connectors.SendGrid.v2",
760
+ "description": "Send an email via SendGrid",
761
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
762
+ "version": 3,
822
763
  "category": {
823
764
  "id": "connectors",
824
765
  "name": "Connectors"
@@ -829,8 +770,8 @@
829
770
  },
830
771
  "groups": [
831
772
  {
832
- "id": "sendgrid",
833
- "label": "SendGrid API"
773
+ "id": "authentication",
774
+ "label": "Authentication"
834
775
  },
835
776
  {
836
777
  "id": "sender",
@@ -842,226 +783,77 @@
842
783
  },
843
784
  {
844
785
  "id": "content",
845
- "label": "Email Content"
786
+ "label": "Compose email"
787
+ },
788
+ {
789
+ "id": "output",
790
+ "label": "Output mapping"
791
+ },
792
+ {
793
+ "id": "error",
794
+ "label": "Error handling"
795
+ },
796
+ {
797
+ "id": "retries",
798
+ "label": "Retries"
846
799
  }
847
800
  ],
848
801
  "properties": [
849
802
  {
850
- "type": "Hidden",
851
803
  "value": "io.camunda:sendgrid:1",
852
804
  "binding": {
853
- "type": "zeebe:taskDefinition",
854
- "property": "type"
855
- }
805
+ "property": "type",
806
+ "type": "zeebe:taskDefinition"
807
+ },
808
+ "type": "Hidden"
856
809
  },
857
810
  {
858
- "label": "SendGrid API Key",
859
- "group": "sendgrid",
860
- "type": "String",
811
+ "id": "apiKey",
812
+ "label": "SendGrid API key",
813
+ "optional": false,
814
+ "constraints": {
815
+ "notEmpty": true
816
+ },
861
817
  "feel": "optional",
818
+ "group": "authentication",
862
819
  "binding": {
863
- "type": "zeebe:input",
864
- "name": "apiKey"
820
+ "name": "apiKey",
821
+ "type": "zeebe:input"
865
822
  },
866
- "constraints": {
867
- "notEmpty": true
868
- }
823
+ "type": "String"
869
824
  },
870
825
  {
826
+ "id": "from.name",
871
827
  "label": "Name",
872
- "group": "sender",
873
- "type": "String",
828
+ "optional": false,
829
+ "constraints": {
830
+ "notEmpty": true
831
+ },
874
832
  "feel": "optional",
833
+ "group": "sender",
875
834
  "binding": {
876
- "type": "zeebe:input",
877
- "name": "from.name"
835
+ "name": "from.name",
836
+ "type": "zeebe:input"
878
837
  },
879
- "constraints": {
880
- "notEmpty": true
881
- }
838
+ "type": "String"
882
839
  },
883
840
  {
884
- "label": "Email Address",
885
- "group": "sender",
886
- "type": "String",
841
+ "id": "from.email",
842
+ "label": "Email address",
843
+ "optional": false,
844
+ "constraints": {
845
+ "notEmpty": true
846
+ },
887
847
  "feel": "optional",
848
+ "group": "sender",
888
849
  "binding": {
889
- "type": "zeebe:input",
890
- "name": "from.email"
850
+ "name": "from.email",
851
+ "type": "zeebe:input"
891
852
  },
892
- "constraints": {
893
- "notEmpty": true
894
- }
853
+ "type": "String"
895
854
  },
896
855
  {
897
- "label": "Name",
898
- "group": "receiver",
899
- "type": "String",
900
- "feel": "optional",
901
- "binding": {
902
- "type": "zeebe:input",
903
- "name": "to.name"
904
- },
905
- "constraints": {
906
- "notEmpty": true
907
- }
908
- },
909
- {
910
- "label": "Email Address",
911
- "group": "receiver",
912
- "type": "String",
913
- "feel": "optional",
914
- "binding": {
915
- "type": "zeebe:input",
916
- "name": "to.email"
917
- },
918
- "constraints": {
919
- "notEmpty": true
920
- }
921
- },
922
- {
923
- "label": "Subject",
924
- "group": "content",
925
- "type": "String",
926
- "feel": "optional",
927
- "binding": {
928
- "type": "zeebe:input",
929
- "name": "content.subject"
930
- },
931
- "constraints": {
932
- "notEmpty": true
933
- }
934
- },
935
- {
936
- "label": "Content Type",
937
- "group": "content",
938
- "type": "String",
939
- "feel": "optional",
940
- "value": "text/plain",
941
- "binding": {
942
- "type": "zeebe:input",
943
- "name": "content.type"
944
- },
945
- "constraints": {
946
- "notEmpty": true
947
- }
948
- },
949
- {
950
- "label": "Body",
951
- "group": "content",
952
- "type": "Text",
953
- "feel": "optional",
954
- "binding": {
955
- "type": "zeebe:input",
956
- "name": "content.value"
957
- },
958
- "constraints": {
959
- "notEmpty": true
960
- }
961
- }
962
- ]
963
- },
964
- {
965
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
966
- "name": "SendGrid Outbound Connector",
967
- "id": "io.camunda.connectors.SendGrid.v2",
968
- "description": "Send an email via SendGrid",
969
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
970
- "version": 3,
971
- "category": {
972
- "id": "connectors",
973
- "name": "Connectors"
974
- },
975
- "appliesTo": ["bpmn:Task"],
976
- "elementType": {
977
- "value": "bpmn:ServiceTask"
978
- },
979
- "groups": [
980
- {
981
- "id": "authentication",
982
- "label": "Authentication"
983
- },
984
- {
985
- "id": "sender",
986
- "label": "Sender"
987
- },
988
- {
989
- "id": "receiver",
990
- "label": "Receiver"
991
- },
992
- {
993
- "id": "content",
994
- "label": "Compose email"
995
- },
996
- {
997
- "id": "output",
998
- "label": "Output mapping"
999
- },
1000
- {
1001
- "id": "error",
1002
- "label": "Error handling"
1003
- },
1004
- {
1005
- "id": "retries",
1006
- "label": "Retries"
1007
- }
1008
- ],
1009
- "properties": [
1010
- {
1011
- "value": "io.camunda:sendgrid:1",
1012
- "binding": {
1013
- "property": "type",
1014
- "type": "zeebe:taskDefinition"
1015
- },
1016
- "type": "Hidden"
1017
- },
1018
- {
1019
- "id": "apiKey",
1020
- "label": "SendGrid API key",
1021
- "optional": false,
1022
- "constraints": {
1023
- "notEmpty": true
1024
- },
1025
- "feel": "optional",
1026
- "group": "authentication",
1027
- "binding": {
1028
- "name": "apiKey",
1029
- "type": "zeebe:input"
1030
- },
1031
- "type": "String"
1032
- },
1033
- {
1034
- "id": "from.name",
1035
- "label": "Name",
1036
- "optional": false,
1037
- "constraints": {
1038
- "notEmpty": true
1039
- },
1040
- "feel": "optional",
1041
- "group": "sender",
1042
- "binding": {
1043
- "name": "from.name",
1044
- "type": "zeebe:input"
1045
- },
1046
- "type": "String"
1047
- },
1048
- {
1049
- "id": "from.email",
1050
- "label": "Email address",
1051
- "optional": false,
1052
- "constraints": {
1053
- "notEmpty": true
1054
- },
1055
- "feel": "optional",
1056
- "group": "sender",
1057
- "binding": {
1058
- "name": "from.email",
1059
- "type": "zeebe:input"
1060
- },
1061
- "type": "String"
1062
- },
1063
- {
1064
- "id": "to.name",
856
+ "id": "to.name",
1065
857
  "label": "Name",
1066
858
  "optional": false,
1067
859
  "constraints": {
@@ -1283,17 +1075,14 @@
1283
1075
  },
1284
1076
  {
1285
1077
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1286
- "name": "SendGrid: Send Email via Template",
1287
- "id": "io.camunda.connectors.SendGrid.v1.template",
1288
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1289
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1078
+ "name": "SendGrid connector",
1079
+ "id": "io.camunda.connectors.SendGrid.v2",
1080
+ "version": 1,
1081
+ "description": "Send an email via SendGrid",
1082
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1290
1083
  "icon": {
1291
1084
  "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"
1292
1085
  },
1293
- "deprecated": {
1294
- "message": "Replace with 'SendGrid Connector' template.",
1295
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1296
- },
1297
1086
  "category": {
1298
1087
  "id": "connectors",
1299
1088
  "name": "Connectors"
@@ -1304,8 +1093,8 @@
1304
1093
  },
1305
1094
  "groups": [
1306
1095
  {
1307
- "id": "sendgrid",
1308
- "label": "SendGrid API"
1096
+ "id": "authentication",
1097
+ "label": "Authentication"
1309
1098
  },
1310
1099
  {
1311
1100
  "id": "sender",
@@ -1316,8 +1105,12 @@
1316
1105
  "label": "Receiver"
1317
1106
  },
1318
1107
  {
1319
- "id": "template",
1320
- "label": "Dynamic Email Template"
1108
+ "id": "content",
1109
+ "label": "Compose email"
1110
+ },
1111
+ {
1112
+ "id": "errors",
1113
+ "label": "Error handling"
1321
1114
  }
1322
1115
  ],
1323
1116
  "properties": [
@@ -1330,8 +1123,8 @@
1330
1123
  }
1331
1124
  },
1332
1125
  {
1333
- "label": "SendGrid API Key",
1334
- "group": "sendgrid",
1126
+ "label": "SendGrid API key",
1127
+ "group": "authentication",
1335
1128
  "type": "String",
1336
1129
  "feel": "optional",
1337
1130
  "binding": {
@@ -1356,7 +1149,7 @@
1356
1149
  }
1357
1150
  },
1358
1151
  {
1359
- "label": "Email Address",
1152
+ "label": "Email address",
1360
1153
  "group": "sender",
1361
1154
  "type": "String",
1362
1155
  "feel": "optional",
@@ -1382,7 +1175,7 @@
1382
1175
  }
1383
1176
  },
1384
1177
  {
1385
- "label": "Email Address",
1178
+ "label": "Email address",
1386
1179
  "group": "receiver",
1387
1180
  "type": "String",
1388
1181
  "feel": "optional",
@@ -1395,46 +1188,140 @@
1395
1188
  }
1396
1189
  },
1397
1190
  {
1398
- "label": "Template ID",
1399
- "group": "template",
1191
+ "id": "mailType",
1192
+ "group": "content",
1193
+ "value": "mail",
1194
+ "type": "Dropdown",
1195
+ "choices": [
1196
+ {
1197
+ "name": "Simple (no dynamic template)",
1198
+ "value": "mail"
1199
+ },
1200
+ {
1201
+ "name": "Using dynamic template",
1202
+ "value": "byTemplate"
1203
+ }
1204
+ ],
1205
+ "binding": {
1206
+ "type": "zeebe:input",
1207
+ "name": "unMappedFieldNotUseInModel.mailType"
1208
+ }
1209
+ },
1210
+ {
1211
+ "label": "Subject",
1212
+ "group": "content",
1400
1213
  "type": "String",
1401
1214
  "feel": "optional",
1402
1215
  "binding": {
1403
1216
  "type": "zeebe:input",
1404
- "name": "template.id"
1217
+ "name": "content.subject"
1405
1218
  },
1406
1219
  "constraints": {
1407
1220
  "notEmpty": true
1221
+ },
1222
+ "condition": {
1223
+ "property": "mailType",
1224
+ "equals": "mail"
1408
1225
  }
1409
1226
  },
1410
1227
  {
1411
- "label": "Template Data",
1412
- "group": "template",
1413
- "type": "Text",
1414
- "feel": "required",
1228
+ "label": "Content type",
1229
+ "group": "content",
1230
+ "type": "String",
1231
+ "feel": "optional",
1232
+ "value": "text/plain",
1415
1233
  "binding": {
1416
1234
  "type": "zeebe:input",
1417
- "name": "template.data"
1235
+ "name": "content.type"
1418
1236
  },
1419
1237
  "constraints": {
1420
1238
  "notEmpty": true
1239
+ },
1240
+ "condition": {
1241
+ "property": "mailType",
1242
+ "equals": "mail"
1421
1243
  }
1422
- }
1423
- ]
1424
- },
1425
- {
1426
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1427
- "name": "SendGrid connector",
1428
- "id": "io.camunda.connectors.SendGrid.v2",
1429
- "deprecated": {
1430
- "message": "Replace with 'SendGrid connector' template.",
1431
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1432
- },
1433
- "description": "Send an email via SendGrid",
1434
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1435
- "icon": {
1244
+ },
1245
+ {
1246
+ "label": "Body",
1247
+ "group": "content",
1248
+ "type": "Text",
1249
+ "feel": "optional",
1250
+ "binding": {
1251
+ "type": "zeebe:input",
1252
+ "name": "content.value"
1253
+ },
1254
+ "constraints": {
1255
+ "notEmpty": true
1256
+ },
1257
+ "condition": {
1258
+ "property": "mailType",
1259
+ "equals": "mail"
1260
+ }
1261
+ },
1262
+ {
1263
+ "label": "Template ID",
1264
+ "group": "content",
1265
+ "type": "String",
1266
+ "feel": "optional",
1267
+ "binding": {
1268
+ "type": "zeebe:input",
1269
+ "name": "template.id"
1270
+ },
1271
+ "constraints": {
1272
+ "notEmpty": true
1273
+ },
1274
+ "condition": {
1275
+ "property": "mailType",
1276
+ "equals": "byTemplate"
1277
+ }
1278
+ },
1279
+ {
1280
+ "label": "Template data",
1281
+ "group": "content",
1282
+ "type": "Text",
1283
+ "feel": "required",
1284
+ "binding": {
1285
+ "type": "zeebe:input",
1286
+ "name": "template.data"
1287
+ },
1288
+ "constraints": {
1289
+ "notEmpty": true
1290
+ },
1291
+ "condition": {
1292
+ "property": "mailType",
1293
+ "equals": "byTemplate"
1294
+ }
1295
+ },
1296
+ {
1297
+ "label": "Error expression",
1298
+ "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>",
1299
+ "group": "errors",
1300
+ "type": "Text",
1301
+ "feel": "required",
1302
+ "binding": {
1303
+ "type": "zeebe:taskHeader",
1304
+ "key": "errorExpression"
1305
+ }
1306
+ }
1307
+ ],
1308
+ "engines": {
1309
+ "camunda": "^8.2"
1310
+ }
1311
+ },
1312
+ {
1313
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1314
+ "name": "SendGrid: Send Email via Template",
1315
+ "id": "io.camunda.connectors.SendGrid.v1.template",
1316
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1317
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1318
+ "icon": {
1436
1319
  "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"
1437
1320
  },
1321
+ "deprecated": {
1322
+ "message": "Replace with 'SendGrid Connector' template.",
1323
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1324
+ },
1438
1325
  "category": {
1439
1326
  "id": "connectors",
1440
1327
  "name": "Connectors"
@@ -1445,8 +1332,8 @@
1445
1332
  },
1446
1333
  "groups": [
1447
1334
  {
1448
- "id": "authentication",
1449
- "label": "Authentication"
1335
+ "id": "sendgrid",
1336
+ "label": "SendGrid API"
1450
1337
  },
1451
1338
  {
1452
1339
  "id": "sender",
@@ -1457,12 +1344,8 @@
1457
1344
  "label": "Receiver"
1458
1345
  },
1459
1346
  {
1460
- "id": "content",
1461
- "label": "Compose email"
1462
- },
1463
- {
1464
- "id": "errors",
1465
- "label": "Error handling"
1347
+ "id": "template",
1348
+ "label": "Dynamic Email Template"
1466
1349
  }
1467
1350
  ],
1468
1351
  "properties": [
@@ -1475,8 +1358,8 @@
1475
1358
  }
1476
1359
  },
1477
1360
  {
1478
- "label": "SendGrid API key",
1479
- "group": "authentication",
1361
+ "label": "SendGrid API Key",
1362
+ "group": "sendgrid",
1480
1363
  "type": "String",
1481
1364
  "feel": "optional",
1482
1365
  "binding": {
@@ -1501,7 +1384,7 @@
1501
1384
  }
1502
1385
  },
1503
1386
  {
1504
- "label": "Email address",
1387
+ "label": "Email Address",
1505
1388
  "group": "sender",
1506
1389
  "type": "String",
1507
1390
  "feel": "optional",
@@ -1527,7 +1410,7 @@
1527
1410
  }
1528
1411
  },
1529
1412
  {
1530
- "label": "Email address",
1413
+ "label": "Email Address",
1531
1414
  "group": "receiver",
1532
1415
  "type": "String",
1533
1416
  "feel": "optional",
@@ -1539,81 +1422,9 @@
1539
1422
  "notEmpty": true
1540
1423
  }
1541
1424
  },
1542
- {
1543
- "id": "mailType",
1544
- "group": "content",
1545
- "value": "mail",
1546
- "type": "Dropdown",
1547
- "choices": [
1548
- {
1549
- "name": "Simple (no dynamic template)",
1550
- "value": "mail"
1551
- },
1552
- {
1553
- "name": "Using dynamic template",
1554
- "value": "byTemplate"
1555
- }
1556
- ],
1557
- "binding": {
1558
- "type": "zeebe:input",
1559
- "name": "unMappedFieldNotUseInModel.mailType"
1560
- }
1561
- },
1562
- {
1563
- "label": "Subject",
1564
- "group": "content",
1565
- "type": "String",
1566
- "feel": "optional",
1567
- "binding": {
1568
- "type": "zeebe:input",
1569
- "name": "content.subject"
1570
- },
1571
- "constraints": {
1572
- "notEmpty": true
1573
- },
1574
- "condition": {
1575
- "property": "mailType",
1576
- "equals": "mail"
1577
- }
1578
- },
1579
- {
1580
- "label": "Content type",
1581
- "group": "content",
1582
- "type": "String",
1583
- "feel": "optional",
1584
- "value": "text/plain",
1585
- "binding": {
1586
- "type": "zeebe:input",
1587
- "name": "content.type"
1588
- },
1589
- "constraints": {
1590
- "notEmpty": true
1591
- },
1592
- "condition": {
1593
- "property": "mailType",
1594
- "equals": "mail"
1595
- }
1596
- },
1597
- {
1598
- "label": "Body",
1599
- "group": "content",
1600
- "type": "Text",
1601
- "feel": "optional",
1602
- "binding": {
1603
- "type": "zeebe:input",
1604
- "name": "content.value"
1605
- },
1606
- "constraints": {
1607
- "notEmpty": true
1608
- },
1609
- "condition": {
1610
- "property": "mailType",
1611
- "equals": "mail"
1612
- }
1613
- },
1614
1425
  {
1615
1426
  "label": "Template ID",
1616
- "group": "content",
1427
+ "group": "template",
1617
1428
  "type": "String",
1618
1429
  "feel": "optional",
1619
1430
  "binding": {
@@ -1622,15 +1433,11 @@
1622
1433
  },
1623
1434
  "constraints": {
1624
1435
  "notEmpty": true
1625
- },
1626
- "condition": {
1627
- "property": "mailType",
1628
- "equals": "byTemplate"
1629
1436
  }
1630
1437
  },
1631
1438
  {
1632
- "label": "Template data",
1633
- "group": "content",
1439
+ "label": "Template Data",
1440
+ "group": "template",
1634
1441
  "type": "Text",
1635
1442
  "feel": "required",
1636
1443
  "binding": {
@@ -1639,21 +1446,6 @@
1639
1446
  },
1640
1447
  "constraints": {
1641
1448
  "notEmpty": true
1642
- },
1643
- "condition": {
1644
- "property": "mailType",
1645
- "equals": "byTemplate"
1646
- }
1647
- },
1648
- {
1649
- "label": "Error expression",
1650
- "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>",
1651
- "group": "errors",
1652
- "type": "Text",
1653
- "feel": "required",
1654
- "binding": {
1655
- "type": "zeebe:taskHeader",
1656
- "key": "errorExpression"
1657
1449
  }
1658
1450
  }
1659
1451
  ]
@@ -1667,7 +1459,7 @@
1667
1459
  "keywords": []
1668
1460
  },
1669
1461
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1670
- "version": 5,
1462
+ "version": 4,
1671
1463
  "category": {
1672
1464
  "id": "connectors",
1673
1465
  "name": "Connectors"
@@ -1696,10 +1488,6 @@
1696
1488
  "id": "content",
1697
1489
  "label": "Compose email"
1698
1490
  },
1699
- {
1700
- "id": "connector",
1701
- "label": "Connector"
1702
- },
1703
1491
  {
1704
1492
  "id": "output",
1705
1493
  "label": "Output mapping"
@@ -1932,30 +1720,6 @@
1932
1720
  },
1933
1721
  "type": "String"
1934
1722
  },
1935
- {
1936
- "id": "version",
1937
- "label": "Version",
1938
- "description": "Version of the element template",
1939
- "value": "5",
1940
- "group": "connector",
1941
- "binding": {
1942
- "key": "elementTemplateVersion",
1943
- "type": "zeebe:taskHeader"
1944
- },
1945
- "type": "Hidden"
1946
- },
1947
- {
1948
- "id": "id",
1949
- "label": "ID",
1950
- "description": "ID of the element template",
1951
- "value": "io.camunda.connectors.SendGrid.v2",
1952
- "group": "connector",
1953
- "binding": {
1954
- "key": "elementTemplateId",
1955
- "type": "zeebe:taskHeader"
1956
- },
1957
- "type": "Hidden"
1958
- },
1959
1723
  {
1960
1724
  "id": "resultVariable",
1961
1725
  "label": "Result variable",
@@ -2020,5 +1784,241 @@
2020
1784
  "icon": {
2021
1785
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
2022
1786
  }
1787
+ },
1788
+ {
1789
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1790
+ "name": "SendGrid Outbound Connector",
1791
+ "id": "io.camunda.connectors.SendGrid.v2",
1792
+ "version": 2,
1793
+ "description": "Send an email via SendGrid",
1794
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1795
+ "icon": {
1796
+ "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"
1797
+ },
1798
+ "category": {
1799
+ "id": "connectors",
1800
+ "name": "Connectors"
1801
+ },
1802
+ "appliesTo": ["bpmn:Task"],
1803
+ "elementType": {
1804
+ "value": "bpmn:ServiceTask"
1805
+ },
1806
+ "groups": [
1807
+ {
1808
+ "id": "authentication",
1809
+ "label": "Authentication"
1810
+ },
1811
+ {
1812
+ "id": "sender",
1813
+ "label": "Sender"
1814
+ },
1815
+ {
1816
+ "id": "receiver",
1817
+ "label": "Receiver"
1818
+ },
1819
+ {
1820
+ "id": "content",
1821
+ "label": "Compose email"
1822
+ },
1823
+ {
1824
+ "id": "errors",
1825
+ "label": "Error handling"
1826
+ }
1827
+ ],
1828
+ "properties": [
1829
+ {
1830
+ "type": "Hidden",
1831
+ "value": "io.camunda:sendgrid:1",
1832
+ "binding": {
1833
+ "type": "zeebe:taskDefinition",
1834
+ "property": "type"
1835
+ }
1836
+ },
1837
+ {
1838
+ "label": "SendGrid API key",
1839
+ "group": "authentication",
1840
+ "type": "String",
1841
+ "feel": "optional",
1842
+ "binding": {
1843
+ "type": "zeebe:input",
1844
+ "name": "apiKey"
1845
+ },
1846
+ "constraints": {
1847
+ "notEmpty": true
1848
+ }
1849
+ },
1850
+ {
1851
+ "label": "Name",
1852
+ "group": "sender",
1853
+ "type": "String",
1854
+ "feel": "optional",
1855
+ "binding": {
1856
+ "type": "zeebe:input",
1857
+ "name": "from.name"
1858
+ },
1859
+ "constraints": {
1860
+ "notEmpty": true
1861
+ }
1862
+ },
1863
+ {
1864
+ "label": "Email address",
1865
+ "group": "sender",
1866
+ "type": "String",
1867
+ "feel": "optional",
1868
+ "binding": {
1869
+ "type": "zeebe:input",
1870
+ "name": "from.email"
1871
+ },
1872
+ "constraints": {
1873
+ "notEmpty": true
1874
+ }
1875
+ },
1876
+ {
1877
+ "label": "Name",
1878
+ "group": "receiver",
1879
+ "type": "String",
1880
+ "feel": "optional",
1881
+ "binding": {
1882
+ "type": "zeebe:input",
1883
+ "name": "to.name"
1884
+ },
1885
+ "constraints": {
1886
+ "notEmpty": true
1887
+ }
1888
+ },
1889
+ {
1890
+ "label": "Email address",
1891
+ "group": "receiver",
1892
+ "type": "String",
1893
+ "feel": "optional",
1894
+ "binding": {
1895
+ "type": "zeebe:input",
1896
+ "name": "to.email"
1897
+ },
1898
+ "constraints": {
1899
+ "notEmpty": true
1900
+ }
1901
+ },
1902
+ {
1903
+ "id": "mailType",
1904
+ "group": "content",
1905
+ "value": "mail",
1906
+ "type": "Dropdown",
1907
+ "choices": [
1908
+ {
1909
+ "name": "Simple (no dynamic template)",
1910
+ "value": "mail"
1911
+ },
1912
+ {
1913
+ "name": "Using dynamic template",
1914
+ "value": "byTemplate"
1915
+ }
1916
+ ],
1917
+ "binding": {
1918
+ "type": "zeebe:input",
1919
+ "name": "unMappedFieldNotUseInModel.mailType"
1920
+ }
1921
+ },
1922
+ {
1923
+ "label": "Subject",
1924
+ "group": "content",
1925
+ "type": "String",
1926
+ "feel": "optional",
1927
+ "binding": {
1928
+ "type": "zeebe:input",
1929
+ "name": "content.subject"
1930
+ },
1931
+ "constraints": {
1932
+ "notEmpty": true
1933
+ },
1934
+ "condition": {
1935
+ "property": "mailType",
1936
+ "equals": "mail"
1937
+ }
1938
+ },
1939
+ {
1940
+ "label": "Content type",
1941
+ "group": "content",
1942
+ "type": "String",
1943
+ "feel": "optional",
1944
+ "value": "text/plain",
1945
+ "binding": {
1946
+ "type": "zeebe:input",
1947
+ "name": "content.type"
1948
+ },
1949
+ "constraints": {
1950
+ "notEmpty": true
1951
+ },
1952
+ "condition": {
1953
+ "property": "mailType",
1954
+ "equals": "mail"
1955
+ }
1956
+ },
1957
+ {
1958
+ "label": "Body",
1959
+ "group": "content",
1960
+ "type": "Text",
1961
+ "feel": "optional",
1962
+ "binding": {
1963
+ "type": "zeebe:input",
1964
+ "name": "content.value"
1965
+ },
1966
+ "constraints": {
1967
+ "notEmpty": true
1968
+ },
1969
+ "condition": {
1970
+ "property": "mailType",
1971
+ "equals": "mail"
1972
+ }
1973
+ },
1974
+ {
1975
+ "label": "Template ID",
1976
+ "group": "content",
1977
+ "type": "String",
1978
+ "feel": "optional",
1979
+ "binding": {
1980
+ "type": "zeebe:input",
1981
+ "name": "template.id"
1982
+ },
1983
+ "constraints": {
1984
+ "notEmpty": true
1985
+ },
1986
+ "condition": {
1987
+ "property": "mailType",
1988
+ "equals": "byTemplate"
1989
+ }
1990
+ },
1991
+ {
1992
+ "label": "Template data",
1993
+ "group": "content",
1994
+ "type": "Text",
1995
+ "feel": "required",
1996
+ "binding": {
1997
+ "type": "zeebe:input",
1998
+ "name": "template.data"
1999
+ },
2000
+ "constraints": {
2001
+ "notEmpty": true
2002
+ },
2003
+ "condition": {
2004
+ "property": "mailType",
2005
+ "equals": "byTemplate"
2006
+ }
2007
+ },
2008
+ {
2009
+ "label": "Error expression",
2010
+ "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>",
2011
+ "group": "errors",
2012
+ "type": "Text",
2013
+ "feel": "required",
2014
+ "binding": {
2015
+ "type": "zeebe:taskHeader",
2016
+ "key": "errorExpression"
2017
+ }
2018
+ }
2019
+ ],
2020
+ "engines": {
2021
+ "camunda": "^8.2"
2022
+ }
2023
2023
  }
2024
2024
  ]