@camunda/connectors-element-templates 1.0.18 → 1.0.19

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 (98) hide show
  1. package/package.json +1 -1
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +2 -2
  3. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +2 -2
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +2 -2
  5. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +2 -2
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +2 -2
  7. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +22 -22
  8. package/src/element-templates/agenticai-aiagent-job-worker.json +240 -240
  9. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3735 -3735
  10. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +550 -550
  11. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +733 -733
  12. package/src/element-templates/asana-connector.json +116 -116
  13. package/src/element-templates/automation-anywhere-outbound-connector.json +665 -665
  14. package/src/element-templates/aws-bedrock-outbound-connector.json +431 -431
  15. package/src/element-templates/aws-dynamodb-outbound-connector.json +1337 -1337
  16. package/src/element-templates/aws-eventbridge-connector-boundary.json +37 -37
  17. package/src/element-templates/aws-eventbridge-connector-intermediate.json +77 -77
  18. package/src/element-templates/aws-eventbridge-connector-message-start.json +21 -21
  19. package/src/element-templates/aws-eventbridge-connector-receive.json +6 -6
  20. package/src/element-templates/aws-eventbridge-outbound-connector.json +229 -229
  21. package/src/element-templates/aws-lambda-outbound-connector.json +278 -278
  22. package/src/element-templates/aws-s3-outbound-connector.json +244 -244
  23. package/src/element-templates/aws-sagemaker-outbound-connector.json +58 -58
  24. package/src/element-templates/aws-sns-inbound-boundary.json +224 -224
  25. package/src/element-templates/aws-sns-inbound-intermediate.json +329 -329
  26. package/src/element-templates/aws-sns-inbound-message-start.json +357 -357
  27. package/src/element-templates/aws-sns-inbound-start-event.json +135 -135
  28. package/src/element-templates/aws-sns-outbound-connector.json +293 -293
  29. package/src/element-templates/aws-sqs-boundary-connector.json +890 -890
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +529 -529
  31. package/src/element-templates/aws-sqs-outbound-connector.json +573 -573
  32. package/src/element-templates/aws-sqs-start-event-connector.json +408 -408
  33. package/src/element-templates/aws-sqs-start-message.json +488 -488
  34. package/src/element-templates/aws-textract-outbound-connector.json +275 -275
  35. package/src/element-templates/azure-blobstorage-outbound-connector.json +200 -200
  36. package/src/element-templates/azure-open-ai-connector.json +48 -48
  37. package/src/element-templates/blue-prism-connector.json +101 -101
  38. package/src/element-templates/csv-outbound-connector.json +44 -44
  39. package/src/element-templates/easy-post-connector.json +216 -216
  40. package/src/element-templates/email-inbound-connector-boundary.json +37 -37
  41. package/src/element-templates/email-inbound-connector-intermediate.json +37 -37
  42. package/src/element-templates/email-message-start-event-connector.json +63 -63
  43. package/src/element-templates/email-outbound-connector.json +902 -902
  44. package/src/element-templates/embeddings-vector-database-outbound-connector.json +520 -520
  45. package/src/element-templates/github-connector.json +10272 -10272
  46. package/src/element-templates/github-webhook-connector-intermediate.json +41 -41
  47. package/src/element-templates/github-webhook-connector-message-start.json +19 -19
  48. package/src/element-templates/github-webhook-connector-start-event.json +54 -54
  49. package/src/element-templates/gitlab-connector.json +2854 -2854
  50. package/src/element-templates/google-cloud-storage-outbound-connector.json +200 -200
  51. package/src/element-templates/google-drive-outbound-connector.json +1139 -1139
  52. package/src/element-templates/google-gemini-outbound-connector.json +122 -122
  53. package/src/element-templates/google-maps-platform-connector.json +94 -94
  54. package/src/element-templates/google-sheets-outbound-connector.json +2455 -2455
  55. package/src/element-templates/graphql-outbound-connector.json +1814 -1814
  56. package/src/element-templates/http-json-connector.json +2221 -2221
  57. package/src/element-templates/http-polling-boundary-catch-event-connector.json +766 -766
  58. package/src/element-templates/http-polling-connector.json +1510 -1510
  59. package/src/element-templates/hubspot-outbound-connector.json +65 -65
  60. package/src/element-templates/hugging-face-connector.json +122 -122
  61. package/src/element-templates/jdbc-outbound-connector.json +67 -67
  62. package/src/element-templates/kafka-inbound-connector-boundary.json +130 -130
  63. package/src/element-templates/kafka-inbound-connector-intermediate.json +1371 -1371
  64. package/src/element-templates/kafka-inbound-connector-start-message.json +166 -166
  65. package/src/element-templates/kafka-outbound-connector.json +250 -250
  66. package/src/element-templates/microsoft-office365-mail-connector.json +77 -77
  67. package/src/element-templates/microsoft-teams-outbound-connector.json +4124 -4124
  68. package/src/element-templates/openai-connector.json +199 -199
  69. package/src/element-templates/operate-connector.json +144 -144
  70. package/src/element-templates/power-automate-connector.json +62 -62
  71. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +454 -454
  72. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +895 -895
  73. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +458 -458
  74. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +610 -610
  75. package/src/element-templates/rabbitmq-outbound-connector.json +662 -662
  76. package/src/element-templates/rpa-connector.json +5 -5
  77. package/src/element-templates/salesforce-connector.json +60 -60
  78. package/src/element-templates/sendgrid-outbound-connector.json +1301 -1301
  79. package/src/element-templates/servicenow-connector.json +6 -6
  80. package/src/element-templates/servicenow-incident-connector.json +6 -6
  81. package/src/element-templates/slack-inbound-boundary.json +305 -305
  82. package/src/element-templates/slack-inbound-intermediate.json +363 -363
  83. package/src/element-templates/slack-inbound-message-start.json +286 -286
  84. package/src/element-templates/slack-inbound-receive.json +23 -23
  85. package/src/element-templates/slack-inbound-start-event.json +301 -301
  86. package/src/element-templates/slack-outbound-connector.json +2249 -2249
  87. package/src/element-templates/twilio-connector.json +366 -366
  88. package/src/element-templates/twilio-webhook-boundary-connector.json +37 -37
  89. package/src/element-templates/twilio-webhook-connector.json +36 -36
  90. package/src/element-templates/twilio-webhook-intermediate-connector.json +59 -59
  91. package/src/element-templates/twilio-webhook-message-start-connector.json +42 -42
  92. package/src/element-templates/uipath-connector.json +54 -54
  93. package/src/element-templates/webhook-connector-boundary.json +1238 -1238
  94. package/src/element-templates/webhook-connector-intermediate.json +1254 -1254
  95. package/src/element-templates/webhook-connector-receive.json +61 -61
  96. package/src/element-templates/webhook-connector-start-event.json +1419 -1419
  97. package/src/element-templates/webhook-connector-start-message.json +1289 -1289
  98. package/src/element-templates/whatsapp-connector.json +21 -21
@@ -1,27 +1,14 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Twilio Outbound Connector",
4
+ "name": "Twilio connector",
5
5
  "id": "io.camunda.connectors.Twilio.v1",
6
- "version": 7,
7
- "engines": {
8
- "camunda": "^8.9"
9
- },
10
- "description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
11
- "keywords": [
12
- "send SMS",
13
- "get message",
14
- "list messages",
15
- "SMS",
16
- "text message",
17
- "phone",
18
- "messaging",
19
- "notification"
20
- ],
6
+ "version": 2,
7
+ "description": "Send SMS messages or retrieve message information using the Twilio API",
21
8
  "icon": {
22
9
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
23
10
  },
24
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
11
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
25
12
  "category": {
26
13
  "id": "connectors",
27
14
  "name": "Connectors"
@@ -47,10 +34,6 @@
47
34
  "id": "filter",
48
35
  "label": "Filter"
49
36
  },
50
- {
51
- "id": "connector",
52
- "label": "Connector"
53
- },
54
37
  {
55
38
  "id": "output",
56
39
  "label": "Response mapping"
@@ -80,10 +63,6 @@
80
63
  "name": "Send a SMS",
81
64
  "value": "sendSms"
82
65
  },
83
- {
84
- "name": "Send a WhatsApp message",
85
- "value": "sendWhatsApp"
86
- },
87
66
  {
88
67
  "name": "Get message",
89
68
  "value": "getMessage"
@@ -98,36 +77,12 @@
98
77
  "name": "operationType"
99
78
  }
100
79
  },
101
- {
102
- "label": "WhatsApp message type",
103
- "id": "whatsappMessageType",
104
- "group": "operation",
105
- "type": "Dropdown",
106
- "optional": false,
107
- "choices": [
108
- {
109
- "name": "Free form message",
110
- "value": "whatsappFreeFormMessage"
111
- },
112
- {
113
- "name": "Template message",
114
- "value": "whatsappTemplateMessage"
115
- }
116
- ],
117
- "binding": {
118
- "type": "zeebe:input",
119
- "name": "whatsappMessageType"
120
- },
121
- "condition": {
122
- "property": "operationType",
123
- "equals": "sendWhatsApp"
124
- }
125
- },
126
80
  {
127
81
  "id": "authType",
128
82
  "label": "Authentication type",
129
83
  "group": "authentication",
130
84
  "type": "Dropdown",
85
+ "value": "get",
131
86
  "choices": [
132
87
  {
133
88
  "name": "Account SID and Auth token",
@@ -145,7 +100,7 @@
145
100
  },
146
101
  {
147
102
  "label": "Account SID",
148
- "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
103
+ "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
149
104
  "group": "authentication",
150
105
  "type": "String",
151
106
  "feel": "optional",
@@ -178,7 +133,7 @@
178
133
  },
179
134
  "condition": {
180
135
  "property": "operationType",
181
- "oneOf": ["sendSms", "sendWhatsApp"]
136
+ "equals": "sendSms"
182
137
  }
183
138
  },
184
139
  {
@@ -195,20 +150,20 @@
195
150
  },
196
151
  {
197
152
  "type": "Hidden",
198
- "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
153
+ "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
199
154
  "binding": {
200
155
  "type": "zeebe:input",
201
156
  "name": "headers"
202
157
  },
203
158
  "condition": {
204
159
  "property": "operationType",
205
- "oneOf": ["sendSms", "sendWhatsApp"]
160
+ "equals": "sendSms"
206
161
  },
207
162
  "optional": false
208
163
  },
209
164
  {
210
165
  "label": "API key",
211
- "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
166
+ "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
212
167
  "group": "authentication",
213
168
  "type": "String",
214
169
  "feel": "optional",
@@ -226,7 +181,7 @@
226
181
  },
227
182
  {
228
183
  "label": "API secret",
229
- "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
184
+ "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
230
185
  "group": "authentication",
231
186
  "type": "String",
232
187
  "feel": "optional",
@@ -259,7 +214,7 @@
259
214
  },
260
215
  {
261
216
  "label": "Authentication token",
262
- "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
217
+ "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
263
218
  "group": "authentication",
264
219
  "type": "String",
265
220
  "feel": "optional",
@@ -294,166 +249,6 @@
294
249
  },
295
250
  "optional": false
296
251
  },
297
- {
298
- "label": "WhatsApp message text",
299
- "description": "The content of the WhatsApp message that will be sent",
300
- "group": "input",
301
- "type": "Text",
302
- "feel": "optional",
303
- "binding": {
304
- "type": "zeebe:input",
305
- "name": "WhatsAppBody"
306
- },
307
- "constraints": {
308
- "notEmpty": true
309
- },
310
- "condition": {
311
- "allMatch": [
312
- {
313
- "property": "operationType",
314
- "equals": "sendWhatsApp"
315
- },
316
- {
317
- "property": "whatsappMessageType",
318
- "equals": "whatsappFreeFormMessage"
319
- }
320
- ]
321
- },
322
- "optional": false
323
- },
324
- {
325
- "label": "WhatsApp template ID",
326
- "description": "The ID of the WhatsApp template to be used",
327
- "group": "input",
328
- "type": "String",
329
- "feel": "optional",
330
- "binding": {
331
- "type": "zeebe:input",
332
- "name": "ContentSid"
333
- },
334
- "constraints": {
335
- "notEmpty": true
336
- },
337
- "condition": {
338
- "allMatch": [
339
- {
340
- "property": "operationType",
341
- "equals": "sendWhatsApp"
342
- },
343
- {
344
- "property": "whatsappMessageType",
345
- "equals": "whatsappTemplateMessage"
346
- }
347
- ]
348
- },
349
- "optional": false
350
- },
351
- {
352
- "label": "WhatsApp template parameters",
353
- "description": "Parameter values to substitute in the template provided as a FEEL context with numbered keys; make sure all keys and values are strings or are converted to strings!",
354
- "group": "input",
355
- "type": "Text",
356
- "feel": "required",
357
- "value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
358
- "binding": {
359
- "type": "zeebe:input",
360
- "name": "ContentVariables"
361
- },
362
- "constraints": {
363
- "notEmpty": true
364
- },
365
- "condition": {
366
- "allMatch": [
367
- {
368
- "property": "operationType",
369
- "equals": "sendWhatsApp"
370
- },
371
- {
372
- "property": "whatsappMessageType",
373
- "equals": "whatsappTemplateMessage"
374
- }
375
- ]
376
- },
377
- "optional": false
378
- },
379
- {
380
- "label": "From WhatsApp number",
381
- "description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
382
- "group": "input",
383
- "type": "String",
384
- "feel": "optional",
385
- "binding": {
386
- "type": "zeebe:input",
387
- "name": "From"
388
- },
389
- "constraints": {
390
- "notEmpty": true
391
- },
392
- "condition": {
393
- "property": "operationType",
394
- "equals": "sendWhatsApp"
395
- },
396
- "optional": false
397
- },
398
- {
399
- "label": "To WhatsApp number",
400
- "description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
401
- "group": "input",
402
- "type": "String",
403
- "feel": "optional",
404
- "binding": {
405
- "type": "zeebe:input",
406
- "name": "To"
407
- },
408
- "constraints": {
409
- "notEmpty": true
410
- },
411
- "condition": {
412
- "property": "operationType",
413
- "equals": "sendWhatsApp"
414
- },
415
- "optional": false
416
- },
417
- {
418
- "type": "Hidden",
419
- "value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
420
- "binding": {
421
- "type": "zeebe:input",
422
- "name": "body"
423
- },
424
- "condition": {
425
- "allMatch": [
426
- {
427
- "property": "operationType",
428
- "equals": "sendWhatsApp"
429
- },
430
- {
431
- "property": "whatsappMessageType",
432
- "equals": "whatsappTemplateMessage"
433
- }
434
- ]
435
- }
436
- },
437
- {
438
- "type": "Hidden",
439
- "value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
440
- "binding": {
441
- "type": "zeebe:input",
442
- "name": "body"
443
- },
444
- "condition": {
445
- "allMatch": [
446
- {
447
- "property": "operationType",
448
- "equals": "sendWhatsApp"
449
- },
450
- {
451
- "property": "whatsappMessageType",
452
- "equals": "whatsappFreeFormMessage"
453
- }
454
- ]
455
- }
456
- },
457
252
  {
458
253
  "label": "Message text",
459
254
  "description": "The content of the message that will be sent",
@@ -469,7 +264,7 @@
469
264
  },
470
265
  "condition": {
471
266
  "property": "operationType",
472
- "equals": "sendSms"
267
+ "oneOf": ["sendSms"]
473
268
  },
474
269
  "optional": false
475
270
  },
@@ -488,7 +283,7 @@
488
283
  },
489
284
  "condition": {
490
285
  "property": "operationType",
491
- "equals": "sendSms"
286
+ "oneOf": ["sendSms"]
492
287
  },
493
288
  "optional": false
494
289
  },
@@ -507,7 +302,7 @@
507
302
  },
508
303
  "condition": {
509
304
  "property": "operationType",
510
- "equals": "sendSms"
305
+ "oneOf": ["sendSms"]
511
306
  },
512
307
  "optional": false
513
308
  },
@@ -533,7 +328,7 @@
533
328
  },
534
329
  {
535
330
  "label": "Date sent",
536
- "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
331
+ "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
537
332
  "group": "filter",
538
333
  "type": "String",
539
334
  "feel": "optional",
@@ -552,7 +347,7 @@
552
347
  },
553
348
  {
554
349
  "label": "Date before message was sent",
555
- "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
350
+ "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
556
351
  "group": "filter",
557
352
  "type": "String",
558
353
  "feel": "optional",
@@ -571,7 +366,7 @@
571
366
  },
572
367
  {
573
368
  "label": "Date after message was sent",
574
- "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
369
+ "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
575
370
  "group": "filter",
576
371
  "type": "String",
577
372
  "feel": "optional",
@@ -648,7 +443,7 @@
648
443
  },
649
444
  "condition": {
650
445
  "property": "operationType",
651
- "oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
446
+ "oneOf": ["sendSms", "listMessages"]
652
447
  }
653
448
  },
654
449
  {
@@ -699,7 +494,7 @@
699
494
  "constraints": {
700
495
  "notEmpty": false,
701
496
  "pattern": {
702
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
497
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
703
498
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
704
499
  }
705
500
  }
@@ -714,46 +509,22 @@
714
509
  "type": "zeebe:taskHeader",
715
510
  "key": "errorExpression"
716
511
  }
717
- },
718
- {
719
- "id": "version",
720
- "label": "Version",
721
- "description": "Version of the element template",
722
- "value": "6",
723
- "group": "connector",
724
- "binding": {
725
- "key": "elementTemplateVersion",
726
- "type": "zeebe:taskHeader"
727
- },
728
- "type": "Hidden"
729
- },
730
- {
731
- "id": "id",
732
- "label": "ID",
733
- "description": "ID of the element template",
734
- "value": "io.camunda.connectors.Twilio.v1",
735
- "group": "connector",
736
- "binding": {
737
- "key": "elementTemplateId",
738
- "type": "zeebe:taskHeader"
739
- },
740
- "type": "Hidden"
741
512
  }
742
- ]
513
+ ],
514
+ "engines": {
515
+ "camunda": "^8.2"
516
+ }
743
517
  },
744
518
  {
745
519
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
746
- "name": "Twilio Outbound Connector",
520
+ "name": "Twilio connector",
747
521
  "id": "io.camunda.connectors.Twilio.v1",
748
- "version": 5,
749
- "engines": {
750
- "camunda": "^8.3"
751
- },
522
+ "version": 1,
752
523
  "description": "Send SMS messages or retrieve message information using the Twilio API",
753
524
  "icon": {
754
525
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
755
526
  },
756
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
527
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
757
528
  "category": {
758
529
  "id": "connectors",
759
530
  "name": "Connectors"
@@ -793,7 +564,8 @@
793
564
  "type": "Hidden",
794
565
  "value": "io.camunda:http-json:1",
795
566
  "binding": {
796
- "type": "zeebe:taskDefinition:type"
567
+ "type": "zeebe:taskDefinition",
568
+ "property": "type"
797
569
  }
798
570
  },
799
571
  {
@@ -844,7 +616,7 @@
844
616
  },
845
617
  {
846
618
  "label": "Account SID",
847
- "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
619
+ "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
848
620
  "group": "authentication",
849
621
  "type": "String",
850
622
  "feel": "optional",
@@ -894,7 +666,7 @@
894
666
  },
895
667
  {
896
668
  "type": "Hidden",
897
- "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
669
+ "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
898
670
  "binding": {
899
671
  "type": "zeebe:input",
900
672
  "name": "headers"
@@ -907,7 +679,7 @@
907
679
  },
908
680
  {
909
681
  "label": "API key",
910
- "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
682
+ "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
911
683
  "group": "authentication",
912
684
  "type": "String",
913
685
  "feel": "optional",
@@ -925,7 +697,7 @@
925
697
  },
926
698
  {
927
699
  "label": "API secret",
928
- "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
700
+ "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
929
701
  "group": "authentication",
930
702
  "type": "String",
931
703
  "feel": "optional",
@@ -958,7 +730,7 @@
958
730
  },
959
731
  {
960
732
  "label": "Authentication token",
961
- "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
733
+ "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
962
734
  "group": "authentication",
963
735
  "type": "String",
964
736
  "feel": "optional",
@@ -1072,7 +844,7 @@
1072
844
  },
1073
845
  {
1074
846
  "label": "Date sent",
1075
- "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
847
+ "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
1076
848
  "group": "filter",
1077
849
  "type": "String",
1078
850
  "feel": "optional",
@@ -1091,7 +863,7 @@
1091
863
  },
1092
864
  {
1093
865
  "label": "Date before message was sent",
1094
- "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
866
+ "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
1095
867
  "group": "filter",
1096
868
  "type": "String",
1097
869
  "feel": "optional",
@@ -1110,7 +882,7 @@
1110
882
  },
1111
883
  {
1112
884
  "label": "Date after message was sent",
1113
- "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
885
+ "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
1114
886
  "group": "filter",
1115
887
  "type": "String",
1116
888
  "feel": "optional",
@@ -1238,7 +1010,7 @@
1238
1010
  "constraints": {
1239
1011
  "notEmpty": false,
1240
1012
  "pattern": {
1241
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1013
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
1242
1014
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1243
1015
  }
1244
1016
  }
@@ -1253,32 +1025,11 @@
1253
1025
  "type": "zeebe:taskHeader",
1254
1026
  "key": "errorExpression"
1255
1027
  }
1256
- },
1257
- {
1258
- "id": "version",
1259
- "label": "Version",
1260
- "description": "Version of the element template",
1261
- "value": "5",
1262
- "group": "connector",
1263
- "binding": {
1264
- "key": "elementTemplateVersion",
1265
- "type": "zeebe:taskHeader"
1266
- },
1267
- "type": "Hidden"
1268
- },
1269
- {
1270
- "id": "id",
1271
- "label": "ID",
1272
- "description": "ID of the element template",
1273
- "value": "io.camunda.connectors.Twilio.v1",
1274
- "group": "connector",
1275
- "binding": {
1276
- "key": "elementTemplateId",
1277
- "type": "zeebe:taskHeader"
1278
- },
1279
- "type": "Hidden"
1280
1028
  }
1281
- ]
1029
+ ],
1030
+ "engines": {
1031
+ "camunda": "^8.2"
1032
+ }
1282
1033
  },
1283
1034
  {
1284
1035
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -2314,14 +2065,27 @@
2314
2065
  },
2315
2066
  {
2316
2067
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2317
- "name": "Twilio connector",
2068
+ "name": "Twilio Outbound Connector",
2318
2069
  "id": "io.camunda.connectors.Twilio.v1",
2319
- "version": 1,
2320
- "description": "Send SMS messages or retrieve message information using the Twilio API",
2070
+ "version": 6,
2071
+ "engines": {
2072
+ "camunda": "^8.9"
2073
+ },
2074
+ "description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
2075
+ "keywords": [
2076
+ "send SMS",
2077
+ "get message",
2078
+ "list messages",
2079
+ "SMS",
2080
+ "text message",
2081
+ "phone",
2082
+ "messaging",
2083
+ "notification"
2084
+ ],
2321
2085
  "icon": {
2322
2086
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
2323
2087
  },
2324
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
2088
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
2325
2089
  "category": {
2326
2090
  "id": "connectors",
2327
2091
  "name": "Connectors"
@@ -2361,8 +2125,7 @@
2361
2125
  "type": "Hidden",
2362
2126
  "value": "io.camunda:http-json:1",
2363
2127
  "binding": {
2364
- "type": "zeebe:taskDefinition",
2365
- "property": "type"
2128
+ "type": "zeebe:taskDefinition:type"
2366
2129
  }
2367
2130
  },
2368
2131
  {
@@ -2376,6 +2139,10 @@
2376
2139
  "name": "Send a SMS",
2377
2140
  "value": "sendSms"
2378
2141
  },
2142
+ {
2143
+ "name": "Send a WhatsApp message",
2144
+ "value": "sendWhatsApp"
2145
+ },
2379
2146
  {
2380
2147
  "name": "Get message",
2381
2148
  "value": "getMessage"
@@ -2390,6 +2157,31 @@
2390
2157
  "name": "operationType"
2391
2158
  }
2392
2159
  },
2160
+ {
2161
+ "label": "WhatsApp message type",
2162
+ "id": "whatsappMessageType",
2163
+ "group": "operation",
2164
+ "type": "Dropdown",
2165
+ "optional": false,
2166
+ "choices": [
2167
+ {
2168
+ "name": "Free form message",
2169
+ "value": "whatsappFreeFormMessage"
2170
+ },
2171
+ {
2172
+ "name": "Template message",
2173
+ "value": "whatsappTemplateMessage"
2174
+ }
2175
+ ],
2176
+ "binding": {
2177
+ "type": "zeebe:input",
2178
+ "name": "whatsappMessageType"
2179
+ },
2180
+ "condition": {
2181
+ "property": "operationType",
2182
+ "equals": "sendWhatsApp"
2183
+ }
2184
+ },
2393
2185
  {
2394
2186
  "id": "authType",
2395
2187
  "label": "Authentication type",
@@ -2413,7 +2205,7 @@
2413
2205
  },
2414
2206
  {
2415
2207
  "label": "Account SID",
2416
- "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
2208
+ "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
2417
2209
  "group": "authentication",
2418
2210
  "type": "String",
2419
2211
  "feel": "optional",
@@ -2446,7 +2238,7 @@
2446
2238
  },
2447
2239
  "condition": {
2448
2240
  "property": "operationType",
2449
- "equals": "sendSms"
2241
+ "oneOf": ["sendSms", "sendWhatsApp"]
2450
2242
  }
2451
2243
  },
2452
2244
  {
@@ -2463,105 +2255,265 @@
2463
2255
  },
2464
2256
  {
2465
2257
  "type": "Hidden",
2466
- "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
2258
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
2467
2259
  "binding": {
2468
2260
  "type": "zeebe:input",
2469
2261
  "name": "headers"
2470
2262
  },
2471
2263
  "condition": {
2472
2264
  "property": "operationType",
2473
- "equals": "sendSms"
2265
+ "oneOf": ["sendSms", "sendWhatsApp"]
2266
+ },
2267
+ "optional": false
2268
+ },
2269
+ {
2270
+ "label": "API key",
2271
+ "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
2272
+ "group": "authentication",
2273
+ "type": "String",
2274
+ "feel": "optional",
2275
+ "binding": {
2276
+ "type": "zeebe:input",
2277
+ "name": "authentication.username"
2278
+ },
2279
+ "constraints": {
2280
+ "notEmpty": true
2281
+ },
2282
+ "condition": {
2283
+ "property": "authType",
2284
+ "equals": "apiKeySecret"
2285
+ }
2286
+ },
2287
+ {
2288
+ "label": "API secret",
2289
+ "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
2290
+ "group": "authentication",
2291
+ "type": "String",
2292
+ "feel": "optional",
2293
+ "binding": {
2294
+ "type": "zeebe:input",
2295
+ "name": "authentication.password"
2296
+ },
2297
+ "constraints": {
2298
+ "notEmpty": true
2299
+ },
2300
+ "condition": {
2301
+ "property": "authType",
2302
+ "equals": "apiKeySecret"
2303
+ }
2304
+ },
2305
+ {
2306
+ "type": "Hidden",
2307
+ "value": "=accountSid",
2308
+ "binding": {
2309
+ "type": "zeebe:input",
2310
+ "name": "authentication.username"
2311
+ },
2312
+ "constraints": {
2313
+ "notEmpty": true
2314
+ },
2315
+ "condition": {
2316
+ "property": "authType",
2317
+ "oneOf": ["accountSidAuthToken"]
2318
+ }
2319
+ },
2320
+ {
2321
+ "label": "Authentication token",
2322
+ "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
2323
+ "group": "authentication",
2324
+ "type": "String",
2325
+ "feel": "optional",
2326
+ "binding": {
2327
+ "type": "zeebe:input",
2328
+ "name": "authentication.password"
2329
+ },
2330
+ "constraints": {
2331
+ "notEmpty": true
2332
+ },
2333
+ "condition": {
2334
+ "property": "authType",
2335
+ "equals": "accountSidAuthToken"
2336
+ }
2337
+ },
2338
+ {
2339
+ "label": "Message SID",
2340
+ "description": "Obtain information regarding the message with SID",
2341
+ "group": "input",
2342
+ "type": "String",
2343
+ "feel": "optional",
2344
+ "binding": {
2345
+ "type": "zeebe:input",
2346
+ "name": "messageSid"
2347
+ },
2348
+ "constraints": {
2349
+ "notEmpty": true
2350
+ },
2351
+ "condition": {
2352
+ "property": "operationType",
2353
+ "oneOf": ["getMessage"]
2474
2354
  },
2475
2355
  "optional": false
2476
2356
  },
2477
2357
  {
2478
- "label": "API key",
2479
- "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
2480
- "group": "authentication",
2481
- "type": "String",
2358
+ "label": "WhatsApp message text",
2359
+ "description": "The content of the WhatsApp message that will be sent",
2360
+ "group": "input",
2361
+ "type": "Text",
2482
2362
  "feel": "optional",
2483
2363
  "binding": {
2484
2364
  "type": "zeebe:input",
2485
- "name": "authentication.username"
2365
+ "name": "WhatsAppBody"
2486
2366
  },
2487
2367
  "constraints": {
2488
2368
  "notEmpty": true
2489
2369
  },
2490
2370
  "condition": {
2491
- "property": "authType",
2492
- "equals": "apiKeySecret"
2493
- }
2371
+ "allMatch": [
2372
+ {
2373
+ "property": "operationType",
2374
+ "equals": "sendWhatsApp"
2375
+ },
2376
+ {
2377
+ "property": "whatsappMessageType",
2378
+ "equals": "whatsappFreeFormMessage"
2379
+ }
2380
+ ]
2381
+ },
2382
+ "optional": false
2494
2383
  },
2495
2384
  {
2496
- "label": "API secret",
2497
- "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
2498
- "group": "authentication",
2385
+ "label": "WhatsApp template ID",
2386
+ "description": "The ID of the WhatsApp template to be used",
2387
+ "group": "input",
2499
2388
  "type": "String",
2500
2389
  "feel": "optional",
2501
2390
  "binding": {
2502
2391
  "type": "zeebe:input",
2503
- "name": "authentication.password"
2392
+ "name": "ContentSid"
2504
2393
  },
2505
2394
  "constraints": {
2506
2395
  "notEmpty": true
2507
2396
  },
2508
2397
  "condition": {
2509
- "property": "authType",
2510
- "equals": "apiKeySecret"
2511
- }
2398
+ "allMatch": [
2399
+ {
2400
+ "property": "operationType",
2401
+ "equals": "sendWhatsApp"
2402
+ },
2403
+ {
2404
+ "property": "whatsappMessageType",
2405
+ "equals": "whatsappTemplateMessage"
2406
+ }
2407
+ ]
2408
+ },
2409
+ "optional": false
2512
2410
  },
2513
2411
  {
2514
- "type": "Hidden",
2515
- "value": "=accountSid",
2412
+ "label": "WhatsApp template parameters",
2413
+ "description": "Parameter values to substitute in the template provided as a FEEL context with numbered keys; make sure all keys and values are strings or are converted to strings!",
2414
+ "group": "input",
2415
+ "type": "Text",
2416
+ "feel": "required",
2417
+ "value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
2516
2418
  "binding": {
2517
2419
  "type": "zeebe:input",
2518
- "name": "authentication.username"
2420
+ "name": "ContentVariables"
2519
2421
  },
2520
2422
  "constraints": {
2521
2423
  "notEmpty": true
2522
2424
  },
2523
2425
  "condition": {
2524
- "property": "authType",
2525
- "oneOf": ["accountSidAuthToken"]
2526
- }
2426
+ "allMatch": [
2427
+ {
2428
+ "property": "operationType",
2429
+ "equals": "sendWhatsApp"
2430
+ },
2431
+ {
2432
+ "property": "whatsappMessageType",
2433
+ "equals": "whatsappTemplateMessage"
2434
+ }
2435
+ ]
2436
+ },
2437
+ "optional": false
2527
2438
  },
2528
2439
  {
2529
- "label": "Authentication token",
2530
- "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
2531
- "group": "authentication",
2440
+ "label": "From WhatsApp number",
2441
+ "description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
2442
+ "group": "input",
2532
2443
  "type": "String",
2533
2444
  "feel": "optional",
2534
2445
  "binding": {
2535
2446
  "type": "zeebe:input",
2536
- "name": "authentication.password"
2447
+ "name": "From"
2537
2448
  },
2538
2449
  "constraints": {
2539
2450
  "notEmpty": true
2540
2451
  },
2541
2452
  "condition": {
2542
- "property": "authType",
2543
- "equals": "accountSidAuthToken"
2544
- }
2453
+ "property": "operationType",
2454
+ "equals": "sendWhatsApp"
2455
+ },
2456
+ "optional": false
2545
2457
  },
2546
2458
  {
2547
- "label": "Message SID",
2548
- "description": "Obtain information regarding the message with SID",
2459
+ "label": "To WhatsApp number",
2460
+ "description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
2549
2461
  "group": "input",
2550
2462
  "type": "String",
2551
2463
  "feel": "optional",
2552
2464
  "binding": {
2553
2465
  "type": "zeebe:input",
2554
- "name": "messageSid"
2466
+ "name": "To"
2555
2467
  },
2556
2468
  "constraints": {
2557
2469
  "notEmpty": true
2558
2470
  },
2559
2471
  "condition": {
2560
2472
  "property": "operationType",
2561
- "oneOf": ["getMessage"]
2473
+ "equals": "sendWhatsApp"
2562
2474
  },
2563
2475
  "optional": false
2564
2476
  },
2477
+ {
2478
+ "type": "Hidden",
2479
+ "value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
2480
+ "binding": {
2481
+ "type": "zeebe:input",
2482
+ "name": "body"
2483
+ },
2484
+ "condition": {
2485
+ "allMatch": [
2486
+ {
2487
+ "property": "operationType",
2488
+ "equals": "sendWhatsApp"
2489
+ },
2490
+ {
2491
+ "property": "whatsappMessageType",
2492
+ "equals": "whatsappTemplateMessage"
2493
+ }
2494
+ ]
2495
+ }
2496
+ },
2497
+ {
2498
+ "type": "Hidden",
2499
+ "value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
2500
+ "binding": {
2501
+ "type": "zeebe:input",
2502
+ "name": "body"
2503
+ },
2504
+ "condition": {
2505
+ "allMatch": [
2506
+ {
2507
+ "property": "operationType",
2508
+ "equals": "sendWhatsApp"
2509
+ },
2510
+ {
2511
+ "property": "whatsappMessageType",
2512
+ "equals": "whatsappFreeFormMessage"
2513
+ }
2514
+ ]
2515
+ }
2516
+ },
2565
2517
  {
2566
2518
  "label": "Message text",
2567
2519
  "description": "The content of the message that will be sent",
@@ -2577,7 +2529,7 @@
2577
2529
  },
2578
2530
  "condition": {
2579
2531
  "property": "operationType",
2580
- "oneOf": ["sendSms"]
2532
+ "equals": "sendSms"
2581
2533
  },
2582
2534
  "optional": false
2583
2535
  },
@@ -2596,7 +2548,7 @@
2596
2548
  },
2597
2549
  "condition": {
2598
2550
  "property": "operationType",
2599
- "oneOf": ["sendSms"]
2551
+ "equals": "sendSms"
2600
2552
  },
2601
2553
  "optional": false
2602
2554
  },
@@ -2615,7 +2567,7 @@
2615
2567
  },
2616
2568
  "condition": {
2617
2569
  "property": "operationType",
2618
- "oneOf": ["sendSms"]
2570
+ "equals": "sendSms"
2619
2571
  },
2620
2572
  "optional": false
2621
2573
  },
@@ -2641,7 +2593,7 @@
2641
2593
  },
2642
2594
  {
2643
2595
  "label": "Date sent",
2644
- "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
2596
+ "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
2645
2597
  "group": "filter",
2646
2598
  "type": "String",
2647
2599
  "feel": "optional",
@@ -2660,7 +2612,7 @@
2660
2612
  },
2661
2613
  {
2662
2614
  "label": "Date before message was sent",
2663
- "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
2615
+ "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
2664
2616
  "group": "filter",
2665
2617
  "type": "String",
2666
2618
  "feel": "optional",
@@ -2679,7 +2631,7 @@
2679
2631
  },
2680
2632
  {
2681
2633
  "label": "Date after message was sent",
2682
- "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
2634
+ "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
2683
2635
  "group": "filter",
2684
2636
  "type": "String",
2685
2637
  "feel": "optional",
@@ -2756,7 +2708,7 @@
2756
2708
  },
2757
2709
  "condition": {
2758
2710
  "property": "operationType",
2759
- "oneOf": ["sendSms", "listMessages"]
2711
+ "oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
2760
2712
  }
2761
2713
  },
2762
2714
  {
@@ -2807,7 +2759,7 @@
2807
2759
  "constraints": {
2808
2760
  "notEmpty": false,
2809
2761
  "pattern": {
2810
- "value": "^(=|([0-9]+|secrets\\..+)$)",
2762
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2811
2763
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2812
2764
  }
2813
2765
  }
@@ -2822,22 +2774,46 @@
2822
2774
  "type": "zeebe:taskHeader",
2823
2775
  "key": "errorExpression"
2824
2776
  }
2777
+ },
2778
+ {
2779
+ "id": "version",
2780
+ "label": "Version",
2781
+ "description": "Version of the element template",
2782
+ "value": "6",
2783
+ "group": "connector",
2784
+ "binding": {
2785
+ "key": "elementTemplateVersion",
2786
+ "type": "zeebe:taskHeader"
2787
+ },
2788
+ "type": "Hidden"
2789
+ },
2790
+ {
2791
+ "id": "id",
2792
+ "label": "ID",
2793
+ "description": "ID of the element template",
2794
+ "value": "io.camunda.connectors.Twilio.v1",
2795
+ "group": "connector",
2796
+ "binding": {
2797
+ "key": "elementTemplateId",
2798
+ "type": "zeebe:taskHeader"
2799
+ },
2800
+ "type": "Hidden"
2825
2801
  }
2826
- ],
2827
- "engines": {
2828
- "camunda": "^8.2"
2829
- }
2802
+ ]
2830
2803
  },
2831
2804
  {
2832
2805
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2833
- "name": "Twilio connector",
2806
+ "name": "Twilio Outbound Connector",
2834
2807
  "id": "io.camunda.connectors.Twilio.v1",
2835
- "version": 2,
2808
+ "version": 5,
2809
+ "engines": {
2810
+ "camunda": "^8.3"
2811
+ },
2836
2812
  "description": "Send SMS messages or retrieve message information using the Twilio API",
2837
2813
  "icon": {
2838
2814
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
2839
2815
  },
2840
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
2816
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
2841
2817
  "category": {
2842
2818
  "id": "connectors",
2843
2819
  "name": "Connectors"
@@ -2877,8 +2853,7 @@
2877
2853
  "type": "Hidden",
2878
2854
  "value": "io.camunda:http-json:1",
2879
2855
  "binding": {
2880
- "type": "zeebe:taskDefinition",
2881
- "property": "type"
2856
+ "type": "zeebe:taskDefinition:type"
2882
2857
  }
2883
2858
  },
2884
2859
  {
@@ -2929,7 +2904,7 @@
2929
2904
  },
2930
2905
  {
2931
2906
  "label": "Account SID",
2932
- "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
2907
+ "description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
2933
2908
  "group": "authentication",
2934
2909
  "type": "String",
2935
2910
  "feel": "optional",
@@ -2979,7 +2954,7 @@
2979
2954
  },
2980
2955
  {
2981
2956
  "type": "Hidden",
2982
- "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
2957
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
2983
2958
  "binding": {
2984
2959
  "type": "zeebe:input",
2985
2960
  "name": "headers"
@@ -2992,7 +2967,7 @@
2992
2967
  },
2993
2968
  {
2994
2969
  "label": "API key",
2995
- "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
2970
+ "description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
2996
2971
  "group": "authentication",
2997
2972
  "type": "String",
2998
2973
  "feel": "optional",
@@ -3010,7 +2985,7 @@
3010
2985
  },
3011
2986
  {
3012
2987
  "label": "API secret",
3013
- "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
2988
+ "description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
3014
2989
  "group": "authentication",
3015
2990
  "type": "String",
3016
2991
  "feel": "optional",
@@ -3043,7 +3018,7 @@
3043
3018
  },
3044
3019
  {
3045
3020
  "label": "Authentication token",
3046
- "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
3021
+ "description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
3047
3022
  "group": "authentication",
3048
3023
  "type": "String",
3049
3024
  "feel": "optional",
@@ -3157,7 +3132,7 @@
3157
3132
  },
3158
3133
  {
3159
3134
  "label": "Date sent",
3160
- "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
3135
+ "description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
3161
3136
  "group": "filter",
3162
3137
  "type": "String",
3163
3138
  "feel": "optional",
@@ -3176,7 +3151,7 @@
3176
3151
  },
3177
3152
  {
3178
3153
  "label": "Date before message was sent",
3179
- "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
3154
+ "description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
3180
3155
  "group": "filter",
3181
3156
  "type": "String",
3182
3157
  "feel": "optional",
@@ -3195,7 +3170,7 @@
3195
3170
  },
3196
3171
  {
3197
3172
  "label": "Date after message was sent",
3198
- "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
3173
+ "description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
3199
3174
  "group": "filter",
3200
3175
  "type": "String",
3201
3176
  "feel": "optional",
@@ -3323,7 +3298,7 @@
3323
3298
  "constraints": {
3324
3299
  "notEmpty": false,
3325
3300
  "pattern": {
3326
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
3301
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3327
3302
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3328
3303
  }
3329
3304
  }
@@ -3338,17 +3313,38 @@
3338
3313
  "type": "zeebe:taskHeader",
3339
3314
  "key": "errorExpression"
3340
3315
  }
3316
+ },
3317
+ {
3318
+ "id": "version",
3319
+ "label": "Version",
3320
+ "description": "Version of the element template",
3321
+ "value": "5",
3322
+ "group": "connector",
3323
+ "binding": {
3324
+ "key": "elementTemplateVersion",
3325
+ "type": "zeebe:taskHeader"
3326
+ },
3327
+ "type": "Hidden"
3328
+ },
3329
+ {
3330
+ "id": "id",
3331
+ "label": "ID",
3332
+ "description": "ID of the element template",
3333
+ "value": "io.camunda.connectors.Twilio.v1",
3334
+ "group": "connector",
3335
+ "binding": {
3336
+ "key": "elementTemplateId",
3337
+ "type": "zeebe:taskHeader"
3338
+ },
3339
+ "type": "Hidden"
3341
3340
  }
3342
- ],
3343
- "engines": {
3344
- "camunda": "^8.2"
3345
- }
3341
+ ]
3346
3342
  },
3347
3343
  {
3348
3344
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3349
3345
  "name": "Twilio Outbound Connector",
3350
3346
  "id": "io.camunda.connectors.Twilio.v1",
3351
- "version": 6,
3347
+ "version": 7,
3352
3348
  "engines": {
3353
3349
  "camunda": "^8.9"
3354
3350
  },
@@ -3392,6 +3388,10 @@
3392
3388
  "id": "filter",
3393
3389
  "label": "Filter"
3394
3390
  },
3391
+ {
3392
+ "id": "connector",
3393
+ "label": "Connector"
3394
+ },
3395
3395
  {
3396
3396
  "id": "output",
3397
3397
  "label": "Response mapping"
@@ -3406,7 +3406,8 @@
3406
3406
  "type": "Hidden",
3407
3407
  "value": "io.camunda:http-json:1",
3408
3408
  "binding": {
3409
- "type": "zeebe:taskDefinition:type"
3409
+ "type": "zeebe:taskDefinition",
3410
+ "property": "type"
3410
3411
  }
3411
3412
  },
3412
3413
  {
@@ -3468,7 +3469,6 @@
3468
3469
  "label": "Authentication type",
3469
3470
  "group": "authentication",
3470
3471
  "type": "Dropdown",
3471
- "value": "get",
3472
3472
  "choices": [
3473
3473
  {
3474
3474
  "name": "Account SID and Auth token",