@camunda/connectors-element-templates 1.0.6 → 1.0.7

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 (78) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +2 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +1 -0
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +1618 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1593 -36
  7. package/src/element-templates/asana-connector.json +99 -99
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +70 -70
  9. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +1423 -1423
  11. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  12. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  13. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  14. package/src/element-templates/aws-eventbridge-outbound-connector.json +475 -475
  15. package/src/element-templates/aws-lambda-outbound-connector.json +314 -314
  16. package/src/element-templates/aws-sns-inbound-boundary.json +193 -193
  17. package/src/element-templates/aws-sns-inbound-intermediate.json +229 -229
  18. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  19. package/src/element-templates/aws-sns-outbound-connector.json +362 -362
  20. package/src/element-templates/aws-sqs-boundary-connector.json +238 -238
  21. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +528 -528
  22. package/src/element-templates/aws-sqs-outbound-connector.json +393 -393
  23. package/src/element-templates/aws-sqs-start-event-connector.json +748 -748
  24. package/src/element-templates/aws-sqs-start-message.json +422 -422
  25. package/src/element-templates/azure-open-ai-connector.json +32 -32
  26. package/src/element-templates/blue-prism-connector.json +13 -13
  27. package/src/element-templates/box-outbound-connector.json +30 -30
  28. package/src/element-templates/csv-outbound-connector.json +412 -0
  29. package/src/element-templates/easy-post-connector.json +121 -121
  30. package/src/element-templates/email-message-start-event-connector.json +19 -19
  31. package/src/element-templates/email-outbound-connector.json +233 -233
  32. package/src/element-templates/embeddings-vector-database-outbound-connector.json +20 -35
  33. package/src/element-templates/github-connector.json +4988 -4988
  34. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  35. package/src/element-templates/github-webhook-connector-intermediate.json +24 -24
  36. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  37. package/src/element-templates/github-webhook-connector-start-event.json +34 -34
  38. package/src/element-templates/gitlab-connector.json +1185 -1185
  39. package/src/element-templates/google-drive-outbound-connector.json +759 -759
  40. package/src/element-templates/google-maps-platform-connector.json +75 -75
  41. package/src/element-templates/google-sheets-outbound-connector.json +1259 -1259
  42. package/src/element-templates/graphql-outbound-connector.json +573 -573
  43. package/src/element-templates/http-json-connector.json +1863 -1863
  44. package/src/element-templates/http-polling-boundary-catch-event-connector.json +7 -7
  45. package/src/element-templates/http-polling-connector.json +7 -7
  46. package/src/element-templates/jdbc-outbound-connector.json +36 -36
  47. package/src/element-templates/kafka-inbound-connector-boundary.json +432 -432
  48. package/src/element-templates/kafka-inbound-connector-intermediate.json +915 -915
  49. package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
  50. package/src/element-templates/kafka-inbound-connector.json +240 -240
  51. package/src/element-templates/kafka-outbound-connector.json +166 -166
  52. package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
  53. package/src/element-templates/microsoft-teams-outbound-connector.json +4368 -4368
  54. package/src/element-templates/openai-connector.json +173 -173
  55. package/src/element-templates/operate-connector.json +23 -19
  56. package/src/element-templates/power-automate-connector.json +4 -4
  57. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +431 -431
  58. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +440 -440
  59. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +461 -461
  60. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +487 -487
  61. package/src/element-templates/rabbitmq-outbound-connector.json +360 -360
  62. package/src/element-templates/salesforce-connector.json +10 -10
  63. package/src/element-templates/sendgrid-outbound-connector.json +484 -484
  64. package/src/element-templates/slack-inbound-boundary.json +362 -362
  65. package/src/element-templates/slack-inbound-intermediate.json +438 -438
  66. package/src/element-templates/slack-inbound-message-start.json +217 -217
  67. package/src/element-templates/slack-inbound-start-event.json +235 -235
  68. package/src/element-templates/slack-outbound-connector.json +895 -895
  69. package/src/element-templates/twilio-connector.json +67 -67
  70. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  71. package/src/element-templates/twilio-webhook-connector.json +10 -10
  72. package/src/element-templates/uipath-connector.json +41 -41
  73. package/src/element-templates/webhook-connector-boundary.json +1651 -1651
  74. package/src/element-templates/webhook-connector-intermediate.json +771 -771
  75. package/src/element-templates/webhook-connector-start-event.json +1630 -1630
  76. package/src/element-templates/webhook-connector-start-message.json +1251 -1251
  77. package/src/element-templates/whatsapp-connector.json +42 -42
  78. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -364,12 +364,164 @@
364
364
  },
365
365
  {
366
366
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
367
- "name": "SendGrid connector",
368
- "id": "io.camunda.connectors.SendGrid.v2",
367
+ "name": "SendGrid: Send Email",
368
+ "id": "io.camunda.connectors.SendGrid.v1.content",
369
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
370
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
371
+ "icon": {
372
+ "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"
373
+ },
369
374
  "deprecated": {
370
- "message": "Replace with 'SendGrid connector' template.",
375
+ "message": "Replace with 'SendGrid Connector' template.",
371
376
  "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
372
377
  },
378
+ "category": {
379
+ "id": "connectors",
380
+ "name": "Connectors"
381
+ },
382
+ "appliesTo": ["bpmn:Task"],
383
+ "elementType": {
384
+ "value": "bpmn:ServiceTask"
385
+ },
386
+ "groups": [
387
+ {
388
+ "id": "sendgrid",
389
+ "label": "SendGrid API"
390
+ },
391
+ {
392
+ "id": "sender",
393
+ "label": "Sender"
394
+ },
395
+ {
396
+ "id": "receiver",
397
+ "label": "Receiver"
398
+ },
399
+ {
400
+ "id": "content",
401
+ "label": "Email Content"
402
+ }
403
+ ],
404
+ "properties": [
405
+ {
406
+ "type": "Hidden",
407
+ "value": "io.camunda:sendgrid:1",
408
+ "binding": {
409
+ "type": "zeebe:taskDefinition",
410
+ "property": "type"
411
+ }
412
+ },
413
+ {
414
+ "label": "SendGrid API Key",
415
+ "group": "sendgrid",
416
+ "type": "String",
417
+ "feel": "optional",
418
+ "binding": {
419
+ "type": "zeebe:input",
420
+ "name": "apiKey"
421
+ },
422
+ "constraints": {
423
+ "notEmpty": true
424
+ }
425
+ },
426
+ {
427
+ "label": "Name",
428
+ "group": "sender",
429
+ "type": "String",
430
+ "feel": "optional",
431
+ "binding": {
432
+ "type": "zeebe:input",
433
+ "name": "from.name"
434
+ },
435
+ "constraints": {
436
+ "notEmpty": true
437
+ }
438
+ },
439
+ {
440
+ "label": "Email Address",
441
+ "group": "sender",
442
+ "type": "String",
443
+ "feel": "optional",
444
+ "binding": {
445
+ "type": "zeebe:input",
446
+ "name": "from.email"
447
+ },
448
+ "constraints": {
449
+ "notEmpty": true
450
+ }
451
+ },
452
+ {
453
+ "label": "Name",
454
+ "group": "receiver",
455
+ "type": "String",
456
+ "feel": "optional",
457
+ "binding": {
458
+ "type": "zeebe:input",
459
+ "name": "to.name"
460
+ },
461
+ "constraints": {
462
+ "notEmpty": true
463
+ }
464
+ },
465
+ {
466
+ "label": "Email Address",
467
+ "group": "receiver",
468
+ "type": "String",
469
+ "feel": "optional",
470
+ "binding": {
471
+ "type": "zeebe:input",
472
+ "name": "to.email"
473
+ },
474
+ "constraints": {
475
+ "notEmpty": true
476
+ }
477
+ },
478
+ {
479
+ "label": "Subject",
480
+ "group": "content",
481
+ "type": "String",
482
+ "feel": "optional",
483
+ "binding": {
484
+ "type": "zeebe:input",
485
+ "name": "content.subject"
486
+ },
487
+ "constraints": {
488
+ "notEmpty": true
489
+ }
490
+ },
491
+ {
492
+ "label": "Content Type",
493
+ "group": "content",
494
+ "type": "String",
495
+ "feel": "optional",
496
+ "value": "text/plain",
497
+ "binding": {
498
+ "type": "zeebe:input",
499
+ "name": "content.type"
500
+ },
501
+ "constraints": {
502
+ "notEmpty": true
503
+ }
504
+ },
505
+ {
506
+ "label": "Body",
507
+ "group": "content",
508
+ "type": "Text",
509
+ "feel": "optional",
510
+ "binding": {
511
+ "type": "zeebe:input",
512
+ "name": "content.value"
513
+ },
514
+ "constraints": {
515
+ "notEmpty": true
516
+ }
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
522
+ "name": "SendGrid connector",
523
+ "id": "io.camunda.connectors.SendGrid.v2",
524
+ "version": 1,
373
525
  "description": "Send an email via SendGrid",
374
526
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
375
527
  "icon": {
@@ -596,12 +748,15 @@
596
748
  "key": "errorExpression"
597
749
  }
598
750
  }
599
- ]
751
+ ],
752
+ "engines": {
753
+ "camunda": "^8.2"
754
+ }
600
755
  },
601
756
  {
602
757
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
603
- "name": "SendGrid: Send Email",
604
- "id": "io.camunda.connectors.SendGrid.v1.content",
758
+ "name": "SendGrid: Send Email via Template",
759
+ "id": "io.camunda.connectors.SendGrid.v1.template",
605
760
  "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
606
761
  "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
607
762
  "icon": {
@@ -633,8 +788,8 @@
633
788
  "label": "Receiver"
634
789
  },
635
790
  {
636
- "id": "content",
637
- "label": "Email Content"
791
+ "id": "template",
792
+ "label": "Dynamic Email Template"
638
793
  }
639
794
  ],
640
795
  "properties": [
@@ -712,40 +867,26 @@
712
867
  }
713
868
  },
714
869
  {
715
- "label": "Subject",
716
- "group": "content",
717
- "type": "String",
718
- "feel": "optional",
719
- "binding": {
720
- "type": "zeebe:input",
721
- "name": "content.subject"
722
- },
723
- "constraints": {
724
- "notEmpty": true
725
- }
726
- },
727
- {
728
- "label": "Content Type",
729
- "group": "content",
870
+ "label": "Template ID",
871
+ "group": "template",
730
872
  "type": "String",
731
873
  "feel": "optional",
732
- "value": "text/plain",
733
874
  "binding": {
734
875
  "type": "zeebe:input",
735
- "name": "content.type"
876
+ "name": "template.id"
736
877
  },
737
878
  "constraints": {
738
879
  "notEmpty": true
739
880
  }
740
881
  },
741
882
  {
742
- "label": "Body",
743
- "group": "content",
883
+ "label": "Template Data",
884
+ "group": "template",
744
885
  "type": "Text",
745
- "feel": "optional",
886
+ "feel": "required",
746
887
  "binding": {
747
888
  "type": "zeebe:input",
748
- "name": "content.value"
889
+ "name": "template.data"
749
890
  },
750
891
  "constraints": {
751
892
  "notEmpty": true
@@ -755,11 +896,17 @@
755
896
  },
756
897
  {
757
898
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
758
- "name": "SendGrid Outbound Connector",
899
+ "name": "SendGrid connector",
759
900
  "id": "io.camunda.connectors.SendGrid.v2",
901
+ "deprecated": {
902
+ "message": "Replace with 'SendGrid connector' template.",
903
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
904
+ },
760
905
  "description": "Send an email via SendGrid",
761
906
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
762
- "version": 3,
907
+ "icon": {
908
+ "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"
909
+ },
763
910
  "category": {
764
911
  "id": "connectors",
765
912
  "name": "Connectors"
@@ -786,111 +933,88 @@
786
933
  "label": "Compose email"
787
934
  },
788
935
  {
789
- "id": "output",
790
- "label": "Output mapping"
791
- },
792
- {
793
- "id": "error",
936
+ "id": "errors",
794
937
  "label": "Error handling"
795
- },
796
- {
797
- "id": "retries",
798
- "label": "Retries"
799
938
  }
800
939
  ],
801
940
  "properties": [
802
941
  {
942
+ "type": "Hidden",
803
943
  "value": "io.camunda:sendgrid:1",
804
944
  "binding": {
805
- "property": "type",
806
- "type": "zeebe:taskDefinition"
807
- },
808
- "type": "Hidden"
945
+ "type": "zeebe:taskDefinition",
946
+ "property": "type"
947
+ }
809
948
  },
810
949
  {
811
- "id": "apiKey",
812
950
  "label": "SendGrid API key",
813
- "optional": false,
814
- "constraints": {
815
- "notEmpty": true
816
- },
817
- "feel": "optional",
818
951
  "group": "authentication",
952
+ "type": "String",
953
+ "feel": "optional",
819
954
  "binding": {
820
- "name": "apiKey",
821
- "type": "zeebe:input"
955
+ "type": "zeebe:input",
956
+ "name": "apiKey"
822
957
  },
823
- "type": "String"
958
+ "constraints": {
959
+ "notEmpty": true
960
+ }
824
961
  },
825
962
  {
826
- "id": "from.name",
827
963
  "label": "Name",
828
- "optional": false,
829
- "constraints": {
830
- "notEmpty": true
831
- },
832
- "feel": "optional",
833
964
  "group": "sender",
965
+ "type": "String",
966
+ "feel": "optional",
834
967
  "binding": {
835
- "name": "from.name",
836
- "type": "zeebe:input"
968
+ "type": "zeebe:input",
969
+ "name": "from.name"
837
970
  },
838
- "type": "String"
971
+ "constraints": {
972
+ "notEmpty": true
973
+ }
839
974
  },
840
975
  {
841
- "id": "from.email",
842
976
  "label": "Email address",
843
- "optional": false,
844
- "constraints": {
845
- "notEmpty": true
846
- },
847
- "feel": "optional",
848
977
  "group": "sender",
978
+ "type": "String",
979
+ "feel": "optional",
849
980
  "binding": {
850
- "name": "from.email",
851
- "type": "zeebe:input"
981
+ "type": "zeebe:input",
982
+ "name": "from.email"
852
983
  },
853
- "type": "String"
984
+ "constraints": {
985
+ "notEmpty": true
986
+ }
854
987
  },
855
988
  {
856
- "id": "to.name",
857
989
  "label": "Name",
858
- "optional": false,
859
- "constraints": {
860
- "notEmpty": true
861
- },
862
- "feel": "optional",
863
990
  "group": "receiver",
991
+ "type": "String",
992
+ "feel": "optional",
864
993
  "binding": {
865
- "name": "to.name",
866
- "type": "zeebe:input"
994
+ "type": "zeebe:input",
995
+ "name": "to.name"
867
996
  },
868
- "type": "String"
997
+ "constraints": {
998
+ "notEmpty": true
999
+ }
869
1000
  },
870
1001
  {
871
- "id": "to.email",
872
1002
  "label": "Email address",
873
- "optional": false,
874
- "constraints": {
875
- "notEmpty": true
876
- },
877
- "feel": "optional",
878
1003
  "group": "receiver",
1004
+ "type": "String",
1005
+ "feel": "optional",
879
1006
  "binding": {
880
- "name": "to.email",
881
- "type": "zeebe:input"
1007
+ "type": "zeebe:input",
1008
+ "name": "to.email"
882
1009
  },
883
- "type": "String"
1010
+ "constraints": {
1011
+ "notEmpty": true
1012
+ }
884
1013
  },
885
1014
  {
886
- "id": "unMappedFieldNotUseInModel.mailType",
887
- "label": "Mail contents",
888
- "optional": false,
1015
+ "id": "mailType",
889
1016
  "group": "content",
890
- "binding": {
891
- "name": "unMappedFieldNotUseInModel.mailType",
892
- "type": "zeebe:input"
893
- },
1017
+ "value": "mail",
894
1018
  "type": "Dropdown",
895
1019
  "choices": [
896
1020
  {
@@ -901,188 +1025,121 @@
901
1025
  "name": "Using dynamic template",
902
1026
  "value": "byTemplate"
903
1027
  }
904
- ]
905
- },
906
- {
907
- "id": "template.id",
908
- "label": "Template ID",
909
- "optional": false,
910
- "constraints": {
911
- "notEmpty": true
912
- },
913
- "feel": "optional",
914
- "group": "content",
1028
+ ],
915
1029
  "binding": {
916
- "name": "template.id",
917
- "type": "zeebe:input"
918
- },
919
- "condition": {
920
- "property": "unMappedFieldNotUseInModel.mailType",
921
- "equals": "byTemplate",
922
- "type": "simple"
923
- },
924
- "type": "String"
1030
+ "type": "zeebe:input",
1031
+ "name": "unMappedFieldNotUseInModel.mailType"
1032
+ }
925
1033
  },
926
1034
  {
927
- "id": "template.data",
928
- "label": "Template data",
929
- "optional": false,
930
- "constraints": {
931
- "notEmpty": true
932
- },
933
- "feel": "required",
1035
+ "label": "Subject",
934
1036
  "group": "content",
1037
+ "type": "String",
1038
+ "feel": "optional",
935
1039
  "binding": {
936
- "name": "template.data",
937
- "type": "zeebe:input"
938
- },
939
- "condition": {
940
- "property": "unMappedFieldNotUseInModel.mailType",
941
- "equals": "byTemplate",
942
- "type": "simple"
1040
+ "type": "zeebe:input",
1041
+ "name": "content.subject"
943
1042
  },
944
- "type": "String"
945
- },
946
- {
947
- "id": "content.subject",
948
- "label": "Subject",
949
- "optional": false,
950
1043
  "constraints": {
951
1044
  "notEmpty": true
952
1045
  },
953
- "feel": "optional",
954
- "group": "content",
955
- "binding": {
956
- "name": "content.subject",
957
- "type": "zeebe:input"
958
- },
959
1046
  "condition": {
960
- "property": "unMappedFieldNotUseInModel.mailType",
961
- "equals": "mail",
962
- "type": "simple"
963
- },
964
- "type": "String"
1047
+ "property": "mailType",
1048
+ "equals": "mail"
1049
+ }
965
1050
  },
966
1051
  {
967
- "id": "content.type",
968
1052
  "label": "Content type",
969
- "optional": false,
1053
+ "group": "content",
1054
+ "type": "String",
1055
+ "feel": "optional",
970
1056
  "value": "text/plain",
1057
+ "binding": {
1058
+ "type": "zeebe:input",
1059
+ "name": "content.type"
1060
+ },
971
1061
  "constraints": {
972
1062
  "notEmpty": true
973
1063
  },
974
- "feel": "optional",
975
- "group": "content",
976
- "binding": {
977
- "name": "content.type",
978
- "type": "zeebe:input"
979
- },
980
1064
  "condition": {
981
- "property": "unMappedFieldNotUseInModel.mailType",
982
- "equals": "mail",
983
- "type": "simple"
984
- },
985
- "type": "String"
1065
+ "property": "mailType",
1066
+ "equals": "mail"
1067
+ }
986
1068
  },
987
1069
  {
988
- "id": "content.value",
989
1070
  "label": "Body",
990
- "optional": false,
991
- "constraints": {
992
- "notEmpty": true
993
- },
994
- "feel": "optional",
995
1071
  "group": "content",
1072
+ "type": "Text",
1073
+ "feel": "optional",
996
1074
  "binding": {
997
- "name": "content.value",
998
- "type": "zeebe:input"
1075
+ "type": "zeebe:input",
1076
+ "name": "content.value"
999
1077
  },
1000
- "condition": {
1001
- "property": "unMappedFieldNotUseInModel.mailType",
1002
- "equals": "mail",
1003
- "type": "simple"
1078
+ "constraints": {
1079
+ "notEmpty": true
1004
1080
  },
1005
- "type": "Text"
1081
+ "condition": {
1082
+ "property": "mailType",
1083
+ "equals": "mail"
1084
+ }
1006
1085
  },
1007
1086
  {
1008
- "id": "resultVariable",
1009
- "label": "Result variable",
1010
- "description": "Name of variable to store the response in",
1011
- "group": "output",
1087
+ "label": "Template ID",
1088
+ "group": "content",
1089
+ "type": "String",
1090
+ "feel": "optional",
1012
1091
  "binding": {
1013
- "key": "resultVariable",
1014
- "type": "zeebe:taskHeader"
1092
+ "type": "zeebe:input",
1093
+ "name": "template.id"
1015
1094
  },
1016
- "type": "String"
1017
- },
1018
- {
1019
- "id": "resultExpression",
1020
- "label": "Result expression",
1021
- "description": "Expression to map the response into process variables",
1022
- "feel": "required",
1023
- "group": "output",
1024
- "binding": {
1025
- "key": "resultExpression",
1026
- "type": "zeebe:taskHeader"
1095
+ "constraints": {
1096
+ "notEmpty": true
1027
1097
  },
1028
- "type": "Text"
1098
+ "condition": {
1099
+ "property": "mailType",
1100
+ "equals": "byTemplate"
1101
+ }
1029
1102
  },
1030
1103
  {
1031
- "id": "errorExpression",
1032
- "label": "Error expression",
1033
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1104
+ "label": "Template data",
1105
+ "group": "content",
1106
+ "type": "Text",
1034
1107
  "feel": "required",
1035
- "group": "error",
1036
1108
  "binding": {
1037
- "key": "errorExpression",
1038
- "type": "zeebe:taskHeader"
1109
+ "type": "zeebe:input",
1110
+ "name": "template.data"
1039
1111
  },
1040
- "type": "Text"
1041
- },
1042
- {
1043
- "id": "retryCount",
1044
- "label": "Retries",
1045
- "description": "Number of retries",
1046
- "value": "3",
1047
- "feel": "optional",
1048
- "group": "retries",
1049
- "binding": {
1050
- "property": "retries",
1051
- "type": "zeebe:taskDefinition"
1112
+ "constraints": {
1113
+ "notEmpty": true
1052
1114
  },
1053
- "type": "String"
1115
+ "condition": {
1116
+ "property": "mailType",
1117
+ "equals": "byTemplate"
1118
+ }
1054
1119
  },
1055
1120
  {
1056
- "id": "retryBackoff",
1057
- "label": "Retry backoff",
1058
- "description": "ISO-8601 duration to wait between retries",
1059
- "value": "PT0S",
1060
- "feel": "optional",
1061
- "group": "retries",
1121
+ "label": "Error expression",
1122
+ "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>",
1123
+ "group": "errors",
1124
+ "type": "Text",
1125
+ "feel": "required",
1062
1126
  "binding": {
1063
- "key": "retryBackoff",
1064
- "type": "zeebe:taskHeader"
1065
- },
1066
- "type": "String"
1127
+ "type": "zeebe:taskHeader",
1128
+ "key": "errorExpression"
1129
+ }
1067
1130
  }
1068
- ],
1069
- "icon": {
1070
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1071
- },
1072
- "engines": {
1073
- "camunda": "^8.5"
1074
- }
1131
+ ]
1075
1132
  },
1076
1133
  {
1077
1134
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1078
- "name": "SendGrid connector",
1135
+ "name": "SendGrid Outbound Connector",
1079
1136
  "id": "io.camunda.connectors.SendGrid.v2",
1080
- "version": 1,
1081
1137
  "description": "Send an email via SendGrid",
1082
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1083
- "icon": {
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"
1138
+ "metadata": {
1139
+ "keywords": []
1085
1140
  },
1141
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1142
+ "version": 4,
1086
1143
  "category": {
1087
1144
  "id": "connectors",
1088
1145
  "name": "Connectors"
@@ -1091,6 +1148,9 @@
1091
1148
  "elementType": {
1092
1149
  "value": "bpmn:ServiceTask"
1093
1150
  },
1151
+ "engines": {
1152
+ "camunda": "^8.3"
1153
+ },
1094
1154
  "groups": [
1095
1155
  {
1096
1156
  "id": "authentication",
@@ -1109,88 +1169,111 @@
1109
1169
  "label": "Compose email"
1110
1170
  },
1111
1171
  {
1112
- "id": "errors",
1172
+ "id": "output",
1173
+ "label": "Output mapping"
1174
+ },
1175
+ {
1176
+ "id": "error",
1113
1177
  "label": "Error handling"
1178
+ },
1179
+ {
1180
+ "id": "retries",
1181
+ "label": "Retries"
1114
1182
  }
1115
1183
  ],
1116
1184
  "properties": [
1117
1185
  {
1118
- "type": "Hidden",
1119
1186
  "value": "io.camunda:sendgrid:1",
1120
1187
  "binding": {
1121
- "type": "zeebe:taskDefinition",
1122
- "property": "type"
1123
- }
1188
+ "property": "type",
1189
+ "type": "zeebe:taskDefinition"
1190
+ },
1191
+ "type": "Hidden"
1124
1192
  },
1125
1193
  {
1194
+ "id": "apiKey",
1126
1195
  "label": "SendGrid API key",
1127
- "group": "authentication",
1128
- "type": "String",
1196
+ "optional": false,
1197
+ "constraints": {
1198
+ "notEmpty": true
1199
+ },
1129
1200
  "feel": "optional",
1201
+ "group": "authentication",
1130
1202
  "binding": {
1131
- "type": "zeebe:input",
1132
- "name": "apiKey"
1203
+ "name": "apiKey",
1204
+ "type": "zeebe:input"
1133
1205
  },
1134
- "constraints": {
1135
- "notEmpty": true
1136
- }
1206
+ "type": "String"
1137
1207
  },
1138
1208
  {
1209
+ "id": "from.name",
1139
1210
  "label": "Name",
1140
- "group": "sender",
1141
- "type": "String",
1211
+ "optional": false,
1212
+ "constraints": {
1213
+ "notEmpty": true
1214
+ },
1142
1215
  "feel": "optional",
1216
+ "group": "sender",
1143
1217
  "binding": {
1144
- "type": "zeebe:input",
1145
- "name": "from.name"
1218
+ "name": "from.name",
1219
+ "type": "zeebe:input"
1146
1220
  },
1147
- "constraints": {
1148
- "notEmpty": true
1149
- }
1221
+ "type": "String"
1150
1222
  },
1151
1223
  {
1224
+ "id": "from.email",
1152
1225
  "label": "Email address",
1153
- "group": "sender",
1154
- "type": "String",
1226
+ "optional": false,
1227
+ "constraints": {
1228
+ "notEmpty": true
1229
+ },
1155
1230
  "feel": "optional",
1231
+ "group": "sender",
1156
1232
  "binding": {
1157
- "type": "zeebe:input",
1158
- "name": "from.email"
1233
+ "name": "from.email",
1234
+ "type": "zeebe:input"
1159
1235
  },
1160
- "constraints": {
1161
- "notEmpty": true
1162
- }
1236
+ "type": "String"
1163
1237
  },
1164
1238
  {
1239
+ "id": "to.name",
1165
1240
  "label": "Name",
1166
- "group": "receiver",
1167
- "type": "String",
1241
+ "optional": false,
1242
+ "constraints": {
1243
+ "notEmpty": true
1244
+ },
1168
1245
  "feel": "optional",
1246
+ "group": "receiver",
1169
1247
  "binding": {
1170
- "type": "zeebe:input",
1171
- "name": "to.name"
1248
+ "name": "to.name",
1249
+ "type": "zeebe:input"
1172
1250
  },
1173
- "constraints": {
1174
- "notEmpty": true
1175
- }
1251
+ "type": "String"
1176
1252
  },
1177
1253
  {
1254
+ "id": "to.email",
1178
1255
  "label": "Email address",
1179
- "group": "receiver",
1180
- "type": "String",
1256
+ "optional": false,
1257
+ "constraints": {
1258
+ "notEmpty": true
1259
+ },
1181
1260
  "feel": "optional",
1261
+ "group": "receiver",
1182
1262
  "binding": {
1183
- "type": "zeebe:input",
1184
- "name": "to.email"
1263
+ "name": "to.email",
1264
+ "type": "zeebe:input"
1185
1265
  },
1186
- "constraints": {
1187
- "notEmpty": true
1188
- }
1266
+ "type": "String"
1189
1267
  },
1190
1268
  {
1191
- "id": "mailType",
1269
+ "id": "unMappedFieldNotUseInModel.mailType",
1270
+ "label": "Mail contents",
1271
+ "optional": false,
1192
1272
  "group": "content",
1193
- "value": "mail",
1273
+ "binding": {
1274
+ "name": "unMappedFieldNotUseInModel.mailType",
1275
+ "type": "zeebe:input"
1276
+ },
1194
1277
  "type": "Dropdown",
1195
1278
  "choices": [
1196
1279
  {
@@ -1201,265 +1284,194 @@
1201
1284
  "name": "Using dynamic template",
1202
1285
  "value": "byTemplate"
1203
1286
  }
1204
- ],
1205
- "binding": {
1206
- "type": "zeebe:input",
1207
- "name": "unMappedFieldNotUseInModel.mailType"
1208
- }
1287
+ ]
1209
1288
  },
1210
1289
  {
1211
- "label": "Subject",
1212
- "group": "content",
1213
- "type": "String",
1214
- "feel": "optional",
1215
- "binding": {
1216
- "type": "zeebe:input",
1217
- "name": "content.subject"
1218
- },
1290
+ "id": "template.id",
1291
+ "label": "Template ID",
1292
+ "optional": false,
1219
1293
  "constraints": {
1220
1294
  "notEmpty": true
1221
1295
  },
1222
- "condition": {
1223
- "property": "mailType",
1224
- "equals": "mail"
1225
- }
1226
- },
1227
- {
1228
- "label": "Content type",
1229
- "group": "content",
1230
- "type": "String",
1231
1296
  "feel": "optional",
1232
- "value": "text/plain",
1297
+ "group": "content",
1233
1298
  "binding": {
1234
- "type": "zeebe:input",
1235
- "name": "content.type"
1299
+ "name": "template.id",
1300
+ "type": "zeebe:input"
1236
1301
  },
1302
+ "condition": {
1303
+ "property": "unMappedFieldNotUseInModel.mailType",
1304
+ "equals": "byTemplate",
1305
+ "type": "simple"
1306
+ },
1307
+ "type": "String"
1308
+ },
1309
+ {
1310
+ "id": "template.data",
1311
+ "label": "Template data",
1312
+ "optional": false,
1237
1313
  "constraints": {
1238
1314
  "notEmpty": true
1239
1315
  },
1316
+ "feel": "required",
1317
+ "group": "content",
1318
+ "binding": {
1319
+ "name": "template.data",
1320
+ "type": "zeebe:input"
1321
+ },
1240
1322
  "condition": {
1241
- "property": "mailType",
1242
- "equals": "mail"
1243
- }
1323
+ "property": "unMappedFieldNotUseInModel.mailType",
1324
+ "equals": "byTemplate",
1325
+ "type": "simple"
1326
+ },
1327
+ "type": "String"
1244
1328
  },
1245
1329
  {
1246
- "label": "Body",
1247
- "group": "content",
1248
- "type": "Text",
1330
+ "id": "content.subject",
1331
+ "label": "Subject",
1332
+ "optional": false,
1333
+ "constraints": {
1334
+ "notEmpty": true
1335
+ },
1249
1336
  "feel": "optional",
1337
+ "group": "content",
1250
1338
  "binding": {
1251
- "type": "zeebe:input",
1252
- "name": "content.value"
1339
+ "name": "content.subject",
1340
+ "type": "zeebe:input"
1341
+ },
1342
+ "condition": {
1343
+ "property": "unMappedFieldNotUseInModel.mailType",
1344
+ "equals": "mail",
1345
+ "type": "simple"
1253
1346
  },
1347
+ "type": "String"
1348
+ },
1349
+ {
1350
+ "id": "content.type",
1351
+ "label": "Content type",
1352
+ "optional": false,
1353
+ "value": "text/plain",
1254
1354
  "constraints": {
1255
1355
  "notEmpty": true
1256
1356
  },
1257
- "condition": {
1258
- "property": "mailType",
1259
- "equals": "mail"
1260
- }
1261
- },
1262
- {
1263
- "label": "Template ID",
1264
- "group": "content",
1265
- "type": "String",
1266
1357
  "feel": "optional",
1358
+ "group": "content",
1267
1359
  "binding": {
1268
- "type": "zeebe:input",
1269
- "name": "template.id"
1270
- },
1271
- "constraints": {
1272
- "notEmpty": true
1360
+ "name": "content.type",
1361
+ "type": "zeebe:input"
1273
1362
  },
1274
1363
  "condition": {
1275
- "property": "mailType",
1276
- "equals": "byTemplate"
1277
- }
1364
+ "property": "unMappedFieldNotUseInModel.mailType",
1365
+ "equals": "mail",
1366
+ "type": "simple"
1367
+ },
1368
+ "type": "String"
1278
1369
  },
1279
1370
  {
1280
- "label": "Template data",
1281
- "group": "content",
1282
- "type": "Text",
1283
- "feel": "required",
1284
- "binding": {
1285
- "type": "zeebe:input",
1286
- "name": "template.data"
1287
- },
1371
+ "id": "content.value",
1372
+ "label": "Body",
1373
+ "optional": false,
1288
1374
  "constraints": {
1289
1375
  "notEmpty": true
1290
1376
  },
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": {
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"
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
- },
1325
- "category": {
1326
- "id": "connectors",
1327
- "name": "Connectors"
1328
- },
1329
- "appliesTo": ["bpmn:Task"],
1330
- "elementType": {
1331
- "value": "bpmn:ServiceTask"
1332
- },
1333
- "groups": [
1334
- {
1335
- "id": "sendgrid",
1336
- "label": "SendGrid API"
1337
- },
1338
- {
1339
- "id": "sender",
1340
- "label": "Sender"
1341
- },
1342
- {
1343
- "id": "receiver",
1344
- "label": "Receiver"
1345
- },
1346
- {
1347
- "id": "template",
1348
- "label": "Dynamic Email Template"
1349
- }
1350
- ],
1351
- "properties": [
1352
- {
1353
- "type": "Hidden",
1354
- "value": "io.camunda:sendgrid:1",
1355
- "binding": {
1356
- "type": "zeebe:taskDefinition",
1357
- "property": "type"
1358
- }
1359
- },
1360
- {
1361
- "label": "SendGrid API Key",
1362
- "group": "sendgrid",
1363
- "type": "String",
1364
1377
  "feel": "optional",
1378
+ "group": "content",
1365
1379
  "binding": {
1366
- "type": "zeebe:input",
1367
- "name": "apiKey"
1380
+ "name": "content.value",
1381
+ "type": "zeebe:input"
1368
1382
  },
1369
- "constraints": {
1370
- "notEmpty": true
1371
- }
1383
+ "condition": {
1384
+ "property": "unMappedFieldNotUseInModel.mailType",
1385
+ "equals": "mail",
1386
+ "type": "simple"
1387
+ },
1388
+ "type": "Text"
1372
1389
  },
1373
1390
  {
1374
- "label": "Name",
1375
- "group": "sender",
1376
- "type": "String",
1377
- "feel": "optional",
1391
+ "id": "attachments",
1392
+ "label": "attachments",
1393
+ "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
1394
+ "optional": true,
1395
+ "feel": "required",
1396
+ "group": "content",
1378
1397
  "binding": {
1379
- "type": "zeebe:input",
1380
- "name": "from.name"
1398
+ "name": "attachments",
1399
+ "type": "zeebe:input"
1381
1400
  },
1382
- "constraints": {
1383
- "notEmpty": true
1384
- }
1401
+ "type": "String"
1385
1402
  },
1386
1403
  {
1387
- "label": "Email Address",
1388
- "group": "sender",
1389
- "type": "String",
1390
- "feel": "optional",
1404
+ "id": "resultVariable",
1405
+ "label": "Result variable",
1406
+ "description": "Name of variable to store the response in",
1407
+ "group": "output",
1391
1408
  "binding": {
1392
- "type": "zeebe:input",
1393
- "name": "from.email"
1409
+ "key": "resultVariable",
1410
+ "type": "zeebe:taskHeader"
1394
1411
  },
1395
- "constraints": {
1396
- "notEmpty": true
1397
- }
1412
+ "type": "String"
1398
1413
  },
1399
1414
  {
1400
- "label": "Name",
1401
- "group": "receiver",
1402
- "type": "String",
1403
- "feel": "optional",
1415
+ "id": "resultExpression",
1416
+ "label": "Result expression",
1417
+ "description": "Expression to map the response into process variables",
1418
+ "feel": "required",
1419
+ "group": "output",
1404
1420
  "binding": {
1405
- "type": "zeebe:input",
1406
- "name": "to.name"
1421
+ "key": "resultExpression",
1422
+ "type": "zeebe:taskHeader"
1407
1423
  },
1408
- "constraints": {
1409
- "notEmpty": true
1410
- }
1424
+ "type": "Text"
1411
1425
  },
1412
1426
  {
1413
- "label": "Email Address",
1414
- "group": "receiver",
1415
- "type": "String",
1416
- "feel": "optional",
1427
+ "id": "errorExpression",
1428
+ "label": "Error expression",
1429
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1430
+ "feel": "required",
1431
+ "group": "error",
1417
1432
  "binding": {
1418
- "type": "zeebe:input",
1419
- "name": "to.email"
1433
+ "key": "errorExpression",
1434
+ "type": "zeebe:taskHeader"
1420
1435
  },
1421
- "constraints": {
1422
- "notEmpty": true
1423
- }
1436
+ "type": "Text"
1424
1437
  },
1425
1438
  {
1426
- "label": "Template ID",
1427
- "group": "template",
1428
- "type": "String",
1439
+ "id": "retryCount",
1440
+ "label": "Retries",
1441
+ "description": "Number of retries",
1442
+ "value": "3",
1429
1443
  "feel": "optional",
1444
+ "group": "retries",
1430
1445
  "binding": {
1431
- "type": "zeebe:input",
1432
- "name": "template.id"
1446
+ "property": "retries",
1447
+ "type": "zeebe:taskDefinition"
1433
1448
  },
1434
- "constraints": {
1435
- "notEmpty": true
1436
- }
1449
+ "type": "String"
1437
1450
  },
1438
1451
  {
1439
- "label": "Template Data",
1440
- "group": "template",
1441
- "type": "Text",
1442
- "feel": "required",
1452
+ "id": "retryBackoff",
1453
+ "label": "Retry backoff",
1454
+ "description": "ISO-8601 duration to wait between retries",
1455
+ "value": "PT0S",
1456
+ "group": "retries",
1443
1457
  "binding": {
1444
- "type": "zeebe:input",
1445
- "name": "template.data"
1458
+ "key": "retryBackoff",
1459
+ "type": "zeebe:taskHeader"
1446
1460
  },
1447
- "constraints": {
1448
- "notEmpty": true
1449
- }
1461
+ "type": "String"
1450
1462
  }
1451
- ]
1463
+ ],
1464
+ "icon": {
1465
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1466
+ }
1452
1467
  },
1453
1468
  {
1454
1469
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1455
1470
  "name": "SendGrid Outbound Connector",
1456
1471
  "id": "io.camunda.connectors.SendGrid.v2",
1457
1472
  "description": "Send an email via SendGrid",
1458
- "metadata": {
1459
- "keywords": []
1460
- },
1461
1473
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1462
- "version": 4,
1474
+ "version": 3,
1463
1475
  "category": {
1464
1476
  "id": "connectors",
1465
1477
  "name": "Connectors"
@@ -1468,9 +1480,6 @@
1468
1480
  "elementType": {
1469
1481
  "value": "bpmn:ServiceTask"
1470
1482
  },
1471
- "engines": {
1472
- "camunda": "^8.3"
1473
- },
1474
1483
  "groups": [
1475
1484
  {
1476
1485
  "id": "authentication",
@@ -1707,19 +1716,6 @@
1707
1716
  },
1708
1717
  "type": "Text"
1709
1718
  },
1710
- {
1711
- "id": "attachments",
1712
- "label": "attachments",
1713
- "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
1714
- "optional": true,
1715
- "feel": "required",
1716
- "group": "content",
1717
- "binding": {
1718
- "name": "attachments",
1719
- "type": "zeebe:input"
1720
- },
1721
- "type": "String"
1722
- },
1723
1719
  {
1724
1720
  "id": "resultVariable",
1725
1721
  "label": "Result variable",
@@ -1773,6 +1769,7 @@
1773
1769
  "label": "Retry backoff",
1774
1770
  "description": "ISO-8601 duration to wait between retries",
1775
1771
  "value": "PT0S",
1772
+ "feel": "optional",
1776
1773
  "group": "retries",
1777
1774
  "binding": {
1778
1775
  "key": "retryBackoff",
@@ -1783,6 +1780,9 @@
1783
1780
  ],
1784
1781
  "icon": {
1785
1782
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1783
+ },
1784
+ "engines": {
1785
+ "camunda": "^8.5"
1786
1786
  }
1787
1787
  },
1788
1788
  {