@camunda/connectors-element-templates 1.0.6 → 1.0.8

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 (99) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +26 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +32 -30
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +3266 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3932 -760
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
  9. package/src/element-templates/asana-connector.json +104 -104
  10. package/src/element-templates/automation-anywhere-outbound-connector.json +657 -657
  11. package/src/element-templates/aws-bedrock-outbound-connector.json +30 -30
  12. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  13. package/src/element-templates/aws-dynamodb-outbound-connector.json +107 -107
  14. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  15. package/src/element-templates/aws-eventbridge-connector-intermediate.json +31 -31
  16. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  17. package/src/element-templates/aws-eventbridge-connector-receive.json +356 -0
  18. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  19. package/src/element-templates/aws-eventbridge-outbound-connector.json +479 -479
  20. package/src/element-templates/aws-lambda-outbound-connector.json +92 -92
  21. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  22. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  23. package/src/element-templates/aws-sns-inbound-boundary.json +303 -303
  24. package/src/element-templates/aws-sns-inbound-intermediate.json +215 -215
  25. package/src/element-templates/aws-sns-inbound-message-start.json +343 -343
  26. package/src/element-templates/aws-sns-inbound-receive.json +304 -0
  27. package/src/element-templates/aws-sns-inbound-start-event.json +130 -130
  28. package/src/element-templates/aws-sns-outbound-connector.json +726 -726
  29. package/src/element-templates/aws-sqs-boundary-connector.json +629 -629
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +537 -537
  31. package/src/element-templates/aws-sqs-outbound-connector.json +440 -440
  32. package/src/element-templates/aws-sqs-receive-connector.json +418 -0
  33. package/src/element-templates/aws-sqs-start-event-connector.json +771 -771
  34. package/src/element-templates/aws-sqs-start-message.json +461 -461
  35. package/src/element-templates/azure-open-ai-connector.json +32 -32
  36. package/src/element-templates/blue-prism-connector.json +50 -50
  37. package/src/element-templates/box-outbound-connector.json +30 -30
  38. package/src/element-templates/csv-outbound-connector.json +412 -0
  39. package/src/element-templates/easy-post-connector.json +149 -149
  40. package/src/element-templates/email-inbound-connector-boundary.json +19 -19
  41. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  42. package/src/element-templates/email-outbound-connector.json +233 -233
  43. package/src/element-templates/embeddings-vector-database-outbound-connector.json +473 -488
  44. package/src/element-templates/github-connector.json +2417 -2417
  45. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  46. package/src/element-templates/github-webhook-connector-intermediate.json +57 -57
  47. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  48. package/src/element-templates/github-webhook-connector-receive.json +202 -0
  49. package/src/element-templates/github-webhook-connector-start-event.json +57 -57
  50. package/src/element-templates/gitlab-connector.json +1103 -1103
  51. package/src/element-templates/google-drive-outbound-connector.json +846 -846
  52. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  53. package/src/element-templates/google-maps-platform-connector.json +78 -78
  54. package/src/element-templates/google-sheets-outbound-connector.json +1067 -1067
  55. package/src/element-templates/graphql-outbound-connector.json +1181 -1181
  56. package/src/element-templates/http-json-connector.json +2471 -1866
  57. package/src/element-templates/http-polling-boundary-catch-event-connector.json +635 -6
  58. package/src/element-templates/http-polling-connector.json +635 -6
  59. package/src/element-templates/hugging-face-connector.json +34 -34
  60. package/src/element-templates/jdbc-outbound-connector.json +43 -43
  61. package/src/element-templates/kafka-inbound-connector-boundary.json +1012 -1012
  62. package/src/element-templates/kafka-inbound-connector-intermediate.json +582 -582
  63. package/src/element-templates/kafka-inbound-connector-receive.json +498 -0
  64. package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
  65. package/src/element-templates/kafka-outbound-connector.json +385 -385
  66. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  67. package/src/element-templates/microsoft-teams-outbound-connector.json +1643 -1643
  68. package/src/element-templates/openai-connector.json +122 -122
  69. package/src/element-templates/operate-connector.json +76 -72
  70. package/src/element-templates/power-automate-connector.json +10 -10
  71. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +334 -334
  72. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +861 -861
  73. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +456 -456
  74. package/src/element-templates/rabbitmq-inbound-connector-receive.json +461 -0
  75. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +258 -258
  76. package/src/element-templates/rabbitmq-outbound-connector.json +322 -322
  77. package/src/element-templates/salesforce-connector.json +44 -44
  78. package/src/element-templates/sendgrid-outbound-connector.json +470 -470
  79. package/src/element-templates/servicenow-connector.json +942 -0
  80. package/src/element-templates/servicenow-flow-starter-connector.json +643 -0
  81. package/src/element-templates/servicenow-incident-connector.json +969 -0
  82. package/src/element-templates/slack-inbound-boundary.json +303 -303
  83. package/src/element-templates/slack-inbound-intermediate.json +277 -277
  84. package/src/element-templates/slack-inbound-message-start.json +11 -11
  85. package/src/element-templates/slack-inbound-receive.json +290 -0
  86. package/src/element-templates/slack-inbound-start-event.json +247 -247
  87. package/src/element-templates/slack-outbound-connector.json +966 -966
  88. package/src/element-templates/twilio-connector.json +52 -52
  89. package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
  90. package/src/element-templates/twilio-webhook-connector.json +11 -11
  91. package/src/element-templates/twilio-webhook-intermediate-connector.json +50 -50
  92. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  93. package/src/element-templates/twilio-webhook-receive-connector.json +262 -0
  94. package/src/element-templates/webhook-connector-boundary.json +1150 -1150
  95. package/src/element-templates/webhook-connector-intermediate.json +1834 -1834
  96. package/src/element-templates/webhook-connector-receive.json +609 -0
  97. package/src/element-templates/webhook-connector-start-event.json +1495 -1495
  98. package/src/element-templates/webhook-connector-start-message.json +586 -586
  99. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -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": 5,
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",
@@ -37,10 +31,6 @@
37
31
  "id": "content",
38
32
  "label": "Compose email"
39
33
  },
40
- {
41
- "id": "connector",
42
- "label": "Connector"
43
- },
44
34
  {
45
35
  "id": "output",
46
36
  "label": "Output mapping"
@@ -260,43 +250,6 @@
260
250
  },
261
251
  "type": "Text"
262
252
  },
263
- {
264
- "id": "attachments",
265
- "label": "attachments",
266
- "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
267
- "optional": true,
268
- "feel": "required",
269
- "group": "content",
270
- "binding": {
271
- "name": "attachments",
272
- "type": "zeebe:input"
273
- },
274
- "type": "String"
275
- },
276
- {
277
- "id": "version",
278
- "label": "Version",
279
- "description": "Version of the element template",
280
- "value": "5",
281
- "group": "connector",
282
- "binding": {
283
- "key": "elementTemplateVersion",
284
- "type": "zeebe:taskHeader"
285
- },
286
- "type": "Hidden"
287
- },
288
- {
289
- "id": "id",
290
- "label": "ID",
291
- "description": "ID of the element template",
292
- "value": "io.camunda.connectors.SendGrid.v2",
293
- "group": "connector",
294
- "binding": {
295
- "key": "elementTemplateId",
296
- "type": "zeebe:taskHeader"
297
- },
298
- "type": "Hidden"
299
- },
300
253
  {
301
254
  "id": "resultVariable",
302
255
  "label": "Result variable",
@@ -350,6 +303,7 @@
350
303
  "label": "Retry backoff",
351
304
  "description": "ISO-8601 duration to wait between retries",
352
305
  "value": "PT0S",
306
+ "feel": "optional",
353
307
  "group": "retries",
354
308
  "binding": {
355
309
  "key": "retryBackoff",
@@ -360,8 +314,152 @@
360
314
  ],
361
315
  "icon": {
362
316
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
317
+ },
318
+ "engines": {
319
+ "camunda": "^8.5"
363
320
  }
364
321
  },
322
+ {
323
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
324
+ "name": "SendGrid: Send Email via Template",
325
+ "id": "io.camunda.connectors.SendGrid.v1.template",
326
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
327
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
328
+ "icon": {
329
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
330
+ },
331
+ "deprecated": {
332
+ "message": "Replace with 'SendGrid Connector' template.",
333
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
334
+ },
335
+ "category": {
336
+ "id": "connectors",
337
+ "name": "Connectors"
338
+ },
339
+ "appliesTo": ["bpmn:Task"],
340
+ "elementType": {
341
+ "value": "bpmn:ServiceTask"
342
+ },
343
+ "groups": [
344
+ {
345
+ "id": "sendgrid",
346
+ "label": "SendGrid API"
347
+ },
348
+ {
349
+ "id": "sender",
350
+ "label": "Sender"
351
+ },
352
+ {
353
+ "id": "receiver",
354
+ "label": "Receiver"
355
+ },
356
+ {
357
+ "id": "template",
358
+ "label": "Dynamic Email Template"
359
+ }
360
+ ],
361
+ "properties": [
362
+ {
363
+ "type": "Hidden",
364
+ "value": "io.camunda:sendgrid:1",
365
+ "binding": {
366
+ "type": "zeebe:taskDefinition",
367
+ "property": "type"
368
+ }
369
+ },
370
+ {
371
+ "label": "SendGrid API Key",
372
+ "group": "sendgrid",
373
+ "type": "String",
374
+ "feel": "optional",
375
+ "binding": {
376
+ "type": "zeebe:input",
377
+ "name": "apiKey"
378
+ },
379
+ "constraints": {
380
+ "notEmpty": true
381
+ }
382
+ },
383
+ {
384
+ "label": "Name",
385
+ "group": "sender",
386
+ "type": "String",
387
+ "feel": "optional",
388
+ "binding": {
389
+ "type": "zeebe:input",
390
+ "name": "from.name"
391
+ },
392
+ "constraints": {
393
+ "notEmpty": true
394
+ }
395
+ },
396
+ {
397
+ "label": "Email Address",
398
+ "group": "sender",
399
+ "type": "String",
400
+ "feel": "optional",
401
+ "binding": {
402
+ "type": "zeebe:input",
403
+ "name": "from.email"
404
+ },
405
+ "constraints": {
406
+ "notEmpty": true
407
+ }
408
+ },
409
+ {
410
+ "label": "Name",
411
+ "group": "receiver",
412
+ "type": "String",
413
+ "feel": "optional",
414
+ "binding": {
415
+ "type": "zeebe:input",
416
+ "name": "to.name"
417
+ },
418
+ "constraints": {
419
+ "notEmpty": true
420
+ }
421
+ },
422
+ {
423
+ "label": "Email Address",
424
+ "group": "receiver",
425
+ "type": "String",
426
+ "feel": "optional",
427
+ "binding": {
428
+ "type": "zeebe:input",
429
+ "name": "to.email"
430
+ },
431
+ "constraints": {
432
+ "notEmpty": true
433
+ }
434
+ },
435
+ {
436
+ "label": "Template ID",
437
+ "group": "template",
438
+ "type": "String",
439
+ "feel": "optional",
440
+ "binding": {
441
+ "type": "zeebe:input",
442
+ "name": "template.id"
443
+ },
444
+ "constraints": {
445
+ "notEmpty": true
446
+ }
447
+ },
448
+ {
449
+ "label": "Template Data",
450
+ "group": "template",
451
+ "type": "Text",
452
+ "feel": "required",
453
+ "binding": {
454
+ "type": "zeebe:input",
455
+ "name": "template.data"
456
+ },
457
+ "constraints": {
458
+ "notEmpty": true
459
+ }
460
+ }
461
+ ]
462
+ },
365
463
  {
366
464
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
367
465
  "name": "SendGrid connector",
@@ -755,11 +853,14 @@
755
853
  },
756
854
  {
757
855
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
758
- "name": "SendGrid Outbound Connector",
856
+ "name": "SendGrid connector",
759
857
  "id": "io.camunda.connectors.SendGrid.v2",
858
+ "version": 1,
760
859
  "description": "Send an email via SendGrid",
761
860
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
762
- "version": 3,
861
+ "icon": {
862
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
863
+ },
763
864
  "category": {
764
865
  "id": "connectors",
765
866
  "name": "Connectors"
@@ -786,64 +887,303 @@
786
887
  "label": "Compose email"
787
888
  },
788
889
  {
789
- "id": "output",
790
- "label": "Output mapping"
791
- },
792
- {
793
- "id": "error",
890
+ "id": "errors",
794
891
  "label": "Error handling"
795
- },
796
- {
797
- "id": "retries",
798
- "label": "Retries"
799
892
  }
800
893
  ],
801
894
  "properties": [
802
895
  {
896
+ "type": "Hidden",
803
897
  "value": "io.camunda:sendgrid:1",
804
898
  "binding": {
805
- "property": "type",
806
- "type": "zeebe:taskDefinition"
807
- },
808
- "type": "Hidden"
899
+ "type": "zeebe:taskDefinition",
900
+ "property": "type"
901
+ }
809
902
  },
810
903
  {
811
- "id": "apiKey",
812
904
  "label": "SendGrid API key",
813
- "optional": false,
814
- "constraints": {
815
- "notEmpty": true
816
- },
817
- "feel": "optional",
818
905
  "group": "authentication",
906
+ "type": "String",
907
+ "feel": "optional",
819
908
  "binding": {
820
- "name": "apiKey",
821
- "type": "zeebe:input"
909
+ "type": "zeebe:input",
910
+ "name": "apiKey"
822
911
  },
823
- "type": "String"
912
+ "constraints": {
913
+ "notEmpty": true
914
+ }
824
915
  },
825
916
  {
826
- "id": "from.name",
827
917
  "label": "Name",
828
- "optional": false,
829
- "constraints": {
830
- "notEmpty": true
831
- },
832
- "feel": "optional",
833
918
  "group": "sender",
919
+ "type": "String",
920
+ "feel": "optional",
834
921
  "binding": {
835
- "name": "from.name",
836
- "type": "zeebe:input"
922
+ "type": "zeebe:input",
923
+ "name": "from.name"
837
924
  },
838
- "type": "String"
925
+ "constraints": {
926
+ "notEmpty": true
927
+ }
839
928
  },
840
929
  {
841
- "id": "from.email",
842
930
  "label": "Email address",
843
- "optional": false,
844
- "constraints": {
845
- "notEmpty": true
846
- },
931
+ "group": "sender",
932
+ "type": "String",
933
+ "feel": "optional",
934
+ "binding": {
935
+ "type": "zeebe:input",
936
+ "name": "from.email"
937
+ },
938
+ "constraints": {
939
+ "notEmpty": true
940
+ }
941
+ },
942
+ {
943
+ "label": "Name",
944
+ "group": "receiver",
945
+ "type": "String",
946
+ "feel": "optional",
947
+ "binding": {
948
+ "type": "zeebe:input",
949
+ "name": "to.name"
950
+ },
951
+ "constraints": {
952
+ "notEmpty": true
953
+ }
954
+ },
955
+ {
956
+ "label": "Email address",
957
+ "group": "receiver",
958
+ "type": "String",
959
+ "feel": "optional",
960
+ "binding": {
961
+ "type": "zeebe:input",
962
+ "name": "to.email"
963
+ },
964
+ "constraints": {
965
+ "notEmpty": true
966
+ }
967
+ },
968
+ {
969
+ "id": "mailType",
970
+ "group": "content",
971
+ "value": "mail",
972
+ "type": "Dropdown",
973
+ "choices": [
974
+ {
975
+ "name": "Simple (no dynamic template)",
976
+ "value": "mail"
977
+ },
978
+ {
979
+ "name": "Using dynamic template",
980
+ "value": "byTemplate"
981
+ }
982
+ ],
983
+ "binding": {
984
+ "type": "zeebe:input",
985
+ "name": "unMappedFieldNotUseInModel.mailType"
986
+ }
987
+ },
988
+ {
989
+ "label": "Subject",
990
+ "group": "content",
991
+ "type": "String",
992
+ "feel": "optional",
993
+ "binding": {
994
+ "type": "zeebe:input",
995
+ "name": "content.subject"
996
+ },
997
+ "constraints": {
998
+ "notEmpty": true
999
+ },
1000
+ "condition": {
1001
+ "property": "mailType",
1002
+ "equals": "mail"
1003
+ }
1004
+ },
1005
+ {
1006
+ "label": "Content type",
1007
+ "group": "content",
1008
+ "type": "String",
1009
+ "feel": "optional",
1010
+ "value": "text/plain",
1011
+ "binding": {
1012
+ "type": "zeebe:input",
1013
+ "name": "content.type"
1014
+ },
1015
+ "constraints": {
1016
+ "notEmpty": true
1017
+ },
1018
+ "condition": {
1019
+ "property": "mailType",
1020
+ "equals": "mail"
1021
+ }
1022
+ },
1023
+ {
1024
+ "label": "Body",
1025
+ "group": "content",
1026
+ "type": "Text",
1027
+ "feel": "optional",
1028
+ "binding": {
1029
+ "type": "zeebe:input",
1030
+ "name": "content.value"
1031
+ },
1032
+ "constraints": {
1033
+ "notEmpty": true
1034
+ },
1035
+ "condition": {
1036
+ "property": "mailType",
1037
+ "equals": "mail"
1038
+ }
1039
+ },
1040
+ {
1041
+ "label": "Template ID",
1042
+ "group": "content",
1043
+ "type": "String",
1044
+ "feel": "optional",
1045
+ "binding": {
1046
+ "type": "zeebe:input",
1047
+ "name": "template.id"
1048
+ },
1049
+ "constraints": {
1050
+ "notEmpty": true
1051
+ },
1052
+ "condition": {
1053
+ "property": "mailType",
1054
+ "equals": "byTemplate"
1055
+ }
1056
+ },
1057
+ {
1058
+ "label": "Template data",
1059
+ "group": "content",
1060
+ "type": "Text",
1061
+ "feel": "required",
1062
+ "binding": {
1063
+ "type": "zeebe:input",
1064
+ "name": "template.data"
1065
+ },
1066
+ "constraints": {
1067
+ "notEmpty": true
1068
+ },
1069
+ "condition": {
1070
+ "property": "mailType",
1071
+ "equals": "byTemplate"
1072
+ }
1073
+ },
1074
+ {
1075
+ "label": "Error expression",
1076
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1077
+ "group": "errors",
1078
+ "type": "Text",
1079
+ "feel": "required",
1080
+ "binding": {
1081
+ "type": "zeebe:taskHeader",
1082
+ "key": "errorExpression"
1083
+ }
1084
+ }
1085
+ ],
1086
+ "engines": {
1087
+ "camunda": "^8.2"
1088
+ }
1089
+ },
1090
+ {
1091
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1092
+ "name": "SendGrid Outbound Connector",
1093
+ "id": "io.camunda.connectors.SendGrid.v2",
1094
+ "description": "Send an email via SendGrid",
1095
+ "metadata": {
1096
+ "keywords": []
1097
+ },
1098
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1099
+ "version": 4,
1100
+ "category": {
1101
+ "id": "connectors",
1102
+ "name": "Connectors"
1103
+ },
1104
+ "appliesTo": ["bpmn:Task"],
1105
+ "elementType": {
1106
+ "value": "bpmn:ServiceTask"
1107
+ },
1108
+ "engines": {
1109
+ "camunda": "^8.3"
1110
+ },
1111
+ "groups": [
1112
+ {
1113
+ "id": "authentication",
1114
+ "label": "Authentication"
1115
+ },
1116
+ {
1117
+ "id": "sender",
1118
+ "label": "Sender"
1119
+ },
1120
+ {
1121
+ "id": "receiver",
1122
+ "label": "Receiver"
1123
+ },
1124
+ {
1125
+ "id": "content",
1126
+ "label": "Compose email"
1127
+ },
1128
+ {
1129
+ "id": "output",
1130
+ "label": "Output mapping"
1131
+ },
1132
+ {
1133
+ "id": "error",
1134
+ "label": "Error handling"
1135
+ },
1136
+ {
1137
+ "id": "retries",
1138
+ "label": "Retries"
1139
+ }
1140
+ ],
1141
+ "properties": [
1142
+ {
1143
+ "value": "io.camunda:sendgrid:1",
1144
+ "binding": {
1145
+ "property": "type",
1146
+ "type": "zeebe:taskDefinition"
1147
+ },
1148
+ "type": "Hidden"
1149
+ },
1150
+ {
1151
+ "id": "apiKey",
1152
+ "label": "SendGrid API key",
1153
+ "optional": false,
1154
+ "constraints": {
1155
+ "notEmpty": true
1156
+ },
1157
+ "feel": "optional",
1158
+ "group": "authentication",
1159
+ "binding": {
1160
+ "name": "apiKey",
1161
+ "type": "zeebe:input"
1162
+ },
1163
+ "type": "String"
1164
+ },
1165
+ {
1166
+ "id": "from.name",
1167
+ "label": "Name",
1168
+ "optional": false,
1169
+ "constraints": {
1170
+ "notEmpty": true
1171
+ },
1172
+ "feel": "optional",
1173
+ "group": "sender",
1174
+ "binding": {
1175
+ "name": "from.name",
1176
+ "type": "zeebe:input"
1177
+ },
1178
+ "type": "String"
1179
+ },
1180
+ {
1181
+ "id": "from.email",
1182
+ "label": "Email address",
1183
+ "optional": false,
1184
+ "constraints": {
1185
+ "notEmpty": true
1186
+ },
847
1187
  "feel": "optional",
848
1188
  "group": "sender",
849
1189
  "binding": {
@@ -1004,6 +1344,19 @@
1004
1344
  },
1005
1345
  "type": "Text"
1006
1346
  },
1347
+ {
1348
+ "id": "attachments",
1349
+ "label": "attachments",
1350
+ "description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
1351
+ "optional": true,
1352
+ "feel": "required",
1353
+ "group": "content",
1354
+ "binding": {
1355
+ "name": "attachments",
1356
+ "type": "zeebe:input"
1357
+ },
1358
+ "type": "String"
1359
+ },
1007
1360
  {
1008
1361
  "id": "resultVariable",
1009
1362
  "label": "Result variable",
@@ -1057,7 +1410,6 @@
1057
1410
  "label": "Retry backoff",
1058
1411
  "description": "ISO-8601 duration to wait between retries",
1059
1412
  "value": "PT0S",
1060
- "feel": "optional",
1061
1413
  "group": "retries",
1062
1414
  "binding": {
1063
1415
  "key": "retryBackoff",
@@ -1068,16 +1420,13 @@
1068
1420
  ],
1069
1421
  "icon": {
1070
1422
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1071
- },
1072
- "engines": {
1073
- "camunda": "^8.5"
1074
1423
  }
1075
1424
  },
1076
1425
  {
1077
1426
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1078
- "name": "SendGrid connector",
1427
+ "name": "SendGrid Outbound Connector",
1079
1428
  "id": "io.camunda.connectors.SendGrid.v2",
1080
- "version": 1,
1429
+ "version": 2,
1081
1430
  "description": "Send an email via SendGrid",
1082
1431
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1083
1432
  "icon": {
@@ -1309,147 +1658,6 @@
1309
1658
  "camunda": "^8.2"
1310
1659
  }
1311
1660
  },
1312
- {
1313
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1314
- "name": "SendGrid: Send Email via Template",
1315
- "id": "io.camunda.connectors.SendGrid.v1.template",
1316
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1317
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1318
- "icon": {
1319
- "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
1320
- },
1321
- "deprecated": {
1322
- "message": "Replace with 'SendGrid Connector' template.",
1323
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1324
- },
1325
- "category": {
1326
- "id": "connectors",
1327
- "name": "Connectors"
1328
- },
1329
- "appliesTo": ["bpmn:Task"],
1330
- "elementType": {
1331
- "value": "bpmn:ServiceTask"
1332
- },
1333
- "groups": [
1334
- {
1335
- "id": "sendgrid",
1336
- "label": "SendGrid API"
1337
- },
1338
- {
1339
- "id": "sender",
1340
- "label": "Sender"
1341
- },
1342
- {
1343
- "id": "receiver",
1344
- "label": "Receiver"
1345
- },
1346
- {
1347
- "id": "template",
1348
- "label": "Dynamic Email Template"
1349
- }
1350
- ],
1351
- "properties": [
1352
- {
1353
- "type": "Hidden",
1354
- "value": "io.camunda:sendgrid:1",
1355
- "binding": {
1356
- "type": "zeebe:taskDefinition",
1357
- "property": "type"
1358
- }
1359
- },
1360
- {
1361
- "label": "SendGrid API Key",
1362
- "group": "sendgrid",
1363
- "type": "String",
1364
- "feel": "optional",
1365
- "binding": {
1366
- "type": "zeebe:input",
1367
- "name": "apiKey"
1368
- },
1369
- "constraints": {
1370
- "notEmpty": true
1371
- }
1372
- },
1373
- {
1374
- "label": "Name",
1375
- "group": "sender",
1376
- "type": "String",
1377
- "feel": "optional",
1378
- "binding": {
1379
- "type": "zeebe:input",
1380
- "name": "from.name"
1381
- },
1382
- "constraints": {
1383
- "notEmpty": true
1384
- }
1385
- },
1386
- {
1387
- "label": "Email Address",
1388
- "group": "sender",
1389
- "type": "String",
1390
- "feel": "optional",
1391
- "binding": {
1392
- "type": "zeebe:input",
1393
- "name": "from.email"
1394
- },
1395
- "constraints": {
1396
- "notEmpty": true
1397
- }
1398
- },
1399
- {
1400
- "label": "Name",
1401
- "group": "receiver",
1402
- "type": "String",
1403
- "feel": "optional",
1404
- "binding": {
1405
- "type": "zeebe:input",
1406
- "name": "to.name"
1407
- },
1408
- "constraints": {
1409
- "notEmpty": true
1410
- }
1411
- },
1412
- {
1413
- "label": "Email Address",
1414
- "group": "receiver",
1415
- "type": "String",
1416
- "feel": "optional",
1417
- "binding": {
1418
- "type": "zeebe:input",
1419
- "name": "to.email"
1420
- },
1421
- "constraints": {
1422
- "notEmpty": true
1423
- }
1424
- },
1425
- {
1426
- "label": "Template ID",
1427
- "group": "template",
1428
- "type": "String",
1429
- "feel": "optional",
1430
- "binding": {
1431
- "type": "zeebe:input",
1432
- "name": "template.id"
1433
- },
1434
- "constraints": {
1435
- "notEmpty": true
1436
- }
1437
- },
1438
- {
1439
- "label": "Template Data",
1440
- "group": "template",
1441
- "type": "Text",
1442
- "feel": "required",
1443
- "binding": {
1444
- "type": "zeebe:input",
1445
- "name": "template.data"
1446
- },
1447
- "constraints": {
1448
- "notEmpty": true
1449
- }
1450
- }
1451
- ]
1452
- },
1453
1661
  {
1454
1662
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1455
1663
  "name": "SendGrid Outbound Connector",
@@ -1459,7 +1667,7 @@
1459
1667
  "keywords": []
1460
1668
  },
1461
1669
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1462
- "version": 4,
1670
+ "version": 5,
1463
1671
  "category": {
1464
1672
  "id": "connectors",
1465
1673
  "name": "Connectors"
@@ -1488,6 +1696,10 @@
1488
1696
  "id": "content",
1489
1697
  "label": "Compose email"
1490
1698
  },
1699
+ {
1700
+ "id": "connector",
1701
+ "label": "Connector"
1702
+ },
1491
1703
  {
1492
1704
  "id": "output",
1493
1705
  "label": "Output mapping"
@@ -1720,6 +1932,30 @@
1720
1932
  },
1721
1933
  "type": "String"
1722
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
+ },
1723
1959
  {
1724
1960
  "id": "resultVariable",
1725
1961
  "label": "Result variable",
@@ -1784,241 +2020,5 @@
1784
2020
  "icon": {
1785
2021
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1786
2022
  }
1787
- },
1788
- {
1789
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1790
- "name": "SendGrid Outbound Connector",
1791
- "id": "io.camunda.connectors.SendGrid.v2",
1792
- "version": 2,
1793
- "description": "Send an email via SendGrid",
1794
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1795
- "icon": {
1796
- "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
1797
- },
1798
- "category": {
1799
- "id": "connectors",
1800
- "name": "Connectors"
1801
- },
1802
- "appliesTo": ["bpmn:Task"],
1803
- "elementType": {
1804
- "value": "bpmn:ServiceTask"
1805
- },
1806
- "groups": [
1807
- {
1808
- "id": "authentication",
1809
- "label": "Authentication"
1810
- },
1811
- {
1812
- "id": "sender",
1813
- "label": "Sender"
1814
- },
1815
- {
1816
- "id": "receiver",
1817
- "label": "Receiver"
1818
- },
1819
- {
1820
- "id": "content",
1821
- "label": "Compose email"
1822
- },
1823
- {
1824
- "id": "errors",
1825
- "label": "Error handling"
1826
- }
1827
- ],
1828
- "properties": [
1829
- {
1830
- "type": "Hidden",
1831
- "value": "io.camunda:sendgrid:1",
1832
- "binding": {
1833
- "type": "zeebe:taskDefinition",
1834
- "property": "type"
1835
- }
1836
- },
1837
- {
1838
- "label": "SendGrid API key",
1839
- "group": "authentication",
1840
- "type": "String",
1841
- "feel": "optional",
1842
- "binding": {
1843
- "type": "zeebe:input",
1844
- "name": "apiKey"
1845
- },
1846
- "constraints": {
1847
- "notEmpty": true
1848
- }
1849
- },
1850
- {
1851
- "label": "Name",
1852
- "group": "sender",
1853
- "type": "String",
1854
- "feel": "optional",
1855
- "binding": {
1856
- "type": "zeebe:input",
1857
- "name": "from.name"
1858
- },
1859
- "constraints": {
1860
- "notEmpty": true
1861
- }
1862
- },
1863
- {
1864
- "label": "Email address",
1865
- "group": "sender",
1866
- "type": "String",
1867
- "feel": "optional",
1868
- "binding": {
1869
- "type": "zeebe:input",
1870
- "name": "from.email"
1871
- },
1872
- "constraints": {
1873
- "notEmpty": true
1874
- }
1875
- },
1876
- {
1877
- "label": "Name",
1878
- "group": "receiver",
1879
- "type": "String",
1880
- "feel": "optional",
1881
- "binding": {
1882
- "type": "zeebe:input",
1883
- "name": "to.name"
1884
- },
1885
- "constraints": {
1886
- "notEmpty": true
1887
- }
1888
- },
1889
- {
1890
- "label": "Email address",
1891
- "group": "receiver",
1892
- "type": "String",
1893
- "feel": "optional",
1894
- "binding": {
1895
- "type": "zeebe:input",
1896
- "name": "to.email"
1897
- },
1898
- "constraints": {
1899
- "notEmpty": true
1900
- }
1901
- },
1902
- {
1903
- "id": "mailType",
1904
- "group": "content",
1905
- "value": "mail",
1906
- "type": "Dropdown",
1907
- "choices": [
1908
- {
1909
- "name": "Simple (no dynamic template)",
1910
- "value": "mail"
1911
- },
1912
- {
1913
- "name": "Using dynamic template",
1914
- "value": "byTemplate"
1915
- }
1916
- ],
1917
- "binding": {
1918
- "type": "zeebe:input",
1919
- "name": "unMappedFieldNotUseInModel.mailType"
1920
- }
1921
- },
1922
- {
1923
- "label": "Subject",
1924
- "group": "content",
1925
- "type": "String",
1926
- "feel": "optional",
1927
- "binding": {
1928
- "type": "zeebe:input",
1929
- "name": "content.subject"
1930
- },
1931
- "constraints": {
1932
- "notEmpty": true
1933
- },
1934
- "condition": {
1935
- "property": "mailType",
1936
- "equals": "mail"
1937
- }
1938
- },
1939
- {
1940
- "label": "Content type",
1941
- "group": "content",
1942
- "type": "String",
1943
- "feel": "optional",
1944
- "value": "text/plain",
1945
- "binding": {
1946
- "type": "zeebe:input",
1947
- "name": "content.type"
1948
- },
1949
- "constraints": {
1950
- "notEmpty": true
1951
- },
1952
- "condition": {
1953
- "property": "mailType",
1954
- "equals": "mail"
1955
- }
1956
- },
1957
- {
1958
- "label": "Body",
1959
- "group": "content",
1960
- "type": "Text",
1961
- "feel": "optional",
1962
- "binding": {
1963
- "type": "zeebe:input",
1964
- "name": "content.value"
1965
- },
1966
- "constraints": {
1967
- "notEmpty": true
1968
- },
1969
- "condition": {
1970
- "property": "mailType",
1971
- "equals": "mail"
1972
- }
1973
- },
1974
- {
1975
- "label": "Template ID",
1976
- "group": "content",
1977
- "type": "String",
1978
- "feel": "optional",
1979
- "binding": {
1980
- "type": "zeebe:input",
1981
- "name": "template.id"
1982
- },
1983
- "constraints": {
1984
- "notEmpty": true
1985
- },
1986
- "condition": {
1987
- "property": "mailType",
1988
- "equals": "byTemplate"
1989
- }
1990
- },
1991
- {
1992
- "label": "Template data",
1993
- "group": "content",
1994
- "type": "Text",
1995
- "feel": "required",
1996
- "binding": {
1997
- "type": "zeebe:input",
1998
- "name": "template.data"
1999
- },
2000
- "constraints": {
2001
- "notEmpty": true
2002
- },
2003
- "condition": {
2004
- "property": "mailType",
2005
- "equals": "byTemplate"
2006
- }
2007
- },
2008
- {
2009
- "label": "Error expression",
2010
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
2011
- "group": "errors",
2012
- "type": "Text",
2013
- "feel": "required",
2014
- "binding": {
2015
- "type": "zeebe:taskHeader",
2016
- "key": "errorExpression"
2017
- }
2018
- }
2019
- ],
2020
- "engines": {
2021
- "camunda": "^8.2"
2022
- }
2023
2023
  }
2024
2024
  ]