@camunda/connectors-element-templates 1.0.19 → 1.0.20

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 (96) hide show
  1. package/package.json +2 -2
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +31 -31
  4. package/src/element-templates/agenticai-aiagent-job-worker.json +180 -180
  5. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3080 -3080
  6. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  7. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
  8. package/src/element-templates/asana-connector.json +107 -107
  9. package/src/element-templates/automation-anywhere-outbound-connector.json +575 -575
  10. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
  11. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
  12. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
  13. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
  14. package/src/element-templates/aws-bedrock-outbound-connector.json +1 -1
  15. package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
  16. package/src/element-templates/aws-dynamodb-outbound-connector.json +3079 -1727
  17. package/src/element-templates/aws-eventbridge-connector-boundary.json +33 -33
  18. package/src/element-templates/aws-eventbridge-connector-intermediate.json +28 -28
  19. package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
  20. package/src/element-templates/aws-eventbridge-outbound-connector.json +289 -289
  21. package/src/element-templates/aws-lambda-outbound-connector.json +45 -45
  22. package/src/element-templates/aws-s3-outbound-connector.json +705 -32
  23. package/src/element-templates/aws-sagemaker-outbound-connector.json +1 -1
  24. package/src/element-templates/aws-sns-inbound-boundary.json +203 -203
  25. package/src/element-templates/aws-sns-inbound-intermediate.json +217 -217
  26. package/src/element-templates/aws-sns-inbound-message-start.json +237 -237
  27. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  28. package/src/element-templates/aws-sns-outbound-connector.json +68 -68
  29. package/src/element-templates/aws-sqs-boundary-connector.json +415 -415
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +500 -500
  31. package/src/element-templates/aws-sqs-outbound-connector.json +390 -390
  32. package/src/element-templates/aws-sqs-start-event-connector.json +409 -409
  33. package/src/element-templates/aws-textract-outbound-connector.json +124 -124
  34. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  35. package/src/element-templates/azure-open-ai-connector.json +1 -1
  36. package/src/element-templates/blue-prism-connector.json +52 -52
  37. package/src/element-templates/box-outbound-connector.json +49 -49
  38. package/src/element-templates/csv-outbound-connector.json +452 -3
  39. package/src/element-templates/easy-post-connector.json +262 -262
  40. package/src/element-templates/email-outbound-connector.json +1 -1
  41. package/src/element-templates/embeddings-vector-database-outbound-connector.json +1 -1
  42. package/src/element-templates/github-connector.json +10051 -10051
  43. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  44. package/src/element-templates/github-webhook-connector-start-event.json +26 -26
  45. package/src/element-templates/gitlab-connector.json +1081 -1081
  46. package/src/element-templates/google-cloud-storage-outbound-connector.json +1 -1
  47. package/src/element-templates/google-drive-outbound-connector.json +361 -361
  48. package/src/element-templates/google-gemini-outbound-connector.json +33 -33
  49. package/src/element-templates/google-maps-platform-connector.json +81 -81
  50. package/src/element-templates/google-sheets-outbound-connector.json +1124 -1124
  51. package/src/element-templates/graphql-outbound-connector.json +1813 -1706
  52. package/src/element-templates/http-json-connector.json +3412 -1814
  53. package/src/element-templates/http-polling-boundary-catch-event-connector.json +102 -0
  54. package/src/element-templates/http-polling-connector.json +825 -723
  55. package/src/element-templates/hubspot-outbound-connector.json +59 -59
  56. package/src/element-templates/hugging-face-connector.json +75 -75
  57. package/src/element-templates/jdbc-outbound-connector.json +1 -1
  58. package/src/element-templates/kafka-inbound-connector-boundary.json +976 -976
  59. package/src/element-templates/kafka-inbound-connector-intermediate.json +501 -501
  60. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  61. package/src/element-templates/kafka-outbound-connector.json +177 -177
  62. package/src/element-templates/microsoft-office365-mail-connector.json +1059 -73
  63. package/src/element-templates/microsoft-teams-outbound-connector.json +4489 -4489
  64. package/src/element-templates/openai-connector.json +238 -238
  65. package/src/element-templates/operate-connector.json +136 -136
  66. package/src/element-templates/power-automate-connector.json +19 -19
  67. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +443 -443
  68. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +765 -765
  69. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +352 -352
  70. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +337 -337
  71. package/src/element-templates/rabbitmq-outbound-connector.json +326 -326
  72. package/src/element-templates/salesforce-connector.json +59 -59
  73. package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
  74. package/src/element-templates/send-message-connector-message-end-event.json +1 -1
  75. package/src/element-templates/send-message-connector-send-task.json +1 -1
  76. package/src/element-templates/sendgrid-outbound-connector.json +636 -636
  77. package/src/element-templates/servicenow-connector.json +1 -1
  78. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  79. package/src/element-templates/servicenow-incident-connector.json +1 -1
  80. package/src/element-templates/slack-inbound-boundary.json +266 -266
  81. package/src/element-templates/slack-inbound-intermediate.json +557 -557
  82. package/src/element-templates/slack-inbound-message-start.json +334 -334
  83. package/src/element-templates/slack-inbound-start-event.json +128 -128
  84. package/src/element-templates/slack-outbound-connector.json +1415 -1415
  85. package/src/element-templates/soap-outbound-connector.json +1 -1
  86. package/src/element-templates/twilio-connector.json +354 -354
  87. package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
  88. package/src/element-templates/twilio-webhook-connector.json +29 -29
  89. package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
  90. package/src/element-templates/twilio-webhook-message-start-connector.json +17 -17
  91. package/src/element-templates/uipath-connector.json +56 -56
  92. package/src/element-templates/webhook-connector-boundary.json +114 -114
  93. package/src/element-templates/webhook-connector-intermediate.json +1129 -1129
  94. package/src/element-templates/webhook-connector-start-event.json +1293 -1293
  95. package/src/element-templates/webhook-connector-start-message.json +537 -537
  96. package/src/element-templates/whatsapp-connector.json +51 -51
@@ -4,11 +4,8 @@
4
4
  "name": "SendGrid Outbound Connector",
5
5
  "id": "io.camunda.connectors.SendGrid.v2",
6
6
  "description": "Send an email via SendGrid",
7
- "metadata": {
8
- "keywords": []
9
- },
10
7
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
11
- "version": 4,
8
+ "version": 3,
12
9
  "category": {
13
10
  "id": "connectors",
14
11
  "name": "Connectors"
@@ -17,9 +14,6 @@
17
14
  "elementType": {
18
15
  "value": "bpmn:ServiceTask"
19
16
  },
20
- "engines": {
21
- "camunda": "^8.3"
22
- },
23
17
  "groups": [
24
18
  {
25
19
  "id": "authentication",
@@ -256,19 +250,6 @@
256
250
  },
257
251
  "type": "Text"
258
252
  },
259
- {
260
- "id": "attachments",
261
- "label": "attachments",
262
- "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
263
- "optional": true,
264
- "feel": "required",
265
- "group": "content",
266
- "binding": {
267
- "name": "attachments",
268
- "type": "zeebe:input"
269
- },
270
- "type": "String"
271
- },
272
253
  {
273
254
  "id": "resultVariable",
274
255
  "label": "Result variable",
@@ -322,6 +303,7 @@
322
303
  "label": "Retry backoff",
323
304
  "description": "ISO-8601 duration to wait between retries",
324
305
  "value": "PT0S",
306
+ "feel": "optional",
325
307
  "group": "retries",
326
308
  "binding": {
327
309
  "key": "retryBackoff",
@@ -332,25 +314,21 @@
332
314
  ],
333
315
  "icon": {
334
316
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
317
+ },
318
+ "engines": {
319
+ "camunda": "^8.5"
335
320
  }
336
321
  },
337
322
  {
338
323
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
339
- "name": "SendGrid Outbound Connector",
324
+ "name": "SendGrid connector",
340
325
  "id": "io.camunda.connectors.SendGrid.v2",
326
+ "version": 1,
341
327
  "description": "Send an email via SendGrid",
342
- "keywords": [
343
- "send email",
344
- "email notification",
345
- "transactional email",
346
- "marketing email",
347
- "email campaign",
348
- "email delivery",
349
- "dynamic template",
350
- "email template"
351
- ],
352
328
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
353
- "version": 5,
329
+ "icon": {
330
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
331
+ },
354
332
  "category": {
355
333
  "id": "connectors",
356
334
  "name": "Connectors"
@@ -359,9 +337,6 @@
359
337
  "elementType": {
360
338
  "value": "bpmn:ServiceTask"
361
339
  },
362
- "engines": {
363
- "camunda": "^8.3"
364
- },
365
340
  "groups": [
366
341
  {
367
342
  "id": "authentication",
@@ -380,115 +355,88 @@
380
355
  "label": "Compose email"
381
356
  },
382
357
  {
383
- "id": "connector",
384
- "label": "Connector"
385
- },
386
- {
387
- "id": "output",
388
- "label": "Output mapping"
389
- },
390
- {
391
- "id": "error",
358
+ "id": "errors",
392
359
  "label": "Error handling"
393
- },
394
- {
395
- "id": "retries",
396
- "label": "Retries"
397
360
  }
398
361
  ],
399
362
  "properties": [
400
363
  {
364
+ "type": "Hidden",
401
365
  "value": "io.camunda:sendgrid:1",
402
366
  "binding": {
403
- "property": "type",
404
- "type": "zeebe:taskDefinition"
405
- },
406
- "type": "Hidden"
367
+ "type": "zeebe:taskDefinition",
368
+ "property": "type"
369
+ }
407
370
  },
408
371
  {
409
- "id": "apiKey",
410
372
  "label": "SendGrid API key",
411
- "optional": false,
412
- "constraints": {
413
- "notEmpty": true
414
- },
415
- "feel": "optional",
416
373
  "group": "authentication",
374
+ "type": "String",
375
+ "feel": "optional",
417
376
  "binding": {
418
- "name": "apiKey",
419
- "type": "zeebe:input"
377
+ "type": "zeebe:input",
378
+ "name": "apiKey"
420
379
  },
421
- "type": "String"
380
+ "constraints": {
381
+ "notEmpty": true
382
+ }
422
383
  },
423
384
  {
424
- "id": "from.name",
425
385
  "label": "Name",
426
- "optional": false,
427
- "constraints": {
428
- "notEmpty": true
429
- },
430
- "feel": "optional",
431
386
  "group": "sender",
387
+ "type": "String",
388
+ "feel": "optional",
432
389
  "binding": {
433
- "name": "from.name",
434
- "type": "zeebe:input"
390
+ "type": "zeebe:input",
391
+ "name": "from.name"
435
392
  },
436
- "type": "String"
393
+ "constraints": {
394
+ "notEmpty": true
395
+ }
437
396
  },
438
397
  {
439
- "id": "from.email",
440
398
  "label": "Email address",
441
- "optional": false,
442
- "constraints": {
443
- "notEmpty": true
444
- },
445
- "feel": "optional",
446
399
  "group": "sender",
400
+ "type": "String",
401
+ "feel": "optional",
447
402
  "binding": {
448
- "name": "from.email",
449
- "type": "zeebe:input"
403
+ "type": "zeebe:input",
404
+ "name": "from.email"
450
405
  },
451
- "type": "String"
406
+ "constraints": {
407
+ "notEmpty": true
408
+ }
452
409
  },
453
410
  {
454
- "id": "to.name",
455
411
  "label": "Name",
456
- "optional": false,
457
- "constraints": {
458
- "notEmpty": true
459
- },
460
- "feel": "optional",
461
412
  "group": "receiver",
413
+ "type": "String",
414
+ "feel": "optional",
462
415
  "binding": {
463
- "name": "to.name",
464
- "type": "zeebe:input"
416
+ "type": "zeebe:input",
417
+ "name": "to.name"
465
418
  },
466
- "type": "String"
419
+ "constraints": {
420
+ "notEmpty": true
421
+ }
467
422
  },
468
423
  {
469
- "id": "to.email",
470
424
  "label": "Email address",
471
- "optional": false,
472
- "constraints": {
473
- "notEmpty": true
474
- },
475
- "feel": "optional",
476
425
  "group": "receiver",
426
+ "type": "String",
427
+ "feel": "optional",
477
428
  "binding": {
478
- "name": "to.email",
479
- "type": "zeebe:input"
429
+ "type": "zeebe:input",
430
+ "name": "to.email"
480
431
  },
481
- "type": "String"
432
+ "constraints": {
433
+ "notEmpty": true
434
+ }
482
435
  },
483
436
  {
484
- "id": "unMappedFieldNotUseInModel.mailType",
485
- "label": "Mail contents",
486
- "optional": false,
437
+ "id": "mailType",
487
438
  "group": "content",
488
- "binding": {
489
- "name": "unMappedFieldNotUseInModel.mailType",
490
- "type": "zeebe:input"
491
- },
439
+ "value": "mail",
492
440
  "type": "Dropdown",
493
441
  "choices": [
494
442
  {
@@ -499,221 +447,127 @@
499
447
  "name": "Using dynamic template",
500
448
  "value": "byTemplate"
501
449
  }
502
- ]
503
- },
504
- {
505
- "id": "template.id",
506
- "label": "Template ID",
507
- "optional": false,
508
- "constraints": {
509
- "notEmpty": true
510
- },
511
- "feel": "optional",
512
- "group": "content",
450
+ ],
513
451
  "binding": {
514
- "name": "template.id",
515
- "type": "zeebe:input"
516
- },
517
- "condition": {
518
- "property": "unMappedFieldNotUseInModel.mailType",
519
- "equals": "byTemplate",
520
- "type": "simple"
521
- },
522
- "type": "String"
452
+ "type": "zeebe:input",
453
+ "name": "unMappedFieldNotUseInModel.mailType"
454
+ }
523
455
  },
524
456
  {
525
- "id": "template.data",
526
- "label": "Template data",
527
- "optional": false,
528
- "constraints": {
529
- "notEmpty": true
530
- },
531
- "feel": "required",
457
+ "label": "Subject",
532
458
  "group": "content",
459
+ "type": "String",
460
+ "feel": "optional",
533
461
  "binding": {
534
- "name": "template.data",
535
- "type": "zeebe:input"
536
- },
537
- "condition": {
538
- "property": "unMappedFieldNotUseInModel.mailType",
539
- "equals": "byTemplate",
540
- "type": "simple"
462
+ "type": "zeebe:input",
463
+ "name": "content.subject"
541
464
  },
542
- "type": "String"
543
- },
544
- {
545
- "id": "content.subject",
546
- "label": "Subject",
547
- "optional": false,
548
465
  "constraints": {
549
466
  "notEmpty": true
550
467
  },
551
- "feel": "optional",
552
- "group": "content",
553
- "binding": {
554
- "name": "content.subject",
555
- "type": "zeebe:input"
556
- },
557
468
  "condition": {
558
- "property": "unMappedFieldNotUseInModel.mailType",
559
- "equals": "mail",
560
- "type": "simple"
561
- },
562
- "type": "String"
469
+ "property": "mailType",
470
+ "equals": "mail"
471
+ }
563
472
  },
564
473
  {
565
- "id": "content.type",
566
474
  "label": "Content type",
567
- "optional": false,
475
+ "group": "content",
476
+ "type": "String",
477
+ "feel": "optional",
568
478
  "value": "text/plain",
479
+ "binding": {
480
+ "type": "zeebe:input",
481
+ "name": "content.type"
482
+ },
569
483
  "constraints": {
570
484
  "notEmpty": true
571
485
  },
572
- "feel": "optional",
573
- "group": "content",
574
- "binding": {
575
- "name": "content.type",
576
- "type": "zeebe:input"
577
- },
578
486
  "condition": {
579
- "property": "unMappedFieldNotUseInModel.mailType",
580
- "equals": "mail",
581
- "type": "simple"
582
- },
583
- "type": "String"
487
+ "property": "mailType",
488
+ "equals": "mail"
489
+ }
584
490
  },
585
491
  {
586
- "id": "content.value",
587
492
  "label": "Body",
588
- "optional": false,
589
- "constraints": {
590
- "notEmpty": true
591
- },
592
- "feel": "optional",
593
493
  "group": "content",
494
+ "type": "Text",
495
+ "feel": "optional",
594
496
  "binding": {
595
- "name": "content.value",
596
- "type": "zeebe:input"
497
+ "type": "zeebe:input",
498
+ "name": "content.value"
597
499
  },
598
- "condition": {
599
- "property": "unMappedFieldNotUseInModel.mailType",
600
- "equals": "mail",
601
- "type": "simple"
500
+ "constraints": {
501
+ "notEmpty": true
602
502
  },
603
- "type": "Text"
503
+ "condition": {
504
+ "property": "mailType",
505
+ "equals": "mail"
506
+ }
604
507
  },
605
508
  {
606
- "id": "attachments",
607
- "label": "attachments",
608
- "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
609
- "optional": true,
610
- "feel": "required",
509
+ "label": "Template ID",
611
510
  "group": "content",
511
+ "type": "String",
512
+ "feel": "optional",
612
513
  "binding": {
613
- "name": "attachments",
614
- "type": "zeebe:input"
615
- },
616
- "type": "String"
617
- },
618
- {
619
- "id": "version",
620
- "label": "Version",
621
- "description": "Version of the element template",
622
- "value": "5",
623
- "group": "connector",
624
- "binding": {
625
- "key": "elementTemplateVersion",
626
- "type": "zeebe:taskHeader"
627
- },
628
- "type": "Hidden"
629
- },
630
- {
631
- "id": "id",
632
- "label": "ID",
633
- "description": "ID of the element template",
634
- "value": "io.camunda.connectors.SendGrid.v2",
635
- "group": "connector",
636
- "binding": {
637
- "key": "elementTemplateId",
638
- "type": "zeebe:taskHeader"
514
+ "type": "zeebe:input",
515
+ "name": "template.id"
639
516
  },
640
- "type": "Hidden"
641
- },
642
- {
643
- "id": "resultVariable",
644
- "label": "Result variable",
645
- "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>.",
646
- "group": "output",
647
- "binding": {
648
- "key": "resultVariable",
649
- "type": "zeebe:taskHeader"
517
+ "constraints": {
518
+ "notEmpty": true
650
519
  },
651
- "type": "String"
520
+ "condition": {
521
+ "property": "mailType",
522
+ "equals": "byTemplate"
523
+ }
652
524
  },
653
525
  {
654
- "id": "resultExpression",
655
- "label": "Result expression",
656
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>.",
526
+ "label": "Template data",
527
+ "group": "content",
528
+ "type": "Text",
657
529
  "feel": "required",
658
- "group": "output",
659
530
  "binding": {
660
- "key": "resultExpression",
661
- "type": "zeebe:taskHeader"
531
+ "type": "zeebe:input",
532
+ "name": "template.data"
662
533
  },
663
- "type": "Text"
534
+ "constraints": {
535
+ "notEmpty": true
536
+ },
537
+ "condition": {
538
+ "property": "mailType",
539
+ "equals": "byTemplate"
540
+ }
664
541
  },
665
542
  {
666
- "id": "errorExpression",
667
543
  "label": "Error expression",
668
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
544
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
545
+ "group": "errors",
546
+ "type": "Text",
669
547
  "feel": "required",
670
- "group": "error",
671
- "binding": {
672
- "key": "errorExpression",
673
- "type": "zeebe:taskHeader"
674
- },
675
- "type": "Text"
676
- },
677
- {
678
- "id": "retryCount",
679
- "label": "Retries",
680
- "description": "Number of retries",
681
- "value": "3",
682
- "feel": "optional",
683
- "group": "retries",
684
- "binding": {
685
- "property": "retries",
686
- "type": "zeebe:taskDefinition"
687
- },
688
- "type": "String"
689
- },
690
- {
691
- "id": "retryBackoff",
692
- "label": "Retry backoff",
693
- "description": "ISO-8601 duration to wait between retries",
694
- "value": "PT0S",
695
- "group": "retries",
696
548
  "binding": {
697
- "key": "retryBackoff",
698
- "type": "zeebe:taskHeader"
699
- },
700
- "type": "String"
549
+ "type": "zeebe:taskHeader",
550
+ "key": "errorExpression"
551
+ }
701
552
  }
702
553
  ],
703
- "icon": {
704
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
554
+ "engines": {
555
+ "camunda": "^8.2"
705
556
  }
706
557
  },
707
558
  {
708
559
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
709
- "name": "SendGrid connector",
710
- "id": "io.camunda.connectors.SendGrid.v2",
711
- "version": 1,
712
- "description": "Send an email via SendGrid",
713
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
560
+ "name": "SendGrid: Send Email",
561
+ "id": "io.camunda.connectors.SendGrid.v1.content",
562
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
563
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
714
564
  "icon": {
715
565
  "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
716
566
  },
567
+ "deprecated": {
568
+ "message": "Replace with 'SendGrid Connector' template.",
569
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
570
+ },
717
571
  "category": {
718
572
  "id": "connectors",
719
573
  "name": "Connectors"
@@ -724,8 +578,8 @@
724
578
  },
725
579
  "groups": [
726
580
  {
727
- "id": "authentication",
728
- "label": "Authentication"
581
+ "id": "sendgrid",
582
+ "label": "SendGrid API"
729
583
  },
730
584
  {
731
585
  "id": "sender",
@@ -737,11 +591,7 @@
737
591
  },
738
592
  {
739
593
  "id": "content",
740
- "label": "Compose email"
741
- },
742
- {
743
- "id": "errors",
744
- "label": "Error handling"
594
+ "label": "Email Content"
745
595
  }
746
596
  ],
747
597
  "properties": [
@@ -754,8 +604,8 @@
754
604
  }
755
605
  },
756
606
  {
757
- "label": "SendGrid API key",
758
- "group": "authentication",
607
+ "label": "SendGrid API Key",
608
+ "group": "sendgrid",
759
609
  "type": "String",
760
610
  "feel": "optional",
761
611
  "binding": {
@@ -780,7 +630,7 @@
780
630
  }
781
631
  },
782
632
  {
783
- "label": "Email address",
633
+ "label": "Email Address",
784
634
  "group": "sender",
785
635
  "type": "String",
786
636
  "feel": "optional",
@@ -806,7 +656,7 @@
806
656
  }
807
657
  },
808
658
  {
809
- "label": "Email address",
659
+ "label": "Email Address",
810
660
  "group": "receiver",
811
661
  "type": "String",
812
662
  "feel": "optional",
@@ -818,26 +668,6 @@
818
668
  "notEmpty": true
819
669
  }
820
670
  },
821
- {
822
- "id": "mailType",
823
- "group": "content",
824
- "value": "mail",
825
- "type": "Dropdown",
826
- "choices": [
827
- {
828
- "name": "Simple (no dynamic template)",
829
- "value": "mail"
830
- },
831
- {
832
- "name": "Using dynamic template",
833
- "value": "byTemplate"
834
- }
835
- ],
836
- "binding": {
837
- "type": "zeebe:input",
838
- "name": "unMappedFieldNotUseInModel.mailType"
839
- }
840
- },
841
671
  {
842
672
  "label": "Subject",
843
673
  "group": "content",
@@ -849,14 +679,10 @@
849
679
  },
850
680
  "constraints": {
851
681
  "notEmpty": true
852
- },
853
- "condition": {
854
- "property": "mailType",
855
- "equals": "mail"
856
682
  }
857
683
  },
858
684
  {
859
- "label": "Content type",
685
+ "label": "Content Type",
860
686
  "group": "content",
861
687
  "type": "String",
862
688
  "feel": "optional",
@@ -867,10 +693,6 @@
867
693
  },
868
694
  "constraints": {
869
695
  "notEmpty": true
870
- },
871
- "condition": {
872
- "property": "mailType",
873
- "equals": "mail"
874
696
  }
875
697
  },
876
698
  {
@@ -884,67 +706,18 @@
884
706
  },
885
707
  "constraints": {
886
708
  "notEmpty": true
887
- },
888
- "condition": {
889
- "property": "mailType",
890
- "equals": "mail"
891
- }
892
- },
893
- {
894
- "label": "Template ID",
895
- "group": "content",
896
- "type": "String",
897
- "feel": "optional",
898
- "binding": {
899
- "type": "zeebe:input",
900
- "name": "template.id"
901
- },
902
- "constraints": {
903
- "notEmpty": true
904
- },
905
- "condition": {
906
- "property": "mailType",
907
- "equals": "byTemplate"
908
- }
909
- },
910
- {
911
- "label": "Template data",
912
- "group": "content",
913
- "type": "Text",
914
- "feel": "required",
915
- "binding": {
916
- "type": "zeebe:input",
917
- "name": "template.data"
918
- },
919
- "constraints": {
920
- "notEmpty": true
921
- },
922
- "condition": {
923
- "property": "mailType",
924
- "equals": "byTemplate"
925
- }
926
- },
927
- {
928
- "label": "Error expression",
929
- "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>",
930
- "group": "errors",
931
- "type": "Text",
932
- "feel": "required",
933
- "binding": {
934
- "type": "zeebe:taskHeader",
935
- "key": "errorExpression"
936
709
  }
937
710
  }
938
- ],
939
- "engines": {
940
- "camunda": "^8.2"
941
- }
711
+ ]
942
712
  },
943
713
  {
944
714
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
945
- "name": "SendGrid Outbound Connector",
715
+ "name": "SendGrid connector",
946
716
  "id": "io.camunda.connectors.SendGrid.v2",
947
- "version": 2,
717
+ "deprecated": {
718
+ "message": "Replace with 'SendGrid connector' template.",
719
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
720
+ },
948
721
  "description": "Send an email via SendGrid",
949
722
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
950
723
  "icon": {
@@ -1171,24 +944,18 @@
1171
944
  "key": "errorExpression"
1172
945
  }
1173
946
  }
1174
- ],
1175
- "engines": {
1176
- "camunda": "^8.2"
1177
- }
947
+ ]
1178
948
  },
1179
949
  {
1180
950
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1181
- "name": "SendGrid connector",
951
+ "name": "SendGrid Outbound Connector",
1182
952
  "id": "io.camunda.connectors.SendGrid.v2",
1183
- "deprecated": {
1184
- "message": "Replace with 'SendGrid connector' template.",
1185
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1186
- },
1187
953
  "description": "Send an email via SendGrid",
1188
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1189
- "icon": {
1190
- "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"
954
+ "metadata": {
955
+ "keywords": []
1191
956
  },
957
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
958
+ "version": 4,
1192
959
  "category": {
1193
960
  "id": "connectors",
1194
961
  "name": "Connectors"
@@ -1197,6 +964,9 @@
1197
964
  "elementType": {
1198
965
  "value": "bpmn:ServiceTask"
1199
966
  },
967
+ "engines": {
968
+ "camunda": "^8.3"
969
+ },
1200
970
  "groups": [
1201
971
  {
1202
972
  "id": "authentication",
@@ -1215,88 +985,111 @@
1215
985
  "label": "Compose email"
1216
986
  },
1217
987
  {
1218
- "id": "errors",
988
+ "id": "output",
989
+ "label": "Output mapping"
990
+ },
991
+ {
992
+ "id": "error",
1219
993
  "label": "Error handling"
994
+ },
995
+ {
996
+ "id": "retries",
997
+ "label": "Retries"
1220
998
  }
1221
999
  ],
1222
1000
  "properties": [
1223
1001
  {
1224
- "type": "Hidden",
1225
1002
  "value": "io.camunda:sendgrid:1",
1226
1003
  "binding": {
1227
- "type": "zeebe:taskDefinition",
1228
- "property": "type"
1229
- }
1004
+ "property": "type",
1005
+ "type": "zeebe:taskDefinition"
1006
+ },
1007
+ "type": "Hidden"
1230
1008
  },
1231
1009
  {
1010
+ "id": "apiKey",
1232
1011
  "label": "SendGrid API key",
1233
- "group": "authentication",
1234
- "type": "String",
1012
+ "optional": false,
1013
+ "constraints": {
1014
+ "notEmpty": true
1015
+ },
1235
1016
  "feel": "optional",
1017
+ "group": "authentication",
1236
1018
  "binding": {
1237
- "type": "zeebe:input",
1238
- "name": "apiKey"
1019
+ "name": "apiKey",
1020
+ "type": "zeebe:input"
1239
1021
  },
1240
- "constraints": {
1241
- "notEmpty": true
1242
- }
1022
+ "type": "String"
1243
1023
  },
1244
1024
  {
1025
+ "id": "from.name",
1245
1026
  "label": "Name",
1246
- "group": "sender",
1247
- "type": "String",
1027
+ "optional": false,
1028
+ "constraints": {
1029
+ "notEmpty": true
1030
+ },
1248
1031
  "feel": "optional",
1032
+ "group": "sender",
1249
1033
  "binding": {
1250
- "type": "zeebe:input",
1251
- "name": "from.name"
1034
+ "name": "from.name",
1035
+ "type": "zeebe:input"
1252
1036
  },
1253
- "constraints": {
1254
- "notEmpty": true
1255
- }
1037
+ "type": "String"
1256
1038
  },
1257
1039
  {
1040
+ "id": "from.email",
1258
1041
  "label": "Email address",
1259
- "group": "sender",
1260
- "type": "String",
1042
+ "optional": false,
1043
+ "constraints": {
1044
+ "notEmpty": true
1045
+ },
1261
1046
  "feel": "optional",
1047
+ "group": "sender",
1262
1048
  "binding": {
1263
- "type": "zeebe:input",
1264
- "name": "from.email"
1049
+ "name": "from.email",
1050
+ "type": "zeebe:input"
1265
1051
  },
1266
- "constraints": {
1267
- "notEmpty": true
1268
- }
1052
+ "type": "String"
1269
1053
  },
1270
1054
  {
1055
+ "id": "to.name",
1271
1056
  "label": "Name",
1272
- "group": "receiver",
1273
- "type": "String",
1057
+ "optional": false,
1058
+ "constraints": {
1059
+ "notEmpty": true
1060
+ },
1274
1061
  "feel": "optional",
1062
+ "group": "receiver",
1275
1063
  "binding": {
1276
- "type": "zeebe:input",
1277
- "name": "to.name"
1064
+ "name": "to.name",
1065
+ "type": "zeebe:input"
1278
1066
  },
1279
- "constraints": {
1280
- "notEmpty": true
1281
- }
1067
+ "type": "String"
1282
1068
  },
1283
1069
  {
1070
+ "id": "to.email",
1284
1071
  "label": "Email address",
1285
- "group": "receiver",
1286
- "type": "String",
1072
+ "optional": false,
1073
+ "constraints": {
1074
+ "notEmpty": true
1075
+ },
1287
1076
  "feel": "optional",
1077
+ "group": "receiver",
1288
1078
  "binding": {
1289
- "type": "zeebe:input",
1290
- "name": "to.email"
1079
+ "name": "to.email",
1080
+ "type": "zeebe:input"
1291
1081
  },
1292
- "constraints": {
1293
- "notEmpty": true
1294
- }
1082
+ "type": "String"
1295
1083
  },
1296
1084
  {
1297
- "id": "mailType",
1085
+ "id": "unMappedFieldNotUseInModel.mailType",
1086
+ "label": "Mail contents",
1087
+ "optional": false,
1298
1088
  "group": "content",
1299
- "value": "mail",
1089
+ "binding": {
1090
+ "name": "unMappedFieldNotUseInModel.mailType",
1091
+ "type": "zeebe:input"
1092
+ },
1300
1093
  "type": "Dropdown",
1301
1094
  "choices": [
1302
1095
  {
@@ -1307,124 +1100,338 @@
1307
1100
  "name": "Using dynamic template",
1308
1101
  "value": "byTemplate"
1309
1102
  }
1310
- ],
1103
+ ]
1104
+ },
1105
+ {
1106
+ "id": "template.id",
1107
+ "label": "Template ID",
1108
+ "optional": false,
1109
+ "constraints": {
1110
+ "notEmpty": true
1111
+ },
1112
+ "feel": "optional",
1113
+ "group": "content",
1311
1114
  "binding": {
1312
- "type": "zeebe:input",
1313
- "name": "unMappedFieldNotUseInModel.mailType"
1314
- }
1115
+ "name": "template.id",
1116
+ "type": "zeebe:input"
1117
+ },
1118
+ "condition": {
1119
+ "property": "unMappedFieldNotUseInModel.mailType",
1120
+ "equals": "byTemplate",
1121
+ "type": "simple"
1122
+ },
1123
+ "type": "String"
1315
1124
  },
1316
1125
  {
1126
+ "id": "template.data",
1127
+ "label": "Template data",
1128
+ "optional": false,
1129
+ "constraints": {
1130
+ "notEmpty": true
1131
+ },
1132
+ "feel": "required",
1133
+ "group": "content",
1134
+ "binding": {
1135
+ "name": "template.data",
1136
+ "type": "zeebe:input"
1137
+ },
1138
+ "condition": {
1139
+ "property": "unMappedFieldNotUseInModel.mailType",
1140
+ "equals": "byTemplate",
1141
+ "type": "simple"
1142
+ },
1143
+ "type": "String"
1144
+ },
1145
+ {
1146
+ "id": "content.subject",
1317
1147
  "label": "Subject",
1148
+ "optional": false,
1149
+ "constraints": {
1150
+ "notEmpty": true
1151
+ },
1152
+ "feel": "optional",
1318
1153
  "group": "content",
1319
- "type": "String",
1154
+ "binding": {
1155
+ "name": "content.subject",
1156
+ "type": "zeebe:input"
1157
+ },
1158
+ "condition": {
1159
+ "property": "unMappedFieldNotUseInModel.mailType",
1160
+ "equals": "mail",
1161
+ "type": "simple"
1162
+ },
1163
+ "type": "String"
1164
+ },
1165
+ {
1166
+ "id": "content.type",
1167
+ "label": "Content type",
1168
+ "optional": false,
1169
+ "value": "text/plain",
1170
+ "constraints": {
1171
+ "notEmpty": true
1172
+ },
1320
1173
  "feel": "optional",
1174
+ "group": "content",
1321
1175
  "binding": {
1322
- "type": "zeebe:input",
1323
- "name": "content.subject"
1176
+ "name": "content.type",
1177
+ "type": "zeebe:input"
1178
+ },
1179
+ "condition": {
1180
+ "property": "unMappedFieldNotUseInModel.mailType",
1181
+ "equals": "mail",
1182
+ "type": "simple"
1324
1183
  },
1184
+ "type": "String"
1185
+ },
1186
+ {
1187
+ "id": "content.value",
1188
+ "label": "Body",
1189
+ "optional": false,
1325
1190
  "constraints": {
1326
1191
  "notEmpty": true
1327
1192
  },
1193
+ "feel": "optional",
1194
+ "group": "content",
1195
+ "binding": {
1196
+ "name": "content.value",
1197
+ "type": "zeebe:input"
1198
+ },
1328
1199
  "condition": {
1329
- "property": "mailType",
1330
- "equals": "mail"
1331
- }
1200
+ "property": "unMappedFieldNotUseInModel.mailType",
1201
+ "equals": "mail",
1202
+ "type": "simple"
1203
+ },
1204
+ "type": "Text"
1332
1205
  },
1333
1206
  {
1334
- "label": "Content type",
1207
+ "id": "attachments",
1208
+ "label": "attachments",
1209
+ "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
1210
+ "optional": true,
1211
+ "feel": "required",
1335
1212
  "group": "content",
1213
+ "binding": {
1214
+ "name": "attachments",
1215
+ "type": "zeebe:input"
1216
+ },
1217
+ "type": "String"
1218
+ },
1219
+ {
1220
+ "id": "resultVariable",
1221
+ "label": "Result variable",
1222
+ "description": "Name of variable to store the response in",
1223
+ "group": "output",
1224
+ "binding": {
1225
+ "key": "resultVariable",
1226
+ "type": "zeebe:taskHeader"
1227
+ },
1228
+ "type": "String"
1229
+ },
1230
+ {
1231
+ "id": "resultExpression",
1232
+ "label": "Result expression",
1233
+ "description": "Expression to map the response into process variables",
1234
+ "feel": "required",
1235
+ "group": "output",
1236
+ "binding": {
1237
+ "key": "resultExpression",
1238
+ "type": "zeebe:taskHeader"
1239
+ },
1240
+ "type": "Text"
1241
+ },
1242
+ {
1243
+ "id": "errorExpression",
1244
+ "label": "Error expression",
1245
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1246
+ "feel": "required",
1247
+ "group": "error",
1248
+ "binding": {
1249
+ "key": "errorExpression",
1250
+ "type": "zeebe:taskHeader"
1251
+ },
1252
+ "type": "Text"
1253
+ },
1254
+ {
1255
+ "id": "retryCount",
1256
+ "label": "Retries",
1257
+ "description": "Number of retries",
1258
+ "value": "3",
1259
+ "feel": "optional",
1260
+ "group": "retries",
1261
+ "binding": {
1262
+ "property": "retries",
1263
+ "type": "zeebe:taskDefinition"
1264
+ },
1265
+ "type": "String"
1266
+ },
1267
+ {
1268
+ "id": "retryBackoff",
1269
+ "label": "Retry backoff",
1270
+ "description": "ISO-8601 duration to wait between retries",
1271
+ "value": "PT0S",
1272
+ "group": "retries",
1273
+ "binding": {
1274
+ "key": "retryBackoff",
1275
+ "type": "zeebe:taskHeader"
1276
+ },
1277
+ "type": "String"
1278
+ }
1279
+ ],
1280
+ "icon": {
1281
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1282
+ }
1283
+ },
1284
+ {
1285
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1286
+ "name": "SendGrid: Send Email via Template",
1287
+ "id": "io.camunda.connectors.SendGrid.v1.template",
1288
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1289
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1290
+ "icon": {
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"
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
+ },
1297
+ "category": {
1298
+ "id": "connectors",
1299
+ "name": "Connectors"
1300
+ },
1301
+ "appliesTo": ["bpmn:Task"],
1302
+ "elementType": {
1303
+ "value": "bpmn:ServiceTask"
1304
+ },
1305
+ "groups": [
1306
+ {
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",
1336
1335
  "type": "String",
1337
1336
  "feel": "optional",
1338
- "value": "text/plain",
1339
1337
  "binding": {
1340
1338
  "type": "zeebe:input",
1341
- "name": "content.type"
1339
+ "name": "apiKey"
1342
1340
  },
1343
1341
  "constraints": {
1344
1342
  "notEmpty": true
1345
- },
1346
- "condition": {
1347
- "property": "mailType",
1348
- "equals": "mail"
1349
1343
  }
1350
1344
  },
1351
1345
  {
1352
- "label": "Body",
1353
- "group": "content",
1354
- "type": "Text",
1346
+ "label": "Name",
1347
+ "group": "sender",
1348
+ "type": "String",
1355
1349
  "feel": "optional",
1356
1350
  "binding": {
1357
1351
  "type": "zeebe:input",
1358
- "name": "content.value"
1352
+ "name": "from.name"
1359
1353
  },
1360
1354
  "constraints": {
1361
1355
  "notEmpty": true
1362
- },
1363
- "condition": {
1364
- "property": "mailType",
1365
- "equals": "mail"
1366
1356
  }
1367
1357
  },
1368
1358
  {
1369
- "label": "Template ID",
1370
- "group": "content",
1359
+ "label": "Email Address",
1360
+ "group": "sender",
1371
1361
  "type": "String",
1372
1362
  "feel": "optional",
1373
1363
  "binding": {
1374
1364
  "type": "zeebe:input",
1375
- "name": "template.id"
1365
+ "name": "from.email"
1376
1366
  },
1377
1367
  "constraints": {
1378
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
1379
  },
1380
- "condition": {
1381
- "property": "mailType",
1382
- "equals": "byTemplate"
1380
+ "constraints": {
1381
+ "notEmpty": true
1383
1382
  }
1384
1383
  },
1385
1384
  {
1386
- "label": "Template data",
1387
- "group": "content",
1388
- "type": "Text",
1389
- "feel": "required",
1385
+ "label": "Email Address",
1386
+ "group": "receiver",
1387
+ "type": "String",
1388
+ "feel": "optional",
1390
1389
  "binding": {
1391
1390
  "type": "zeebe:input",
1392
- "name": "template.data"
1391
+ "name": "to.email"
1393
1392
  },
1394
1393
  "constraints": {
1395
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"
1396
1405
  },
1397
- "condition": {
1398
- "property": "mailType",
1399
- "equals": "byTemplate"
1406
+ "constraints": {
1407
+ "notEmpty": true
1400
1408
  }
1401
1409
  },
1402
1410
  {
1403
- "label": "Error expression",
1404
- "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>",
1405
- "group": "errors",
1411
+ "label": "Template Data",
1412
+ "group": "template",
1406
1413
  "type": "Text",
1407
1414
  "feel": "required",
1408
1415
  "binding": {
1409
- "type": "zeebe:taskHeader",
1410
- "key": "errorExpression"
1416
+ "type": "zeebe:input",
1417
+ "name": "template.data"
1418
+ },
1419
+ "constraints": {
1420
+ "notEmpty": true
1411
1421
  }
1412
1422
  }
1413
1423
  ]
1414
1424
  },
1415
1425
  {
1416
1426
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1417
- "name": "SendGrid: Send Email",
1418
- "id": "io.camunda.connectors.SendGrid.v1.content",
1419
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1420
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1427
+ "name": "SendGrid Outbound Connector",
1428
+ "id": "io.camunda.connectors.SendGrid.v2",
1429
+ "version": 2,
1430
+ "description": "Send an email via SendGrid",
1431
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1421
1432
  "icon": {
1422
1433
  "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
1423
1434
  },
1424
- "deprecated": {
1425
- "message": "Replace with 'SendGrid Connector' template.",
1426
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1427
- },
1428
1435
  "category": {
1429
1436
  "id": "connectors",
1430
1437
  "name": "Connectors"
@@ -1435,8 +1442,8 @@
1435
1442
  },
1436
1443
  "groups": [
1437
1444
  {
1438
- "id": "sendgrid",
1439
- "label": "SendGrid API"
1445
+ "id": "authentication",
1446
+ "label": "Authentication"
1440
1447
  },
1441
1448
  {
1442
1449
  "id": "sender",
@@ -1448,7 +1455,11 @@
1448
1455
  },
1449
1456
  {
1450
1457
  "id": "content",
1451
- "label": "Email Content"
1458
+ "label": "Compose email"
1459
+ },
1460
+ {
1461
+ "id": "errors",
1462
+ "label": "Error handling"
1452
1463
  }
1453
1464
  ],
1454
1465
  "properties": [
@@ -1461,8 +1472,8 @@
1461
1472
  }
1462
1473
  },
1463
1474
  {
1464
- "label": "SendGrid API Key",
1465
- "group": "sendgrid",
1475
+ "label": "SendGrid API key",
1476
+ "group": "authentication",
1466
1477
  "type": "String",
1467
1478
  "feel": "optional",
1468
1479
  "binding": {
@@ -1487,7 +1498,7 @@
1487
1498
  }
1488
1499
  },
1489
1500
  {
1490
- "label": "Email Address",
1501
+ "label": "Email address",
1491
1502
  "group": "sender",
1492
1503
  "type": "String",
1493
1504
  "feel": "optional",
@@ -1513,7 +1524,7 @@
1513
1524
  }
1514
1525
  },
1515
1526
  {
1516
- "label": "Email Address",
1527
+ "label": "Email address",
1517
1528
  "group": "receiver",
1518
1529
  "type": "String",
1519
1530
  "feel": "optional",
@@ -1526,54 +1537,144 @@
1526
1537
  }
1527
1538
  },
1528
1539
  {
1529
- "label": "Subject",
1540
+ "id": "mailType",
1541
+ "group": "content",
1542
+ "value": "mail",
1543
+ "type": "Dropdown",
1544
+ "choices": [
1545
+ {
1546
+ "name": "Simple (no dynamic template)",
1547
+ "value": "mail"
1548
+ },
1549
+ {
1550
+ "name": "Using dynamic template",
1551
+ "value": "byTemplate"
1552
+ }
1553
+ ],
1554
+ "binding": {
1555
+ "type": "zeebe:input",
1556
+ "name": "unMappedFieldNotUseInModel.mailType"
1557
+ }
1558
+ },
1559
+ {
1560
+ "label": "Subject",
1561
+ "group": "content",
1562
+ "type": "String",
1563
+ "feel": "optional",
1564
+ "binding": {
1565
+ "type": "zeebe:input",
1566
+ "name": "content.subject"
1567
+ },
1568
+ "constraints": {
1569
+ "notEmpty": true
1570
+ },
1571
+ "condition": {
1572
+ "property": "mailType",
1573
+ "equals": "mail"
1574
+ }
1575
+ },
1576
+ {
1577
+ "label": "Content type",
1578
+ "group": "content",
1579
+ "type": "String",
1580
+ "feel": "optional",
1581
+ "value": "text/plain",
1582
+ "binding": {
1583
+ "type": "zeebe:input",
1584
+ "name": "content.type"
1585
+ },
1586
+ "constraints": {
1587
+ "notEmpty": true
1588
+ },
1589
+ "condition": {
1590
+ "property": "mailType",
1591
+ "equals": "mail"
1592
+ }
1593
+ },
1594
+ {
1595
+ "label": "Body",
1530
1596
  "group": "content",
1531
- "type": "String",
1597
+ "type": "Text",
1532
1598
  "feel": "optional",
1533
1599
  "binding": {
1534
1600
  "type": "zeebe:input",
1535
- "name": "content.subject"
1601
+ "name": "content.value"
1536
1602
  },
1537
1603
  "constraints": {
1538
1604
  "notEmpty": true
1605
+ },
1606
+ "condition": {
1607
+ "property": "mailType",
1608
+ "equals": "mail"
1539
1609
  }
1540
1610
  },
1541
1611
  {
1542
- "label": "Content Type",
1612
+ "label": "Template ID",
1543
1613
  "group": "content",
1544
1614
  "type": "String",
1545
1615
  "feel": "optional",
1546
- "value": "text/plain",
1547
1616
  "binding": {
1548
1617
  "type": "zeebe:input",
1549
- "name": "content.type"
1618
+ "name": "template.id"
1550
1619
  },
1551
1620
  "constraints": {
1552
1621
  "notEmpty": true
1622
+ },
1623
+ "condition": {
1624
+ "property": "mailType",
1625
+ "equals": "byTemplate"
1553
1626
  }
1554
1627
  },
1555
1628
  {
1556
- "label": "Body",
1629
+ "label": "Template data",
1557
1630
  "group": "content",
1558
1631
  "type": "Text",
1559
- "feel": "optional",
1632
+ "feel": "required",
1560
1633
  "binding": {
1561
1634
  "type": "zeebe:input",
1562
- "name": "content.value"
1635
+ "name": "template.data"
1563
1636
  },
1564
1637
  "constraints": {
1565
1638
  "notEmpty": true
1639
+ },
1640
+ "condition": {
1641
+ "property": "mailType",
1642
+ "equals": "byTemplate"
1643
+ }
1644
+ },
1645
+ {
1646
+ "label": "Error expression",
1647
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1648
+ "group": "errors",
1649
+ "type": "Text",
1650
+ "feel": "required",
1651
+ "binding": {
1652
+ "type": "zeebe:taskHeader",
1653
+ "key": "errorExpression"
1566
1654
  }
1567
1655
  }
1568
- ]
1656
+ ],
1657
+ "engines": {
1658
+ "camunda": "^8.2"
1659
+ }
1569
1660
  },
1570
1661
  {
1571
1662
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1572
1663
  "name": "SendGrid Outbound Connector",
1573
1664
  "id": "io.camunda.connectors.SendGrid.v2",
1574
1665
  "description": "Send an email via SendGrid",
1666
+ "keywords": [
1667
+ "send email",
1668
+ "email notification",
1669
+ "transactional email",
1670
+ "marketing email",
1671
+ "email campaign",
1672
+ "email delivery",
1673
+ "dynamic template",
1674
+ "email template"
1675
+ ],
1575
1676
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1576
- "version": 3,
1677
+ "version": 5,
1577
1678
  "category": {
1578
1679
  "id": "connectors",
1579
1680
  "name": "Connectors"
@@ -1582,6 +1683,9 @@
1582
1683
  "elementType": {
1583
1684
  "value": "bpmn:ServiceTask"
1584
1685
  },
1686
+ "engines": {
1687
+ "camunda": "^8.3"
1688
+ },
1585
1689
  "groups": [
1586
1690
  {
1587
1691
  "id": "authentication",
@@ -1599,6 +1703,10 @@
1599
1703
  "id": "content",
1600
1704
  "label": "Compose email"
1601
1705
  },
1706
+ {
1707
+ "id": "connector",
1708
+ "label": "Connector"
1709
+ },
1602
1710
  {
1603
1711
  "id": "output",
1604
1712
  "label": "Output mapping"
@@ -1818,10 +1926,47 @@
1818
1926
  },
1819
1927
  "type": "Text"
1820
1928
  },
1929
+ {
1930
+ "id": "attachments",
1931
+ "label": "attachments",
1932
+ "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
1933
+ "optional": true,
1934
+ "feel": "required",
1935
+ "group": "content",
1936
+ "binding": {
1937
+ "name": "attachments",
1938
+ "type": "zeebe:input"
1939
+ },
1940
+ "type": "String"
1941
+ },
1942
+ {
1943
+ "id": "version",
1944
+ "label": "Version",
1945
+ "description": "Version of the element template",
1946
+ "value": "5",
1947
+ "group": "connector",
1948
+ "binding": {
1949
+ "key": "elementTemplateVersion",
1950
+ "type": "zeebe:taskHeader"
1951
+ },
1952
+ "type": "Hidden"
1953
+ },
1954
+ {
1955
+ "id": "id",
1956
+ "label": "ID",
1957
+ "description": "ID of the element template",
1958
+ "value": "io.camunda.connectors.SendGrid.v2",
1959
+ "group": "connector",
1960
+ "binding": {
1961
+ "key": "elementTemplateId",
1962
+ "type": "zeebe:taskHeader"
1963
+ },
1964
+ "type": "Hidden"
1965
+ },
1821
1966
  {
1822
1967
  "id": "resultVariable",
1823
1968
  "label": "Result variable",
1824
- "description": "Name of variable to store the response in",
1969
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>.",
1825
1970
  "group": "output",
1826
1971
  "binding": {
1827
1972
  "key": "resultVariable",
@@ -1832,7 +1977,7 @@
1832
1977
  {
1833
1978
  "id": "resultExpression",
1834
1979
  "label": "Result expression",
1835
- "description": "Expression to map the response into process variables",
1980
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>.",
1836
1981
  "feel": "required",
1837
1982
  "group": "output",
1838
1983
  "binding": {
@@ -1871,7 +2016,6 @@
1871
2016
  "label": "Retry backoff",
1872
2017
  "description": "ISO-8601 duration to wait between retries",
1873
2018
  "value": "PT0S",
1874
- "feel": "optional",
1875
2019
  "group": "retries",
1876
2020
  "binding": {
1877
2021
  "key": "retryBackoff",
@@ -1882,152 +2026,8 @@
1882
2026
  ],
1883
2027
  "icon": {
1884
2028
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1885
- },
1886
- "engines": {
1887
- "camunda": "^8.5"
1888
2029
  }
1889
2030
  },
1890
- {
1891
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1892
- "name": "SendGrid: Send Email via Template",
1893
- "id": "io.camunda.connectors.SendGrid.v1.template",
1894
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1895
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1896
- "icon": {
1897
- "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"
1898
- },
1899
- "deprecated": {
1900
- "message": "Replace with 'SendGrid Connector' template.",
1901
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1902
- },
1903
- "category": {
1904
- "id": "connectors",
1905
- "name": "Connectors"
1906
- },
1907
- "appliesTo": ["bpmn:Task"],
1908
- "elementType": {
1909
- "value": "bpmn:ServiceTask"
1910
- },
1911
- "groups": [
1912
- {
1913
- "id": "sendgrid",
1914
- "label": "SendGrid API"
1915
- },
1916
- {
1917
- "id": "sender",
1918
- "label": "Sender"
1919
- },
1920
- {
1921
- "id": "receiver",
1922
- "label": "Receiver"
1923
- },
1924
- {
1925
- "id": "template",
1926
- "label": "Dynamic Email Template"
1927
- }
1928
- ],
1929
- "properties": [
1930
- {
1931
- "type": "Hidden",
1932
- "value": "io.camunda:sendgrid:1",
1933
- "binding": {
1934
- "type": "zeebe:taskDefinition",
1935
- "property": "type"
1936
- }
1937
- },
1938
- {
1939
- "label": "SendGrid API Key",
1940
- "group": "sendgrid",
1941
- "type": "String",
1942
- "feel": "optional",
1943
- "binding": {
1944
- "type": "zeebe:input",
1945
- "name": "apiKey"
1946
- },
1947
- "constraints": {
1948
- "notEmpty": true
1949
- }
1950
- },
1951
- {
1952
- "label": "Name",
1953
- "group": "sender",
1954
- "type": "String",
1955
- "feel": "optional",
1956
- "binding": {
1957
- "type": "zeebe:input",
1958
- "name": "from.name"
1959
- },
1960
- "constraints": {
1961
- "notEmpty": true
1962
- }
1963
- },
1964
- {
1965
- "label": "Email Address",
1966
- "group": "sender",
1967
- "type": "String",
1968
- "feel": "optional",
1969
- "binding": {
1970
- "type": "zeebe:input",
1971
- "name": "from.email"
1972
- },
1973
- "constraints": {
1974
- "notEmpty": true
1975
- }
1976
- },
1977
- {
1978
- "label": "Name",
1979
- "group": "receiver",
1980
- "type": "String",
1981
- "feel": "optional",
1982
- "binding": {
1983
- "type": "zeebe:input",
1984
- "name": "to.name"
1985
- },
1986
- "constraints": {
1987
- "notEmpty": true
1988
- }
1989
- },
1990
- {
1991
- "label": "Email Address",
1992
- "group": "receiver",
1993
- "type": "String",
1994
- "feel": "optional",
1995
- "binding": {
1996
- "type": "zeebe:input",
1997
- "name": "to.email"
1998
- },
1999
- "constraints": {
2000
- "notEmpty": true
2001
- }
2002
- },
2003
- {
2004
- "label": "Template ID",
2005
- "group": "template",
2006
- "type": "String",
2007
- "feel": "optional",
2008
- "binding": {
2009
- "type": "zeebe:input",
2010
- "name": "template.id"
2011
- },
2012
- "constraints": {
2013
- "notEmpty": true
2014
- }
2015
- },
2016
- {
2017
- "label": "Template Data",
2018
- "group": "template",
2019
- "type": "Text",
2020
- "feel": "required",
2021
- "binding": {
2022
- "type": "zeebe:input",
2023
- "name": "template.data"
2024
- },
2025
- "constraints": {
2026
- "notEmpty": true
2027
- }
2028
- }
2029
- ]
2030
- },
2031
2031
  {
2032
2032
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2033
2033
  "name": "SendGrid Outbound Connector",
@@ -2616,7 +2616,7 @@
2616
2616
  "id": "retryBackoff",
2617
2617
  "label": "Retry backoff",
2618
2618
  "description": "ISO-8601 duration to wait between retries",
2619
- "value": "PT0S",
2619
+ "value": "PT30S",
2620
2620
  "group": "retries",
2621
2621
  "binding": {
2622
2622
  "key": "retryBackoff",