@camunda/connectors-element-templates 1.0.4 → 1.0.5

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 (77) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +8 -2
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +323 -9
  5. package/src/element-templates/asana-connector.json +101 -101
  6. package/src/element-templates/automation-anywhere-outbound-connector.json +1777 -961
  7. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  8. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  9. package/src/element-templates/aws-dynamodb-outbound-connector.json +1373 -1373
  10. package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
  11. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  12. package/src/element-templates/aws-eventbridge-connector-start-event.json +23 -23
  13. package/src/element-templates/aws-eventbridge-outbound-connector.json +326 -326
  14. package/src/element-templates/aws-lambda-outbound-connector.json +231 -231
  15. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  16. package/src/element-templates/aws-sns-inbound-boundary.json +285 -285
  17. package/src/element-templates/aws-sns-inbound-intermediate.json +33 -33
  18. package/src/element-templates/aws-sns-inbound-message-start.json +227 -227
  19. package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
  20. package/src/element-templates/aws-sns-outbound-connector.json +370 -370
  21. package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
  22. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +532 -532
  23. package/src/element-templates/aws-sqs-outbound-connector.json +396 -396
  24. package/src/element-templates/aws-sqs-start-event-connector.json +389 -389
  25. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  26. package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
  27. package/src/element-templates/blue-prism-connector.json +13 -13
  28. package/src/element-templates/box-outbound-connector.json +30 -30
  29. package/src/element-templates/easy-post-connector.json +121 -121
  30. package/src/element-templates/email-outbound-connector.json +233 -233
  31. package/src/element-templates/github-connector.json +1259 -1259
  32. package/src/element-templates/github-webhook-connector-boundary.json +35 -35
  33. package/src/element-templates/github-webhook-connector-intermediate.json +31 -31
  34. package/src/element-templates/github-webhook-connector-start-event.json +34 -34
  35. package/src/element-templates/gitlab-connector.json +3333 -3333
  36. package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
  37. package/src/element-templates/google-drive-outbound-connector.json +414 -101
  38. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  39. package/src/element-templates/google-maps-platform-connector.json +489 -0
  40. package/src/element-templates/google-sheets-outbound-connector.json +2468 -2468
  41. package/src/element-templates/graphql-outbound-connector.json +1113 -1113
  42. package/src/element-templates/http-json-connector.json +2202 -1290
  43. package/src/element-templates/http-polling-boundary-catch-event-connector.json +6 -6
  44. package/src/element-templates/http-polling-connector.json +6 -6
  45. package/src/element-templates/hugging-face-connector.json +34 -34
  46. package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
  47. package/src/element-templates/jdbc-outbound-connector.json +36 -36
  48. package/src/element-templates/kafka-inbound-connector-boundary.json +540 -540
  49. package/src/element-templates/kafka-inbound-connector-intermediate.json +585 -585
  50. package/src/element-templates/kafka-inbound-connector.json +603 -0
  51. package/src/element-templates/kafka-outbound-connector.json +261 -261
  52. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  53. package/src/element-templates/microsoft-teams-outbound-connector.json +97 -97
  54. package/src/element-templates/openai-connector.json +517 -159
  55. package/src/element-templates/operate-connector.json +569 -53
  56. package/src/element-templates/power-automate-connector.json +1724 -0
  57. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +132 -132
  58. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +941 -941
  59. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +459 -459
  60. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +269 -269
  61. package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
  62. package/src/element-templates/salesforce-connector.json +44 -44
  63. package/src/element-templates/sendgrid-outbound-connector.json +787 -255
  64. package/src/element-templates/slack-inbound-boundary.json +215 -215
  65. package/src/element-templates/slack-inbound-intermediate.json +178 -178
  66. package/src/element-templates/slack-inbound-message-start.json +323 -323
  67. package/src/element-templates/slack-inbound-start-event.json +212 -212
  68. package/src/element-templates/slack-outbound-connector.json +777 -522
  69. package/src/element-templates/twilio-connector.json +29 -29
  70. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  71. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  72. package/src/element-templates/uipath-connector.json +8 -8
  73. package/src/element-templates/webhook-connector-boundary.json +1133 -1133
  74. package/src/element-templates/webhook-connector-intermediate.json +1380 -1380
  75. package/src/element-templates/webhook-connector-start-event.json +1370 -1370
  76. package/src/element-templates/webhook-connector-start-message.json +1171 -1171
  77. package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
@@ -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": 5,
11
+ "version": 4,
12
12
  "category": {
13
13
  "id": "connectors",
14
14
  "name": "Connectors"
@@ -37,10 +37,6 @@
37
37
  "id": "content",
38
38
  "label": "Compose email"
39
39
  },
40
- {
41
- "id": "connector",
42
- "label": "Connector"
43
- },
44
40
  {
45
41
  "id": "output",
46
42
  "label": "Output mapping"
@@ -273,30 +269,6 @@
273
269
  },
274
270
  "type": "String"
275
271
  },
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
- },
300
272
  {
301
273
  "id": "resultVariable",
302
274
  "label": "Result variable",
@@ -366,9 +338,12 @@
366
338
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
367
339
  "name": "SendGrid Outbound Connector",
368
340
  "id": "io.camunda.connectors.SendGrid.v2",
341
+ "version": 2,
369
342
  "description": "Send an email via SendGrid",
370
343
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
371
- "version": 3,
344
+ "icon": {
345
+ "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"
346
+ },
372
347
  "category": {
373
348
  "id": "connectors",
374
349
  "name": "Connectors"
@@ -395,111 +370,88 @@
395
370
  "label": "Compose email"
396
371
  },
397
372
  {
398
- "id": "output",
399
- "label": "Output mapping"
400
- },
401
- {
402
- "id": "error",
373
+ "id": "errors",
403
374
  "label": "Error handling"
404
- },
405
- {
406
- "id": "retries",
407
- "label": "Retries"
408
375
  }
409
376
  ],
410
377
  "properties": [
411
378
  {
379
+ "type": "Hidden",
412
380
  "value": "io.camunda:sendgrid:1",
413
381
  "binding": {
414
- "property": "type",
415
- "type": "zeebe:taskDefinition"
416
- },
417
- "type": "Hidden"
382
+ "type": "zeebe:taskDefinition",
383
+ "property": "type"
384
+ }
418
385
  },
419
386
  {
420
- "id": "apiKey",
421
387
  "label": "SendGrid API key",
422
- "optional": false,
423
- "constraints": {
424
- "notEmpty": true
425
- },
426
- "feel": "optional",
427
388
  "group": "authentication",
389
+ "type": "String",
390
+ "feel": "optional",
428
391
  "binding": {
429
- "name": "apiKey",
430
- "type": "zeebe:input"
392
+ "type": "zeebe:input",
393
+ "name": "apiKey"
431
394
  },
432
- "type": "String"
395
+ "constraints": {
396
+ "notEmpty": true
397
+ }
433
398
  },
434
399
  {
435
- "id": "from.name",
436
400
  "label": "Name",
437
- "optional": false,
438
- "constraints": {
439
- "notEmpty": true
440
- },
441
- "feel": "optional",
442
401
  "group": "sender",
402
+ "type": "String",
403
+ "feel": "optional",
443
404
  "binding": {
444
- "name": "from.name",
445
- "type": "zeebe:input"
405
+ "type": "zeebe:input",
406
+ "name": "from.name"
446
407
  },
447
- "type": "String"
408
+ "constraints": {
409
+ "notEmpty": true
410
+ }
448
411
  },
449
412
  {
450
- "id": "from.email",
451
413
  "label": "Email address",
452
- "optional": false,
453
- "constraints": {
454
- "notEmpty": true
455
- },
456
- "feel": "optional",
457
414
  "group": "sender",
415
+ "type": "String",
416
+ "feel": "optional",
458
417
  "binding": {
459
- "name": "from.email",
460
- "type": "zeebe:input"
418
+ "type": "zeebe:input",
419
+ "name": "from.email"
461
420
  },
462
- "type": "String"
421
+ "constraints": {
422
+ "notEmpty": true
423
+ }
463
424
  },
464
425
  {
465
- "id": "to.name",
466
426
  "label": "Name",
467
- "optional": false,
468
- "constraints": {
469
- "notEmpty": true
470
- },
471
- "feel": "optional",
472
427
  "group": "receiver",
428
+ "type": "String",
429
+ "feel": "optional",
473
430
  "binding": {
474
- "name": "to.name",
475
- "type": "zeebe:input"
431
+ "type": "zeebe:input",
432
+ "name": "to.name"
476
433
  },
477
- "type": "String"
434
+ "constraints": {
435
+ "notEmpty": true
436
+ }
478
437
  },
479
438
  {
480
- "id": "to.email",
481
439
  "label": "Email address",
482
- "optional": false,
483
- "constraints": {
484
- "notEmpty": true
485
- },
486
- "feel": "optional",
487
440
  "group": "receiver",
441
+ "type": "String",
442
+ "feel": "optional",
488
443
  "binding": {
489
- "name": "to.email",
490
- "type": "zeebe:input"
444
+ "type": "zeebe:input",
445
+ "name": "to.email"
491
446
  },
492
- "type": "String"
447
+ "constraints": {
448
+ "notEmpty": true
449
+ }
493
450
  },
494
451
  {
495
- "id": "unMappedFieldNotUseInModel.mailType",
496
- "label": "Mail contents",
497
- "optional": false,
452
+ "id": "mailType",
498
453
  "group": "content",
499
- "binding": {
500
- "name": "unMappedFieldNotUseInModel.mailType",
501
- "type": "zeebe:input"
502
- },
454
+ "value": "mail",
503
455
  "type": "Dropdown",
504
456
  "choices": [
505
457
  {
@@ -510,183 +462,119 @@
510
462
  "name": "Using dynamic template",
511
463
  "value": "byTemplate"
512
464
  }
513
- ]
514
- },
515
- {
516
- "id": "template.id",
517
- "label": "Template ID",
518
- "optional": false,
519
- "constraints": {
520
- "notEmpty": true
521
- },
522
- "feel": "optional",
523
- "group": "content",
465
+ ],
524
466
  "binding": {
525
- "name": "template.id",
526
- "type": "zeebe:input"
527
- },
528
- "condition": {
529
- "property": "unMappedFieldNotUseInModel.mailType",
530
- "equals": "byTemplate",
531
- "type": "simple"
532
- },
533
- "type": "String"
467
+ "type": "zeebe:input",
468
+ "name": "unMappedFieldNotUseInModel.mailType"
469
+ }
534
470
  },
535
471
  {
536
- "id": "template.data",
537
- "label": "Template data",
538
- "optional": false,
539
- "constraints": {
540
- "notEmpty": true
541
- },
542
- "feel": "required",
472
+ "label": "Subject",
543
473
  "group": "content",
474
+ "type": "String",
475
+ "feel": "optional",
544
476
  "binding": {
545
- "name": "template.data",
546
- "type": "zeebe:input"
547
- },
548
- "condition": {
549
- "property": "unMappedFieldNotUseInModel.mailType",
550
- "equals": "byTemplate",
551
- "type": "simple"
477
+ "type": "zeebe:input",
478
+ "name": "content.subject"
552
479
  },
553
- "type": "String"
554
- },
555
- {
556
- "id": "content.subject",
557
- "label": "Subject",
558
- "optional": false,
559
480
  "constraints": {
560
481
  "notEmpty": true
561
482
  },
562
- "feel": "optional",
563
- "group": "content",
564
- "binding": {
565
- "name": "content.subject",
566
- "type": "zeebe:input"
567
- },
568
483
  "condition": {
569
- "property": "unMappedFieldNotUseInModel.mailType",
570
- "equals": "mail",
571
- "type": "simple"
572
- },
573
- "type": "String"
484
+ "property": "mailType",
485
+ "equals": "mail"
486
+ }
574
487
  },
575
488
  {
576
- "id": "content.type",
577
489
  "label": "Content type",
578
- "optional": false,
490
+ "group": "content",
491
+ "type": "String",
492
+ "feel": "optional",
579
493
  "value": "text/plain",
494
+ "binding": {
495
+ "type": "zeebe:input",
496
+ "name": "content.type"
497
+ },
580
498
  "constraints": {
581
499
  "notEmpty": true
582
500
  },
583
- "feel": "optional",
584
- "group": "content",
585
- "binding": {
586
- "name": "content.type",
587
- "type": "zeebe:input"
588
- },
589
501
  "condition": {
590
- "property": "unMappedFieldNotUseInModel.mailType",
591
- "equals": "mail",
592
- "type": "simple"
593
- },
594
- "type": "String"
502
+ "property": "mailType",
503
+ "equals": "mail"
504
+ }
595
505
  },
596
506
  {
597
- "id": "content.value",
598
507
  "label": "Body",
599
- "optional": false,
508
+ "group": "content",
509
+ "type": "Text",
510
+ "feel": "optional",
511
+ "binding": {
512
+ "type": "zeebe:input",
513
+ "name": "content.value"
514
+ },
600
515
  "constraints": {
601
516
  "notEmpty": true
602
517
  },
603
- "feel": "optional",
518
+ "condition": {
519
+ "property": "mailType",
520
+ "equals": "mail"
521
+ }
522
+ },
523
+ {
524
+ "label": "Template ID",
604
525
  "group": "content",
526
+ "type": "String",
527
+ "feel": "optional",
605
528
  "binding": {
606
- "name": "content.value",
607
- "type": "zeebe:input"
529
+ "type": "zeebe:input",
530
+ "name": "template.id"
531
+ },
532
+ "constraints": {
533
+ "notEmpty": true
608
534
  },
609
535
  "condition": {
610
- "property": "unMappedFieldNotUseInModel.mailType",
611
- "equals": "mail",
612
- "type": "simple"
613
- },
614
- "type": "Text"
615
- },
616
- {
617
- "id": "resultVariable",
618
- "label": "Result variable",
619
- "description": "Name of variable to store the response in",
620
- "group": "output",
621
- "binding": {
622
- "key": "resultVariable",
623
- "type": "zeebe:taskHeader"
624
- },
625
- "type": "String"
536
+ "property": "mailType",
537
+ "equals": "byTemplate"
538
+ }
626
539
  },
627
540
  {
628
- "id": "resultExpression",
629
- "label": "Result expression",
630
- "description": "Expression to map the response into process variables",
541
+ "label": "Template data",
542
+ "group": "content",
543
+ "type": "Text",
631
544
  "feel": "required",
632
- "group": "output",
633
545
  "binding": {
634
- "key": "resultExpression",
635
- "type": "zeebe:taskHeader"
546
+ "type": "zeebe:input",
547
+ "name": "template.data"
636
548
  },
637
- "type": "Text"
549
+ "constraints": {
550
+ "notEmpty": true
551
+ },
552
+ "condition": {
553
+ "property": "mailType",
554
+ "equals": "byTemplate"
555
+ }
638
556
  },
639
557
  {
640
- "id": "errorExpression",
641
558
  "label": "Error expression",
642
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
559
+ "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>",
560
+ "group": "errors",
561
+ "type": "Text",
643
562
  "feel": "required",
644
- "group": "error",
645
- "binding": {
646
- "key": "errorExpression",
647
- "type": "zeebe:taskHeader"
648
- },
649
- "type": "Text"
650
- },
651
- {
652
- "id": "retryCount",
653
- "label": "Retries",
654
- "description": "Number of retries",
655
- "value": "3",
656
- "feel": "optional",
657
- "group": "retries",
658
- "binding": {
659
- "property": "retries",
660
- "type": "zeebe:taskDefinition"
661
- },
662
- "type": "String"
663
- },
664
- {
665
- "id": "retryBackoff",
666
- "label": "Retry backoff",
667
- "description": "ISO-8601 duration to wait between retries",
668
- "value": "PT0S",
669
- "feel": "optional",
670
- "group": "retries",
671
563
  "binding": {
672
- "key": "retryBackoff",
673
- "type": "zeebe:taskHeader"
674
- },
675
- "type": "String"
564
+ "type": "zeebe:taskHeader",
565
+ "key": "errorExpression"
566
+ }
676
567
  }
677
568
  ],
678
- "icon": {
679
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD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
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
687
- "name": "SendGrid Outbound Connector",
575
+ "name": "SendGrid connector",
688
576
  "id": "io.camunda.connectors.SendGrid.v2",
689
- "version": 2,
577
+ "version": 1,
690
578
  "description": "Send an email via SendGrid",
691
579
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
692
580
  "icon": {
@@ -918,16 +806,168 @@
918
806
  "camunda": "^8.2"
919
807
  }
920
808
  },
809
+ {
810
+ "$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
+ },
822
+ "category": {
823
+ "id": "connectors",
824
+ "name": "Connectors"
825
+ },
826
+ "appliesTo": ["bpmn:Task"],
827
+ "elementType": {
828
+ "value": "bpmn:ServiceTask"
829
+ },
830
+ "groups": [
831
+ {
832
+ "id": "sendgrid",
833
+ "label": "SendGrid API"
834
+ },
835
+ {
836
+ "id": "sender",
837
+ "label": "Sender"
838
+ },
839
+ {
840
+ "id": "receiver",
841
+ "label": "Receiver"
842
+ },
843
+ {
844
+ "id": "content",
845
+ "label": "Email Content"
846
+ }
847
+ ],
848
+ "properties": [
849
+ {
850
+ "type": "Hidden",
851
+ "value": "io.camunda:sendgrid:1",
852
+ "binding": {
853
+ "type": "zeebe:taskDefinition",
854
+ "property": "type"
855
+ }
856
+ },
857
+ {
858
+ "label": "SendGrid API Key",
859
+ "group": "sendgrid",
860
+ "type": "String",
861
+ "feel": "optional",
862
+ "binding": {
863
+ "type": "zeebe:input",
864
+ "name": "apiKey"
865
+ },
866
+ "constraints": {
867
+ "notEmpty": true
868
+ }
869
+ },
870
+ {
871
+ "label": "Name",
872
+ "group": "sender",
873
+ "type": "String",
874
+ "feel": "optional",
875
+ "binding": {
876
+ "type": "zeebe:input",
877
+ "name": "from.name"
878
+ },
879
+ "constraints": {
880
+ "notEmpty": true
881
+ }
882
+ },
883
+ {
884
+ "label": "Email Address",
885
+ "group": "sender",
886
+ "type": "String",
887
+ "feel": "optional",
888
+ "binding": {
889
+ "type": "zeebe:input",
890
+ "name": "from.email"
891
+ },
892
+ "constraints": {
893
+ "notEmpty": true
894
+ }
895
+ },
896
+ {
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
+ },
921
964
  {
922
965
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
923
966
  "name": "SendGrid Outbound Connector",
924
967
  "id": "io.camunda.connectors.SendGrid.v2",
925
968
  "description": "Send an email via SendGrid",
926
- "metadata": {
927
- "keywords": []
928
- },
929
969
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
930
- "version": 4,
970
+ "version": 3,
931
971
  "category": {
932
972
  "id": "connectors",
933
973
  "name": "Connectors"
@@ -936,9 +976,6 @@
936
976
  "elementType": {
937
977
  "value": "bpmn:ServiceTask"
938
978
  },
939
- "engines": {
940
- "camunda": "^8.3"
941
- },
942
979
  "groups": [
943
980
  {
944
981
  "id": "authentication",
@@ -1175,19 +1212,6 @@
1175
1212
  },
1176
1213
  "type": "Text"
1177
1214
  },
1178
- {
1179
- "id": "attachments",
1180
- "label": "attachments",
1181
- "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
1182
- "optional": true,
1183
- "feel": "required",
1184
- "group": "content",
1185
- "binding": {
1186
- "name": "attachments",
1187
- "type": "zeebe:input"
1188
- },
1189
- "type": "String"
1190
- },
1191
1215
  {
1192
1216
  "id": "resultVariable",
1193
1217
  "label": "Result variable",
@@ -1241,6 +1265,7 @@
1241
1265
  "label": "Retry backoff",
1242
1266
  "description": "ISO-8601 duration to wait between retries",
1243
1267
  "value": "PT0S",
1268
+ "feel": "optional",
1244
1269
  "group": "retries",
1245
1270
  "binding": {
1246
1271
  "key": "retryBackoff",
@@ -1251,18 +1276,24 @@
1251
1276
  ],
1252
1277
  "icon": {
1253
1278
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQ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ExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1279
+ },
1280
+ "engines": {
1281
+ "camunda": "^8.5"
1254
1282
  }
1255
1283
  },
1256
1284
  {
1257
1285
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1258
- "name": "SendGrid connector",
1259
- "id": "io.camunda.connectors.SendGrid.v2",
1260
- "version": 1,
1261
- "description": "Send an email via SendGrid",
1262
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
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/",
1263
1290
  "icon": {
1264
1291
  "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"
1265
1292
  },
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
+ },
1266
1297
  "category": {
1267
1298
  "id": "connectors",
1268
1299
  "name": "Connectors"
@@ -1273,8 +1304,149 @@
1273
1304
  },
1274
1305
  "groups": [
1275
1306
  {
1276
- "id": "authentication",
1277
- "label": "Authentication"
1307
+ "id": "sendgrid",
1308
+ "label": "SendGrid API"
1309
+ },
1310
+ {
1311
+ "id": "sender",
1312
+ "label": "Sender"
1313
+ },
1314
+ {
1315
+ "id": "receiver",
1316
+ "label": "Receiver"
1317
+ },
1318
+ {
1319
+ "id": "template",
1320
+ "label": "Dynamic Email Template"
1321
+ }
1322
+ ],
1323
+ "properties": [
1324
+ {
1325
+ "type": "Hidden",
1326
+ "value": "io.camunda:sendgrid:1",
1327
+ "binding": {
1328
+ "type": "zeebe:taskDefinition",
1329
+ "property": "type"
1330
+ }
1331
+ },
1332
+ {
1333
+ "label": "SendGrid API Key",
1334
+ "group": "sendgrid",
1335
+ "type": "String",
1336
+ "feel": "optional",
1337
+ "binding": {
1338
+ "type": "zeebe:input",
1339
+ "name": "apiKey"
1340
+ },
1341
+ "constraints": {
1342
+ "notEmpty": true
1343
+ }
1344
+ },
1345
+ {
1346
+ "label": "Name",
1347
+ "group": "sender",
1348
+ "type": "String",
1349
+ "feel": "optional",
1350
+ "binding": {
1351
+ "type": "zeebe:input",
1352
+ "name": "from.name"
1353
+ },
1354
+ "constraints": {
1355
+ "notEmpty": true
1356
+ }
1357
+ },
1358
+ {
1359
+ "label": "Email Address",
1360
+ "group": "sender",
1361
+ "type": "String",
1362
+ "feel": "optional",
1363
+ "binding": {
1364
+ "type": "zeebe:input",
1365
+ "name": "from.email"
1366
+ },
1367
+ "constraints": {
1368
+ "notEmpty": true
1369
+ }
1370
+ },
1371
+ {
1372
+ "label": "Name",
1373
+ "group": "receiver",
1374
+ "type": "String",
1375
+ "feel": "optional",
1376
+ "binding": {
1377
+ "type": "zeebe:input",
1378
+ "name": "to.name"
1379
+ },
1380
+ "constraints": {
1381
+ "notEmpty": true
1382
+ }
1383
+ },
1384
+ {
1385
+ "label": "Email Address",
1386
+ "group": "receiver",
1387
+ "type": "String",
1388
+ "feel": "optional",
1389
+ "binding": {
1390
+ "type": "zeebe:input",
1391
+ "name": "to.email"
1392
+ },
1393
+ "constraints": {
1394
+ "notEmpty": true
1395
+ }
1396
+ },
1397
+ {
1398
+ "label": "Template ID",
1399
+ "group": "template",
1400
+ "type": "String",
1401
+ "feel": "optional",
1402
+ "binding": {
1403
+ "type": "zeebe:input",
1404
+ "name": "template.id"
1405
+ },
1406
+ "constraints": {
1407
+ "notEmpty": true
1408
+ }
1409
+ },
1410
+ {
1411
+ "label": "Template Data",
1412
+ "group": "template",
1413
+ "type": "Text",
1414
+ "feel": "required",
1415
+ "binding": {
1416
+ "type": "zeebe:input",
1417
+ "name": "template.data"
1418
+ },
1419
+ "constraints": {
1420
+ "notEmpty": true
1421
+ }
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": {
1436
+ "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
+ },
1438
+ "category": {
1439
+ "id": "connectors",
1440
+ "name": "Connectors"
1441
+ },
1442
+ "appliesTo": ["bpmn:Task"],
1443
+ "elementType": {
1444
+ "value": "bpmn:ServiceTask"
1445
+ },
1446
+ "groups": [
1447
+ {
1448
+ "id": "authentication",
1449
+ "label": "Authentication"
1278
1450
  },
1279
1451
  {
1280
1452
  "id": "sender",
@@ -1484,9 +1656,369 @@
1484
1656
  "key": "errorExpression"
1485
1657
  }
1486
1658
  }
1487
- ],
1659
+ ]
1660
+ },
1661
+ {
1662
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1663
+ "name": "SendGrid Outbound Connector",
1664
+ "id": "io.camunda.connectors.SendGrid.v2",
1665
+ "description": "Send an email via SendGrid",
1666
+ "metadata": {
1667
+ "keywords": []
1668
+ },
1669
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1670
+ "version": 5,
1671
+ "category": {
1672
+ "id": "connectors",
1673
+ "name": "Connectors"
1674
+ },
1675
+ "appliesTo": ["bpmn:Task"],
1676
+ "elementType": {
1677
+ "value": "bpmn:ServiceTask"
1678
+ },
1488
1679
  "engines": {
1489
- "camunda": "^8.2"
1680
+ "camunda": "^8.3"
1681
+ },
1682
+ "groups": [
1683
+ {
1684
+ "id": "authentication",
1685
+ "label": "Authentication"
1686
+ },
1687
+ {
1688
+ "id": "sender",
1689
+ "label": "Sender"
1690
+ },
1691
+ {
1692
+ "id": "receiver",
1693
+ "label": "Receiver"
1694
+ },
1695
+ {
1696
+ "id": "content",
1697
+ "label": "Compose email"
1698
+ },
1699
+ {
1700
+ "id": "connector",
1701
+ "label": "Connector"
1702
+ },
1703
+ {
1704
+ "id": "output",
1705
+ "label": "Output mapping"
1706
+ },
1707
+ {
1708
+ "id": "error",
1709
+ "label": "Error handling"
1710
+ },
1711
+ {
1712
+ "id": "retries",
1713
+ "label": "Retries"
1714
+ }
1715
+ ],
1716
+ "properties": [
1717
+ {
1718
+ "value": "io.camunda:sendgrid:1",
1719
+ "binding": {
1720
+ "property": "type",
1721
+ "type": "zeebe:taskDefinition"
1722
+ },
1723
+ "type": "Hidden"
1724
+ },
1725
+ {
1726
+ "id": "apiKey",
1727
+ "label": "SendGrid API key",
1728
+ "optional": false,
1729
+ "constraints": {
1730
+ "notEmpty": true
1731
+ },
1732
+ "feel": "optional",
1733
+ "group": "authentication",
1734
+ "binding": {
1735
+ "name": "apiKey",
1736
+ "type": "zeebe:input"
1737
+ },
1738
+ "type": "String"
1739
+ },
1740
+ {
1741
+ "id": "from.name",
1742
+ "label": "Name",
1743
+ "optional": false,
1744
+ "constraints": {
1745
+ "notEmpty": true
1746
+ },
1747
+ "feel": "optional",
1748
+ "group": "sender",
1749
+ "binding": {
1750
+ "name": "from.name",
1751
+ "type": "zeebe:input"
1752
+ },
1753
+ "type": "String"
1754
+ },
1755
+ {
1756
+ "id": "from.email",
1757
+ "label": "Email address",
1758
+ "optional": false,
1759
+ "constraints": {
1760
+ "notEmpty": true
1761
+ },
1762
+ "feel": "optional",
1763
+ "group": "sender",
1764
+ "binding": {
1765
+ "name": "from.email",
1766
+ "type": "zeebe:input"
1767
+ },
1768
+ "type": "String"
1769
+ },
1770
+ {
1771
+ "id": "to.name",
1772
+ "label": "Name",
1773
+ "optional": false,
1774
+ "constraints": {
1775
+ "notEmpty": true
1776
+ },
1777
+ "feel": "optional",
1778
+ "group": "receiver",
1779
+ "binding": {
1780
+ "name": "to.name",
1781
+ "type": "zeebe:input"
1782
+ },
1783
+ "type": "String"
1784
+ },
1785
+ {
1786
+ "id": "to.email",
1787
+ "label": "Email address",
1788
+ "optional": false,
1789
+ "constraints": {
1790
+ "notEmpty": true
1791
+ },
1792
+ "feel": "optional",
1793
+ "group": "receiver",
1794
+ "binding": {
1795
+ "name": "to.email",
1796
+ "type": "zeebe:input"
1797
+ },
1798
+ "type": "String"
1799
+ },
1800
+ {
1801
+ "id": "unMappedFieldNotUseInModel.mailType",
1802
+ "label": "Mail contents",
1803
+ "optional": false,
1804
+ "group": "content",
1805
+ "binding": {
1806
+ "name": "unMappedFieldNotUseInModel.mailType",
1807
+ "type": "zeebe:input"
1808
+ },
1809
+ "type": "Dropdown",
1810
+ "choices": [
1811
+ {
1812
+ "name": "Simple (no dynamic template)",
1813
+ "value": "mail"
1814
+ },
1815
+ {
1816
+ "name": "Using dynamic template",
1817
+ "value": "byTemplate"
1818
+ }
1819
+ ]
1820
+ },
1821
+ {
1822
+ "id": "template.id",
1823
+ "label": "Template ID",
1824
+ "optional": false,
1825
+ "constraints": {
1826
+ "notEmpty": true
1827
+ },
1828
+ "feel": "optional",
1829
+ "group": "content",
1830
+ "binding": {
1831
+ "name": "template.id",
1832
+ "type": "zeebe:input"
1833
+ },
1834
+ "condition": {
1835
+ "property": "unMappedFieldNotUseInModel.mailType",
1836
+ "equals": "byTemplate",
1837
+ "type": "simple"
1838
+ },
1839
+ "type": "String"
1840
+ },
1841
+ {
1842
+ "id": "template.data",
1843
+ "label": "Template data",
1844
+ "optional": false,
1845
+ "constraints": {
1846
+ "notEmpty": true
1847
+ },
1848
+ "feel": "required",
1849
+ "group": "content",
1850
+ "binding": {
1851
+ "name": "template.data",
1852
+ "type": "zeebe:input"
1853
+ },
1854
+ "condition": {
1855
+ "property": "unMappedFieldNotUseInModel.mailType",
1856
+ "equals": "byTemplate",
1857
+ "type": "simple"
1858
+ },
1859
+ "type": "String"
1860
+ },
1861
+ {
1862
+ "id": "content.subject",
1863
+ "label": "Subject",
1864
+ "optional": false,
1865
+ "constraints": {
1866
+ "notEmpty": true
1867
+ },
1868
+ "feel": "optional",
1869
+ "group": "content",
1870
+ "binding": {
1871
+ "name": "content.subject",
1872
+ "type": "zeebe:input"
1873
+ },
1874
+ "condition": {
1875
+ "property": "unMappedFieldNotUseInModel.mailType",
1876
+ "equals": "mail",
1877
+ "type": "simple"
1878
+ },
1879
+ "type": "String"
1880
+ },
1881
+ {
1882
+ "id": "content.type",
1883
+ "label": "Content type",
1884
+ "optional": false,
1885
+ "value": "text/plain",
1886
+ "constraints": {
1887
+ "notEmpty": true
1888
+ },
1889
+ "feel": "optional",
1890
+ "group": "content",
1891
+ "binding": {
1892
+ "name": "content.type",
1893
+ "type": "zeebe:input"
1894
+ },
1895
+ "condition": {
1896
+ "property": "unMappedFieldNotUseInModel.mailType",
1897
+ "equals": "mail",
1898
+ "type": "simple"
1899
+ },
1900
+ "type": "String"
1901
+ },
1902
+ {
1903
+ "id": "content.value",
1904
+ "label": "Body",
1905
+ "optional": false,
1906
+ "constraints": {
1907
+ "notEmpty": true
1908
+ },
1909
+ "feel": "optional",
1910
+ "group": "content",
1911
+ "binding": {
1912
+ "name": "content.value",
1913
+ "type": "zeebe:input"
1914
+ },
1915
+ "condition": {
1916
+ "property": "unMappedFieldNotUseInModel.mailType",
1917
+ "equals": "mail",
1918
+ "type": "simple"
1919
+ },
1920
+ "type": "Text"
1921
+ },
1922
+ {
1923
+ "id": "attachments",
1924
+ "label": "attachments",
1925
+ "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
1926
+ "optional": true,
1927
+ "feel": "required",
1928
+ "group": "content",
1929
+ "binding": {
1930
+ "name": "attachments",
1931
+ "type": "zeebe:input"
1932
+ },
1933
+ "type": "String"
1934
+ },
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
+ {
1960
+ "id": "resultVariable",
1961
+ "label": "Result variable",
1962
+ "description": "Name of variable to store the response in",
1963
+ "group": "output",
1964
+ "binding": {
1965
+ "key": "resultVariable",
1966
+ "type": "zeebe:taskHeader"
1967
+ },
1968
+ "type": "String"
1969
+ },
1970
+ {
1971
+ "id": "resultExpression",
1972
+ "label": "Result expression",
1973
+ "description": "Expression to map the response into process variables",
1974
+ "feel": "required",
1975
+ "group": "output",
1976
+ "binding": {
1977
+ "key": "resultExpression",
1978
+ "type": "zeebe:taskHeader"
1979
+ },
1980
+ "type": "Text"
1981
+ },
1982
+ {
1983
+ "id": "errorExpression",
1984
+ "label": "Error expression",
1985
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1986
+ "feel": "required",
1987
+ "group": "error",
1988
+ "binding": {
1989
+ "key": "errorExpression",
1990
+ "type": "zeebe:taskHeader"
1991
+ },
1992
+ "type": "Text"
1993
+ },
1994
+ {
1995
+ "id": "retryCount",
1996
+ "label": "Retries",
1997
+ "description": "Number of retries",
1998
+ "value": "3",
1999
+ "feel": "optional",
2000
+ "group": "retries",
2001
+ "binding": {
2002
+ "property": "retries",
2003
+ "type": "zeebe:taskDefinition"
2004
+ },
2005
+ "type": "String"
2006
+ },
2007
+ {
2008
+ "id": "retryBackoff",
2009
+ "label": "Retry backoff",
2010
+ "description": "ISO-8601 duration to wait between retries",
2011
+ "value": "PT0S",
2012
+ "group": "retries",
2013
+ "binding": {
2014
+ "key": "retryBackoff",
2015
+ "type": "zeebe:taskHeader"
2016
+ },
2017
+ "type": "String"
2018
+ }
2019
+ ],
2020
+ "icon": {
2021
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCA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