@camunda/connectors-element-templates 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/package.json +2 -2
  2. package/src/connectors-template.js +1 -3
  3. package/src/connectors.js +4 -0
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +40 -40
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +2483 -475
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +5352 -3427
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +717 -35
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2254 -809
  9. package/src/element-templates/app-integrations-connector.json +1047 -0
  10. package/src/element-templates/asana-connector.json +1050 -216
  11. package/src/element-templates/automation-anywhere-outbound-connector.json +2046 -1553
  12. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1067 -29
  13. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +385 -4
  14. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +441 -4
  15. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +416 -4
  16. package/src/element-templates/aws-bedrock-outbound-connector.json +2274 -624
  17. package/src/element-templates/aws-comprehend-outbound-connector.json +1572 -0
  18. package/src/element-templates/aws-dynamodb-outbound-connector.json +2385 -949
  19. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  20. package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
  21. package/src/element-templates/aws-eventbridge-connector-start-event.json +20 -20
  22. package/src/element-templates/aws-eventbridge-outbound-connector.json +680 -266
  23. package/src/element-templates/aws-lambda-outbound-connector.json +462 -63
  24. package/src/element-templates/aws-s3-outbound-connector.json +1850 -329
  25. package/src/element-templates/aws-sagemaker-outbound-connector.json +680 -51
  26. package/src/element-templates/aws-sns-inbound-boundary.json +207 -206
  27. package/src/element-templates/aws-sns-inbound-intermediate.json +410 -409
  28. package/src/element-templates/aws-sns-inbound-message-start.json +4 -3
  29. package/src/element-templates/aws-sns-inbound-receive.json +4 -3
  30. package/src/element-templates/aws-sns-inbound-start-event.json +138 -138
  31. package/src/element-templates/aws-sns-outbound-connector.json +643 -186
  32. package/src/element-templates/aws-sqs-boundary-connector.json +1059 -540
  33. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +1046 -527
  34. package/src/element-templates/aws-sqs-outbound-connector.json +596 -143
  35. package/src/element-templates/aws-sqs-receive-connector.json +525 -7
  36. package/src/element-templates/aws-sqs-start-event-connector.json +401 -401
  37. package/src/element-templates/aws-sqs-start-message.json +736 -185
  38. package/src/element-templates/aws-textract-outbound-connector.json +925 -190
  39. package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
  40. package/src/element-templates/azure-open-ai-connector.json +1372 -9
  41. package/src/element-templates/blue-prism-connector.json +655 -76
  42. package/src/element-templates/box-outbound-connector.json +2331 -247
  43. package/src/element-templates/csv-outbound-connector.json +44 -44
  44. package/src/element-templates/easy-post-connector.json +1178 -97
  45. package/src/element-templates/email-outbound-connector.json +3087 -1013
  46. package/src/element-templates/embeddings-vector-database-outbound-connector.json +2160 -0
  47. package/src/element-templates/github-connector.json +14049 -9863
  48. package/src/element-templates/github-webhook-connector-boundary.json +24 -24
  49. package/src/element-templates/github-webhook-connector-intermediate.json +33 -33
  50. package/src/element-templates/github-webhook-connector-message-start.json +8 -8
  51. package/src/element-templates/github-webhook-connector-receive.json +8 -8
  52. package/src/element-templates/github-webhook-connector-start-event.json +54 -54
  53. package/src/element-templates/gitlab-connector.json +2110 -208
  54. package/src/element-templates/google-cloud-storage-outbound-connector.json +1448 -241
  55. package/src/element-templates/google-drive-outbound-connector.json +2246 -694
  56. package/src/element-templates/google-gemini-outbound-connector.json +8 -22
  57. package/src/element-templates/google-maps-platform-connector.json +688 -137
  58. package/src/element-templates/google-sheets-outbound-connector.json +3631 -2475
  59. package/src/element-templates/graphql-outbound-connector.json +3346 -789
  60. package/src/element-templates/http-json-connector.json +5295 -2803
  61. package/src/element-templates/http-polling-boundary-catch-event-connector.json +2550 -590
  62. package/src/element-templates/http-polling-connector.json +2886 -926
  63. package/src/element-templates/hubspot-outbound-connector.json +2786 -36
  64. package/src/element-templates/hugging-face-connector.json +44 -43
  65. package/src/element-templates/jdbc-outbound-connector.json +505 -8
  66. package/src/element-templates/kafka-inbound-connector-boundary.json +29 -32
  67. package/src/element-templates/kafka-inbound-connector-intermediate.json +615 -618
  68. package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
  69. package/src/element-templates/kafka-inbound-connector-start-message.json +9 -12
  70. package/src/element-templates/kafka-inbound-connector.json +240 -240
  71. package/src/element-templates/kafka-outbound-connector.json +494 -498
  72. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
  73. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
  74. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
  75. package/src/element-templates/microsoft-office365-mail-connector.json +1095 -39
  76. package/src/element-templates/microsoft-teams-outbound-connector.json +7335 -4894
  77. package/src/element-templates/openai-connector.json +596 -102
  78. package/src/element-templates/operate-connector.json +167 -170
  79. package/src/element-templates/orchestration-connector.json +1843 -0
  80. package/src/element-templates/power-automate-connector.json +64 -64
  81. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +449 -451
  82. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +770 -772
  83. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +576 -578
  84. package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
  85. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +105 -105
  86. package/src/element-templates/rabbitmq-outbound-connector.json +319 -319
  87. package/src/element-templates/rpa-connector.json +6 -6
  88. package/src/element-templates/salesforce-connector.json +690 -56
  89. package/src/element-templates/send-message-connector-intermediate-throw-event.json +300 -0
  90. package/src/element-templates/send-message-connector-message-end-event.json +300 -0
  91. package/src/element-templates/send-message-connector-send-task.json +299 -0
  92. package/src/element-templates/sendgrid-outbound-connector.json +597 -597
  93. package/src/element-templates/servicenow-connector.json +1365 -8
  94. package/src/element-templates/servicenow-flow-starter-connector.json +15 -15
  95. package/src/element-templates/servicenow-incident-connector.json +1076 -30
  96. package/src/element-templates/slack-inbound-boundary.json +374 -374
  97. package/src/element-templates/slack-inbound-intermediate.json +766 -766
  98. package/src/element-templates/slack-inbound-message-start.json +145 -145
  99. package/src/element-templates/slack-inbound-receive.json +2 -2
  100. package/src/element-templates/slack-inbound-start-event.json +211 -211
  101. package/src/element-templates/slack-outbound-connector.json +2154 -1051
  102. package/src/element-templates/soap-outbound-connector.json +114 -118
  103. package/src/element-templates/twilio-connector.json +1181 -368
  104. package/src/element-templates/twilio-webhook-boundary-connector.json +29 -30
  105. package/src/element-templates/twilio-webhook-connector.json +56 -57
  106. package/src/element-templates/twilio-webhook-intermediate-connector.json +33 -34
  107. package/src/element-templates/twilio-webhook-message-start-connector.json +27 -28
  108. package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
  109. package/src/element-templates/uipath-connector.json +681 -63
  110. package/src/element-templates/webhook-connector-boundary.json +1242 -587
  111. package/src/element-templates/webhook-connector-intermediate.json +1339 -684
  112. package/src/element-templates/webhook-connector-receive.json +659 -5
  113. package/src/element-templates/webhook-connector-start-event.json +1736 -1175
  114. package/src/element-templates/webhook-connector-start-message.json +1791 -1104
  115. package/src/element-templates/whatsapp-connector.json +386 -16
@@ -1,11 +1,17 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "SendGrid Outbound Connector",
4
+ "name": "SendGrid connector",
5
5
  "id": "io.camunda.connectors.SendGrid.v2",
6
+ "deprecated": {
7
+ "message": "Replace with 'SendGrid connector' template.",
8
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
9
+ },
6
10
  "description": "Send an email via SendGrid",
7
11
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
8
- "version": 3,
12
+ "icon": {
13
+ "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"
14
+ },
9
15
  "category": {
10
16
  "id": "connectors",
11
17
  "name": "Connectors"
@@ -32,111 +38,88 @@
32
38
  "label": "Compose email"
33
39
  },
34
40
  {
35
- "id": "output",
36
- "label": "Output mapping"
37
- },
38
- {
39
- "id": "error",
41
+ "id": "errors",
40
42
  "label": "Error handling"
41
- },
42
- {
43
- "id": "retries",
44
- "label": "Retries"
45
43
  }
46
44
  ],
47
45
  "properties": [
48
46
  {
47
+ "type": "Hidden",
49
48
  "value": "io.camunda:sendgrid:1",
50
49
  "binding": {
51
- "property": "type",
52
- "type": "zeebe:taskDefinition"
53
- },
54
- "type": "Hidden"
50
+ "type": "zeebe:taskDefinition",
51
+ "property": "type"
52
+ }
55
53
  },
56
54
  {
57
- "id": "apiKey",
58
55
  "label": "SendGrid API key",
59
- "optional": false,
60
- "constraints": {
61
- "notEmpty": true
62
- },
63
- "feel": "optional",
64
56
  "group": "authentication",
57
+ "type": "String",
58
+ "feel": "optional",
65
59
  "binding": {
66
- "name": "apiKey",
67
- "type": "zeebe:input"
60
+ "type": "zeebe:input",
61
+ "name": "apiKey"
68
62
  },
69
- "type": "String"
63
+ "constraints": {
64
+ "notEmpty": true
65
+ }
70
66
  },
71
67
  {
72
- "id": "from.name",
73
68
  "label": "Name",
74
- "optional": false,
75
- "constraints": {
76
- "notEmpty": true
77
- },
78
- "feel": "optional",
79
69
  "group": "sender",
70
+ "type": "String",
71
+ "feel": "optional",
80
72
  "binding": {
81
- "name": "from.name",
82
- "type": "zeebe:input"
73
+ "type": "zeebe:input",
74
+ "name": "from.name"
83
75
  },
84
- "type": "String"
76
+ "constraints": {
77
+ "notEmpty": true
78
+ }
85
79
  },
86
80
  {
87
- "id": "from.email",
88
81
  "label": "Email address",
89
- "optional": false,
90
- "constraints": {
91
- "notEmpty": true
92
- },
93
- "feel": "optional",
94
82
  "group": "sender",
83
+ "type": "String",
84
+ "feel": "optional",
95
85
  "binding": {
96
- "name": "from.email",
97
- "type": "zeebe:input"
86
+ "type": "zeebe:input",
87
+ "name": "from.email"
98
88
  },
99
- "type": "String"
89
+ "constraints": {
90
+ "notEmpty": true
91
+ }
100
92
  },
101
93
  {
102
- "id": "to.name",
103
94
  "label": "Name",
104
- "optional": false,
105
- "constraints": {
106
- "notEmpty": true
107
- },
108
- "feel": "optional",
109
95
  "group": "receiver",
96
+ "type": "String",
97
+ "feel": "optional",
110
98
  "binding": {
111
- "name": "to.name",
112
- "type": "zeebe:input"
99
+ "type": "zeebe:input",
100
+ "name": "to.name"
113
101
  },
114
- "type": "String"
102
+ "constraints": {
103
+ "notEmpty": true
104
+ }
115
105
  },
116
106
  {
117
- "id": "to.email",
118
107
  "label": "Email address",
119
- "optional": false,
120
- "constraints": {
121
- "notEmpty": true
122
- },
123
- "feel": "optional",
124
108
  "group": "receiver",
109
+ "type": "String",
110
+ "feel": "optional",
125
111
  "binding": {
126
- "name": "to.email",
127
- "type": "zeebe:input"
112
+ "type": "zeebe:input",
113
+ "name": "to.email"
128
114
  },
129
- "type": "String"
115
+ "constraints": {
116
+ "notEmpty": true
117
+ }
130
118
  },
131
119
  {
132
- "id": "unMappedFieldNotUseInModel.mailType",
133
- "label": "Mail contents",
134
- "optional": false,
120
+ "id": "mailType",
135
121
  "group": "content",
136
- "binding": {
137
- "name": "unMappedFieldNotUseInModel.mailType",
138
- "type": "zeebe:input"
139
- },
122
+ "value": "mail",
140
123
  "type": "Dropdown",
141
124
  "choices": [
142
125
  {
@@ -147,177 +130,110 @@
147
130
  "name": "Using dynamic template",
148
131
  "value": "byTemplate"
149
132
  }
150
- ]
151
- },
152
- {
153
- "id": "template.id",
154
- "label": "Template ID",
155
- "optional": false,
156
- "constraints": {
157
- "notEmpty": true
158
- },
159
- "feel": "optional",
160
- "group": "content",
133
+ ],
161
134
  "binding": {
162
- "name": "template.id",
163
- "type": "zeebe:input"
164
- },
165
- "condition": {
166
- "property": "unMappedFieldNotUseInModel.mailType",
167
- "equals": "byTemplate",
168
- "type": "simple"
169
- },
170
- "type": "String"
135
+ "type": "zeebe:input",
136
+ "name": "unMappedFieldNotUseInModel.mailType"
137
+ }
171
138
  },
172
139
  {
173
- "id": "template.data",
174
- "label": "Template data",
175
- "optional": false,
176
- "constraints": {
177
- "notEmpty": true
178
- },
179
- "feel": "required",
140
+ "label": "Subject",
180
141
  "group": "content",
142
+ "type": "String",
143
+ "feel": "optional",
181
144
  "binding": {
182
- "name": "template.data",
183
- "type": "zeebe:input"
184
- },
185
- "condition": {
186
- "property": "unMappedFieldNotUseInModel.mailType",
187
- "equals": "byTemplate",
188
- "type": "simple"
145
+ "type": "zeebe:input",
146
+ "name": "content.subject"
189
147
  },
190
- "type": "String"
191
- },
192
- {
193
- "id": "content.subject",
194
- "label": "Subject",
195
- "optional": false,
196
148
  "constraints": {
197
149
  "notEmpty": true
198
150
  },
199
- "feel": "optional",
200
- "group": "content",
201
- "binding": {
202
- "name": "content.subject",
203
- "type": "zeebe:input"
204
- },
205
151
  "condition": {
206
- "property": "unMappedFieldNotUseInModel.mailType",
207
- "equals": "mail",
208
- "type": "simple"
209
- },
210
- "type": "String"
152
+ "property": "mailType",
153
+ "equals": "mail"
154
+ }
211
155
  },
212
156
  {
213
- "id": "content.type",
214
157
  "label": "Content type",
215
- "optional": false,
158
+ "group": "content",
159
+ "type": "String",
160
+ "feel": "optional",
216
161
  "value": "text/plain",
162
+ "binding": {
163
+ "type": "zeebe:input",
164
+ "name": "content.type"
165
+ },
217
166
  "constraints": {
218
167
  "notEmpty": true
219
168
  },
220
- "feel": "optional",
221
- "group": "content",
222
- "binding": {
223
- "name": "content.type",
224
- "type": "zeebe:input"
225
- },
226
169
  "condition": {
227
- "property": "unMappedFieldNotUseInModel.mailType",
228
- "equals": "mail",
229
- "type": "simple"
230
- },
231
- "type": "String"
170
+ "property": "mailType",
171
+ "equals": "mail"
172
+ }
232
173
  },
233
174
  {
234
- "id": "content.value",
235
175
  "label": "Body",
236
- "optional": false,
237
- "constraints": {
238
- "notEmpty": true
239
- },
240
- "feel": "optional",
241
176
  "group": "content",
177
+ "type": "Text",
178
+ "feel": "optional",
242
179
  "binding": {
243
- "name": "content.value",
244
- "type": "zeebe:input"
180
+ "type": "zeebe:input",
181
+ "name": "content.value"
245
182
  },
246
- "condition": {
247
- "property": "unMappedFieldNotUseInModel.mailType",
248
- "equals": "mail",
249
- "type": "simple"
183
+ "constraints": {
184
+ "notEmpty": true
250
185
  },
251
- "type": "Text"
186
+ "condition": {
187
+ "property": "mailType",
188
+ "equals": "mail"
189
+ }
252
190
  },
253
191
  {
254
- "id": "resultVariable",
255
- "label": "Result variable",
256
- "description": "Name of variable to store the response in",
257
- "group": "output",
192
+ "label": "Template ID",
193
+ "group": "content",
194
+ "type": "String",
195
+ "feel": "optional",
258
196
  "binding": {
259
- "key": "resultVariable",
260
- "type": "zeebe:taskHeader"
197
+ "type": "zeebe:input",
198
+ "name": "template.id"
261
199
  },
262
- "type": "String"
263
- },
264
- {
265
- "id": "resultExpression",
266
- "label": "Result expression",
267
- "description": "Expression to map the response into process variables",
268
- "feel": "required",
269
- "group": "output",
270
- "binding": {
271
- "key": "resultExpression",
272
- "type": "zeebe:taskHeader"
200
+ "constraints": {
201
+ "notEmpty": true
273
202
  },
274
- "type": "Text"
203
+ "condition": {
204
+ "property": "mailType",
205
+ "equals": "byTemplate"
206
+ }
275
207
  },
276
208
  {
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>.",
209
+ "label": "Template data",
210
+ "group": "content",
211
+ "type": "Text",
280
212
  "feel": "required",
281
- "group": "error",
282
213
  "binding": {
283
- "key": "errorExpression",
284
- "type": "zeebe:taskHeader"
214
+ "type": "zeebe:input",
215
+ "name": "template.data"
285
216
  },
286
- "type": "Text"
287
- },
288
- {
289
- "id": "retryCount",
290
- "label": "Retries",
291
- "description": "Number of retries",
292
- "value": "3",
293
- "feel": "optional",
294
- "group": "retries",
295
- "binding": {
296
- "property": "retries",
297
- "type": "zeebe:taskDefinition"
217
+ "constraints": {
218
+ "notEmpty": true
298
219
  },
299
- "type": "String"
220
+ "condition": {
221
+ "property": "mailType",
222
+ "equals": "byTemplate"
223
+ }
300
224
  },
301
225
  {
302
- "id": "retryBackoff",
303
- "label": "Retry backoff",
304
- "description": "ISO-8601 duration to wait between retries",
305
- "value": "PT0S",
306
- "feel": "optional",
307
- "group": "retries",
226
+ "label": "Error expression",
227
+ "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>",
228
+ "group": "errors",
229
+ "type": "Text",
230
+ "feel": "required",
308
231
  "binding": {
309
- "key": "retryBackoff",
310
- "type": "zeebe:taskHeader"
311
- },
312
- "type": "String"
232
+ "type": "zeebe:taskHeader",
233
+ "key": "errorExpression"
234
+ }
313
235
  }
314
- ],
315
- "icon": {
316
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
317
- },
318
- "engines": {
319
- "camunda": "^8.5"
320
- }
236
+ ]
321
237
  },
322
238
  {
323
239
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -557,17 +473,14 @@
557
473
  },
558
474
  {
559
475
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
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/",
476
+ "name": "SendGrid Outbound Connector",
477
+ "id": "io.camunda.connectors.SendGrid.v2",
478
+ "version": 2,
479
+ "description": "Send an email via SendGrid",
480
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
564
481
  "icon": {
565
482
  "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
483
  },
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
484
  "category": {
572
485
  "id": "connectors",
573
486
  "name": "Connectors"
@@ -578,8 +491,8 @@
578
491
  },
579
492
  "groups": [
580
493
  {
581
- "id": "sendgrid",
582
- "label": "SendGrid API"
494
+ "id": "authentication",
495
+ "label": "Authentication"
583
496
  },
584
497
  {
585
498
  "id": "sender",
@@ -591,7 +504,11 @@
591
504
  },
592
505
  {
593
506
  "id": "content",
594
- "label": "Email Content"
507
+ "label": "Compose email"
508
+ },
509
+ {
510
+ "id": "errors",
511
+ "label": "Error handling"
595
512
  }
596
513
  ],
597
514
  "properties": [
@@ -604,8 +521,8 @@
604
521
  }
605
522
  },
606
523
  {
607
- "label": "SendGrid API Key",
608
- "group": "sendgrid",
524
+ "label": "SendGrid API key",
525
+ "group": "authentication",
609
526
  "type": "String",
610
527
  "feel": "optional",
611
528
  "binding": {
@@ -630,7 +547,7 @@
630
547
  }
631
548
  },
632
549
  {
633
- "label": "Email Address",
550
+ "label": "Email address",
634
551
  "group": "sender",
635
552
  "type": "String",
636
553
  "feel": "optional",
@@ -656,7 +573,7 @@
656
573
  }
657
574
  },
658
575
  {
659
- "label": "Email Address",
576
+ "label": "Email address",
660
577
  "group": "receiver",
661
578
  "type": "String",
662
579
  "feel": "optional",
@@ -668,6 +585,26 @@
668
585
  "notEmpty": true
669
586
  }
670
587
  },
588
+ {
589
+ "id": "mailType",
590
+ "group": "content",
591
+ "value": "mail",
592
+ "type": "Dropdown",
593
+ "choices": [
594
+ {
595
+ "name": "Simple (no dynamic template)",
596
+ "value": "mail"
597
+ },
598
+ {
599
+ "name": "Using dynamic template",
600
+ "value": "byTemplate"
601
+ }
602
+ ],
603
+ "binding": {
604
+ "type": "zeebe:input",
605
+ "name": "unMappedFieldNotUseInModel.mailType"
606
+ }
607
+ },
671
608
  {
672
609
  "label": "Subject",
673
610
  "group": "content",
@@ -679,10 +616,14 @@
679
616
  },
680
617
  "constraints": {
681
618
  "notEmpty": true
619
+ },
620
+ "condition": {
621
+ "property": "mailType",
622
+ "equals": "mail"
682
623
  }
683
624
  },
684
625
  {
685
- "label": "Content Type",
626
+ "label": "Content type",
686
627
  "group": "content",
687
628
  "type": "String",
688
629
  "feel": "optional",
@@ -693,6 +634,10 @@
693
634
  },
694
635
  "constraints": {
695
636
  "notEmpty": true
637
+ },
638
+ "condition": {
639
+ "property": "mailType",
640
+ "equals": "mail"
696
641
  }
697
642
  },
698
643
  {
@@ -706,23 +651,75 @@
706
651
  },
707
652
  "constraints": {
708
653
  "notEmpty": true
654
+ },
655
+ "condition": {
656
+ "property": "mailType",
657
+ "equals": "mail"
658
+ }
659
+ },
660
+ {
661
+ "label": "Template ID",
662
+ "group": "content",
663
+ "type": "String",
664
+ "feel": "optional",
665
+ "binding": {
666
+ "type": "zeebe:input",
667
+ "name": "template.id"
668
+ },
669
+ "constraints": {
670
+ "notEmpty": true
671
+ },
672
+ "condition": {
673
+ "property": "mailType",
674
+ "equals": "byTemplate"
675
+ }
676
+ },
677
+ {
678
+ "label": "Template data",
679
+ "group": "content",
680
+ "type": "Text",
681
+ "feel": "required",
682
+ "binding": {
683
+ "type": "zeebe:input",
684
+ "name": "template.data"
685
+ },
686
+ "constraints": {
687
+ "notEmpty": true
688
+ },
689
+ "condition": {
690
+ "property": "mailType",
691
+ "equals": "byTemplate"
692
+ }
693
+ },
694
+ {
695
+ "label": "Error expression",
696
+ "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>",
697
+ "group": "errors",
698
+ "type": "Text",
699
+ "feel": "required",
700
+ "binding": {
701
+ "type": "zeebe:taskHeader",
702
+ "key": "errorExpression"
709
703
  }
710
704
  }
711
- ]
705
+ ],
706
+ "engines": {
707
+ "camunda": "^8.2"
708
+ }
712
709
  },
713
710
  {
714
711
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
715
- "name": "SendGrid connector",
716
- "id": "io.camunda.connectors.SendGrid.v2",
717
- "deprecated": {
718
- "message": "Replace with 'SendGrid connector' template.",
719
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
720
- },
721
- "description": "Send an email via SendGrid",
722
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
712
+ "name": "SendGrid: Send Email",
713
+ "id": "io.camunda.connectors.SendGrid.v1.content",
714
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
715
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
723
716
  "icon": {
724
717
  "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
718
  },
719
+ "deprecated": {
720
+ "message": "Replace with 'SendGrid Connector' template.",
721
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
722
+ },
726
723
  "category": {
727
724
  "id": "connectors",
728
725
  "name": "Connectors"
@@ -733,8 +730,8 @@
733
730
  },
734
731
  "groups": [
735
732
  {
736
- "id": "authentication",
737
- "label": "Authentication"
733
+ "id": "sendgrid",
734
+ "label": "SendGrid API"
738
735
  },
739
736
  {
740
737
  "id": "sender",
@@ -746,11 +743,7 @@
746
743
  },
747
744
  {
748
745
  "id": "content",
749
- "label": "Compose email"
750
- },
751
- {
752
- "id": "errors",
753
- "label": "Error handling"
746
+ "label": "Email Content"
754
747
  }
755
748
  ],
756
749
  "properties": [
@@ -763,8 +756,8 @@
763
756
  }
764
757
  },
765
758
  {
766
- "label": "SendGrid API key",
767
- "group": "authentication",
759
+ "label": "SendGrid API Key",
760
+ "group": "sendgrid",
768
761
  "type": "String",
769
762
  "feel": "optional",
770
763
  "binding": {
@@ -789,7 +782,7 @@
789
782
  }
790
783
  },
791
784
  {
792
- "label": "Email address",
785
+ "label": "Email Address",
793
786
  "group": "sender",
794
787
  "type": "String",
795
788
  "feel": "optional",
@@ -815,7 +808,7 @@
815
808
  }
816
809
  },
817
810
  {
818
- "label": "Email address",
811
+ "label": "Email Address",
819
812
  "group": "receiver",
820
813
  "type": "String",
821
814
  "feel": "optional",
@@ -827,26 +820,6 @@
827
820
  "notEmpty": true
828
821
  }
829
822
  },
830
- {
831
- "id": "mailType",
832
- "group": "content",
833
- "value": "mail",
834
- "type": "Dropdown",
835
- "choices": [
836
- {
837
- "name": "Simple (no dynamic template)",
838
- "value": "mail"
839
- },
840
- {
841
- "name": "Using dynamic template",
842
- "value": "byTemplate"
843
- }
844
- ],
845
- "binding": {
846
- "type": "zeebe:input",
847
- "name": "unMappedFieldNotUseInModel.mailType"
848
- }
849
- },
850
823
  {
851
824
  "label": "Subject",
852
825
  "group": "content",
@@ -858,14 +831,10 @@
858
831
  },
859
832
  "constraints": {
860
833
  "notEmpty": true
861
- },
862
- "condition": {
863
- "property": "mailType",
864
- "equals": "mail"
865
834
  }
866
835
  },
867
836
  {
868
- "label": "Content type",
837
+ "label": "Content Type",
869
838
  "group": "content",
870
839
  "type": "String",
871
840
  "feel": "optional",
@@ -876,10 +845,6 @@
876
845
  },
877
846
  "constraints": {
878
847
  "notEmpty": true
879
- },
880
- "condition": {
881
- "property": "mailType",
882
- "equals": "mail"
883
848
  }
884
849
  },
885
850
  {
@@ -893,55 +858,6 @@
893
858
  },
894
859
  "constraints": {
895
860
  "notEmpty": true
896
- },
897
- "condition": {
898
- "property": "mailType",
899
- "equals": "mail"
900
- }
901
- },
902
- {
903
- "label": "Template ID",
904
- "group": "content",
905
- "type": "String",
906
- "feel": "optional",
907
- "binding": {
908
- "type": "zeebe:input",
909
- "name": "template.id"
910
- },
911
- "constraints": {
912
- "notEmpty": true
913
- },
914
- "condition": {
915
- "property": "mailType",
916
- "equals": "byTemplate"
917
- }
918
- },
919
- {
920
- "label": "Template data",
921
- "group": "content",
922
- "type": "Text",
923
- "feel": "required",
924
- "binding": {
925
- "type": "zeebe:input",
926
- "name": "template.data"
927
- },
928
- "constraints": {
929
- "notEmpty": true
930
- },
931
- "condition": {
932
- "property": "mailType",
933
- "equals": "byTemplate"
934
- }
935
- },
936
- {
937
- "label": "Error expression",
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",
941
- "feel": "required",
942
- "binding": {
943
- "type": "zeebe:taskHeader",
944
- "key": "errorExpression"
945
861
  }
946
862
  }
947
863
  ]
@@ -1234,204 +1150,60 @@
1234
1150
  "feel": "required",
1235
1151
  "group": "output",
1236
1152
  "binding": {
1237
- "key": "resultExpression",
1238
- "type": "zeebe:taskHeader"
1239
- },
1240
- "type": "Text"
1241
- },
1242
- {
1243
- "id": "errorExpression",
1244
- "label": "Error expression",
1245
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1246
- "feel": "required",
1247
- "group": "error",
1248
- "binding": {
1249
- "key": "errorExpression",
1250
- "type": "zeebe:taskHeader"
1251
- },
1252
- "type": "Text"
1253
- },
1254
- {
1255
- "id": "retryCount",
1256
- "label": "Retries",
1257
- "description": "Number of retries",
1258
- "value": "3",
1259
- "feel": "optional",
1260
- "group": "retries",
1261
- "binding": {
1262
- "property": "retries",
1263
- "type": "zeebe:taskDefinition"
1264
- },
1265
- "type": "String"
1266
- },
1267
- {
1268
- "id": "retryBackoff",
1269
- "label": "Retry backoff",
1270
- "description": "ISO-8601 duration to wait between retries",
1271
- "value": "PT0S",
1272
- "group": "retries",
1273
- "binding": {
1274
- "key": "retryBackoff",
1275
- "type": "zeebe:taskHeader"
1276
- },
1277
- "type": "String"
1278
- }
1279
- ],
1280
- "icon": {
1281
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1282
- }
1283
- },
1284
- {
1285
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1286
- "name": "SendGrid: Send Email via Template",
1287
- "id": "io.camunda.connectors.SendGrid.v1.template",
1288
- "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1289
- "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1290
- "icon": {
1291
- "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
1292
- },
1293
- "deprecated": {
1294
- "message": "Replace with 'SendGrid Connector' template.",
1295
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1296
- },
1297
- "category": {
1298
- "id": "connectors",
1299
- "name": "Connectors"
1300
- },
1301
- "appliesTo": ["bpmn:Task"],
1302
- "elementType": {
1303
- "value": "bpmn:ServiceTask"
1304
- },
1305
- "groups": [
1306
- {
1307
- "id": "sendgrid",
1308
- "label": "SendGrid API"
1309
- },
1310
- {
1311
- "id": "sender",
1312
- "label": "Sender"
1313
- },
1314
- {
1315
- "id": "receiver",
1316
- "label": "Receiver"
1317
- },
1318
- {
1319
- "id": "template",
1320
- "label": "Dynamic Email Template"
1321
- }
1322
- ],
1323
- "properties": [
1324
- {
1325
- "type": "Hidden",
1326
- "value": "io.camunda:sendgrid:1",
1327
- "binding": {
1328
- "type": "zeebe:taskDefinition",
1329
- "property": "type"
1330
- }
1331
- },
1332
- {
1333
- "label": "SendGrid API Key",
1334
- "group": "sendgrid",
1335
- "type": "String",
1336
- "feel": "optional",
1337
- "binding": {
1338
- "type": "zeebe:input",
1339
- "name": "apiKey"
1340
- },
1341
- "constraints": {
1342
- "notEmpty": true
1343
- }
1344
- },
1345
- {
1346
- "label": "Name",
1347
- "group": "sender",
1348
- "type": "String",
1349
- "feel": "optional",
1350
- "binding": {
1351
- "type": "zeebe:input",
1352
- "name": "from.name"
1353
- },
1354
- "constraints": {
1355
- "notEmpty": true
1356
- }
1357
- },
1358
- {
1359
- "label": "Email Address",
1360
- "group": "sender",
1361
- "type": "String",
1362
- "feel": "optional",
1363
- "binding": {
1364
- "type": "zeebe:input",
1365
- "name": "from.email"
1366
- },
1367
- "constraints": {
1368
- "notEmpty": true
1369
- }
1370
- },
1371
- {
1372
- "label": "Name",
1373
- "group": "receiver",
1374
- "type": "String",
1375
- "feel": "optional",
1376
- "binding": {
1377
- "type": "zeebe:input",
1378
- "name": "to.name"
1153
+ "key": "resultExpression",
1154
+ "type": "zeebe:taskHeader"
1379
1155
  },
1380
- "constraints": {
1381
- "notEmpty": true
1382
- }
1156
+ "type": "Text"
1383
1157
  },
1384
1158
  {
1385
- "label": "Email Address",
1386
- "group": "receiver",
1387
- "type": "String",
1388
- "feel": "optional",
1159
+ "id": "errorExpression",
1160
+ "label": "Error expression",
1161
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1162
+ "feel": "required",
1163
+ "group": "error",
1389
1164
  "binding": {
1390
- "type": "zeebe:input",
1391
- "name": "to.email"
1165
+ "key": "errorExpression",
1166
+ "type": "zeebe:taskHeader"
1392
1167
  },
1393
- "constraints": {
1394
- "notEmpty": true
1395
- }
1168
+ "type": "Text"
1396
1169
  },
1397
1170
  {
1398
- "label": "Template ID",
1399
- "group": "template",
1400
- "type": "String",
1171
+ "id": "retryCount",
1172
+ "label": "Retries",
1173
+ "description": "Number of retries",
1174
+ "value": "3",
1401
1175
  "feel": "optional",
1176
+ "group": "retries",
1402
1177
  "binding": {
1403
- "type": "zeebe:input",
1404
- "name": "template.id"
1178
+ "property": "retries",
1179
+ "type": "zeebe:taskDefinition"
1405
1180
  },
1406
- "constraints": {
1407
- "notEmpty": true
1408
- }
1181
+ "type": "String"
1409
1182
  },
1410
1183
  {
1411
- "label": "Template Data",
1412
- "group": "template",
1413
- "type": "Text",
1414
- "feel": "required",
1184
+ "id": "retryBackoff",
1185
+ "label": "Retry backoff",
1186
+ "description": "ISO-8601 duration to wait between retries",
1187
+ "value": "PT0S",
1188
+ "group": "retries",
1415
1189
  "binding": {
1416
- "type": "zeebe:input",
1417
- "name": "template.data"
1190
+ "key": "retryBackoff",
1191
+ "type": "zeebe:taskHeader"
1418
1192
  },
1419
- "constraints": {
1420
- "notEmpty": true
1421
- }
1193
+ "type": "String"
1422
1194
  }
1423
- ]
1195
+ ],
1196
+ "icon": {
1197
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1198
+ }
1424
1199
  },
1425
1200
  {
1426
1201
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1427
1202
  "name": "SendGrid Outbound Connector",
1428
1203
  "id": "io.camunda.connectors.SendGrid.v2",
1429
- "version": 2,
1430
1204
  "description": "Send an email via SendGrid",
1431
1205
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/sendgrid/",
1432
- "icon": {
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"
1434
- },
1206
+ "version": 3,
1435
1207
  "category": {
1436
1208
  "id": "connectors",
1437
1209
  "name": "Connectors"
@@ -1458,88 +1230,111 @@
1458
1230
  "label": "Compose email"
1459
1231
  },
1460
1232
  {
1461
- "id": "errors",
1233
+ "id": "output",
1234
+ "label": "Output mapping"
1235
+ },
1236
+ {
1237
+ "id": "error",
1462
1238
  "label": "Error handling"
1239
+ },
1240
+ {
1241
+ "id": "retries",
1242
+ "label": "Retries"
1463
1243
  }
1464
1244
  ],
1465
1245
  "properties": [
1466
1246
  {
1467
- "type": "Hidden",
1468
1247
  "value": "io.camunda:sendgrid:1",
1469
1248
  "binding": {
1470
- "type": "zeebe:taskDefinition",
1471
- "property": "type"
1472
- }
1249
+ "property": "type",
1250
+ "type": "zeebe:taskDefinition"
1251
+ },
1252
+ "type": "Hidden"
1473
1253
  },
1474
1254
  {
1255
+ "id": "apiKey",
1475
1256
  "label": "SendGrid API key",
1476
- "group": "authentication",
1477
- "type": "String",
1257
+ "optional": false,
1258
+ "constraints": {
1259
+ "notEmpty": true
1260
+ },
1478
1261
  "feel": "optional",
1262
+ "group": "authentication",
1479
1263
  "binding": {
1480
- "type": "zeebe:input",
1481
- "name": "apiKey"
1264
+ "name": "apiKey",
1265
+ "type": "zeebe:input"
1482
1266
  },
1483
- "constraints": {
1484
- "notEmpty": true
1485
- }
1267
+ "type": "String"
1486
1268
  },
1487
1269
  {
1270
+ "id": "from.name",
1488
1271
  "label": "Name",
1489
- "group": "sender",
1490
- "type": "String",
1272
+ "optional": false,
1273
+ "constraints": {
1274
+ "notEmpty": true
1275
+ },
1491
1276
  "feel": "optional",
1277
+ "group": "sender",
1492
1278
  "binding": {
1493
- "type": "zeebe:input",
1494
- "name": "from.name"
1279
+ "name": "from.name",
1280
+ "type": "zeebe:input"
1495
1281
  },
1496
- "constraints": {
1497
- "notEmpty": true
1498
- }
1282
+ "type": "String"
1499
1283
  },
1500
1284
  {
1285
+ "id": "from.email",
1501
1286
  "label": "Email address",
1502
- "group": "sender",
1503
- "type": "String",
1287
+ "optional": false,
1288
+ "constraints": {
1289
+ "notEmpty": true
1290
+ },
1504
1291
  "feel": "optional",
1292
+ "group": "sender",
1505
1293
  "binding": {
1506
- "type": "zeebe:input",
1507
- "name": "from.email"
1294
+ "name": "from.email",
1295
+ "type": "zeebe:input"
1508
1296
  },
1509
- "constraints": {
1510
- "notEmpty": true
1511
- }
1297
+ "type": "String"
1512
1298
  },
1513
1299
  {
1300
+ "id": "to.name",
1514
1301
  "label": "Name",
1515
- "group": "receiver",
1516
- "type": "String",
1302
+ "optional": false,
1303
+ "constraints": {
1304
+ "notEmpty": true
1305
+ },
1517
1306
  "feel": "optional",
1307
+ "group": "receiver",
1518
1308
  "binding": {
1519
- "type": "zeebe:input",
1520
- "name": "to.name"
1309
+ "name": "to.name",
1310
+ "type": "zeebe:input"
1521
1311
  },
1522
- "constraints": {
1523
- "notEmpty": true
1524
- }
1312
+ "type": "String"
1525
1313
  },
1526
1314
  {
1315
+ "id": "to.email",
1527
1316
  "label": "Email address",
1528
- "group": "receiver",
1529
- "type": "String",
1317
+ "optional": false,
1318
+ "constraints": {
1319
+ "notEmpty": true
1320
+ },
1530
1321
  "feel": "optional",
1322
+ "group": "receiver",
1531
1323
  "binding": {
1532
- "type": "zeebe:input",
1533
- "name": "to.email"
1324
+ "name": "to.email",
1325
+ "type": "zeebe:input"
1534
1326
  },
1535
- "constraints": {
1536
- "notEmpty": true
1537
- }
1327
+ "type": "String"
1538
1328
  },
1539
1329
  {
1540
- "id": "mailType",
1330
+ "id": "unMappedFieldNotUseInModel.mailType",
1331
+ "label": "Mail contents",
1332
+ "optional": false,
1541
1333
  "group": "content",
1542
- "value": "mail",
1334
+ "binding": {
1335
+ "name": "unMappedFieldNotUseInModel.mailType",
1336
+ "type": "zeebe:input"
1337
+ },
1543
1338
  "type": "Dropdown",
1544
1339
  "choices": [
1545
1340
  {
@@ -1550,112 +1345,176 @@
1550
1345
  "name": "Using dynamic template",
1551
1346
  "value": "byTemplate"
1552
1347
  }
1553
- ],
1554
- "binding": {
1555
- "type": "zeebe:input",
1556
- "name": "unMappedFieldNotUseInModel.mailType"
1557
- }
1348
+ ]
1558
1349
  },
1559
1350
  {
1560
- "label": "Subject",
1561
- "group": "content",
1562
- "type": "String",
1351
+ "id": "template.id",
1352
+ "label": "Template ID",
1353
+ "optional": false,
1354
+ "constraints": {
1355
+ "notEmpty": true
1356
+ },
1563
1357
  "feel": "optional",
1358
+ "group": "content",
1564
1359
  "binding": {
1565
- "type": "zeebe:input",
1566
- "name": "content.subject"
1360
+ "name": "template.id",
1361
+ "type": "zeebe:input"
1362
+ },
1363
+ "condition": {
1364
+ "property": "unMappedFieldNotUseInModel.mailType",
1365
+ "equals": "byTemplate",
1366
+ "type": "simple"
1567
1367
  },
1368
+ "type": "String"
1369
+ },
1370
+ {
1371
+ "id": "template.data",
1372
+ "label": "Template data",
1373
+ "optional": false,
1568
1374
  "constraints": {
1569
1375
  "notEmpty": true
1570
1376
  },
1377
+ "feel": "required",
1378
+ "group": "content",
1379
+ "binding": {
1380
+ "name": "template.data",
1381
+ "type": "zeebe:input"
1382
+ },
1571
1383
  "condition": {
1572
- "property": "mailType",
1573
- "equals": "mail"
1574
- }
1384
+ "property": "unMappedFieldNotUseInModel.mailType",
1385
+ "equals": "byTemplate",
1386
+ "type": "simple"
1387
+ },
1388
+ "type": "String"
1575
1389
  },
1576
1390
  {
1577
- "label": "Content type",
1578
- "group": "content",
1579
- "type": "String",
1391
+ "id": "content.subject",
1392
+ "label": "Subject",
1393
+ "optional": false,
1394
+ "constraints": {
1395
+ "notEmpty": true
1396
+ },
1580
1397
  "feel": "optional",
1581
- "value": "text/plain",
1398
+ "group": "content",
1582
1399
  "binding": {
1583
- "type": "zeebe:input",
1584
- "name": "content.type"
1400
+ "name": "content.subject",
1401
+ "type": "zeebe:input"
1402
+ },
1403
+ "condition": {
1404
+ "property": "unMappedFieldNotUseInModel.mailType",
1405
+ "equals": "mail",
1406
+ "type": "simple"
1585
1407
  },
1408
+ "type": "String"
1409
+ },
1410
+ {
1411
+ "id": "content.type",
1412
+ "label": "Content type",
1413
+ "optional": false,
1414
+ "value": "text/plain",
1586
1415
  "constraints": {
1587
1416
  "notEmpty": true
1588
1417
  },
1589
- "condition": {
1590
- "property": "mailType",
1591
- "equals": "mail"
1592
- }
1418
+ "feel": "optional",
1419
+ "group": "content",
1420
+ "binding": {
1421
+ "name": "content.type",
1422
+ "type": "zeebe:input"
1423
+ },
1424
+ "condition": {
1425
+ "property": "unMappedFieldNotUseInModel.mailType",
1426
+ "equals": "mail",
1427
+ "type": "simple"
1428
+ },
1429
+ "type": "String"
1593
1430
  },
1594
1431
  {
1432
+ "id": "content.value",
1595
1433
  "label": "Body",
1596
- "group": "content",
1597
- "type": "Text",
1598
- "feel": "optional",
1599
- "binding": {
1600
- "type": "zeebe:input",
1601
- "name": "content.value"
1602
- },
1434
+ "optional": false,
1603
1435
  "constraints": {
1604
1436
  "notEmpty": true
1605
1437
  },
1438
+ "feel": "optional",
1439
+ "group": "content",
1440
+ "binding": {
1441
+ "name": "content.value",
1442
+ "type": "zeebe:input"
1443
+ },
1606
1444
  "condition": {
1607
- "property": "mailType",
1608
- "equals": "mail"
1609
- }
1445
+ "property": "unMappedFieldNotUseInModel.mailType",
1446
+ "equals": "mail",
1447
+ "type": "simple"
1448
+ },
1449
+ "type": "Text"
1610
1450
  },
1611
1451
  {
1612
- "label": "Template ID",
1613
- "group": "content",
1614
- "type": "String",
1615
- "feel": "optional",
1452
+ "id": "resultVariable",
1453
+ "label": "Result variable",
1454
+ "description": "Name of variable to store the response in",
1455
+ "group": "output",
1616
1456
  "binding": {
1617
- "type": "zeebe:input",
1618
- "name": "template.id"
1619
- },
1620
- "constraints": {
1621
- "notEmpty": true
1457
+ "key": "resultVariable",
1458
+ "type": "zeebe:taskHeader"
1622
1459
  },
1623
- "condition": {
1624
- "property": "mailType",
1625
- "equals": "byTemplate"
1626
- }
1460
+ "type": "String"
1627
1461
  },
1628
1462
  {
1629
- "label": "Template data",
1630
- "group": "content",
1631
- "type": "Text",
1463
+ "id": "resultExpression",
1464
+ "label": "Result expression",
1465
+ "description": "Expression to map the response into process variables",
1632
1466
  "feel": "required",
1467
+ "group": "output",
1633
1468
  "binding": {
1634
- "type": "zeebe:input",
1635
- "name": "template.data"
1636
- },
1637
- "constraints": {
1638
- "notEmpty": true
1469
+ "key": "resultExpression",
1470
+ "type": "zeebe:taskHeader"
1639
1471
  },
1640
- "condition": {
1641
- "property": "mailType",
1642
- "equals": "byTemplate"
1643
- }
1472
+ "type": "Text"
1644
1473
  },
1645
1474
  {
1475
+ "id": "errorExpression",
1646
1476
  "label": "Error expression",
1647
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
1648
- "group": "errors",
1649
- "type": "Text",
1477
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1650
1478
  "feel": "required",
1479
+ "group": "error",
1651
1480
  "binding": {
1652
- "type": "zeebe:taskHeader",
1653
- "key": "errorExpression"
1654
- }
1481
+ "key": "errorExpression",
1482
+ "type": "zeebe:taskHeader"
1483
+ },
1484
+ "type": "Text"
1485
+ },
1486
+ {
1487
+ "id": "retryCount",
1488
+ "label": "Retries",
1489
+ "description": "Number of retries",
1490
+ "value": "3",
1491
+ "feel": "optional",
1492
+ "group": "retries",
1493
+ "binding": {
1494
+ "property": "retries",
1495
+ "type": "zeebe:taskDefinition"
1496
+ },
1497
+ "type": "String"
1498
+ },
1499
+ {
1500
+ "id": "retryBackoff",
1501
+ "label": "Retry backoff",
1502
+ "description": "ISO-8601 duration to wait between retries",
1503
+ "value": "PT0S",
1504
+ "feel": "optional",
1505
+ "group": "retries",
1506
+ "binding": {
1507
+ "key": "retryBackoff",
1508
+ "type": "zeebe:taskHeader"
1509
+ },
1510
+ "type": "String"
1655
1511
  }
1656
1512
  ],
1513
+ "icon": {
1514
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0wLjI4NTcwNiA1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMUgwLjI4NTcwNlY1LjQwODQ3WiIgZmlsbD0iIzk5RTFGNCIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTUuNDM4MzcgMTAuNTYxMUwxMC41NjExIDEwLjU2MTZWMTUuNjg0NEg1LjQzODM3VjEwLjU2MTFaIiBmaWxsPSIjOTlFMUY0Ii8+CiAgICA8cGF0aCBkPSJNMC4yODU3MDYgMTUuNjg0Nkw1LjQzODM3IDE1LjY4NDRWMTUuNzE0M0gwLjI4NTcwNlYxNS42ODQ2Wk0wLjI4NTcwNiAxMC41NjE5SDUuNDM4MzdWMTUuNjg0NEwwLjI4NTcwNiAxNS42ODQ2VjEwLjU2MTlaIiBmaWxsPSIjMUE4MkUyIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAwLjI4NTcwNkgxMC41NjExVjUuNDA4NDdINS40MzgzN1YwLjI4NTcwNlpNMTAuNTYxNiA1LjQzODM3SDE1LjcxNDNWMTAuNTYxMUgxMC41NjE2VjUuNDM4MzdaIiBmaWxsPSIjMDBCM0UzIi8+CiAgICA8cGF0aCBkPSJNNS40MzgzNyAxMC41NjExTDEwLjU2MTEgMTAuNTYxNlY1LjQwODQ3SDUuNDM4MzdWMTAuNTYxMVoiIGZpbGw9IiMwMDlERDkiLz4KICAgIDxwYXRoIGQ9Ik0xMC41NjExIDAuMjg1NzA2SDE1LjcxNDNWNS40MDg0N0gxMC41NjExVjAuMjg1NzA2WiIgZmlsbD0iIzFBODJFMiIvPgogICAgPHBhdGggZD0iTTEwLjU2MTEgNS40MDg0N0gxNS43MTQzVjUuNDM4MzdIMTAuNTYxNkwxMC41NjExIDUuNDA4NDdaIiBmaWxsPSIjMUE4MkUyIi8+Cjwvc3ZnPg=="
1515
+ },
1657
1516
  "engines": {
1658
- "camunda": "^8.2"
1517
+ "camunda": "^8.5"
1659
1518
  }
1660
1519
  },
1661
1520
  {
@@ -2030,7 +1889,148 @@
2030
1889
  },
2031
1890
  {
2032
1891
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2033
- "name": "SendGrid Outbound Connector",
1892
+ "name": "SendGrid: Send Email via Template",
1893
+ "id": "io.camunda.connectors.SendGrid.v1.template",
1894
+ "description": "[Deprecated]: Replace with 'SendGrid Connector' template.",
1895
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/out-of-the-box-connectors/sendgrid/",
1896
+ "icon": {
1897
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%205.40847H5.43837V10.5611H0.285706V5.40847Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V15.6844H5.43837V10.5611Z%22%20fill%3D%22%2399E1F4%22%2F%3E%0A%3Cpath%20d%3D%22M0.285706%2015.6846L5.43837%2015.6844V15.7143H0.285706V15.6846ZM0.285706%2010.5619H5.43837V15.6844L0.285706%2015.6846V10.5619Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%200.285706H10.5611V5.40847H5.43837V0.285706ZM10.5616%205.43837H15.7143V10.5611H10.5616V5.43837Z%22%20fill%3D%22%2300B3E3%22%2F%3E%0A%3Cpath%20d%3D%22M5.43837%2010.5611L10.5611%2010.5616V5.40847H5.43837V10.5611Z%22%20fill%3D%22%23009DD9%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%200.285706H15.7143V5.40847H10.5611V0.285706Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3Cpath%20d%3D%22M10.5611%205.40847H15.7143V5.43837H10.5616L10.5611%205.40847Z%22%20fill%3D%22%231A82E2%22%2F%3E%0A%3C%2Fsvg%3E"
1898
+ },
1899
+ "deprecated": {
1900
+ "message": "Replace with 'SendGrid Connector' template.",
1901
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1902
+ },
1903
+ "category": {
1904
+ "id": "connectors",
1905
+ "name": "Connectors"
1906
+ },
1907
+ "appliesTo": ["bpmn:Task"],
1908
+ "elementType": {
1909
+ "value": "bpmn:ServiceTask"
1910
+ },
1911
+ "groups": [
1912
+ {
1913
+ "id": "sendgrid",
1914
+ "label": "SendGrid API"
1915
+ },
1916
+ {
1917
+ "id": "sender",
1918
+ "label": "Sender"
1919
+ },
1920
+ {
1921
+ "id": "receiver",
1922
+ "label": "Receiver"
1923
+ },
1924
+ {
1925
+ "id": "template",
1926
+ "label": "Dynamic Email Template"
1927
+ }
1928
+ ],
1929
+ "properties": [
1930
+ {
1931
+ "type": "Hidden",
1932
+ "value": "io.camunda:sendgrid:1",
1933
+ "binding": {
1934
+ "type": "zeebe:taskDefinition",
1935
+ "property": "type"
1936
+ }
1937
+ },
1938
+ {
1939
+ "label": "SendGrid API Key",
1940
+ "group": "sendgrid",
1941
+ "type": "String",
1942
+ "feel": "optional",
1943
+ "binding": {
1944
+ "type": "zeebe:input",
1945
+ "name": "apiKey"
1946
+ },
1947
+ "constraints": {
1948
+ "notEmpty": true
1949
+ }
1950
+ },
1951
+ {
1952
+ "label": "Name",
1953
+ "group": "sender",
1954
+ "type": "String",
1955
+ "feel": "optional",
1956
+ "binding": {
1957
+ "type": "zeebe:input",
1958
+ "name": "from.name"
1959
+ },
1960
+ "constraints": {
1961
+ "notEmpty": true
1962
+ }
1963
+ },
1964
+ {
1965
+ "label": "Email Address",
1966
+ "group": "sender",
1967
+ "type": "String",
1968
+ "feel": "optional",
1969
+ "binding": {
1970
+ "type": "zeebe:input",
1971
+ "name": "from.email"
1972
+ },
1973
+ "constraints": {
1974
+ "notEmpty": true
1975
+ }
1976
+ },
1977
+ {
1978
+ "label": "Name",
1979
+ "group": "receiver",
1980
+ "type": "String",
1981
+ "feel": "optional",
1982
+ "binding": {
1983
+ "type": "zeebe:input",
1984
+ "name": "to.name"
1985
+ },
1986
+ "constraints": {
1987
+ "notEmpty": true
1988
+ }
1989
+ },
1990
+ {
1991
+ "label": "Email Address",
1992
+ "group": "receiver",
1993
+ "type": "String",
1994
+ "feel": "optional",
1995
+ "binding": {
1996
+ "type": "zeebe:input",
1997
+ "name": "to.email"
1998
+ },
1999
+ "constraints": {
2000
+ "notEmpty": true
2001
+ }
2002
+ },
2003
+ {
2004
+ "label": "Template ID",
2005
+ "group": "template",
2006
+ "type": "String",
2007
+ "feel": "optional",
2008
+ "binding": {
2009
+ "type": "zeebe:input",
2010
+ "name": "template.id"
2011
+ },
2012
+ "constraints": {
2013
+ "notEmpty": true
2014
+ }
2015
+ },
2016
+ {
2017
+ "label": "Template Data",
2018
+ "group": "template",
2019
+ "type": "Text",
2020
+ "feel": "required",
2021
+ "binding": {
2022
+ "type": "zeebe:input",
2023
+ "name": "template.data"
2024
+ },
2025
+ "constraints": {
2026
+ "notEmpty": true
2027
+ }
2028
+ }
2029
+ ]
2030
+ },
2031
+ {
2032
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2033
+ "name": "Send Email with SendGrid",
2034
2034
  "id": "io.camunda.connectors.SendGrid.v2",
2035
2035
  "description": "Send an email via SendGrid",
2036
2036
  "keywords": [
@@ -2299,13 +2299,13 @@
2299
2299
  {
2300
2300
  "id": "attachments_documentMode",
2301
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
2302
  "value": "none",
2304
2303
  "group": "content",
2305
2304
  "binding": {
2306
2305
  "name": "attachments_documentMode",
2307
2306
  "type": "zeebe:input"
2308
2307
  },
2308
+ "tooltip": "Files to attach to the email, referenced as <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">Camunda documents</a>.",
2309
2309
  "type": "Dropdown",
2310
2310
  "choices": [
2311
2311
  {