@camunda/connectors-element-templates 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/package.json +2 -2
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -3
  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 +49 -49
  8. package/src/element-templates/agenticai-aiagent-job-worker.json +389 -389
  9. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3928 -3928
  10. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +551 -551
  11. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +733 -733
  12. package/src/element-templates/asana-connector.json +111 -111
  13. package/src/element-templates/automation-anywhere-outbound-connector.json +1224 -1224
  14. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
  15. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
  16. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
  17. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
  18. package/src/element-templates/aws-bedrock-outbound-connector.json +432 -432
  19. package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
  20. package/src/element-templates/aws-dynamodb-outbound-connector.json +3518 -2166
  21. package/src/element-templates/aws-eventbridge-connector-boundary.json +38 -38
  22. package/src/element-templates/aws-eventbridge-connector-intermediate.json +80 -80
  23. package/src/element-templates/aws-eventbridge-connector-message-start.json +21 -21
  24. package/src/element-templates/aws-eventbridge-connector-receive.json +6 -6
  25. package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
  26. package/src/element-templates/aws-eventbridge-outbound-connector.json +306 -306
  27. package/src/element-templates/aws-lambda-outbound-connector.json +279 -279
  28. package/src/element-templates/aws-s3-outbound-connector.json +721 -48
  29. package/src/element-templates/aws-sagemaker-outbound-connector.json +59 -59
  30. package/src/element-templates/aws-sns-inbound-boundary.json +181 -181
  31. package/src/element-templates/aws-sns-inbound-intermediate.json +325 -325
  32. package/src/element-templates/aws-sns-inbound-message-start.json +350 -350
  33. package/src/element-templates/aws-sns-inbound-start-event.json +140 -140
  34. package/src/element-templates/aws-sns-outbound-connector.json +301 -301
  35. package/src/element-templates/aws-sqs-boundary-connector.json +930 -930
  36. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +628 -628
  37. package/src/element-templates/aws-sqs-outbound-connector.json +366 -366
  38. package/src/element-templates/aws-sqs-start-event-connector.json +717 -717
  39. package/src/element-templates/aws-sqs-start-message.json +488 -488
  40. package/src/element-templates/aws-textract-outbound-connector.json +351 -351
  41. package/src/element-templates/azure-blobstorage-outbound-connector.json +201 -201
  42. package/src/element-templates/azure-open-ai-connector.json +49 -49
  43. package/src/element-templates/blue-prism-connector.json +64 -64
  44. package/src/element-templates/box-outbound-connector.json +49 -49
  45. package/src/element-templates/csv-outbound-connector.json +449 -0
  46. package/src/element-templates/easy-post-connector.json +214 -214
  47. package/src/element-templates/email-inbound-connector-boundary.json +37 -37
  48. package/src/element-templates/email-inbound-connector-intermediate.json +37 -37
  49. package/src/element-templates/email-message-start-event-connector.json +63 -63
  50. package/src/element-templates/email-outbound-connector.json +903 -903
  51. package/src/element-templates/embeddings-vector-database-outbound-connector.json +520 -520
  52. package/src/element-templates/github-connector.json +8446 -8446
  53. package/src/element-templates/github-webhook-connector-intermediate.json +55 -55
  54. package/src/element-templates/github-webhook-connector-message-start.json +19 -19
  55. package/src/element-templates/github-webhook-connector-start-event.json +52 -52
  56. package/src/element-templates/gitlab-connector.json +2344 -2344
  57. package/src/element-templates/google-cloud-storage-outbound-connector.json +201 -201
  58. package/src/element-templates/google-drive-outbound-connector.json +1106 -1106
  59. package/src/element-templates/google-gemini-outbound-connector.json +125 -125
  60. package/src/element-templates/google-maps-platform-connector.json +97 -97
  61. package/src/element-templates/google-sheets-outbound-connector.json +3100 -3100
  62. package/src/element-templates/graphql-outbound-connector.json +738 -631
  63. package/src/element-templates/http-json-connector.json +3249 -1651
  64. package/src/element-templates/http-polling-boundary-catch-event-connector.json +866 -764
  65. package/src/element-templates/http-polling-connector.json +851 -749
  66. package/src/element-templates/hubspot-outbound-connector.json +67 -67
  67. package/src/element-templates/hugging-face-connector.json +79 -79
  68. package/src/element-templates/jdbc-outbound-connector.json +68 -68
  69. package/src/element-templates/kafka-inbound-connector-boundary.json +927 -927
  70. package/src/element-templates/kafka-inbound-connector-intermediate.json +1125 -1125
  71. package/src/element-templates/kafka-inbound-connector-start-message.json +650 -650
  72. package/src/element-templates/kafka-outbound-connector.json +424 -424
  73. package/src/element-templates/microsoft-office365-mail-connector.json +993 -7
  74. package/src/element-templates/microsoft-teams-outbound-connector.json +4145 -4145
  75. package/src/element-templates/openai-connector.json +317 -317
  76. package/src/element-templates/operate-connector.json +142 -142
  77. package/src/element-templates/power-automate-connector.json +44 -44
  78. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +905 -905
  79. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +763 -763
  80. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +470 -470
  81. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +752 -752
  82. package/src/element-templates/rabbitmq-outbound-connector.json +367 -367
  83. package/src/element-templates/rpa-connector.json +5 -5
  84. package/src/element-templates/salesforce-connector.json +112 -112
  85. package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
  86. package/src/element-templates/send-message-connector-message-end-event.json +1 -1
  87. package/src/element-templates/send-message-connector-send-task.json +1 -1
  88. package/src/element-templates/sendgrid-outbound-connector.json +1220 -1220
  89. package/src/element-templates/servicenow-connector.json +7 -7
  90. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  91. package/src/element-templates/servicenow-incident-connector.json +7 -7
  92. package/src/element-templates/slack-inbound-boundary.json +463 -463
  93. package/src/element-templates/slack-inbound-intermediate.json +506 -506
  94. package/src/element-templates/slack-inbound-message-start.json +364 -364
  95. package/src/element-templates/slack-inbound-receive.json +23 -23
  96. package/src/element-templates/slack-inbound-start-event.json +334 -334
  97. package/src/element-templates/slack-outbound-connector.json +1803 -1803
  98. package/src/element-templates/soap-outbound-connector.json +1 -1
  99. package/src/element-templates/twilio-connector.json +355 -355
  100. package/src/element-templates/twilio-webhook-boundary-connector.json +35 -35
  101. package/src/element-templates/twilio-webhook-connector.json +53 -53
  102. package/src/element-templates/twilio-webhook-intermediate-connector.json +39 -39
  103. package/src/element-templates/twilio-webhook-message-start-connector.json +26 -26
  104. package/src/element-templates/uipath-connector.json +4 -4
  105. package/src/element-templates/webhook-connector-boundary.json +1205 -1205
  106. package/src/element-templates/webhook-connector-intermediate.json +1550 -1550
  107. package/src/element-templates/webhook-connector-receive.json +61 -61
  108. package/src/element-templates/webhook-connector-start-event.json +1606 -1606
  109. package/src/element-templates/webhook-connector-start-message.json +1300 -1300
  110. package/src/element-templates/whatsapp-connector.json +59 -59
@@ -3,21 +3,8 @@
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
4
  "name": "Twilio Outbound 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": 4,
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
  },
@@ -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",
@@ -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
  {
@@ -202,7 +157,7 @@
202
157
  },
203
158
  "condition": {
204
159
  "property": "operationType",
205
- "oneOf": ["sendSms", "sendWhatsApp"]
160
+ "equals": "sendSms"
206
161
  },
207
162
  "optional": false
208
163
  },
@@ -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
  },
@@ -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
  {
@@ -706,7 +501,7 @@
706
501
  },
707
502
  {
708
503
  "label": "Error expression",
709
- "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>",
504
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
710
505
  "group": "errors",
711
506
  "type": "Text",
712
507
  "feel": "required",
@@ -714,41 +509,17 @@
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.6"
516
+ }
743
517
  },
744
518
  {
745
519
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
746
520
  "name": "Twilio Outbound Connector",
747
521
  "id": "io.camunda.connectors.Twilio.v1",
748
- "version": 5,
749
- "engines": {
750
- "camunda": "^8.3"
751
- },
522
+ "version": 3,
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"
@@ -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
  {
@@ -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"
@@ -1245,7 +1017,7 @@
1245
1017
  },
1246
1018
  {
1247
1019
  "label": "Error expression",
1248
- "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>",
1020
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
1249
1021
  "group": "errors",
1250
1022
  "type": "Text",
1251
1023
  "feel": "required",
@@ -1253,43 +1025,22 @@
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",
1285
- "name": "Twilio Outbound Connector",
1036
+ "name": "Twilio connector",
1286
1037
  "id": "io.camunda.connectors.Twilio.v1",
1287
- "version": 3,
1038
+ "version": 2,
1288
1039
  "description": "Send SMS messages or retrieve message information using the Twilio API",
1289
1040
  "icon": {
1290
1041
  "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"
1291
1042
  },
1292
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
1043
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
1293
1044
  "category": {
1294
1045
  "id": "connectors",
1295
1046
  "name": "Connectors"
@@ -1381,7 +1132,7 @@
1381
1132
  },
1382
1133
  {
1383
1134
  "label": "Account SID",
1384
- "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>",
1135
+ "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>",
1385
1136
  "group": "authentication",
1386
1137
  "type": "String",
1387
1138
  "feel": "optional",
@@ -1444,7 +1195,7 @@
1444
1195
  },
1445
1196
  {
1446
1197
  "label": "API key",
1447
- "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",
1198
+ "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",
1448
1199
  "group": "authentication",
1449
1200
  "type": "String",
1450
1201
  "feel": "optional",
@@ -1462,7 +1213,7 @@
1462
1213
  },
1463
1214
  {
1464
1215
  "label": "API secret",
1465
- "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",
1216
+ "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",
1466
1217
  "group": "authentication",
1467
1218
  "type": "String",
1468
1219
  "feel": "optional",
@@ -1495,7 +1246,7 @@
1495
1246
  },
1496
1247
  {
1497
1248
  "label": "Authentication token",
1498
- "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>",
1249
+ "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>",
1499
1250
  "group": "authentication",
1500
1251
  "type": "String",
1501
1252
  "feel": "optional",
@@ -1609,7 +1360,7 @@
1609
1360
  },
1610
1361
  {
1611
1362
  "label": "Date sent",
1612
- "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>)",
1363
+ "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>)",
1613
1364
  "group": "filter",
1614
1365
  "type": "String",
1615
1366
  "feel": "optional",
@@ -1628,7 +1379,7 @@
1628
1379
  },
1629
1380
  {
1630
1381
  "label": "Date before message was sent",
1631
- "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>)",
1382
+ "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>)",
1632
1383
  "group": "filter",
1633
1384
  "type": "String",
1634
1385
  "feel": "optional",
@@ -1647,7 +1398,7 @@
1647
1398
  },
1648
1399
  {
1649
1400
  "label": "Date after message was sent",
1650
- "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>)",
1401
+ "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>)",
1651
1402
  "group": "filter",
1652
1403
  "type": "String",
1653
1404
  "feel": "optional",
@@ -1775,14 +1526,14 @@
1775
1526
  "constraints": {
1776
1527
  "notEmpty": false,
1777
1528
  "pattern": {
1778
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1529
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1779
1530
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1780
1531
  }
1781
1532
  }
1782
1533
  },
1783
1534
  {
1784
1535
  "label": "Error expression",
1785
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
1536
+ "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>",
1786
1537
  "group": "errors",
1787
1538
  "type": "Text",
1788
1539
  "feel": "required",
@@ -1800,8 +1551,21 @@
1800
1551
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1801
1552
  "name": "Twilio Outbound Connector",
1802
1553
  "id": "io.camunda.connectors.Twilio.v1",
1803
- "version": 4,
1804
- "description": "Send SMS messages or retrieve message information using the Twilio API",
1554
+ "version": 6,
1555
+ "engines": {
1556
+ "camunda": "^8.9"
1557
+ },
1558
+ "description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
1559
+ "keywords": [
1560
+ "send SMS",
1561
+ "get message",
1562
+ "list messages",
1563
+ "SMS",
1564
+ "text message",
1565
+ "phone",
1566
+ "messaging",
1567
+ "notification"
1568
+ ],
1805
1569
  "icon": {
1806
1570
  "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"
1807
1571
  },
@@ -1845,8 +1609,7 @@
1845
1609
  "type": "Hidden",
1846
1610
  "value": "io.camunda:http-json:1",
1847
1611
  "binding": {
1848
- "type": "zeebe:taskDefinition",
1849
- "property": "type"
1612
+ "type": "zeebe:taskDefinition:type"
1850
1613
  }
1851
1614
  },
1852
1615
  {
@@ -1860,6 +1623,10 @@
1860
1623
  "name": "Send a SMS",
1861
1624
  "value": "sendSms"
1862
1625
  },
1626
+ {
1627
+ "name": "Send a WhatsApp message",
1628
+ "value": "sendWhatsApp"
1629
+ },
1863
1630
  {
1864
1631
  "name": "Get message",
1865
1632
  "value": "getMessage"
@@ -1874,6 +1641,31 @@
1874
1641
  "name": "operationType"
1875
1642
  }
1876
1643
  },
1644
+ {
1645
+ "label": "WhatsApp message type",
1646
+ "id": "whatsappMessageType",
1647
+ "group": "operation",
1648
+ "type": "Dropdown",
1649
+ "optional": false,
1650
+ "choices": [
1651
+ {
1652
+ "name": "Free form message",
1653
+ "value": "whatsappFreeFormMessage"
1654
+ },
1655
+ {
1656
+ "name": "Template message",
1657
+ "value": "whatsappTemplateMessage"
1658
+ }
1659
+ ],
1660
+ "binding": {
1661
+ "type": "zeebe:input",
1662
+ "name": "whatsappMessageType"
1663
+ },
1664
+ "condition": {
1665
+ "property": "operationType",
1666
+ "equals": "sendWhatsApp"
1667
+ }
1668
+ },
1877
1669
  {
1878
1670
  "id": "authType",
1879
1671
  "label": "Authentication type",
@@ -1930,7 +1722,7 @@
1930
1722
  },
1931
1723
  "condition": {
1932
1724
  "property": "operationType",
1933
- "equals": "sendSms"
1725
+ "oneOf": ["sendSms", "sendWhatsApp"]
1934
1726
  }
1935
1727
  },
1936
1728
  {
@@ -1950,102 +1742,262 @@
1950
1742
  "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
1951
1743
  "binding": {
1952
1744
  "type": "zeebe:input",
1953
- "name": "headers"
1745
+ "name": "headers"
1746
+ },
1747
+ "condition": {
1748
+ "property": "operationType",
1749
+ "oneOf": ["sendSms", "sendWhatsApp"]
1750
+ },
1751
+ "optional": false
1752
+ },
1753
+ {
1754
+ "label": "API key",
1755
+ "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",
1756
+ "group": "authentication",
1757
+ "type": "String",
1758
+ "feel": "optional",
1759
+ "binding": {
1760
+ "type": "zeebe:input",
1761
+ "name": "authentication.username"
1762
+ },
1763
+ "constraints": {
1764
+ "notEmpty": true
1765
+ },
1766
+ "condition": {
1767
+ "property": "authType",
1768
+ "equals": "apiKeySecret"
1769
+ }
1770
+ },
1771
+ {
1772
+ "label": "API secret",
1773
+ "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",
1774
+ "group": "authentication",
1775
+ "type": "String",
1776
+ "feel": "optional",
1777
+ "binding": {
1778
+ "type": "zeebe:input",
1779
+ "name": "authentication.password"
1780
+ },
1781
+ "constraints": {
1782
+ "notEmpty": true
1783
+ },
1784
+ "condition": {
1785
+ "property": "authType",
1786
+ "equals": "apiKeySecret"
1787
+ }
1788
+ },
1789
+ {
1790
+ "type": "Hidden",
1791
+ "value": "=accountSid",
1792
+ "binding": {
1793
+ "type": "zeebe:input",
1794
+ "name": "authentication.username"
1795
+ },
1796
+ "constraints": {
1797
+ "notEmpty": true
1798
+ },
1799
+ "condition": {
1800
+ "property": "authType",
1801
+ "oneOf": ["accountSidAuthToken"]
1802
+ }
1803
+ },
1804
+ {
1805
+ "label": "Authentication token",
1806
+ "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>",
1807
+ "group": "authentication",
1808
+ "type": "String",
1809
+ "feel": "optional",
1810
+ "binding": {
1811
+ "type": "zeebe:input",
1812
+ "name": "authentication.password"
1813
+ },
1814
+ "constraints": {
1815
+ "notEmpty": true
1816
+ },
1817
+ "condition": {
1818
+ "property": "authType",
1819
+ "equals": "accountSidAuthToken"
1820
+ }
1821
+ },
1822
+ {
1823
+ "label": "Message SID",
1824
+ "description": "Obtain information regarding the message with SID",
1825
+ "group": "input",
1826
+ "type": "String",
1827
+ "feel": "optional",
1828
+ "binding": {
1829
+ "type": "zeebe:input",
1830
+ "name": "messageSid"
1831
+ },
1832
+ "constraints": {
1833
+ "notEmpty": true
1954
1834
  },
1955
1835
  "condition": {
1956
1836
  "property": "operationType",
1957
- "equals": "sendSms"
1837
+ "oneOf": ["getMessage"]
1958
1838
  },
1959
1839
  "optional": false
1960
1840
  },
1961
1841
  {
1962
- "label": "API key",
1963
- "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",
1964
- "group": "authentication",
1965
- "type": "String",
1842
+ "label": "WhatsApp message text",
1843
+ "description": "The content of the WhatsApp message that will be sent",
1844
+ "group": "input",
1845
+ "type": "Text",
1966
1846
  "feel": "optional",
1967
1847
  "binding": {
1968
1848
  "type": "zeebe:input",
1969
- "name": "authentication.username"
1849
+ "name": "WhatsAppBody"
1970
1850
  },
1971
1851
  "constraints": {
1972
1852
  "notEmpty": true
1973
1853
  },
1974
1854
  "condition": {
1975
- "property": "authType",
1976
- "equals": "apiKeySecret"
1977
- }
1855
+ "allMatch": [
1856
+ {
1857
+ "property": "operationType",
1858
+ "equals": "sendWhatsApp"
1859
+ },
1860
+ {
1861
+ "property": "whatsappMessageType",
1862
+ "equals": "whatsappFreeFormMessage"
1863
+ }
1864
+ ]
1865
+ },
1866
+ "optional": false
1978
1867
  },
1979
1868
  {
1980
- "label": "API secret",
1981
- "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",
1982
- "group": "authentication",
1869
+ "label": "WhatsApp template ID",
1870
+ "description": "The ID of the WhatsApp template to be used",
1871
+ "group": "input",
1983
1872
  "type": "String",
1984
1873
  "feel": "optional",
1985
1874
  "binding": {
1986
1875
  "type": "zeebe:input",
1987
- "name": "authentication.password"
1876
+ "name": "ContentSid"
1988
1877
  },
1989
1878
  "constraints": {
1990
1879
  "notEmpty": true
1991
1880
  },
1992
1881
  "condition": {
1993
- "property": "authType",
1994
- "equals": "apiKeySecret"
1995
- }
1882
+ "allMatch": [
1883
+ {
1884
+ "property": "operationType",
1885
+ "equals": "sendWhatsApp"
1886
+ },
1887
+ {
1888
+ "property": "whatsappMessageType",
1889
+ "equals": "whatsappTemplateMessage"
1890
+ }
1891
+ ]
1892
+ },
1893
+ "optional": false
1996
1894
  },
1997
1895
  {
1998
- "type": "Hidden",
1999
- "value": "=accountSid",
1896
+ "label": "WhatsApp template parameters",
1897
+ "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!",
1898
+ "group": "input",
1899
+ "type": "Text",
1900
+ "feel": "required",
1901
+ "value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
2000
1902
  "binding": {
2001
1903
  "type": "zeebe:input",
2002
- "name": "authentication.username"
1904
+ "name": "ContentVariables"
2003
1905
  },
2004
1906
  "constraints": {
2005
1907
  "notEmpty": true
2006
1908
  },
2007
1909
  "condition": {
2008
- "property": "authType",
2009
- "oneOf": ["accountSidAuthToken"]
2010
- }
1910
+ "allMatch": [
1911
+ {
1912
+ "property": "operationType",
1913
+ "equals": "sendWhatsApp"
1914
+ },
1915
+ {
1916
+ "property": "whatsappMessageType",
1917
+ "equals": "whatsappTemplateMessage"
1918
+ }
1919
+ ]
1920
+ },
1921
+ "optional": false
2011
1922
  },
2012
1923
  {
2013
- "label": "Authentication token",
2014
- "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>",
2015
- "group": "authentication",
1924
+ "label": "From WhatsApp number",
1925
+ "description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
1926
+ "group": "input",
2016
1927
  "type": "String",
2017
1928
  "feel": "optional",
2018
1929
  "binding": {
2019
1930
  "type": "zeebe:input",
2020
- "name": "authentication.password"
1931
+ "name": "From"
2021
1932
  },
2022
1933
  "constraints": {
2023
1934
  "notEmpty": true
2024
1935
  },
2025
1936
  "condition": {
2026
- "property": "authType",
2027
- "equals": "accountSidAuthToken"
2028
- }
1937
+ "property": "operationType",
1938
+ "equals": "sendWhatsApp"
1939
+ },
1940
+ "optional": false
2029
1941
  },
2030
1942
  {
2031
- "label": "Message SID",
2032
- "description": "Obtain information regarding the message with SID",
1943
+ "label": "To WhatsApp number",
1944
+ "description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
2033
1945
  "group": "input",
2034
1946
  "type": "String",
2035
1947
  "feel": "optional",
2036
1948
  "binding": {
2037
1949
  "type": "zeebe:input",
2038
- "name": "messageSid"
1950
+ "name": "To"
2039
1951
  },
2040
1952
  "constraints": {
2041
1953
  "notEmpty": true
2042
1954
  },
2043
1955
  "condition": {
2044
1956
  "property": "operationType",
2045
- "oneOf": ["getMessage"]
1957
+ "equals": "sendWhatsApp"
2046
1958
  },
2047
1959
  "optional": false
2048
1960
  },
1961
+ {
1962
+ "type": "Hidden",
1963
+ "value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
1964
+ "binding": {
1965
+ "type": "zeebe:input",
1966
+ "name": "body"
1967
+ },
1968
+ "condition": {
1969
+ "allMatch": [
1970
+ {
1971
+ "property": "operationType",
1972
+ "equals": "sendWhatsApp"
1973
+ },
1974
+ {
1975
+ "property": "whatsappMessageType",
1976
+ "equals": "whatsappTemplateMessage"
1977
+ }
1978
+ ]
1979
+ }
1980
+ },
1981
+ {
1982
+ "type": "Hidden",
1983
+ "value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
1984
+ "binding": {
1985
+ "type": "zeebe:input",
1986
+ "name": "body"
1987
+ },
1988
+ "condition": {
1989
+ "allMatch": [
1990
+ {
1991
+ "property": "operationType",
1992
+ "equals": "sendWhatsApp"
1993
+ },
1994
+ {
1995
+ "property": "whatsappMessageType",
1996
+ "equals": "whatsappFreeFormMessage"
1997
+ }
1998
+ ]
1999
+ }
2000
+ },
2049
2001
  {
2050
2002
  "label": "Message text",
2051
2003
  "description": "The content of the message that will be sent",
@@ -2061,7 +2013,7 @@
2061
2013
  },
2062
2014
  "condition": {
2063
2015
  "property": "operationType",
2064
- "oneOf": ["sendSms"]
2016
+ "equals": "sendSms"
2065
2017
  },
2066
2018
  "optional": false
2067
2019
  },
@@ -2080,7 +2032,7 @@
2080
2032
  },
2081
2033
  "condition": {
2082
2034
  "property": "operationType",
2083
- "oneOf": ["sendSms"]
2035
+ "equals": "sendSms"
2084
2036
  },
2085
2037
  "optional": false
2086
2038
  },
@@ -2099,7 +2051,7 @@
2099
2051
  },
2100
2052
  "condition": {
2101
2053
  "property": "operationType",
2102
- "oneOf": ["sendSms"]
2054
+ "equals": "sendSms"
2103
2055
  },
2104
2056
  "optional": false
2105
2057
  },
@@ -2240,7 +2192,7 @@
2240
2192
  },
2241
2193
  "condition": {
2242
2194
  "property": "operationType",
2243
- "oneOf": ["sendSms", "listMessages"]
2195
+ "oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
2244
2196
  }
2245
2197
  },
2246
2198
  {
@@ -2298,7 +2250,7 @@
2298
2250
  },
2299
2251
  {
2300
2252
  "label": "Error expression",
2301
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
2253
+ "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>",
2302
2254
  "group": "errors",
2303
2255
  "type": "Text",
2304
2256
  "feel": "required",
@@ -2306,22 +2258,46 @@
2306
2258
  "type": "zeebe:taskHeader",
2307
2259
  "key": "errorExpression"
2308
2260
  }
2261
+ },
2262
+ {
2263
+ "id": "version",
2264
+ "label": "Version",
2265
+ "description": "Version of the element template",
2266
+ "value": "6",
2267
+ "group": "connector",
2268
+ "binding": {
2269
+ "key": "elementTemplateVersion",
2270
+ "type": "zeebe:taskHeader"
2271
+ },
2272
+ "type": "Hidden"
2273
+ },
2274
+ {
2275
+ "id": "id",
2276
+ "label": "ID",
2277
+ "description": "ID of the element template",
2278
+ "value": "io.camunda.connectors.Twilio.v1",
2279
+ "group": "connector",
2280
+ "binding": {
2281
+ "key": "elementTemplateId",
2282
+ "type": "zeebe:taskHeader"
2283
+ },
2284
+ "type": "Hidden"
2309
2285
  }
2310
- ],
2311
- "engines": {
2312
- "camunda": "^8.6"
2313
- }
2286
+ ]
2314
2287
  },
2315
2288
  {
2316
2289
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2317
- "name": "Twilio connector",
2290
+ "name": "Twilio Outbound Connector",
2318
2291
  "id": "io.camunda.connectors.Twilio.v1",
2319
- "version": 1,
2292
+ "version": 5,
2293
+ "engines": {
2294
+ "camunda": "^8.3"
2295
+ },
2320
2296
  "description": "Send SMS messages or retrieve message information using the Twilio API",
2321
2297
  "icon": {
2322
2298
  "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
2299
  },
2324
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
2300
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
2325
2301
  "category": {
2326
2302
  "id": "connectors",
2327
2303
  "name": "Connectors"
@@ -2361,8 +2337,7 @@
2361
2337
  "type": "Hidden",
2362
2338
  "value": "io.camunda:http-json:1",
2363
2339
  "binding": {
2364
- "type": "zeebe:taskDefinition",
2365
- "property": "type"
2340
+ "type": "zeebe:taskDefinition:type"
2366
2341
  }
2367
2342
  },
2368
2343
  {
@@ -2413,7 +2388,7 @@
2413
2388
  },
2414
2389
  {
2415
2390
  "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>",
2391
+ "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
2392
  "group": "authentication",
2418
2393
  "type": "String",
2419
2394
  "feel": "optional",
@@ -2463,7 +2438,7 @@
2463
2438
  },
2464
2439
  {
2465
2440
  "type": "Hidden",
2466
- "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
2441
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
2467
2442
  "binding": {
2468
2443
  "type": "zeebe:input",
2469
2444
  "name": "headers"
@@ -2476,7 +2451,7 @@
2476
2451
  },
2477
2452
  {
2478
2453
  "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",
2454
+ "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",
2480
2455
  "group": "authentication",
2481
2456
  "type": "String",
2482
2457
  "feel": "optional",
@@ -2494,7 +2469,7 @@
2494
2469
  },
2495
2470
  {
2496
2471
  "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",
2472
+ "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",
2498
2473
  "group": "authentication",
2499
2474
  "type": "String",
2500
2475
  "feel": "optional",
@@ -2527,7 +2502,7 @@
2527
2502
  },
2528
2503
  {
2529
2504
  "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>",
2505
+ "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>",
2531
2506
  "group": "authentication",
2532
2507
  "type": "String",
2533
2508
  "feel": "optional",
@@ -2641,7 +2616,7 @@
2641
2616
  },
2642
2617
  {
2643
2618
  "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>)",
2619
+ "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
2620
  "group": "filter",
2646
2621
  "type": "String",
2647
2622
  "feel": "optional",
@@ -2660,7 +2635,7 @@
2660
2635
  },
2661
2636
  {
2662
2637
  "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>)",
2638
+ "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
2639
  "group": "filter",
2665
2640
  "type": "String",
2666
2641
  "feel": "optional",
@@ -2679,7 +2654,7 @@
2679
2654
  },
2680
2655
  {
2681
2656
  "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>)",
2657
+ "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
2658
  "group": "filter",
2684
2659
  "type": "String",
2685
2660
  "feel": "optional",
@@ -2807,7 +2782,7 @@
2807
2782
  "constraints": {
2808
2783
  "notEmpty": false,
2809
2784
  "pattern": {
2810
- "value": "^(=|([0-9]+|secrets\\..+)$)",
2785
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2811
2786
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2812
2787
  }
2813
2788
  }
@@ -2822,17 +2797,38 @@
2822
2797
  "type": "zeebe:taskHeader",
2823
2798
  "key": "errorExpression"
2824
2799
  }
2800
+ },
2801
+ {
2802
+ "id": "version",
2803
+ "label": "Version",
2804
+ "description": "Version of the element template",
2805
+ "value": "5",
2806
+ "group": "connector",
2807
+ "binding": {
2808
+ "key": "elementTemplateVersion",
2809
+ "type": "zeebe:taskHeader"
2810
+ },
2811
+ "type": "Hidden"
2812
+ },
2813
+ {
2814
+ "id": "id",
2815
+ "label": "ID",
2816
+ "description": "ID of the element template",
2817
+ "value": "io.camunda.connectors.Twilio.v1",
2818
+ "group": "connector",
2819
+ "binding": {
2820
+ "key": "elementTemplateId",
2821
+ "type": "zeebe:taskHeader"
2822
+ },
2823
+ "type": "Hidden"
2825
2824
  }
2826
- ],
2827
- "engines": {
2828
- "camunda": "^8.2"
2829
- }
2825
+ ]
2830
2826
  },
2831
2827
  {
2832
2828
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2833
2829
  "name": "Twilio connector",
2834
2830
  "id": "io.camunda.connectors.Twilio.v1",
2835
- "version": 2,
2831
+ "version": 1,
2836
2832
  "description": "Send SMS messages or retrieve message information using the Twilio API",
2837
2833
  "icon": {
2838
2834
  "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"
@@ -3323,7 +3319,7 @@
3323
3319
  "constraints": {
3324
3320
  "notEmpty": false,
3325
3321
  "pattern": {
3326
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
3322
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
3327
3323
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3328
3324
  }
3329
3325
  }
@@ -3348,7 +3344,7 @@
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",