@camunda/connectors-element-templates 1.0.18 → 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.
- package/package.json +2 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -3
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +2 -2
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +2 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +2 -2
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +2 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +49 -49
- package/src/element-templates/agenticai-aiagent-job-worker.json +389 -389
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +3928 -3928
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +551 -551
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +733 -733
- package/src/element-templates/asana-connector.json +111 -111
- package/src/element-templates/automation-anywhere-outbound-connector.json +1224 -1224
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-outbound-connector.json +432 -432
- package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
- package/src/element-templates/aws-dynamodb-outbound-connector.json +3518 -2166
- package/src/element-templates/aws-eventbridge-connector-boundary.json +38 -38
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +80 -80
- package/src/element-templates/aws-eventbridge-connector-message-start.json +21 -21
- package/src/element-templates/aws-eventbridge-connector-receive.json +6 -6
- package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
- package/src/element-templates/aws-eventbridge-outbound-connector.json +306 -306
- package/src/element-templates/aws-lambda-outbound-connector.json +279 -279
- package/src/element-templates/aws-s3-outbound-connector.json +721 -48
- package/src/element-templates/aws-sagemaker-outbound-connector.json +59 -59
- package/src/element-templates/aws-sns-inbound-boundary.json +181 -181
- package/src/element-templates/aws-sns-inbound-intermediate.json +325 -325
- package/src/element-templates/aws-sns-inbound-message-start.json +350 -350
- package/src/element-templates/aws-sns-inbound-start-event.json +140 -140
- package/src/element-templates/aws-sns-outbound-connector.json +301 -301
- package/src/element-templates/aws-sqs-boundary-connector.json +930 -930
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +628 -628
- package/src/element-templates/aws-sqs-outbound-connector.json +366 -366
- package/src/element-templates/aws-sqs-start-event-connector.json +717 -717
- package/src/element-templates/aws-sqs-start-message.json +488 -488
- package/src/element-templates/aws-textract-outbound-connector.json +351 -351
- package/src/element-templates/azure-blobstorage-outbound-connector.json +201 -201
- package/src/element-templates/azure-open-ai-connector.json +49 -49
- package/src/element-templates/blue-prism-connector.json +64 -64
- package/src/element-templates/box-outbound-connector.json +49 -49
- package/src/element-templates/csv-outbound-connector.json +449 -0
- package/src/element-templates/easy-post-connector.json +214 -214
- package/src/element-templates/email-inbound-connector-boundary.json +37 -37
- package/src/element-templates/email-inbound-connector-intermediate.json +37 -37
- package/src/element-templates/email-message-start-event-connector.json +63 -63
- package/src/element-templates/email-outbound-connector.json +903 -903
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +520 -520
- package/src/element-templates/github-connector.json +8446 -8446
- package/src/element-templates/github-webhook-connector-intermediate.json +55 -55
- package/src/element-templates/github-webhook-connector-message-start.json +19 -19
- package/src/element-templates/github-webhook-connector-start-event.json +52 -52
- package/src/element-templates/gitlab-connector.json +2344 -2344
- package/src/element-templates/google-cloud-storage-outbound-connector.json +201 -201
- package/src/element-templates/google-drive-outbound-connector.json +1106 -1106
- package/src/element-templates/google-gemini-outbound-connector.json +125 -125
- package/src/element-templates/google-maps-platform-connector.json +97 -97
- package/src/element-templates/google-sheets-outbound-connector.json +3100 -3100
- package/src/element-templates/graphql-outbound-connector.json +738 -631
- package/src/element-templates/http-json-connector.json +3249 -1651
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +866 -764
- package/src/element-templates/http-polling-connector.json +851 -749
- package/src/element-templates/hubspot-outbound-connector.json +67 -67
- package/src/element-templates/hugging-face-connector.json +79 -79
- package/src/element-templates/jdbc-outbound-connector.json +68 -68
- package/src/element-templates/kafka-inbound-connector-boundary.json +927 -927
- package/src/element-templates/kafka-inbound-connector-intermediate.json +1125 -1125
- package/src/element-templates/kafka-inbound-connector-start-message.json +650 -650
- package/src/element-templates/kafka-outbound-connector.json +424 -424
- package/src/element-templates/microsoft-office365-mail-connector.json +993 -7
- package/src/element-templates/microsoft-teams-outbound-connector.json +4145 -4145
- package/src/element-templates/openai-connector.json +317 -317
- package/src/element-templates/operate-connector.json +142 -142
- package/src/element-templates/power-automate-connector.json +44 -44
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +905 -905
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +763 -763
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +470 -470
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +752 -752
- package/src/element-templates/rabbitmq-outbound-connector.json +367 -367
- package/src/element-templates/rpa-connector.json +5 -5
- package/src/element-templates/salesforce-connector.json +112 -112
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
- package/src/element-templates/send-message-connector-message-end-event.json +1 -1
- package/src/element-templates/send-message-connector-send-task.json +1 -1
- package/src/element-templates/sendgrid-outbound-connector.json +1220 -1220
- package/src/element-templates/servicenow-connector.json +7 -7
- package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
- package/src/element-templates/servicenow-incident-connector.json +7 -7
- package/src/element-templates/slack-inbound-boundary.json +463 -463
- package/src/element-templates/slack-inbound-intermediate.json +506 -506
- package/src/element-templates/slack-inbound-message-start.json +364 -364
- package/src/element-templates/slack-inbound-receive.json +23 -23
- package/src/element-templates/slack-inbound-start-event.json +334 -334
- package/src/element-templates/slack-outbound-connector.json +1803 -1803
- package/src/element-templates/soap-outbound-connector.json +1 -1
- package/src/element-templates/twilio-connector.json +355 -355
- package/src/element-templates/twilio-webhook-boundary-connector.json +35 -35
- package/src/element-templates/twilio-webhook-connector.json +53 -53
- package/src/element-templates/twilio-webhook-intermediate-connector.json +39 -39
- package/src/element-templates/twilio-webhook-message-start-connector.json +26 -26
- package/src/element-templates/uipath-connector.json +4 -4
- package/src/element-templates/webhook-connector-boundary.json +1205 -1205
- package/src/element-templates/webhook-connector-intermediate.json +1550 -1550
- package/src/element-templates/webhook-connector-receive.json +61 -61
- package/src/element-templates/webhook-connector-start-event.json +1606 -1606
- package/src/element-templates/webhook-connector-start-message.json +1300 -1300
- package/src/element-templates/whatsapp-connector.json +59 -59
|
@@ -4,18 +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
|
-
"keywords": [
|
|
8
|
-
"send email",
|
|
9
|
-
"email notification",
|
|
10
|
-
"transactional email",
|
|
11
|
-
"marketing email",
|
|
12
|
-
"email campaign",
|
|
13
|
-
"email delivery",
|
|
14
|
-
"dynamic template",
|
|
15
|
-
"email template"
|
|
16
|
-
],
|
|
17
7
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
18
|
-
"version":
|
|
8
|
+
"version": 3,
|
|
19
9
|
"category": {
|
|
20
10
|
"id": "connectors",
|
|
21
11
|
"name": "Connectors"
|
|
@@ -24,9 +14,6 @@
|
|
|
24
14
|
"elementType": {
|
|
25
15
|
"value": "bpmn:ServiceTask"
|
|
26
16
|
},
|
|
27
|
-
"engines": {
|
|
28
|
-
"camunda": "^8.10"
|
|
29
|
-
},
|
|
30
17
|
"groups": [
|
|
31
18
|
{
|
|
32
19
|
"id": "authentication",
|
|
@@ -44,10 +31,6 @@
|
|
|
44
31
|
"id": "content",
|
|
45
32
|
"label": "Compose email"
|
|
46
33
|
},
|
|
47
|
-
{
|
|
48
|
-
"id": "connector",
|
|
49
|
-
"label": "Connector"
|
|
50
|
-
},
|
|
51
34
|
{
|
|
52
35
|
"id": "output",
|
|
53
36
|
"label": "Output mapping"
|
|
@@ -268,357 +251,335 @@
|
|
|
268
251
|
"type": "Text"
|
|
269
252
|
},
|
|
270
253
|
{
|
|
271
|
-
"id": "
|
|
272
|
-
"label": "
|
|
273
|
-
"description": "
|
|
274
|
-
"
|
|
275
|
-
"group": "content",
|
|
254
|
+
"id": "resultVariable",
|
|
255
|
+
"label": "Result variable",
|
|
256
|
+
"description": "Name of variable to store the response in",
|
|
257
|
+
"group": "output",
|
|
276
258
|
"binding": {
|
|
277
|
-
"
|
|
278
|
-
"type": "zeebe:
|
|
259
|
+
"key": "resultVariable",
|
|
260
|
+
"type": "zeebe:taskHeader"
|
|
279
261
|
},
|
|
280
|
-
"type": "
|
|
281
|
-
"choices": [
|
|
282
|
-
{
|
|
283
|
-
"name": "None",
|
|
284
|
-
"value": "none"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"name": "Single document",
|
|
288
|
-
"value": "single"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"name": "Multiple documents",
|
|
292
|
-
"value": "multiple"
|
|
293
|
-
}
|
|
294
|
-
]
|
|
262
|
+
"type": "String"
|
|
295
263
|
},
|
|
296
264
|
{
|
|
297
|
-
"id": "
|
|
298
|
-
"label": "
|
|
299
|
-
"
|
|
300
|
-
"
|
|
265
|
+
"id": "resultExpression",
|
|
266
|
+
"label": "Result expression",
|
|
267
|
+
"description": "Expression to map the response into process variables",
|
|
268
|
+
"feel": "required",
|
|
269
|
+
"group": "output",
|
|
301
270
|
"binding": {
|
|
302
|
-
"
|
|
303
|
-
"type": "zeebe:
|
|
304
|
-
},
|
|
305
|
-
"condition": {
|
|
306
|
-
"property": "attachments_documentMode",
|
|
307
|
-
"equals": "single",
|
|
308
|
-
"type": "simple"
|
|
271
|
+
"key": "resultExpression",
|
|
272
|
+
"type": "zeebe:taskHeader"
|
|
309
273
|
},
|
|
310
|
-
"type": "
|
|
311
|
-
"choices": [
|
|
312
|
-
{
|
|
313
|
-
"name": "Camunda Document",
|
|
314
|
-
"value": "camunda"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"name": "Inline Content",
|
|
318
|
-
"value": "inline"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"name": "From URL",
|
|
322
|
-
"value": "external"
|
|
323
|
-
}
|
|
324
|
-
]
|
|
274
|
+
"type": "Text"
|
|
325
275
|
},
|
|
326
276
|
{
|
|
327
|
-
"id": "
|
|
328
|
-
"label": "
|
|
329
|
-
"
|
|
330
|
-
"notEmpty": true
|
|
331
|
-
},
|
|
277
|
+
"id": "errorExpression",
|
|
278
|
+
"label": "Error expression",
|
|
279
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
332
280
|
"feel": "required",
|
|
333
|
-
"group": "
|
|
281
|
+
"group": "error",
|
|
334
282
|
"binding": {
|
|
335
|
-
"
|
|
336
|
-
"type": "zeebe:
|
|
337
|
-
},
|
|
338
|
-
"condition": {
|
|
339
|
-
"allMatch": [
|
|
340
|
-
{
|
|
341
|
-
"property": "attachments_documentMode",
|
|
342
|
-
"equals": "single",
|
|
343
|
-
"type": "simple"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"property": "attachments_single_documentSource",
|
|
347
|
-
"equals": "camunda",
|
|
348
|
-
"type": "simple"
|
|
349
|
-
}
|
|
350
|
-
]
|
|
283
|
+
"key": "errorExpression",
|
|
284
|
+
"type": "zeebe:taskHeader"
|
|
351
285
|
},
|
|
352
|
-
"type": "
|
|
286
|
+
"type": "Text"
|
|
353
287
|
},
|
|
354
288
|
{
|
|
355
|
-
"id": "
|
|
356
|
-
"label": "
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
},
|
|
289
|
+
"id": "retryCount",
|
|
290
|
+
"label": "Retries",
|
|
291
|
+
"description": "Number of retries",
|
|
292
|
+
"value": "3",
|
|
360
293
|
"feel": "optional",
|
|
361
|
-
"group": "
|
|
294
|
+
"group": "retries",
|
|
362
295
|
"binding": {
|
|
363
|
-
"
|
|
364
|
-
"type": "zeebe:
|
|
365
|
-
},
|
|
366
|
-
"condition": {
|
|
367
|
-
"allMatch": [
|
|
368
|
-
{
|
|
369
|
-
"property": "attachments_documentMode",
|
|
370
|
-
"equals": "single",
|
|
371
|
-
"type": "simple"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"property": "attachments_single_documentSource",
|
|
375
|
-
"equals": "inline",
|
|
376
|
-
"type": "simple"
|
|
377
|
-
}
|
|
378
|
-
]
|
|
296
|
+
"property": "retries",
|
|
297
|
+
"type": "zeebe:taskDefinition"
|
|
379
298
|
},
|
|
380
299
|
"type": "String"
|
|
381
300
|
},
|
|
382
301
|
{
|
|
383
|
-
"id": "
|
|
384
|
-
"label": "
|
|
302
|
+
"id": "retryBackoff",
|
|
303
|
+
"label": "Retry backoff",
|
|
304
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
305
|
+
"value": "PT0S",
|
|
385
306
|
"feel": "optional",
|
|
386
|
-
"group": "
|
|
307
|
+
"group": "retries",
|
|
387
308
|
"binding": {
|
|
388
|
-
"
|
|
389
|
-
"type": "zeebe:
|
|
390
|
-
},
|
|
391
|
-
"condition": {
|
|
392
|
-
"allMatch": [
|
|
393
|
-
{
|
|
394
|
-
"property": "attachments_documentMode",
|
|
395
|
-
"equals": "single",
|
|
396
|
-
"type": "simple"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"property": "attachments_single_documentSource",
|
|
400
|
-
"equals": "inline",
|
|
401
|
-
"type": "simple"
|
|
402
|
-
}
|
|
403
|
-
]
|
|
309
|
+
"key": "retryBackoff",
|
|
310
|
+
"type": "zeebe:taskHeader"
|
|
404
311
|
},
|
|
405
312
|
"type": "String"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"icon": {
|
|
316
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
317
|
+
},
|
|
318
|
+
"engines": {
|
|
319
|
+
"camunda": "^8.5"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
324
|
+
"name": "SendGrid connector",
|
|
325
|
+
"id": "io.camunda.connectors.SendGrid.v2",
|
|
326
|
+
"version": 1,
|
|
327
|
+
"description": "Send an email via SendGrid",
|
|
328
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
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
|
+
},
|
|
332
|
+
"category": {
|
|
333
|
+
"id": "connectors",
|
|
334
|
+
"name": "Connectors"
|
|
335
|
+
},
|
|
336
|
+
"appliesTo": ["bpmn:Task"],
|
|
337
|
+
"elementType": {
|
|
338
|
+
"value": "bpmn:ServiceTask"
|
|
339
|
+
},
|
|
340
|
+
"groups": [
|
|
341
|
+
{
|
|
342
|
+
"id": "authentication",
|
|
343
|
+
"label": "Authentication"
|
|
406
344
|
},
|
|
407
345
|
{
|
|
408
|
-
"id": "
|
|
409
|
-
"label": "
|
|
410
|
-
|
|
411
|
-
|
|
346
|
+
"id": "sender",
|
|
347
|
+
"label": "Sender"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"id": "receiver",
|
|
351
|
+
"label": "Receiver"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"id": "content",
|
|
355
|
+
"label": "Compose email"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "errors",
|
|
359
|
+
"label": "Error handling"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"properties": [
|
|
363
|
+
{
|
|
364
|
+
"type": "Hidden",
|
|
365
|
+
"value": "io.camunda:sendgrid:1",
|
|
412
366
|
"binding": {
|
|
413
|
-
"
|
|
414
|
-
"
|
|
415
|
-
}
|
|
416
|
-
"condition": {
|
|
417
|
-
"allMatch": [
|
|
418
|
-
{
|
|
419
|
-
"property": "attachments_documentMode",
|
|
420
|
-
"equals": "single",
|
|
421
|
-
"type": "simple"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"property": "attachments_single_documentSource",
|
|
425
|
-
"equals": "inline",
|
|
426
|
-
"type": "simple"
|
|
427
|
-
}
|
|
428
|
-
]
|
|
429
|
-
},
|
|
430
|
-
"type": "String"
|
|
367
|
+
"type": "zeebe:taskDefinition",
|
|
368
|
+
"property": "type"
|
|
369
|
+
}
|
|
431
370
|
},
|
|
432
371
|
{
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
"notEmpty": true
|
|
437
|
-
},
|
|
372
|
+
"label": "SendGrid API key",
|
|
373
|
+
"group": "authentication",
|
|
374
|
+
"type": "String",
|
|
438
375
|
"feel": "optional",
|
|
439
|
-
"group": "content",
|
|
440
376
|
"binding": {
|
|
441
|
-
"
|
|
442
|
-
"
|
|
377
|
+
"type": "zeebe:input",
|
|
378
|
+
"name": "apiKey"
|
|
443
379
|
},
|
|
444
|
-
"
|
|
445
|
-
"
|
|
446
|
-
|
|
447
|
-
"property": "attachments_documentMode",
|
|
448
|
-
"equals": "single",
|
|
449
|
-
"type": "simple"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"property": "attachments_single_documentSource",
|
|
453
|
-
"equals": "external",
|
|
454
|
-
"type": "simple"
|
|
455
|
-
}
|
|
456
|
-
]
|
|
457
|
-
},
|
|
458
|
-
"type": "String"
|
|
380
|
+
"constraints": {
|
|
381
|
+
"notEmpty": true
|
|
382
|
+
}
|
|
459
383
|
},
|
|
460
384
|
{
|
|
461
|
-
"
|
|
462
|
-
"
|
|
385
|
+
"label": "Name",
|
|
386
|
+
"group": "sender",
|
|
387
|
+
"type": "String",
|
|
463
388
|
"feel": "optional",
|
|
464
|
-
"group": "content",
|
|
465
389
|
"binding": {
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
},
|
|
469
|
-
"condition": {
|
|
470
|
-
"allMatch": [
|
|
471
|
-
{
|
|
472
|
-
"property": "attachments_documentMode",
|
|
473
|
-
"equals": "single",
|
|
474
|
-
"type": "simple"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"property": "attachments_single_documentSource",
|
|
478
|
-
"equals": "external",
|
|
479
|
-
"type": "simple"
|
|
480
|
-
}
|
|
481
|
-
]
|
|
390
|
+
"type": "zeebe:input",
|
|
391
|
+
"name": "from.name"
|
|
482
392
|
},
|
|
483
|
-
"type": "String"
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"id": "attachments_multiple_expression",
|
|
487
|
-
"label": "Documents",
|
|
488
393
|
"constraints": {
|
|
489
394
|
"notEmpty": true
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"label": "Email address",
|
|
399
|
+
"group": "sender",
|
|
400
|
+
"type": "String",
|
|
401
|
+
"feel": "optional",
|
|
493
402
|
"binding": {
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
},
|
|
497
|
-
"condition": {
|
|
498
|
-
"property": "attachments_documentMode",
|
|
499
|
-
"equals": "multiple",
|
|
500
|
-
"type": "simple"
|
|
403
|
+
"type": "zeebe:input",
|
|
404
|
+
"name": "from.email"
|
|
501
405
|
},
|
|
502
|
-
"
|
|
406
|
+
"constraints": {
|
|
407
|
+
"notEmpty": true
|
|
408
|
+
}
|
|
503
409
|
},
|
|
504
410
|
{
|
|
505
|
-
"
|
|
506
|
-
"
|
|
507
|
-
"
|
|
411
|
+
"label": "Name",
|
|
412
|
+
"group": "receiver",
|
|
413
|
+
"type": "String",
|
|
414
|
+
"feel": "optional",
|
|
508
415
|
"binding": {
|
|
509
|
-
"
|
|
510
|
-
"
|
|
416
|
+
"type": "zeebe:input",
|
|
417
|
+
"name": "to.name"
|
|
511
418
|
},
|
|
512
|
-
"
|
|
419
|
+
"constraints": {
|
|
420
|
+
"notEmpty": true
|
|
421
|
+
}
|
|
513
422
|
},
|
|
514
423
|
{
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
"
|
|
518
|
-
"
|
|
519
|
-
"group": "connector",
|
|
424
|
+
"label": "Email address",
|
|
425
|
+
"group": "receiver",
|
|
426
|
+
"type": "String",
|
|
427
|
+
"feel": "optional",
|
|
520
428
|
"binding": {
|
|
521
|
-
"
|
|
522
|
-
"
|
|
429
|
+
"type": "zeebe:input",
|
|
430
|
+
"name": "to.email"
|
|
523
431
|
},
|
|
524
|
-
"
|
|
432
|
+
"constraints": {
|
|
433
|
+
"notEmpty": true
|
|
434
|
+
}
|
|
525
435
|
},
|
|
526
436
|
{
|
|
527
|
-
"id": "
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
"
|
|
531
|
-
"
|
|
437
|
+
"id": "mailType",
|
|
438
|
+
"group": "content",
|
|
439
|
+
"value": "mail",
|
|
440
|
+
"type": "Dropdown",
|
|
441
|
+
"choices": [
|
|
442
|
+
{
|
|
443
|
+
"name": "Simple (no dynamic template)",
|
|
444
|
+
"value": "mail"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "Using dynamic template",
|
|
448
|
+
"value": "byTemplate"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
532
451
|
"binding": {
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
}
|
|
536
|
-
"type": "Hidden"
|
|
452
|
+
"type": "zeebe:input",
|
|
453
|
+
"name": "unMappedFieldNotUseInModel.mailType"
|
|
454
|
+
}
|
|
537
455
|
},
|
|
538
456
|
{
|
|
539
|
-
"
|
|
540
|
-
"
|
|
541
|
-
"
|
|
542
|
-
"
|
|
457
|
+
"label": "Subject",
|
|
458
|
+
"group": "content",
|
|
459
|
+
"type": "String",
|
|
460
|
+
"feel": "optional",
|
|
543
461
|
"binding": {
|
|
544
|
-
"
|
|
545
|
-
"
|
|
462
|
+
"type": "zeebe:input",
|
|
463
|
+
"name": "content.subject"
|
|
546
464
|
},
|
|
547
|
-
"
|
|
465
|
+
"constraints": {
|
|
466
|
+
"notEmpty": true
|
|
467
|
+
},
|
|
468
|
+
"condition": {
|
|
469
|
+
"property": "mailType",
|
|
470
|
+
"equals": "mail"
|
|
471
|
+
}
|
|
548
472
|
},
|
|
549
473
|
{
|
|
550
|
-
"
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
"feel": "
|
|
554
|
-
"
|
|
474
|
+
"label": "Content type",
|
|
475
|
+
"group": "content",
|
|
476
|
+
"type": "String",
|
|
477
|
+
"feel": "optional",
|
|
478
|
+
"value": "text/plain",
|
|
555
479
|
"binding": {
|
|
556
|
-
"
|
|
557
|
-
"
|
|
480
|
+
"type": "zeebe:input",
|
|
481
|
+
"name": "content.type"
|
|
558
482
|
},
|
|
559
|
-
"
|
|
483
|
+
"constraints": {
|
|
484
|
+
"notEmpty": true
|
|
485
|
+
},
|
|
486
|
+
"condition": {
|
|
487
|
+
"property": "mailType",
|
|
488
|
+
"equals": "mail"
|
|
489
|
+
}
|
|
560
490
|
},
|
|
561
491
|
{
|
|
562
|
-
"
|
|
563
|
-
"
|
|
564
|
-
"
|
|
565
|
-
"feel": "
|
|
566
|
-
"group": "error",
|
|
492
|
+
"label": "Body",
|
|
493
|
+
"group": "content",
|
|
494
|
+
"type": "Text",
|
|
495
|
+
"feel": "optional",
|
|
567
496
|
"binding": {
|
|
568
|
-
"
|
|
569
|
-
"
|
|
497
|
+
"type": "zeebe:input",
|
|
498
|
+
"name": "content.value"
|
|
570
499
|
},
|
|
571
|
-
"
|
|
500
|
+
"constraints": {
|
|
501
|
+
"notEmpty": true
|
|
502
|
+
},
|
|
503
|
+
"condition": {
|
|
504
|
+
"property": "mailType",
|
|
505
|
+
"equals": "mail"
|
|
506
|
+
}
|
|
572
507
|
},
|
|
573
508
|
{
|
|
574
|
-
"
|
|
575
|
-
"
|
|
576
|
-
"
|
|
577
|
-
"value": "3",
|
|
509
|
+
"label": "Template ID",
|
|
510
|
+
"group": "content",
|
|
511
|
+
"type": "String",
|
|
578
512
|
"feel": "optional",
|
|
579
|
-
"group": "retries",
|
|
580
513
|
"binding": {
|
|
581
|
-
"
|
|
582
|
-
"
|
|
514
|
+
"type": "zeebe:input",
|
|
515
|
+
"name": "template.id"
|
|
583
516
|
},
|
|
584
|
-
"
|
|
517
|
+
"constraints": {
|
|
518
|
+
"notEmpty": true
|
|
519
|
+
},
|
|
520
|
+
"condition": {
|
|
521
|
+
"property": "mailType",
|
|
522
|
+
"equals": "byTemplate"
|
|
523
|
+
}
|
|
585
524
|
},
|
|
586
525
|
{
|
|
587
|
-
"
|
|
588
|
-
"
|
|
589
|
-
"
|
|
590
|
-
"
|
|
591
|
-
"group": "retries",
|
|
526
|
+
"label": "Template data",
|
|
527
|
+
"group": "content",
|
|
528
|
+
"type": "Text",
|
|
529
|
+
"feel": "required",
|
|
592
530
|
"binding": {
|
|
593
|
-
"
|
|
594
|
-
"
|
|
531
|
+
"type": "zeebe:input",
|
|
532
|
+
"name": "template.data"
|
|
595
533
|
},
|
|
596
|
-
"
|
|
534
|
+
"constraints": {
|
|
535
|
+
"notEmpty": true
|
|
536
|
+
},
|
|
537
|
+
"condition": {
|
|
538
|
+
"property": "mailType",
|
|
539
|
+
"equals": "byTemplate"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"label": "Error expression",
|
|
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",
|
|
547
|
+
"feel": "required",
|
|
548
|
+
"binding": {
|
|
549
|
+
"type": "zeebe:taskHeader",
|
|
550
|
+
"key": "errorExpression"
|
|
551
|
+
}
|
|
597
552
|
}
|
|
598
553
|
],
|
|
599
|
-
"
|
|
600
|
-
"
|
|
554
|
+
"engines": {
|
|
555
|
+
"camunda": "^8.2"
|
|
601
556
|
}
|
|
602
557
|
},
|
|
603
558
|
{
|
|
604
559
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
605
|
-
"name": "SendGrid
|
|
606
|
-
"id": "io.camunda.connectors.SendGrid.
|
|
607
|
-
"description": "
|
|
608
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
609
|
-
"
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
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/",
|
|
564
|
+
"icon": {
|
|
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"
|
|
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
|
+
},
|
|
571
|
+
"category": {
|
|
572
|
+
"id": "connectors",
|
|
573
|
+
"name": "Connectors"
|
|
574
|
+
},
|
|
614
575
|
"appliesTo": ["bpmn:Task"],
|
|
615
576
|
"elementType": {
|
|
616
577
|
"value": "bpmn:ServiceTask"
|
|
617
578
|
},
|
|
618
579
|
"groups": [
|
|
619
580
|
{
|
|
620
|
-
"id": "
|
|
621
|
-
"label": "
|
|
581
|
+
"id": "sendgrid",
|
|
582
|
+
"label": "SendGrid API"
|
|
622
583
|
},
|
|
623
584
|
{
|
|
624
585
|
"id": "sender",
|
|
@@ -630,306 +591,138 @@
|
|
|
630
591
|
},
|
|
631
592
|
{
|
|
632
593
|
"id": "content",
|
|
633
|
-
"label": "
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"id": "output",
|
|
637
|
-
"label": "Output mapping"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
"id": "error",
|
|
641
|
-
"label": "Error handling"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"id": "retries",
|
|
645
|
-
"label": "Retries"
|
|
594
|
+
"label": "Email Content"
|
|
646
595
|
}
|
|
647
596
|
],
|
|
648
597
|
"properties": [
|
|
649
598
|
{
|
|
599
|
+
"type": "Hidden",
|
|
650
600
|
"value": "io.camunda:sendgrid:1",
|
|
651
601
|
"binding": {
|
|
652
|
-
"
|
|
653
|
-
"
|
|
654
|
-
}
|
|
655
|
-
"type": "Hidden"
|
|
602
|
+
"type": "zeebe:taskDefinition",
|
|
603
|
+
"property": "type"
|
|
604
|
+
}
|
|
656
605
|
},
|
|
657
606
|
{
|
|
658
|
-
"
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
"constraints": {
|
|
662
|
-
"notEmpty": true
|
|
663
|
-
},
|
|
607
|
+
"label": "SendGrid API Key",
|
|
608
|
+
"group": "sendgrid",
|
|
609
|
+
"type": "String",
|
|
664
610
|
"feel": "optional",
|
|
665
|
-
"group": "authentication",
|
|
666
611
|
"binding": {
|
|
667
|
-
"
|
|
668
|
-
"
|
|
612
|
+
"type": "zeebe:input",
|
|
613
|
+
"name": "apiKey"
|
|
669
614
|
},
|
|
670
|
-
"
|
|
615
|
+
"constraints": {
|
|
616
|
+
"notEmpty": true
|
|
617
|
+
}
|
|
671
618
|
},
|
|
672
619
|
{
|
|
673
|
-
"id": "from.name",
|
|
674
620
|
"label": "Name",
|
|
675
|
-
"optional": false,
|
|
676
|
-
"constraints": {
|
|
677
|
-
"notEmpty": true
|
|
678
|
-
},
|
|
679
|
-
"feel": "optional",
|
|
680
621
|
"group": "sender",
|
|
622
|
+
"type": "String",
|
|
623
|
+
"feel": "optional",
|
|
681
624
|
"binding": {
|
|
682
|
-
"
|
|
683
|
-
"
|
|
625
|
+
"type": "zeebe:input",
|
|
626
|
+
"name": "from.name"
|
|
684
627
|
},
|
|
685
|
-
"type": "String"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"id": "from.email",
|
|
689
|
-
"label": "Email address",
|
|
690
|
-
"optional": false,
|
|
691
628
|
"constraints": {
|
|
692
629
|
"notEmpty": true
|
|
693
|
-
}
|
|
694
|
-
"feel": "optional",
|
|
695
|
-
"group": "sender",
|
|
696
|
-
"binding": {
|
|
697
|
-
"name": "from.email",
|
|
698
|
-
"type": "zeebe:input"
|
|
699
|
-
},
|
|
700
|
-
"type": "String"
|
|
630
|
+
}
|
|
701
631
|
},
|
|
702
632
|
{
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
"constraints": {
|
|
707
|
-
"notEmpty": true
|
|
708
|
-
},
|
|
633
|
+
"label": "Email Address",
|
|
634
|
+
"group": "sender",
|
|
635
|
+
"type": "String",
|
|
709
636
|
"feel": "optional",
|
|
710
|
-
"group": "receiver",
|
|
711
637
|
"binding": {
|
|
712
|
-
"
|
|
713
|
-
"
|
|
638
|
+
"type": "zeebe:input",
|
|
639
|
+
"name": "from.email"
|
|
714
640
|
},
|
|
715
|
-
"type": "String"
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
"id": "to.email",
|
|
719
|
-
"label": "Email address",
|
|
720
|
-
"optional": false,
|
|
721
641
|
"constraints": {
|
|
722
642
|
"notEmpty": true
|
|
723
|
-
}
|
|
724
|
-
"feel": "optional",
|
|
725
|
-
"group": "receiver",
|
|
726
|
-
"binding": {
|
|
727
|
-
"name": "to.email",
|
|
728
|
-
"type": "zeebe:input"
|
|
729
|
-
},
|
|
730
|
-
"type": "String"
|
|
643
|
+
}
|
|
731
644
|
},
|
|
732
645
|
{
|
|
733
|
-
"
|
|
734
|
-
"
|
|
735
|
-
"
|
|
736
|
-
"
|
|
646
|
+
"label": "Name",
|
|
647
|
+
"group": "receiver",
|
|
648
|
+
"type": "String",
|
|
649
|
+
"feel": "optional",
|
|
737
650
|
"binding": {
|
|
738
|
-
"
|
|
739
|
-
"
|
|
651
|
+
"type": "zeebe:input",
|
|
652
|
+
"name": "to.name"
|
|
740
653
|
},
|
|
741
|
-
"type": "Dropdown",
|
|
742
|
-
"choices": [
|
|
743
|
-
{
|
|
744
|
-
"name": "Simple (no dynamic template)",
|
|
745
|
-
"value": "mail"
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"name": "Using dynamic template",
|
|
749
|
-
"value": "byTemplate"
|
|
750
|
-
}
|
|
751
|
-
]
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"id": "template.id",
|
|
755
|
-
"label": "Template ID",
|
|
756
|
-
"optional": false,
|
|
757
654
|
"constraints": {
|
|
758
655
|
"notEmpty": true
|
|
759
|
-
}
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"label": "Email Address",
|
|
660
|
+
"group": "receiver",
|
|
661
|
+
"type": "String",
|
|
760
662
|
"feel": "optional",
|
|
761
|
-
"group": "content",
|
|
762
663
|
"binding": {
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
},
|
|
766
|
-
"condition": {
|
|
767
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
768
|
-
"equals": "byTemplate",
|
|
769
|
-
"type": "simple"
|
|
664
|
+
"type": "zeebe:input",
|
|
665
|
+
"name": "to.email"
|
|
770
666
|
},
|
|
771
|
-
"type": "String"
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
"id": "template.data",
|
|
775
|
-
"label": "Template data",
|
|
776
|
-
"optional": false,
|
|
777
667
|
"constraints": {
|
|
778
668
|
"notEmpty": true
|
|
779
|
-
}
|
|
780
|
-
"feel": "required",
|
|
781
|
-
"group": "content",
|
|
782
|
-
"binding": {
|
|
783
|
-
"name": "template.data",
|
|
784
|
-
"type": "zeebe:input"
|
|
785
|
-
},
|
|
786
|
-
"condition": {
|
|
787
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
788
|
-
"equals": "byTemplate",
|
|
789
|
-
"type": "simple"
|
|
790
|
-
},
|
|
791
|
-
"type": "String"
|
|
669
|
+
}
|
|
792
670
|
},
|
|
793
671
|
{
|
|
794
|
-
"id": "content.subject",
|
|
795
672
|
"label": "Subject",
|
|
796
|
-
"optional": false,
|
|
797
|
-
"constraints": {
|
|
798
|
-
"notEmpty": true
|
|
799
|
-
},
|
|
800
|
-
"feel": "optional",
|
|
801
673
|
"group": "content",
|
|
674
|
+
"type": "String",
|
|
675
|
+
"feel": "optional",
|
|
802
676
|
"binding": {
|
|
803
|
-
"
|
|
804
|
-
"
|
|
805
|
-
},
|
|
806
|
-
"condition": {
|
|
807
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
808
|
-
"equals": "mail",
|
|
809
|
-
"type": "simple"
|
|
677
|
+
"type": "zeebe:input",
|
|
678
|
+
"name": "content.subject"
|
|
810
679
|
},
|
|
811
|
-
"type": "String"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"id": "content.type",
|
|
815
|
-
"label": "Content type",
|
|
816
|
-
"optional": false,
|
|
817
|
-
"value": "text/plain",
|
|
818
680
|
"constraints": {
|
|
819
681
|
"notEmpty": true
|
|
820
|
-
}
|
|
821
|
-
"feel": "optional",
|
|
822
|
-
"group": "content",
|
|
823
|
-
"binding": {
|
|
824
|
-
"name": "content.type",
|
|
825
|
-
"type": "zeebe:input"
|
|
826
|
-
},
|
|
827
|
-
"condition": {
|
|
828
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
829
|
-
"equals": "mail",
|
|
830
|
-
"type": "simple"
|
|
831
|
-
},
|
|
832
|
-
"type": "String"
|
|
682
|
+
}
|
|
833
683
|
},
|
|
834
684
|
{
|
|
835
|
-
"
|
|
836
|
-
"label": "Body",
|
|
837
|
-
"optional": false,
|
|
838
|
-
"constraints": {
|
|
839
|
-
"notEmpty": true
|
|
840
|
-
},
|
|
841
|
-
"feel": "optional",
|
|
685
|
+
"label": "Content Type",
|
|
842
686
|
"group": "content",
|
|
687
|
+
"type": "String",
|
|
688
|
+
"feel": "optional",
|
|
689
|
+
"value": "text/plain",
|
|
843
690
|
"binding": {
|
|
844
|
-
"
|
|
845
|
-
"
|
|
846
|
-
},
|
|
847
|
-
"condition": {
|
|
848
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
849
|
-
"equals": "mail",
|
|
850
|
-
"type": "simple"
|
|
691
|
+
"type": "zeebe:input",
|
|
692
|
+
"name": "content.type"
|
|
851
693
|
},
|
|
852
|
-
"
|
|
694
|
+
"constraints": {
|
|
695
|
+
"notEmpty": true
|
|
696
|
+
}
|
|
853
697
|
},
|
|
854
698
|
{
|
|
855
|
-
"
|
|
856
|
-
"
|
|
857
|
-
"
|
|
858
|
-
"
|
|
699
|
+
"label": "Body",
|
|
700
|
+
"group": "content",
|
|
701
|
+
"type": "Text",
|
|
702
|
+
"feel": "optional",
|
|
859
703
|
"binding": {
|
|
860
|
-
"
|
|
861
|
-
"
|
|
704
|
+
"type": "zeebe:input",
|
|
705
|
+
"name": "content.value"
|
|
862
706
|
},
|
|
863
|
-
"
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
"id": "resultExpression",
|
|
867
|
-
"label": "Result expression",
|
|
868
|
-
"description": "Expression to map the response into process variables",
|
|
869
|
-
"feel": "required",
|
|
870
|
-
"group": "output",
|
|
871
|
-
"binding": {
|
|
872
|
-
"key": "resultExpression",
|
|
873
|
-
"type": "zeebe:taskHeader"
|
|
874
|
-
},
|
|
875
|
-
"type": "Text"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"id": "errorExpression",
|
|
879
|
-
"label": "Error expression",
|
|
880
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
881
|
-
"feel": "required",
|
|
882
|
-
"group": "error",
|
|
883
|
-
"binding": {
|
|
884
|
-
"key": "errorExpression",
|
|
885
|
-
"type": "zeebe:taskHeader"
|
|
886
|
-
},
|
|
887
|
-
"type": "Text"
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
"id": "retryCount",
|
|
891
|
-
"label": "Retries",
|
|
892
|
-
"description": "Number of retries",
|
|
893
|
-
"value": "3",
|
|
894
|
-
"feel": "optional",
|
|
895
|
-
"group": "retries",
|
|
896
|
-
"binding": {
|
|
897
|
-
"property": "retries",
|
|
898
|
-
"type": "zeebe:taskDefinition"
|
|
899
|
-
},
|
|
900
|
-
"type": "String"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
"id": "retryBackoff",
|
|
904
|
-
"label": "Retry backoff",
|
|
905
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
906
|
-
"value": "PT0S",
|
|
907
|
-
"feel": "optional",
|
|
908
|
-
"group": "retries",
|
|
909
|
-
"binding": {
|
|
910
|
-
"key": "retryBackoff",
|
|
911
|
-
"type": "zeebe:taskHeader"
|
|
912
|
-
},
|
|
913
|
-
"type": "String"
|
|
707
|
+
"constraints": {
|
|
708
|
+
"notEmpty": true
|
|
709
|
+
}
|
|
914
710
|
}
|
|
915
|
-
]
|
|
916
|
-
"icon": {
|
|
917
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
918
|
-
},
|
|
919
|
-
"engines": {
|
|
920
|
-
"camunda": "^8.5"
|
|
921
|
-
}
|
|
711
|
+
]
|
|
922
712
|
},
|
|
923
713
|
{
|
|
924
714
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
925
|
-
"name": "SendGrid
|
|
715
|
+
"name": "SendGrid connector",
|
|
926
716
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
927
|
-
"
|
|
928
|
-
|
|
929
|
-
"
|
|
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"
|
|
930
720
|
},
|
|
721
|
+
"description": "Send an email via SendGrid",
|
|
931
722
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
932
|
-
"
|
|
723
|
+
"icon": {
|
|
724
|
+
"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"
|
|
725
|
+
},
|
|
933
726
|
"category": {
|
|
934
727
|
"id": "connectors",
|
|
935
728
|
"name": "Connectors"
|
|
@@ -938,9 +731,6 @@
|
|
|
938
731
|
"elementType": {
|
|
939
732
|
"value": "bpmn:ServiceTask"
|
|
940
733
|
},
|
|
941
|
-
"engines": {
|
|
942
|
-
"camunda": "^8.3"
|
|
943
|
-
},
|
|
944
734
|
"groups": [
|
|
945
735
|
{
|
|
946
736
|
"id": "authentication",
|
|
@@ -959,111 +749,88 @@
|
|
|
959
749
|
"label": "Compose email"
|
|
960
750
|
},
|
|
961
751
|
{
|
|
962
|
-
"id": "
|
|
963
|
-
"label": "Output mapping"
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
"id": "error",
|
|
752
|
+
"id": "errors",
|
|
967
753
|
"label": "Error handling"
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"id": "retries",
|
|
971
|
-
"label": "Retries"
|
|
972
754
|
}
|
|
973
755
|
],
|
|
974
756
|
"properties": [
|
|
975
757
|
{
|
|
758
|
+
"type": "Hidden",
|
|
976
759
|
"value": "io.camunda:sendgrid:1",
|
|
977
760
|
"binding": {
|
|
978
|
-
"
|
|
979
|
-
"
|
|
980
|
-
}
|
|
981
|
-
"type": "Hidden"
|
|
761
|
+
"type": "zeebe:taskDefinition",
|
|
762
|
+
"property": "type"
|
|
763
|
+
}
|
|
982
764
|
},
|
|
983
765
|
{
|
|
984
|
-
"id": "apiKey",
|
|
985
766
|
"label": "SendGrid API key",
|
|
986
|
-
"optional": false,
|
|
987
|
-
"constraints": {
|
|
988
|
-
"notEmpty": true
|
|
989
|
-
},
|
|
990
|
-
"feel": "optional",
|
|
991
767
|
"group": "authentication",
|
|
768
|
+
"type": "String",
|
|
769
|
+
"feel": "optional",
|
|
992
770
|
"binding": {
|
|
993
|
-
"
|
|
994
|
-
"
|
|
771
|
+
"type": "zeebe:input",
|
|
772
|
+
"name": "apiKey"
|
|
995
773
|
},
|
|
996
|
-
"
|
|
774
|
+
"constraints": {
|
|
775
|
+
"notEmpty": true
|
|
776
|
+
}
|
|
997
777
|
},
|
|
998
778
|
{
|
|
999
|
-
"id": "from.name",
|
|
1000
779
|
"label": "Name",
|
|
1001
|
-
"optional": false,
|
|
1002
|
-
"constraints": {
|
|
1003
|
-
"notEmpty": true
|
|
1004
|
-
},
|
|
1005
|
-
"feel": "optional",
|
|
1006
780
|
"group": "sender",
|
|
781
|
+
"type": "String",
|
|
782
|
+
"feel": "optional",
|
|
1007
783
|
"binding": {
|
|
1008
|
-
"
|
|
1009
|
-
"
|
|
784
|
+
"type": "zeebe:input",
|
|
785
|
+
"name": "from.name"
|
|
1010
786
|
},
|
|
1011
|
-
"
|
|
787
|
+
"constraints": {
|
|
788
|
+
"notEmpty": true
|
|
789
|
+
}
|
|
1012
790
|
},
|
|
1013
791
|
{
|
|
1014
|
-
"id": "from.email",
|
|
1015
792
|
"label": "Email address",
|
|
1016
|
-
"optional": false,
|
|
1017
|
-
"constraints": {
|
|
1018
|
-
"notEmpty": true
|
|
1019
|
-
},
|
|
1020
|
-
"feel": "optional",
|
|
1021
793
|
"group": "sender",
|
|
794
|
+
"type": "String",
|
|
795
|
+
"feel": "optional",
|
|
1022
796
|
"binding": {
|
|
1023
|
-
"
|
|
1024
|
-
"
|
|
797
|
+
"type": "zeebe:input",
|
|
798
|
+
"name": "from.email"
|
|
1025
799
|
},
|
|
1026
|
-
"
|
|
800
|
+
"constraints": {
|
|
801
|
+
"notEmpty": true
|
|
802
|
+
}
|
|
1027
803
|
},
|
|
1028
804
|
{
|
|
1029
|
-
"id": "to.name",
|
|
1030
805
|
"label": "Name",
|
|
1031
|
-
"optional": false,
|
|
1032
|
-
"constraints": {
|
|
1033
|
-
"notEmpty": true
|
|
1034
|
-
},
|
|
1035
|
-
"feel": "optional",
|
|
1036
806
|
"group": "receiver",
|
|
807
|
+
"type": "String",
|
|
808
|
+
"feel": "optional",
|
|
1037
809
|
"binding": {
|
|
1038
|
-
"
|
|
1039
|
-
"
|
|
810
|
+
"type": "zeebe:input",
|
|
811
|
+
"name": "to.name"
|
|
1040
812
|
},
|
|
1041
|
-
"
|
|
813
|
+
"constraints": {
|
|
814
|
+
"notEmpty": true
|
|
815
|
+
}
|
|
1042
816
|
},
|
|
1043
817
|
{
|
|
1044
|
-
"id": "to.email",
|
|
1045
818
|
"label": "Email address",
|
|
1046
|
-
"optional": false,
|
|
1047
|
-
"constraints": {
|
|
1048
|
-
"notEmpty": true
|
|
1049
|
-
},
|
|
1050
|
-
"feel": "optional",
|
|
1051
819
|
"group": "receiver",
|
|
820
|
+
"type": "String",
|
|
821
|
+
"feel": "optional",
|
|
1052
822
|
"binding": {
|
|
1053
|
-
"
|
|
1054
|
-
"
|
|
823
|
+
"type": "zeebe:input",
|
|
824
|
+
"name": "to.email"
|
|
1055
825
|
},
|
|
1056
|
-
"
|
|
826
|
+
"constraints": {
|
|
827
|
+
"notEmpty": true
|
|
828
|
+
}
|
|
1057
829
|
},
|
|
1058
830
|
{
|
|
1059
|
-
"id": "
|
|
1060
|
-
"label": "Mail contents",
|
|
1061
|
-
"optional": false,
|
|
831
|
+
"id": "mailType",
|
|
1062
832
|
"group": "content",
|
|
1063
|
-
"
|
|
1064
|
-
"name": "unMappedFieldNotUseInModel.mailType",
|
|
1065
|
-
"type": "zeebe:input"
|
|
1066
|
-
},
|
|
833
|
+
"value": "mail",
|
|
1067
834
|
"type": "Dropdown",
|
|
1068
835
|
"choices": [
|
|
1069
836
|
{
|
|
@@ -1074,204 +841,121 @@
|
|
|
1074
841
|
"name": "Using dynamic template",
|
|
1075
842
|
"value": "byTemplate"
|
|
1076
843
|
}
|
|
1077
|
-
]
|
|
844
|
+
],
|
|
845
|
+
"binding": {
|
|
846
|
+
"type": "zeebe:input",
|
|
847
|
+
"name": "unMappedFieldNotUseInModel.mailType"
|
|
848
|
+
}
|
|
1078
849
|
},
|
|
1079
850
|
{
|
|
1080
|
-
"
|
|
1081
|
-
"
|
|
1082
|
-
"
|
|
851
|
+
"label": "Subject",
|
|
852
|
+
"group": "content",
|
|
853
|
+
"type": "String",
|
|
854
|
+
"feel": "optional",
|
|
855
|
+
"binding": {
|
|
856
|
+
"type": "zeebe:input",
|
|
857
|
+
"name": "content.subject"
|
|
858
|
+
},
|
|
1083
859
|
"constraints": {
|
|
1084
860
|
"notEmpty": true
|
|
1085
861
|
},
|
|
1086
|
-
"
|
|
862
|
+
"condition": {
|
|
863
|
+
"property": "mailType",
|
|
864
|
+
"equals": "mail"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"label": "Content type",
|
|
1087
869
|
"group": "content",
|
|
870
|
+
"type": "String",
|
|
871
|
+
"feel": "optional",
|
|
872
|
+
"value": "text/plain",
|
|
1088
873
|
"binding": {
|
|
1089
|
-
"
|
|
1090
|
-
"
|
|
874
|
+
"type": "zeebe:input",
|
|
875
|
+
"name": "content.type"
|
|
1091
876
|
},
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1094
|
-
"equals": "byTemplate",
|
|
1095
|
-
"type": "simple"
|
|
877
|
+
"constraints": {
|
|
878
|
+
"notEmpty": true
|
|
1096
879
|
},
|
|
1097
|
-
"
|
|
880
|
+
"condition": {
|
|
881
|
+
"property": "mailType",
|
|
882
|
+
"equals": "mail"
|
|
883
|
+
}
|
|
1098
884
|
},
|
|
1099
885
|
{
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
886
|
+
"label": "Body",
|
|
887
|
+
"group": "content",
|
|
888
|
+
"type": "Text",
|
|
889
|
+
"feel": "optional",
|
|
890
|
+
"binding": {
|
|
891
|
+
"type": "zeebe:input",
|
|
892
|
+
"name": "content.value"
|
|
893
|
+
},
|
|
1103
894
|
"constraints": {
|
|
1104
895
|
"notEmpty": true
|
|
1105
896
|
},
|
|
1106
|
-
"
|
|
897
|
+
"condition": {
|
|
898
|
+
"property": "mailType",
|
|
899
|
+
"equals": "mail"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"label": "Template ID",
|
|
1107
904
|
"group": "content",
|
|
905
|
+
"type": "String",
|
|
906
|
+
"feel": "optional",
|
|
1108
907
|
"binding": {
|
|
1109
|
-
"
|
|
1110
|
-
"
|
|
908
|
+
"type": "zeebe:input",
|
|
909
|
+
"name": "template.id"
|
|
910
|
+
},
|
|
911
|
+
"constraints": {
|
|
912
|
+
"notEmpty": true
|
|
1111
913
|
},
|
|
1112
914
|
"condition": {
|
|
1113
|
-
"property": "
|
|
1114
|
-
"equals": "byTemplate"
|
|
1115
|
-
|
|
1116
|
-
},
|
|
1117
|
-
"type": "String"
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"id": "content.subject",
|
|
1121
|
-
"label": "Subject",
|
|
1122
|
-
"optional": false,
|
|
1123
|
-
"constraints": {
|
|
1124
|
-
"notEmpty": true
|
|
1125
|
-
},
|
|
1126
|
-
"feel": "optional",
|
|
1127
|
-
"group": "content",
|
|
1128
|
-
"binding": {
|
|
1129
|
-
"name": "content.subject",
|
|
1130
|
-
"type": "zeebe:input"
|
|
1131
|
-
},
|
|
1132
|
-
"condition": {
|
|
1133
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1134
|
-
"equals": "mail",
|
|
1135
|
-
"type": "simple"
|
|
1136
|
-
},
|
|
1137
|
-
"type": "String"
|
|
915
|
+
"property": "mailType",
|
|
916
|
+
"equals": "byTemplate"
|
|
917
|
+
}
|
|
1138
918
|
},
|
|
1139
919
|
{
|
|
1140
|
-
"
|
|
1141
|
-
"label": "Content type",
|
|
1142
|
-
"optional": false,
|
|
1143
|
-
"value": "text/plain",
|
|
1144
|
-
"constraints": {
|
|
1145
|
-
"notEmpty": true
|
|
1146
|
-
},
|
|
1147
|
-
"feel": "optional",
|
|
920
|
+
"label": "Template data",
|
|
1148
921
|
"group": "content",
|
|
922
|
+
"type": "Text",
|
|
923
|
+
"feel": "required",
|
|
1149
924
|
"binding": {
|
|
1150
|
-
"
|
|
1151
|
-
"
|
|
1152
|
-
},
|
|
1153
|
-
"condition": {
|
|
1154
|
-
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1155
|
-
"equals": "mail",
|
|
1156
|
-
"type": "simple"
|
|
925
|
+
"type": "zeebe:input",
|
|
926
|
+
"name": "template.data"
|
|
1157
927
|
},
|
|
1158
|
-
"type": "String"
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"id": "content.value",
|
|
1162
|
-
"label": "Body",
|
|
1163
|
-
"optional": false,
|
|
1164
928
|
"constraints": {
|
|
1165
929
|
"notEmpty": true
|
|
1166
930
|
},
|
|
1167
|
-
"feel": "optional",
|
|
1168
|
-
"group": "content",
|
|
1169
|
-
"binding": {
|
|
1170
|
-
"name": "content.value",
|
|
1171
|
-
"type": "zeebe:input"
|
|
1172
|
-
},
|
|
1173
931
|
"condition": {
|
|
1174
|
-
"property": "
|
|
1175
|
-
"equals": "
|
|
1176
|
-
|
|
1177
|
-
},
|
|
1178
|
-
"type": "Text"
|
|
1179
|
-
},
|
|
1180
|
-
{
|
|
1181
|
-
"id": "attachments",
|
|
1182
|
-
"label": "attachments",
|
|
1183
|
-
"description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
|
|
1184
|
-
"optional": true,
|
|
1185
|
-
"feel": "required",
|
|
1186
|
-
"group": "content",
|
|
1187
|
-
"binding": {
|
|
1188
|
-
"name": "attachments",
|
|
1189
|
-
"type": "zeebe:input"
|
|
1190
|
-
},
|
|
1191
|
-
"type": "String"
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"id": "resultVariable",
|
|
1195
|
-
"label": "Result variable",
|
|
1196
|
-
"description": "Name of variable to store the response in",
|
|
1197
|
-
"group": "output",
|
|
1198
|
-
"binding": {
|
|
1199
|
-
"key": "resultVariable",
|
|
1200
|
-
"type": "zeebe:taskHeader"
|
|
1201
|
-
},
|
|
1202
|
-
"type": "String"
|
|
1203
|
-
},
|
|
1204
|
-
{
|
|
1205
|
-
"id": "resultExpression",
|
|
1206
|
-
"label": "Result expression",
|
|
1207
|
-
"description": "Expression to map the response into process variables",
|
|
1208
|
-
"feel": "required",
|
|
1209
|
-
"group": "output",
|
|
1210
|
-
"binding": {
|
|
1211
|
-
"key": "resultExpression",
|
|
1212
|
-
"type": "zeebe:taskHeader"
|
|
1213
|
-
},
|
|
1214
|
-
"type": "Text"
|
|
932
|
+
"property": "mailType",
|
|
933
|
+
"equals": "byTemplate"
|
|
934
|
+
}
|
|
1215
935
|
},
|
|
1216
936
|
{
|
|
1217
|
-
"id": "errorExpression",
|
|
1218
937
|
"label": "Error expression",
|
|
1219
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
938
|
+
"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>",
|
|
939
|
+
"group": "errors",
|
|
940
|
+
"type": "Text",
|
|
1220
941
|
"feel": "required",
|
|
1221
|
-
"group": "error",
|
|
1222
|
-
"binding": {
|
|
1223
|
-
"key": "errorExpression",
|
|
1224
|
-
"type": "zeebe:taskHeader"
|
|
1225
|
-
},
|
|
1226
|
-
"type": "Text"
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"id": "retryCount",
|
|
1230
|
-
"label": "Retries",
|
|
1231
|
-
"description": "Number of retries",
|
|
1232
|
-
"value": "3",
|
|
1233
|
-
"feel": "optional",
|
|
1234
|
-
"group": "retries",
|
|
1235
|
-
"binding": {
|
|
1236
|
-
"property": "retries",
|
|
1237
|
-
"type": "zeebe:taskDefinition"
|
|
1238
|
-
},
|
|
1239
|
-
"type": "String"
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"id": "retryBackoff",
|
|
1243
|
-
"label": "Retry backoff",
|
|
1244
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
1245
|
-
"value": "PT0S",
|
|
1246
|
-
"group": "retries",
|
|
1247
942
|
"binding": {
|
|
1248
|
-
"
|
|
1249
|
-
"
|
|
1250
|
-
}
|
|
1251
|
-
"type": "String"
|
|
943
|
+
"type": "zeebe:taskHeader",
|
|
944
|
+
"key": "errorExpression"
|
|
945
|
+
}
|
|
1252
946
|
}
|
|
1253
|
-
]
|
|
1254
|
-
"icon": {
|
|
1255
|
-
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
1256
|
-
}
|
|
947
|
+
]
|
|
1257
948
|
},
|
|
1258
949
|
{
|
|
1259
950
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1260
951
|
"name": "SendGrid Outbound Connector",
|
|
1261
952
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
1262
953
|
"description": "Send an email via SendGrid",
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
1265
|
-
|
|
1266
|
-
"transactional email",
|
|
1267
|
-
"marketing email",
|
|
1268
|
-
"email campaign",
|
|
1269
|
-
"email delivery",
|
|
1270
|
-
"dynamic template",
|
|
1271
|
-
"email template"
|
|
1272
|
-
],
|
|
954
|
+
"metadata": {
|
|
955
|
+
"keywords": []
|
|
956
|
+
},
|
|
1273
957
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1274
|
-
"version":
|
|
958
|
+
"version": 4,
|
|
1275
959
|
"category": {
|
|
1276
960
|
"id": "connectors",
|
|
1277
961
|
"name": "Connectors"
|
|
@@ -1300,10 +984,6 @@
|
|
|
1300
984
|
"id": "content",
|
|
1301
985
|
"label": "Compose email"
|
|
1302
986
|
},
|
|
1303
|
-
{
|
|
1304
|
-
"id": "connector",
|
|
1305
|
-
"label": "Connector"
|
|
1306
|
-
},
|
|
1307
987
|
{
|
|
1308
988
|
"id": "output",
|
|
1309
989
|
"label": "Output mapping"
|
|
@@ -1536,34 +1216,10 @@
|
|
|
1536
1216
|
},
|
|
1537
1217
|
"type": "String"
|
|
1538
1218
|
},
|
|
1539
|
-
{
|
|
1540
|
-
"id": "version",
|
|
1541
|
-
"label": "Version",
|
|
1542
|
-
"description": "Version of the element template",
|
|
1543
|
-
"value": "5",
|
|
1544
|
-
"group": "connector",
|
|
1545
|
-
"binding": {
|
|
1546
|
-
"key": "elementTemplateVersion",
|
|
1547
|
-
"type": "zeebe:taskHeader"
|
|
1548
|
-
},
|
|
1549
|
-
"type": "Hidden"
|
|
1550
|
-
},
|
|
1551
|
-
{
|
|
1552
|
-
"id": "id",
|
|
1553
|
-
"label": "ID",
|
|
1554
|
-
"description": "ID of the element template",
|
|
1555
|
-
"value": "io.camunda.connectors.SendGrid.v2",
|
|
1556
|
-
"group": "connector",
|
|
1557
|
-
"binding": {
|
|
1558
|
-
"key": "elementTemplateId",
|
|
1559
|
-
"type": "zeebe:taskHeader"
|
|
1560
|
-
},
|
|
1561
|
-
"type": "Hidden"
|
|
1562
|
-
},
|
|
1563
1219
|
{
|
|
1564
1220
|
"id": "resultVariable",
|
|
1565
1221
|
"label": "Result variable",
|
|
1566
|
-
"description": "Name of variable to store the response in
|
|
1222
|
+
"description": "Name of variable to store the response in",
|
|
1567
1223
|
"group": "output",
|
|
1568
1224
|
"binding": {
|
|
1569
1225
|
"key": "resultVariable",
|
|
@@ -1574,7 +1230,7 @@
|
|
|
1574
1230
|
{
|
|
1575
1231
|
"id": "resultExpression",
|
|
1576
1232
|
"label": "Result expression",
|
|
1577
|
-
"description": "Expression to map the response into process variables
|
|
1233
|
+
"description": "Expression to map the response into process variables",
|
|
1578
1234
|
"feel": "required",
|
|
1579
1235
|
"group": "output",
|
|
1580
1236
|
"binding": {
|
|
@@ -1627,8 +1283,8 @@
|
|
|
1627
1283
|
},
|
|
1628
1284
|
{
|
|
1629
1285
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1630
|
-
"name": "SendGrid: Send Email",
|
|
1631
|
-
"id": "io.camunda.connectors.SendGrid.v1.
|
|
1286
|
+
"name": "SendGrid: Send Email via Template",
|
|
1287
|
+
"id": "io.camunda.connectors.SendGrid.v1.template",
|
|
1632
1288
|
"description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
|
|
1633
1289
|
"documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1634
1290
|
"icon": {
|
|
@@ -1660,8 +1316,8 @@
|
|
|
1660
1316
|
"label": "Receiver"
|
|
1661
1317
|
},
|
|
1662
1318
|
{
|
|
1663
|
-
"id": "
|
|
1664
|
-
"label": "Email
|
|
1319
|
+
"id": "template",
|
|
1320
|
+
"label": "Dynamic Email Template"
|
|
1665
1321
|
}
|
|
1666
1322
|
],
|
|
1667
1323
|
"properties": [
|
|
@@ -1739,40 +1395,26 @@
|
|
|
1739
1395
|
}
|
|
1740
1396
|
},
|
|
1741
1397
|
{
|
|
1742
|
-
"label": "
|
|
1743
|
-
"group": "
|
|
1744
|
-
"type": "String",
|
|
1745
|
-
"feel": "optional",
|
|
1746
|
-
"binding": {
|
|
1747
|
-
"type": "zeebe:input",
|
|
1748
|
-
"name": "content.subject"
|
|
1749
|
-
},
|
|
1750
|
-
"constraints": {
|
|
1751
|
-
"notEmpty": true
|
|
1752
|
-
}
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
"label": "Content Type",
|
|
1756
|
-
"group": "content",
|
|
1398
|
+
"label": "Template ID",
|
|
1399
|
+
"group": "template",
|
|
1757
1400
|
"type": "String",
|
|
1758
1401
|
"feel": "optional",
|
|
1759
|
-
"value": "text/plain",
|
|
1760
1402
|
"binding": {
|
|
1761
1403
|
"type": "zeebe:input",
|
|
1762
|
-
"name": "
|
|
1404
|
+
"name": "template.id"
|
|
1763
1405
|
},
|
|
1764
1406
|
"constraints": {
|
|
1765
1407
|
"notEmpty": true
|
|
1766
1408
|
}
|
|
1767
1409
|
},
|
|
1768
1410
|
{
|
|
1769
|
-
"label": "
|
|
1770
|
-
"group": "
|
|
1411
|
+
"label": "Template Data",
|
|
1412
|
+
"group": "template",
|
|
1771
1413
|
"type": "Text",
|
|
1772
|
-
"feel": "
|
|
1414
|
+
"feel": "required",
|
|
1773
1415
|
"binding": {
|
|
1774
1416
|
"type": "zeebe:input",
|
|
1775
|
-
"name": "
|
|
1417
|
+
"name": "template.data"
|
|
1776
1418
|
},
|
|
1777
1419
|
"constraints": {
|
|
1778
1420
|
"notEmpty": true
|
|
@@ -1782,17 +1424,14 @@
|
|
|
1782
1424
|
},
|
|
1783
1425
|
{
|
|
1784
1426
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1785
|
-
"name": "SendGrid
|
|
1786
|
-
"id": "io.camunda.connectors.SendGrid.
|
|
1787
|
-
"
|
|
1788
|
-
"
|
|
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/",
|
|
1789
1432
|
"icon": {
|
|
1790
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"
|
|
1791
1434
|
},
|
|
1792
|
-
"deprecated": {
|
|
1793
|
-
"message": "Replace with 'SendGrid Connector' template.",
|
|
1794
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1795
|
-
},
|
|
1796
1435
|
"category": {
|
|
1797
1436
|
"id": "connectors",
|
|
1798
1437
|
"name": "Connectors"
|
|
@@ -1803,8 +1442,8 @@
|
|
|
1803
1442
|
},
|
|
1804
1443
|
"groups": [
|
|
1805
1444
|
{
|
|
1806
|
-
"id": "
|
|
1807
|
-
"label": "
|
|
1445
|
+
"id": "authentication",
|
|
1446
|
+
"label": "Authentication"
|
|
1808
1447
|
},
|
|
1809
1448
|
{
|
|
1810
1449
|
"id": "sender",
|
|
@@ -1815,153 +1454,12 @@
|
|
|
1815
1454
|
"label": "Receiver"
|
|
1816
1455
|
},
|
|
1817
1456
|
{
|
|
1818
|
-
"id": "
|
|
1819
|
-
"label": "
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
"type": "Hidden",
|
|
1825
|
-
"value": "io.camunda:sendgrid:1",
|
|
1826
|
-
"binding": {
|
|
1827
|
-
"type": "zeebe:taskDefinition",
|
|
1828
|
-
"property": "type"
|
|
1829
|
-
}
|
|
1830
|
-
},
|
|
1831
|
-
{
|
|
1832
|
-
"label": "SendGrid API Key",
|
|
1833
|
-
"group": "sendgrid",
|
|
1834
|
-
"type": "String",
|
|
1835
|
-
"feel": "optional",
|
|
1836
|
-
"binding": {
|
|
1837
|
-
"type": "zeebe:input",
|
|
1838
|
-
"name": "apiKey"
|
|
1839
|
-
},
|
|
1840
|
-
"constraints": {
|
|
1841
|
-
"notEmpty": true
|
|
1842
|
-
}
|
|
1843
|
-
},
|
|
1844
|
-
{
|
|
1845
|
-
"label": "Name",
|
|
1846
|
-
"group": "sender",
|
|
1847
|
-
"type": "String",
|
|
1848
|
-
"feel": "optional",
|
|
1849
|
-
"binding": {
|
|
1850
|
-
"type": "zeebe:input",
|
|
1851
|
-
"name": "from.name"
|
|
1852
|
-
},
|
|
1853
|
-
"constraints": {
|
|
1854
|
-
"notEmpty": true
|
|
1855
|
-
}
|
|
1856
|
-
},
|
|
1857
|
-
{
|
|
1858
|
-
"label": "Email Address",
|
|
1859
|
-
"group": "sender",
|
|
1860
|
-
"type": "String",
|
|
1861
|
-
"feel": "optional",
|
|
1862
|
-
"binding": {
|
|
1863
|
-
"type": "zeebe:input",
|
|
1864
|
-
"name": "from.email"
|
|
1865
|
-
},
|
|
1866
|
-
"constraints": {
|
|
1867
|
-
"notEmpty": true
|
|
1868
|
-
}
|
|
1869
|
-
},
|
|
1870
|
-
{
|
|
1871
|
-
"label": "Name",
|
|
1872
|
-
"group": "receiver",
|
|
1873
|
-
"type": "String",
|
|
1874
|
-
"feel": "optional",
|
|
1875
|
-
"binding": {
|
|
1876
|
-
"type": "zeebe:input",
|
|
1877
|
-
"name": "to.name"
|
|
1878
|
-
},
|
|
1879
|
-
"constraints": {
|
|
1880
|
-
"notEmpty": true
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"label": "Email Address",
|
|
1885
|
-
"group": "receiver",
|
|
1886
|
-
"type": "String",
|
|
1887
|
-
"feel": "optional",
|
|
1888
|
-
"binding": {
|
|
1889
|
-
"type": "zeebe:input",
|
|
1890
|
-
"name": "to.email"
|
|
1891
|
-
},
|
|
1892
|
-
"constraints": {
|
|
1893
|
-
"notEmpty": true
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"label": "Template ID",
|
|
1898
|
-
"group": "template",
|
|
1899
|
-
"type": "String",
|
|
1900
|
-
"feel": "optional",
|
|
1901
|
-
"binding": {
|
|
1902
|
-
"type": "zeebe:input",
|
|
1903
|
-
"name": "template.id"
|
|
1904
|
-
},
|
|
1905
|
-
"constraints": {
|
|
1906
|
-
"notEmpty": true
|
|
1907
|
-
}
|
|
1908
|
-
},
|
|
1909
|
-
{
|
|
1910
|
-
"label": "Template Data",
|
|
1911
|
-
"group": "template",
|
|
1912
|
-
"type": "Text",
|
|
1913
|
-
"feel": "required",
|
|
1914
|
-
"binding": {
|
|
1915
|
-
"type": "zeebe:input",
|
|
1916
|
-
"name": "template.data"
|
|
1917
|
-
},
|
|
1918
|
-
"constraints": {
|
|
1919
|
-
"notEmpty": true
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
]
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1926
|
-
"name": "SendGrid connector",
|
|
1927
|
-
"id": "io.camunda.connectors.SendGrid.v2",
|
|
1928
|
-
"deprecated": {
|
|
1929
|
-
"message": "Replace with 'SendGrid connector' template.",
|
|
1930
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1931
|
-
},
|
|
1932
|
-
"description": "Send an email via SendGrid",
|
|
1933
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
1934
|
-
"icon": {
|
|
1935
|
-
"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"
|
|
1936
|
-
},
|
|
1937
|
-
"category": {
|
|
1938
|
-
"id": "connectors",
|
|
1939
|
-
"name": "Connectors"
|
|
1940
|
-
},
|
|
1941
|
-
"appliesTo": ["bpmn:Task"],
|
|
1942
|
-
"elementType": {
|
|
1943
|
-
"value": "bpmn:ServiceTask"
|
|
1944
|
-
},
|
|
1945
|
-
"groups": [
|
|
1946
|
-
{
|
|
1947
|
-
"id": "authentication",
|
|
1948
|
-
"label": "Authentication"
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"id": "sender",
|
|
1952
|
-
"label": "Sender"
|
|
1953
|
-
},
|
|
1954
|
-
{
|
|
1955
|
-
"id": "receiver",
|
|
1956
|
-
"label": "Receiver"
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"id": "content",
|
|
1960
|
-
"label": "Compose email"
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"id": "errors",
|
|
1964
|
-
"label": "Error handling"
|
|
1457
|
+
"id": "content",
|
|
1458
|
+
"label": "Compose email"
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"id": "errors",
|
|
1462
|
+
"label": "Error handling"
|
|
1965
1463
|
}
|
|
1966
1464
|
],
|
|
1967
1465
|
"properties": [
|
|
@@ -2155,18 +1653,28 @@
|
|
|
2155
1653
|
"key": "errorExpression"
|
|
2156
1654
|
}
|
|
2157
1655
|
}
|
|
2158
|
-
]
|
|
1656
|
+
],
|
|
1657
|
+
"engines": {
|
|
1658
|
+
"camunda": "^8.2"
|
|
1659
|
+
}
|
|
2159
1660
|
},
|
|
2160
1661
|
{
|
|
2161
1662
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2162
1663
|
"name": "SendGrid Outbound Connector",
|
|
2163
1664
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
2164
|
-
"version": 2,
|
|
2165
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
|
+
],
|
|
2166
1676
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
2167
|
-
"
|
|
2168
|
-
"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"
|
|
2169
|
-
},
|
|
1677
|
+
"version": 5,
|
|
2170
1678
|
"category": {
|
|
2171
1679
|
"id": "connectors",
|
|
2172
1680
|
"name": "Connectors"
|
|
@@ -2175,6 +1683,9 @@
|
|
|
2175
1683
|
"elementType": {
|
|
2176
1684
|
"value": "bpmn:ServiceTask"
|
|
2177
1685
|
},
|
|
1686
|
+
"engines": {
|
|
1687
|
+
"camunda": "^8.3"
|
|
1688
|
+
},
|
|
2178
1689
|
"groups": [
|
|
2179
1690
|
{
|
|
2180
1691
|
"id": "authentication",
|
|
@@ -2193,88 +1704,115 @@
|
|
|
2193
1704
|
"label": "Compose email"
|
|
2194
1705
|
},
|
|
2195
1706
|
{
|
|
2196
|
-
"id": "
|
|
1707
|
+
"id": "connector",
|
|
1708
|
+
"label": "Connector"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"id": "output",
|
|
1712
|
+
"label": "Output mapping"
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"id": "error",
|
|
2197
1716
|
"label": "Error handling"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"id": "retries",
|
|
1720
|
+
"label": "Retries"
|
|
2198
1721
|
}
|
|
2199
1722
|
],
|
|
2200
1723
|
"properties": [
|
|
2201
1724
|
{
|
|
2202
|
-
"type": "Hidden",
|
|
2203
1725
|
"value": "io.camunda:sendgrid:1",
|
|
2204
1726
|
"binding": {
|
|
2205
|
-
"
|
|
2206
|
-
"
|
|
2207
|
-
}
|
|
1727
|
+
"property": "type",
|
|
1728
|
+
"type": "zeebe:taskDefinition"
|
|
1729
|
+
},
|
|
1730
|
+
"type": "Hidden"
|
|
2208
1731
|
},
|
|
2209
1732
|
{
|
|
1733
|
+
"id": "apiKey",
|
|
2210
1734
|
"label": "SendGrid API key",
|
|
2211
|
-
"
|
|
2212
|
-
"
|
|
1735
|
+
"optional": false,
|
|
1736
|
+
"constraints": {
|
|
1737
|
+
"notEmpty": true
|
|
1738
|
+
},
|
|
2213
1739
|
"feel": "optional",
|
|
1740
|
+
"group": "authentication",
|
|
2214
1741
|
"binding": {
|
|
2215
|
-
"
|
|
2216
|
-
"
|
|
1742
|
+
"name": "apiKey",
|
|
1743
|
+
"type": "zeebe:input"
|
|
2217
1744
|
},
|
|
2218
|
-
"
|
|
2219
|
-
"notEmpty": true
|
|
2220
|
-
}
|
|
1745
|
+
"type": "String"
|
|
2221
1746
|
},
|
|
2222
1747
|
{
|
|
1748
|
+
"id": "from.name",
|
|
2223
1749
|
"label": "Name",
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
1750
|
+
"optional": false,
|
|
1751
|
+
"constraints": {
|
|
1752
|
+
"notEmpty": true
|
|
1753
|
+
},
|
|
2226
1754
|
"feel": "optional",
|
|
1755
|
+
"group": "sender",
|
|
2227
1756
|
"binding": {
|
|
2228
|
-
"
|
|
2229
|
-
"
|
|
1757
|
+
"name": "from.name",
|
|
1758
|
+
"type": "zeebe:input"
|
|
2230
1759
|
},
|
|
2231
|
-
"
|
|
2232
|
-
"notEmpty": true
|
|
2233
|
-
}
|
|
1760
|
+
"type": "String"
|
|
2234
1761
|
},
|
|
2235
1762
|
{
|
|
1763
|
+
"id": "from.email",
|
|
2236
1764
|
"label": "Email address",
|
|
2237
|
-
"
|
|
2238
|
-
"
|
|
1765
|
+
"optional": false,
|
|
1766
|
+
"constraints": {
|
|
1767
|
+
"notEmpty": true
|
|
1768
|
+
},
|
|
2239
1769
|
"feel": "optional",
|
|
1770
|
+
"group": "sender",
|
|
2240
1771
|
"binding": {
|
|
2241
|
-
"
|
|
2242
|
-
"
|
|
1772
|
+
"name": "from.email",
|
|
1773
|
+
"type": "zeebe:input"
|
|
2243
1774
|
},
|
|
2244
|
-
"
|
|
2245
|
-
"notEmpty": true
|
|
2246
|
-
}
|
|
1775
|
+
"type": "String"
|
|
2247
1776
|
},
|
|
2248
1777
|
{
|
|
1778
|
+
"id": "to.name",
|
|
2249
1779
|
"label": "Name",
|
|
2250
|
-
"
|
|
2251
|
-
"
|
|
1780
|
+
"optional": false,
|
|
1781
|
+
"constraints": {
|
|
1782
|
+
"notEmpty": true
|
|
1783
|
+
},
|
|
2252
1784
|
"feel": "optional",
|
|
1785
|
+
"group": "receiver",
|
|
2253
1786
|
"binding": {
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
1787
|
+
"name": "to.name",
|
|
1788
|
+
"type": "zeebe:input"
|
|
2256
1789
|
},
|
|
2257
|
-
"
|
|
2258
|
-
"notEmpty": true
|
|
2259
|
-
}
|
|
1790
|
+
"type": "String"
|
|
2260
1791
|
},
|
|
2261
1792
|
{
|
|
1793
|
+
"id": "to.email",
|
|
2262
1794
|
"label": "Email address",
|
|
2263
|
-
"
|
|
2264
|
-
"type": "String",
|
|
2265
|
-
"feel": "optional",
|
|
2266
|
-
"binding": {
|
|
2267
|
-
"type": "zeebe:input",
|
|
2268
|
-
"name": "to.email"
|
|
2269
|
-
},
|
|
1795
|
+
"optional": false,
|
|
2270
1796
|
"constraints": {
|
|
2271
1797
|
"notEmpty": true
|
|
2272
|
-
}
|
|
1798
|
+
},
|
|
1799
|
+
"feel": "optional",
|
|
1800
|
+
"group": "receiver",
|
|
1801
|
+
"binding": {
|
|
1802
|
+
"name": "to.email",
|
|
1803
|
+
"type": "zeebe:input"
|
|
1804
|
+
},
|
|
1805
|
+
"type": "String"
|
|
2273
1806
|
},
|
|
2274
1807
|
{
|
|
2275
|
-
"id": "mailType",
|
|
1808
|
+
"id": "unMappedFieldNotUseInModel.mailType",
|
|
1809
|
+
"label": "Mail contents",
|
|
1810
|
+
"optional": false,
|
|
2276
1811
|
"group": "content",
|
|
2277
|
-
"
|
|
1812
|
+
"binding": {
|
|
1813
|
+
"name": "unMappedFieldNotUseInModel.mailType",
|
|
1814
|
+
"type": "zeebe:input"
|
|
1815
|
+
},
|
|
2278
1816
|
"type": "Dropdown",
|
|
2279
1817
|
"choices": [
|
|
2280
1818
|
{
|
|
@@ -2285,132 +1823,239 @@
|
|
|
2285
1823
|
"name": "Using dynamic template",
|
|
2286
1824
|
"value": "byTemplate"
|
|
2287
1825
|
}
|
|
2288
|
-
]
|
|
2289
|
-
"binding": {
|
|
2290
|
-
"type": "zeebe:input",
|
|
2291
|
-
"name": "unMappedFieldNotUseInModel.mailType"
|
|
2292
|
-
}
|
|
1826
|
+
]
|
|
2293
1827
|
},
|
|
2294
1828
|
{
|
|
2295
|
-
"
|
|
2296
|
-
"
|
|
2297
|
-
"
|
|
1829
|
+
"id": "template.id",
|
|
1830
|
+
"label": "Template ID",
|
|
1831
|
+
"optional": false,
|
|
1832
|
+
"constraints": {
|
|
1833
|
+
"notEmpty": true
|
|
1834
|
+
},
|
|
2298
1835
|
"feel": "optional",
|
|
1836
|
+
"group": "content",
|
|
2299
1837
|
"binding": {
|
|
2300
|
-
"
|
|
2301
|
-
"
|
|
1838
|
+
"name": "template.id",
|
|
1839
|
+
"type": "zeebe:input"
|
|
1840
|
+
},
|
|
1841
|
+
"condition": {
|
|
1842
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1843
|
+
"equals": "byTemplate",
|
|
1844
|
+
"type": "simple"
|
|
2302
1845
|
},
|
|
1846
|
+
"type": "String"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"id": "template.data",
|
|
1850
|
+
"label": "Template data",
|
|
1851
|
+
"optional": false,
|
|
2303
1852
|
"constraints": {
|
|
2304
1853
|
"notEmpty": true
|
|
2305
1854
|
},
|
|
1855
|
+
"feel": "required",
|
|
1856
|
+
"group": "content",
|
|
1857
|
+
"binding": {
|
|
1858
|
+
"name": "template.data",
|
|
1859
|
+
"type": "zeebe:input"
|
|
1860
|
+
},
|
|
2306
1861
|
"condition": {
|
|
2307
|
-
"property": "mailType",
|
|
2308
|
-
"equals": "
|
|
2309
|
-
|
|
1862
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1863
|
+
"equals": "byTemplate",
|
|
1864
|
+
"type": "simple"
|
|
1865
|
+
},
|
|
1866
|
+
"type": "String"
|
|
2310
1867
|
},
|
|
2311
1868
|
{
|
|
2312
|
-
"
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
1869
|
+
"id": "content.subject",
|
|
1870
|
+
"label": "Subject",
|
|
1871
|
+
"optional": false,
|
|
1872
|
+
"constraints": {
|
|
1873
|
+
"notEmpty": true
|
|
1874
|
+
},
|
|
2315
1875
|
"feel": "optional",
|
|
2316
|
-
"
|
|
1876
|
+
"group": "content",
|
|
2317
1877
|
"binding": {
|
|
2318
|
-
"
|
|
2319
|
-
"
|
|
1878
|
+
"name": "content.subject",
|
|
1879
|
+
"type": "zeebe:input"
|
|
1880
|
+
},
|
|
1881
|
+
"condition": {
|
|
1882
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1883
|
+
"equals": "mail",
|
|
1884
|
+
"type": "simple"
|
|
2320
1885
|
},
|
|
1886
|
+
"type": "String"
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"id": "content.type",
|
|
1890
|
+
"label": "Content type",
|
|
1891
|
+
"optional": false,
|
|
1892
|
+
"value": "text/plain",
|
|
2321
1893
|
"constraints": {
|
|
2322
1894
|
"notEmpty": true
|
|
2323
1895
|
},
|
|
1896
|
+
"feel": "optional",
|
|
1897
|
+
"group": "content",
|
|
1898
|
+
"binding": {
|
|
1899
|
+
"name": "content.type",
|
|
1900
|
+
"type": "zeebe:input"
|
|
1901
|
+
},
|
|
2324
1902
|
"condition": {
|
|
2325
|
-
"property": "mailType",
|
|
2326
|
-
"equals": "mail"
|
|
2327
|
-
|
|
1903
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1904
|
+
"equals": "mail",
|
|
1905
|
+
"type": "simple"
|
|
1906
|
+
},
|
|
1907
|
+
"type": "String"
|
|
2328
1908
|
},
|
|
2329
1909
|
{
|
|
1910
|
+
"id": "content.value",
|
|
2330
1911
|
"label": "Body",
|
|
2331
|
-
"
|
|
2332
|
-
"type": "Text",
|
|
2333
|
-
"feel": "optional",
|
|
2334
|
-
"binding": {
|
|
2335
|
-
"type": "zeebe:input",
|
|
2336
|
-
"name": "content.value"
|
|
2337
|
-
},
|
|
1912
|
+
"optional": false,
|
|
2338
1913
|
"constraints": {
|
|
2339
1914
|
"notEmpty": true
|
|
2340
1915
|
},
|
|
1916
|
+
"feel": "optional",
|
|
1917
|
+
"group": "content",
|
|
1918
|
+
"binding": {
|
|
1919
|
+
"name": "content.value",
|
|
1920
|
+
"type": "zeebe:input"
|
|
1921
|
+
},
|
|
2341
1922
|
"condition": {
|
|
2342
|
-
"property": "mailType",
|
|
2343
|
-
"equals": "mail"
|
|
2344
|
-
|
|
1923
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
1924
|
+
"equals": "mail",
|
|
1925
|
+
"type": "simple"
|
|
1926
|
+
},
|
|
1927
|
+
"type": "Text"
|
|
2345
1928
|
},
|
|
2346
1929
|
{
|
|
2347
|
-
"
|
|
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",
|
|
2348
1935
|
"group": "content",
|
|
2349
|
-
"type": "String",
|
|
2350
|
-
"feel": "optional",
|
|
2351
1936
|
"binding": {
|
|
2352
|
-
"
|
|
2353
|
-
"
|
|
1937
|
+
"name": "attachments",
|
|
1938
|
+
"type": "zeebe:input"
|
|
2354
1939
|
},
|
|
2355
|
-
"
|
|
2356
|
-
|
|
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"
|
|
2357
1951
|
},
|
|
2358
|
-
"
|
|
2359
|
-
"property": "mailType",
|
|
2360
|
-
"equals": "byTemplate"
|
|
2361
|
-
}
|
|
1952
|
+
"type": "Hidden"
|
|
2362
1953
|
},
|
|
2363
1954
|
{
|
|
2364
|
-
"
|
|
2365
|
-
"
|
|
2366
|
-
"
|
|
2367
|
-
"
|
|
1955
|
+
"id": "id",
|
|
1956
|
+
"label": "ID",
|
|
1957
|
+
"description": "ID of the element template",
|
|
1958
|
+
"value": "io.camunda.connectors.SendGrid.v2",
|
|
1959
|
+
"group": "connector",
|
|
2368
1960
|
"binding": {
|
|
2369
|
-
"
|
|
2370
|
-
"
|
|
1961
|
+
"key": "elementTemplateId",
|
|
1962
|
+
"type": "zeebe:taskHeader"
|
|
2371
1963
|
},
|
|
2372
|
-
"
|
|
2373
|
-
|
|
1964
|
+
"type": "Hidden"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"id": "resultVariable",
|
|
1968
|
+
"label": "Result variable",
|
|
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>.",
|
|
1970
|
+
"group": "output",
|
|
1971
|
+
"binding": {
|
|
1972
|
+
"key": "resultVariable",
|
|
1973
|
+
"type": "zeebe:taskHeader"
|
|
2374
1974
|
},
|
|
2375
|
-
"
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
1975
|
+
"type": "String"
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"id": "resultExpression",
|
|
1979
|
+
"label": "Result expression",
|
|
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>.",
|
|
1981
|
+
"feel": "required",
|
|
1982
|
+
"group": "output",
|
|
1983
|
+
"binding": {
|
|
1984
|
+
"key": "resultExpression",
|
|
1985
|
+
"type": "zeebe:taskHeader"
|
|
1986
|
+
},
|
|
1987
|
+
"type": "Text"
|
|
2379
1988
|
},
|
|
2380
1989
|
{
|
|
1990
|
+
"id": "errorExpression",
|
|
2381
1991
|
"label": "Error expression",
|
|
2382
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2383
|
-
"group": "errors",
|
|
2384
|
-
"type": "Text",
|
|
1992
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
2385
1993
|
"feel": "required",
|
|
1994
|
+
"group": "error",
|
|
2386
1995
|
"binding": {
|
|
2387
|
-
"
|
|
2388
|
-
"
|
|
2389
|
-
}
|
|
1996
|
+
"key": "errorExpression",
|
|
1997
|
+
"type": "zeebe:taskHeader"
|
|
1998
|
+
},
|
|
1999
|
+
"type": "Text"
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
"id": "retryCount",
|
|
2003
|
+
"label": "Retries",
|
|
2004
|
+
"description": "Number of retries",
|
|
2005
|
+
"value": "3",
|
|
2006
|
+
"feel": "optional",
|
|
2007
|
+
"group": "retries",
|
|
2008
|
+
"binding": {
|
|
2009
|
+
"property": "retries",
|
|
2010
|
+
"type": "zeebe:taskDefinition"
|
|
2011
|
+
},
|
|
2012
|
+
"type": "String"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"id": "retryBackoff",
|
|
2016
|
+
"label": "Retry backoff",
|
|
2017
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
2018
|
+
"value": "PT0S",
|
|
2019
|
+
"group": "retries",
|
|
2020
|
+
"binding": {
|
|
2021
|
+
"key": "retryBackoff",
|
|
2022
|
+
"type": "zeebe:taskHeader"
|
|
2023
|
+
},
|
|
2024
|
+
"type": "String"
|
|
2390
2025
|
}
|
|
2391
2026
|
],
|
|
2392
|
-
"
|
|
2393
|
-
"
|
|
2027
|
+
"icon": {
|
|
2028
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
2394
2029
|
}
|
|
2395
2030
|
},
|
|
2396
2031
|
{
|
|
2397
2032
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2398
|
-
"name": "SendGrid
|
|
2033
|
+
"name": "SendGrid Outbound Connector",
|
|
2399
2034
|
"id": "io.camunda.connectors.SendGrid.v2",
|
|
2400
|
-
"version": 1,
|
|
2401
2035
|
"description": "Send an email via SendGrid",
|
|
2402
|
-
"
|
|
2403
|
-
|
|
2404
|
-
"
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
"
|
|
2408
|
-
"
|
|
2409
|
-
|
|
2036
|
+
"keywords": [
|
|
2037
|
+
"send email",
|
|
2038
|
+
"email notification",
|
|
2039
|
+
"transactional email",
|
|
2040
|
+
"marketing email",
|
|
2041
|
+
"email campaign",
|
|
2042
|
+
"email delivery",
|
|
2043
|
+
"dynamic template",
|
|
2044
|
+
"email template"
|
|
2045
|
+
],
|
|
2046
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
|
|
2047
|
+
"version": 6,
|
|
2048
|
+
"category": {
|
|
2049
|
+
"id": "connectors",
|
|
2050
|
+
"name": "Connectors"
|
|
2051
|
+
},
|
|
2410
2052
|
"appliesTo": ["bpmn:Task"],
|
|
2411
2053
|
"elementType": {
|
|
2412
2054
|
"value": "bpmn:ServiceTask"
|
|
2413
2055
|
},
|
|
2056
|
+
"engines": {
|
|
2057
|
+
"camunda": "^8.10"
|
|
2058
|
+
},
|
|
2414
2059
|
"groups": [
|
|
2415
2060
|
{
|
|
2416
2061
|
"id": "authentication",
|
|
@@ -2429,204 +2074,559 @@
|
|
|
2429
2074
|
"label": "Compose email"
|
|
2430
2075
|
},
|
|
2431
2076
|
{
|
|
2432
|
-
"id": "
|
|
2077
|
+
"id": "connector",
|
|
2078
|
+
"label": "Connector"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"id": "output",
|
|
2082
|
+
"label": "Output mapping"
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"id": "error",
|
|
2433
2086
|
"label": "Error handling"
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"id": "retries",
|
|
2090
|
+
"label": "Retries"
|
|
2434
2091
|
}
|
|
2435
2092
|
],
|
|
2436
2093
|
"properties": [
|
|
2437
2094
|
{
|
|
2438
|
-
"type": "Hidden",
|
|
2439
2095
|
"value": "io.camunda:sendgrid:1",
|
|
2440
2096
|
"binding": {
|
|
2441
|
-
"
|
|
2442
|
-
"
|
|
2443
|
-
}
|
|
2097
|
+
"property": "type",
|
|
2098
|
+
"type": "zeebe:taskDefinition"
|
|
2099
|
+
},
|
|
2100
|
+
"type": "Hidden"
|
|
2444
2101
|
},
|
|
2445
2102
|
{
|
|
2103
|
+
"id": "apiKey",
|
|
2446
2104
|
"label": "SendGrid API key",
|
|
2105
|
+
"optional": false,
|
|
2106
|
+
"constraints": {
|
|
2107
|
+
"notEmpty": true
|
|
2108
|
+
},
|
|
2109
|
+
"feel": "optional",
|
|
2447
2110
|
"group": "authentication",
|
|
2448
|
-
"
|
|
2111
|
+
"binding": {
|
|
2112
|
+
"name": "apiKey",
|
|
2113
|
+
"type": "zeebe:input"
|
|
2114
|
+
},
|
|
2115
|
+
"type": "String"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"id": "from.name",
|
|
2119
|
+
"label": "Name",
|
|
2120
|
+
"optional": false,
|
|
2121
|
+
"constraints": {
|
|
2122
|
+
"notEmpty": true
|
|
2123
|
+
},
|
|
2449
2124
|
"feel": "optional",
|
|
2125
|
+
"group": "sender",
|
|
2450
2126
|
"binding": {
|
|
2451
|
-
"
|
|
2452
|
-
"
|
|
2127
|
+
"name": "from.name",
|
|
2128
|
+
"type": "zeebe:input"
|
|
2129
|
+
},
|
|
2130
|
+
"type": "String"
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"id": "from.email",
|
|
2134
|
+
"label": "Email address",
|
|
2135
|
+
"optional": false,
|
|
2136
|
+
"constraints": {
|
|
2137
|
+
"notEmpty": true
|
|
2138
|
+
},
|
|
2139
|
+
"feel": "optional",
|
|
2140
|
+
"group": "sender",
|
|
2141
|
+
"binding": {
|
|
2142
|
+
"name": "from.email",
|
|
2143
|
+
"type": "zeebe:input"
|
|
2144
|
+
},
|
|
2145
|
+
"type": "String"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"id": "to.name",
|
|
2149
|
+
"label": "Name",
|
|
2150
|
+
"optional": false,
|
|
2151
|
+
"constraints": {
|
|
2152
|
+
"notEmpty": true
|
|
2153
|
+
},
|
|
2154
|
+
"feel": "optional",
|
|
2155
|
+
"group": "receiver",
|
|
2156
|
+
"binding": {
|
|
2157
|
+
"name": "to.name",
|
|
2158
|
+
"type": "zeebe:input"
|
|
2159
|
+
},
|
|
2160
|
+
"type": "String"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"id": "to.email",
|
|
2164
|
+
"label": "Email address",
|
|
2165
|
+
"optional": false,
|
|
2166
|
+
"constraints": {
|
|
2167
|
+
"notEmpty": true
|
|
2168
|
+
},
|
|
2169
|
+
"feel": "optional",
|
|
2170
|
+
"group": "receiver",
|
|
2171
|
+
"binding": {
|
|
2172
|
+
"name": "to.email",
|
|
2173
|
+
"type": "zeebe:input"
|
|
2174
|
+
},
|
|
2175
|
+
"type": "String"
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"id": "unMappedFieldNotUseInModel.mailType",
|
|
2179
|
+
"label": "Mail contents",
|
|
2180
|
+
"optional": false,
|
|
2181
|
+
"group": "content",
|
|
2182
|
+
"binding": {
|
|
2183
|
+
"name": "unMappedFieldNotUseInModel.mailType",
|
|
2184
|
+
"type": "zeebe:input"
|
|
2185
|
+
},
|
|
2186
|
+
"type": "Dropdown",
|
|
2187
|
+
"choices": [
|
|
2188
|
+
{
|
|
2189
|
+
"name": "Simple (no dynamic template)",
|
|
2190
|
+
"value": "mail"
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "Using dynamic template",
|
|
2194
|
+
"value": "byTemplate"
|
|
2195
|
+
}
|
|
2196
|
+
]
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"id": "template.id",
|
|
2200
|
+
"label": "Template ID",
|
|
2201
|
+
"optional": false,
|
|
2202
|
+
"constraints": {
|
|
2203
|
+
"notEmpty": true
|
|
2204
|
+
},
|
|
2205
|
+
"feel": "optional",
|
|
2206
|
+
"group": "content",
|
|
2207
|
+
"binding": {
|
|
2208
|
+
"name": "template.id",
|
|
2209
|
+
"type": "zeebe:input"
|
|
2210
|
+
},
|
|
2211
|
+
"condition": {
|
|
2212
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
2213
|
+
"equals": "byTemplate",
|
|
2214
|
+
"type": "simple"
|
|
2215
|
+
},
|
|
2216
|
+
"type": "String"
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"id": "template.data",
|
|
2220
|
+
"label": "Template data",
|
|
2221
|
+
"optional": false,
|
|
2222
|
+
"constraints": {
|
|
2223
|
+
"notEmpty": true
|
|
2224
|
+
},
|
|
2225
|
+
"feel": "required",
|
|
2226
|
+
"group": "content",
|
|
2227
|
+
"binding": {
|
|
2228
|
+
"name": "template.data",
|
|
2229
|
+
"type": "zeebe:input"
|
|
2230
|
+
},
|
|
2231
|
+
"condition": {
|
|
2232
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
2233
|
+
"equals": "byTemplate",
|
|
2234
|
+
"type": "simple"
|
|
2235
|
+
},
|
|
2236
|
+
"type": "String"
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"id": "content.subject",
|
|
2240
|
+
"label": "Subject",
|
|
2241
|
+
"optional": false,
|
|
2242
|
+
"constraints": {
|
|
2243
|
+
"notEmpty": true
|
|
2244
|
+
},
|
|
2245
|
+
"feel": "optional",
|
|
2246
|
+
"group": "content",
|
|
2247
|
+
"binding": {
|
|
2248
|
+
"name": "content.subject",
|
|
2249
|
+
"type": "zeebe:input"
|
|
2250
|
+
},
|
|
2251
|
+
"condition": {
|
|
2252
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
2253
|
+
"equals": "mail",
|
|
2254
|
+
"type": "simple"
|
|
2255
|
+
},
|
|
2256
|
+
"type": "String"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"id": "content.type",
|
|
2260
|
+
"label": "Content type",
|
|
2261
|
+
"optional": false,
|
|
2262
|
+
"value": "text/plain",
|
|
2263
|
+
"constraints": {
|
|
2264
|
+
"notEmpty": true
|
|
2265
|
+
},
|
|
2266
|
+
"feel": "optional",
|
|
2267
|
+
"group": "content",
|
|
2268
|
+
"binding": {
|
|
2269
|
+
"name": "content.type",
|
|
2270
|
+
"type": "zeebe:input"
|
|
2271
|
+
},
|
|
2272
|
+
"condition": {
|
|
2273
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
2274
|
+
"equals": "mail",
|
|
2275
|
+
"type": "simple"
|
|
2276
|
+
},
|
|
2277
|
+
"type": "String"
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"id": "content.value",
|
|
2281
|
+
"label": "Body",
|
|
2282
|
+
"optional": false,
|
|
2283
|
+
"constraints": {
|
|
2284
|
+
"notEmpty": true
|
|
2285
|
+
},
|
|
2286
|
+
"feel": "optional",
|
|
2287
|
+
"group": "content",
|
|
2288
|
+
"binding": {
|
|
2289
|
+
"name": "content.value",
|
|
2290
|
+
"type": "zeebe:input"
|
|
2291
|
+
},
|
|
2292
|
+
"condition": {
|
|
2293
|
+
"property": "unMappedFieldNotUseInModel.mailType",
|
|
2294
|
+
"equals": "mail",
|
|
2295
|
+
"type": "simple"
|
|
2296
|
+
},
|
|
2297
|
+
"type": "Text"
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"id": "attachments_documentMode",
|
|
2301
|
+
"label": "Number of documents",
|
|
2302
|
+
"description": "List of <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda Documents</a>",
|
|
2303
|
+
"value": "none",
|
|
2304
|
+
"group": "content",
|
|
2305
|
+
"binding": {
|
|
2306
|
+
"name": "attachments_documentMode",
|
|
2307
|
+
"type": "zeebe:input"
|
|
2308
|
+
},
|
|
2309
|
+
"type": "Dropdown",
|
|
2310
|
+
"choices": [
|
|
2311
|
+
{
|
|
2312
|
+
"name": "None",
|
|
2313
|
+
"value": "none"
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"name": "Single document",
|
|
2317
|
+
"value": "single"
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"name": "Multiple documents",
|
|
2321
|
+
"value": "multiple"
|
|
2322
|
+
}
|
|
2323
|
+
]
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"id": "attachments_single_documentSource",
|
|
2327
|
+
"label": "Document source",
|
|
2328
|
+
"value": "camunda",
|
|
2329
|
+
"group": "content",
|
|
2330
|
+
"binding": {
|
|
2331
|
+
"name": "attachments_single_documentSource",
|
|
2332
|
+
"type": "zeebe:input"
|
|
2333
|
+
},
|
|
2334
|
+
"condition": {
|
|
2335
|
+
"property": "attachments_documentMode",
|
|
2336
|
+
"equals": "single",
|
|
2337
|
+
"type": "simple"
|
|
2338
|
+
},
|
|
2339
|
+
"type": "Dropdown",
|
|
2340
|
+
"choices": [
|
|
2341
|
+
{
|
|
2342
|
+
"name": "Camunda Document",
|
|
2343
|
+
"value": "camunda"
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"name": "Inline Content",
|
|
2347
|
+
"value": "inline"
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"name": "From URL",
|
|
2351
|
+
"value": "external"
|
|
2352
|
+
}
|
|
2353
|
+
]
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"id": "attachments_single_camundaReference",
|
|
2357
|
+
"label": "Camunda document",
|
|
2358
|
+
"constraints": {
|
|
2359
|
+
"notEmpty": true
|
|
2360
|
+
},
|
|
2361
|
+
"feel": "required",
|
|
2362
|
+
"group": "content",
|
|
2363
|
+
"binding": {
|
|
2364
|
+
"name": "attachments_single_camundaReference",
|
|
2365
|
+
"type": "zeebe:input"
|
|
2366
|
+
},
|
|
2367
|
+
"condition": {
|
|
2368
|
+
"allMatch": [
|
|
2369
|
+
{
|
|
2370
|
+
"property": "attachments_documentMode",
|
|
2371
|
+
"equals": "single",
|
|
2372
|
+
"type": "simple"
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"property": "attachments_single_documentSource",
|
|
2376
|
+
"equals": "camunda",
|
|
2377
|
+
"type": "simple"
|
|
2378
|
+
}
|
|
2379
|
+
]
|
|
2380
|
+
},
|
|
2381
|
+
"type": "String"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"id": "attachments_single_inline_content",
|
|
2385
|
+
"label": "Content",
|
|
2386
|
+
"constraints": {
|
|
2387
|
+
"notEmpty": true
|
|
2388
|
+
},
|
|
2389
|
+
"feel": "optional",
|
|
2390
|
+
"group": "content",
|
|
2391
|
+
"binding": {
|
|
2392
|
+
"name": "attachments_single_inline_content",
|
|
2393
|
+
"type": "zeebe:input"
|
|
2394
|
+
},
|
|
2395
|
+
"condition": {
|
|
2396
|
+
"allMatch": [
|
|
2397
|
+
{
|
|
2398
|
+
"property": "attachments_documentMode",
|
|
2399
|
+
"equals": "single",
|
|
2400
|
+
"type": "simple"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"property": "attachments_single_documentSource",
|
|
2404
|
+
"equals": "inline",
|
|
2405
|
+
"type": "simple"
|
|
2406
|
+
}
|
|
2407
|
+
]
|
|
2408
|
+
},
|
|
2409
|
+
"type": "String"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"id": "attachments_single_inline_fileName",
|
|
2413
|
+
"label": "File name",
|
|
2414
|
+
"feel": "optional",
|
|
2415
|
+
"group": "content",
|
|
2416
|
+
"binding": {
|
|
2417
|
+
"name": "attachments_single_inline_fileName",
|
|
2418
|
+
"type": "zeebe:input"
|
|
2419
|
+
},
|
|
2420
|
+
"condition": {
|
|
2421
|
+
"allMatch": [
|
|
2422
|
+
{
|
|
2423
|
+
"property": "attachments_documentMode",
|
|
2424
|
+
"equals": "single",
|
|
2425
|
+
"type": "simple"
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"property": "attachments_single_documentSource",
|
|
2429
|
+
"equals": "inline",
|
|
2430
|
+
"type": "simple"
|
|
2431
|
+
}
|
|
2432
|
+
]
|
|
2433
|
+
},
|
|
2434
|
+
"type": "String"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"id": "attachments_single_inline_contentType",
|
|
2438
|
+
"label": "Content type",
|
|
2439
|
+
"feel": "optional",
|
|
2440
|
+
"group": "content",
|
|
2441
|
+
"binding": {
|
|
2442
|
+
"name": "attachments_single_inline_contentType",
|
|
2443
|
+
"type": "zeebe:input"
|
|
2444
|
+
},
|
|
2445
|
+
"condition": {
|
|
2446
|
+
"allMatch": [
|
|
2447
|
+
{
|
|
2448
|
+
"property": "attachments_documentMode",
|
|
2449
|
+
"equals": "single",
|
|
2450
|
+
"type": "simple"
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"property": "attachments_single_documentSource",
|
|
2454
|
+
"equals": "inline",
|
|
2455
|
+
"type": "simple"
|
|
2456
|
+
}
|
|
2457
|
+
]
|
|
2453
2458
|
},
|
|
2454
|
-
"
|
|
2455
|
-
"notEmpty": true
|
|
2456
|
-
}
|
|
2459
|
+
"type": "String"
|
|
2457
2460
|
},
|
|
2458
2461
|
{
|
|
2459
|
-
"
|
|
2460
|
-
"
|
|
2461
|
-
"type": "String",
|
|
2462
|
-
"feel": "optional",
|
|
2463
|
-
"binding": {
|
|
2464
|
-
"type": "zeebe:input",
|
|
2465
|
-
"name": "from.name"
|
|
2466
|
-
},
|
|
2462
|
+
"id": "attachments_single_external_url",
|
|
2463
|
+
"label": "URL",
|
|
2467
2464
|
"constraints": {
|
|
2468
2465
|
"notEmpty": true
|
|
2469
|
-
}
|
|
2470
|
-
},
|
|
2471
|
-
{
|
|
2472
|
-
"label": "Email address",
|
|
2473
|
-
"group": "sender",
|
|
2474
|
-
"type": "String",
|
|
2466
|
+
},
|
|
2475
2467
|
"feel": "optional",
|
|
2468
|
+
"group": "content",
|
|
2476
2469
|
"binding": {
|
|
2477
|
-
"
|
|
2478
|
-
"
|
|
2470
|
+
"name": "attachments_single_external_url",
|
|
2471
|
+
"type": "zeebe:input"
|
|
2479
2472
|
},
|
|
2480
|
-
"
|
|
2481
|
-
"
|
|
2482
|
-
|
|
2473
|
+
"condition": {
|
|
2474
|
+
"allMatch": [
|
|
2475
|
+
{
|
|
2476
|
+
"property": "attachments_documentMode",
|
|
2477
|
+
"equals": "single",
|
|
2478
|
+
"type": "simple"
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"property": "attachments_single_documentSource",
|
|
2482
|
+
"equals": "external",
|
|
2483
|
+
"type": "simple"
|
|
2484
|
+
}
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
2487
|
+
"type": "String"
|
|
2483
2488
|
},
|
|
2484
2489
|
{
|
|
2485
|
-
"
|
|
2486
|
-
"
|
|
2487
|
-
"type": "String",
|
|
2490
|
+
"id": "attachments_single_external_fileName",
|
|
2491
|
+
"label": "File name",
|
|
2488
2492
|
"feel": "optional",
|
|
2493
|
+
"group": "content",
|
|
2489
2494
|
"binding": {
|
|
2490
|
-
"
|
|
2491
|
-
"
|
|
2495
|
+
"name": "attachments_single_external_fileName",
|
|
2496
|
+
"type": "zeebe:input"
|
|
2492
2497
|
},
|
|
2493
|
-
"
|
|
2494
|
-
"
|
|
2495
|
-
|
|
2498
|
+
"condition": {
|
|
2499
|
+
"allMatch": [
|
|
2500
|
+
{
|
|
2501
|
+
"property": "attachments_documentMode",
|
|
2502
|
+
"equals": "single",
|
|
2503
|
+
"type": "simple"
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"property": "attachments_single_documentSource",
|
|
2507
|
+
"equals": "external",
|
|
2508
|
+
"type": "simple"
|
|
2509
|
+
}
|
|
2510
|
+
]
|
|
2511
|
+
},
|
|
2512
|
+
"type": "String"
|
|
2496
2513
|
},
|
|
2497
2514
|
{
|
|
2498
|
-
"
|
|
2499
|
-
"
|
|
2500
|
-
"type": "String",
|
|
2501
|
-
"feel": "optional",
|
|
2502
|
-
"binding": {
|
|
2503
|
-
"type": "zeebe:input",
|
|
2504
|
-
"name": "to.email"
|
|
2505
|
-
},
|
|
2515
|
+
"id": "attachments_multiple_expression",
|
|
2516
|
+
"label": "Documents",
|
|
2506
2517
|
"constraints": {
|
|
2507
2518
|
"notEmpty": true
|
|
2508
|
-
}
|
|
2509
|
-
|
|
2510
|
-
{
|
|
2511
|
-
"id": "mailType",
|
|
2519
|
+
},
|
|
2520
|
+
"feel": "required",
|
|
2512
2521
|
"group": "content",
|
|
2513
|
-
"value": "mail",
|
|
2514
|
-
"type": "Dropdown",
|
|
2515
|
-
"choices": [
|
|
2516
|
-
{
|
|
2517
|
-
"name": "Simple (no dynamic template)",
|
|
2518
|
-
"value": "mail"
|
|
2519
|
-
},
|
|
2520
|
-
{
|
|
2521
|
-
"name": "Using dynamic template",
|
|
2522
|
-
"value": "byTemplate"
|
|
2523
|
-
}
|
|
2524
|
-
],
|
|
2525
2522
|
"binding": {
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
2528
|
-
}
|
|
2523
|
+
"name": "attachments_multiple_expression",
|
|
2524
|
+
"type": "zeebe:input"
|
|
2525
|
+
},
|
|
2526
|
+
"condition": {
|
|
2527
|
+
"property": "attachments_documentMode",
|
|
2528
|
+
"equals": "multiple",
|
|
2529
|
+
"type": "simple"
|
|
2530
|
+
},
|
|
2531
|
+
"type": "String"
|
|
2529
2532
|
},
|
|
2530
2533
|
{
|
|
2531
|
-
"
|
|
2534
|
+
"id": "attachments",
|
|
2535
|
+
"value": "=if attachments_documentMode = \"multiple\" then attachments_multiple_expression else if attachments_documentMode = \"single\" then (if attachments_single_documentSource = \"camunda\" then [attachments_single_camundaReference] else if attachments_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: attachments_single_inline_content, name: attachments_single_inline_fileName, contentType: attachments_single_inline_contentType }] else if attachments_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: attachments_single_external_url, name: attachments_single_external_fileName }] else null) else null",
|
|
2532
2536
|
"group": "content",
|
|
2533
|
-
"type": "String",
|
|
2534
|
-
"feel": "optional",
|
|
2535
2537
|
"binding": {
|
|
2536
|
-
"
|
|
2537
|
-
"
|
|
2538
|
-
},
|
|
2539
|
-
"constraints": {
|
|
2540
|
-
"notEmpty": true
|
|
2538
|
+
"name": "attachments",
|
|
2539
|
+
"type": "zeebe:input"
|
|
2541
2540
|
},
|
|
2542
|
-
"
|
|
2543
|
-
"property": "mailType",
|
|
2544
|
-
"equals": "mail"
|
|
2545
|
-
}
|
|
2541
|
+
"type": "Hidden"
|
|
2546
2542
|
},
|
|
2547
2543
|
{
|
|
2548
|
-
"
|
|
2549
|
-
"
|
|
2550
|
-
"
|
|
2551
|
-
"
|
|
2552
|
-
"
|
|
2544
|
+
"id": "version",
|
|
2545
|
+
"label": "Version",
|
|
2546
|
+
"description": "Version of the element template",
|
|
2547
|
+
"value": "6",
|
|
2548
|
+
"group": "connector",
|
|
2553
2549
|
"binding": {
|
|
2554
|
-
"
|
|
2555
|
-
"
|
|
2556
|
-
},
|
|
2557
|
-
"constraints": {
|
|
2558
|
-
"notEmpty": true
|
|
2550
|
+
"key": "elementTemplateVersion",
|
|
2551
|
+
"type": "zeebe:taskHeader"
|
|
2559
2552
|
},
|
|
2560
|
-
"
|
|
2561
|
-
"property": "mailType",
|
|
2562
|
-
"equals": "mail"
|
|
2563
|
-
}
|
|
2553
|
+
"type": "Hidden"
|
|
2564
2554
|
},
|
|
2565
2555
|
{
|
|
2566
|
-
"
|
|
2567
|
-
"
|
|
2568
|
-
"
|
|
2569
|
-
"
|
|
2556
|
+
"id": "id",
|
|
2557
|
+
"label": "ID",
|
|
2558
|
+
"description": "ID of the element template",
|
|
2559
|
+
"value": "io.camunda.connectors.SendGrid.v2",
|
|
2560
|
+
"group": "connector",
|
|
2570
2561
|
"binding": {
|
|
2571
|
-
"
|
|
2572
|
-
"
|
|
2573
|
-
},
|
|
2574
|
-
"constraints": {
|
|
2575
|
-
"notEmpty": true
|
|
2562
|
+
"key": "elementTemplateId",
|
|
2563
|
+
"type": "zeebe:taskHeader"
|
|
2576
2564
|
},
|
|
2577
|
-
"
|
|
2578
|
-
"property": "mailType",
|
|
2579
|
-
"equals": "mail"
|
|
2580
|
-
}
|
|
2565
|
+
"type": "Hidden"
|
|
2581
2566
|
},
|
|
2582
2567
|
{
|
|
2583
|
-
"
|
|
2584
|
-
"
|
|
2585
|
-
"
|
|
2586
|
-
"
|
|
2568
|
+
"id": "resultVariable",
|
|
2569
|
+
"label": "Result variable",
|
|
2570
|
+
"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>.",
|
|
2571
|
+
"group": "output",
|
|
2587
2572
|
"binding": {
|
|
2588
|
-
"
|
|
2589
|
-
"
|
|
2590
|
-
},
|
|
2591
|
-
"constraints": {
|
|
2592
|
-
"notEmpty": true
|
|
2573
|
+
"key": "resultVariable",
|
|
2574
|
+
"type": "zeebe:taskHeader"
|
|
2593
2575
|
},
|
|
2594
|
-
"
|
|
2595
|
-
"property": "mailType",
|
|
2596
|
-
"equals": "byTemplate"
|
|
2597
|
-
}
|
|
2576
|
+
"type": "String"
|
|
2598
2577
|
},
|
|
2599
2578
|
{
|
|
2600
|
-
"
|
|
2601
|
-
"
|
|
2602
|
-
"
|
|
2579
|
+
"id": "resultExpression",
|
|
2580
|
+
"label": "Result expression",
|
|
2581
|
+
"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>.",
|
|
2603
2582
|
"feel": "required",
|
|
2583
|
+
"group": "output",
|
|
2604
2584
|
"binding": {
|
|
2605
|
-
"
|
|
2606
|
-
"
|
|
2607
|
-
},
|
|
2608
|
-
"constraints": {
|
|
2609
|
-
"notEmpty": true
|
|
2585
|
+
"key": "resultExpression",
|
|
2586
|
+
"type": "zeebe:taskHeader"
|
|
2610
2587
|
},
|
|
2611
|
-
"
|
|
2612
|
-
"property": "mailType",
|
|
2613
|
-
"equals": "byTemplate"
|
|
2614
|
-
}
|
|
2588
|
+
"type": "Text"
|
|
2615
2589
|
},
|
|
2616
2590
|
{
|
|
2591
|
+
"id": "errorExpression",
|
|
2617
2592
|
"label": "Error expression",
|
|
2618
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2619
|
-
"group": "errors",
|
|
2620
|
-
"type": "Text",
|
|
2593
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
2621
2594
|
"feel": "required",
|
|
2595
|
+
"group": "error",
|
|
2622
2596
|
"binding": {
|
|
2623
|
-
"
|
|
2624
|
-
"
|
|
2625
|
-
}
|
|
2597
|
+
"key": "errorExpression",
|
|
2598
|
+
"type": "zeebe:taskHeader"
|
|
2599
|
+
},
|
|
2600
|
+
"type": "Text"
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"id": "retryCount",
|
|
2604
|
+
"label": "Retries",
|
|
2605
|
+
"description": "Number of retries",
|
|
2606
|
+
"value": "3",
|
|
2607
|
+
"feel": "optional",
|
|
2608
|
+
"group": "retries",
|
|
2609
|
+
"binding": {
|
|
2610
|
+
"property": "retries",
|
|
2611
|
+
"type": "zeebe:taskDefinition"
|
|
2612
|
+
},
|
|
2613
|
+
"type": "String"
|
|
2614
|
+
},
|
|
2615
|
+
{
|
|
2616
|
+
"id": "retryBackoff",
|
|
2617
|
+
"label": "Retry backoff",
|
|
2618
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
2619
|
+
"value": "PT30S",
|
|
2620
|
+
"group": "retries",
|
|
2621
|
+
"binding": {
|
|
2622
|
+
"key": "retryBackoff",
|
|
2623
|
+
"type": "zeebe:taskHeader"
|
|
2624
|
+
},
|
|
2625
|
+
"type": "String"
|
|
2626
2626
|
}
|
|
2627
2627
|
],
|
|
2628
|
-
"
|
|
2629
|
-
"
|
|
2628
|
+
"icon": {
|
|
2629
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
|
|
2630
2630
|
}
|
|
2631
2631
|
}
|
|
2632
2632
|
]
|