@camunda/connectors-element-templates 1.0.17 → 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 (125) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -2
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +4 -7
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +8 -8
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +8 -8
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +8 -8
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +8 -8
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +9 -12
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3770 -29
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6274 -2594
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +549 -552
  12. package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
  13. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +736 -739
  14. package/src/element-templates/asana-connector.json +759 -48
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1763 -1759
  16. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
  17. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
  18. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
  19. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
  20. package/src/element-templates/aws-bedrock-outbound-connector.json +747 -10
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1358 -1358
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +383 -18
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +377 -12
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +407 -8
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
  29. package/src/element-templates/aws-lambda-outbound-connector.json +238 -234
  30. package/src/element-templates/aws-s3-outbound-connector.json +646 -5
  31. package/src/element-templates/aws-sagemaker-outbound-connector.json +13 -9
  32. package/src/element-templates/aws-sns-inbound-boundary.json +44 -37
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +210 -203
  34. package/src/element-templates/aws-sns-inbound-message-start.json +125 -118
  35. package/src/element-templates/aws-sns-inbound-receive.json +13 -6
  36. package/src/element-templates/aws-sns-inbound-start-event.json +134 -127
  37. package/src/element-templates/aws-sns-outbound-connector.json +581 -577
  38. package/src/element-templates/aws-sqs-boundary-connector.json +453 -449
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +530 -526
  40. package/src/element-templates/aws-sqs-outbound-connector.json +711 -709
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +213 -205
  43. package/src/element-templates/aws-sqs-start-message.json +461 -457
  44. package/src/element-templates/aws-textract-outbound-connector.json +109 -105
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +676 -19
  46. package/src/element-templates/azure-open-ai-connector.json +1329 -4
  47. package/src/element-templates/blue-prism-connector.json +569 -24
  48. package/src/element-templates/box-outbound-connector.json +924 -12
  49. package/src/element-templates/csv-outbound-connector.json +13 -5
  50. package/src/element-templates/easy-post-connector.json +1077 -109
  51. package/src/element-templates/email-inbound-connector-boundary.json +32 -24
  52. package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
  53. package/src/element-templates/email-inbound-connector-receive.json +564 -0
  54. package/src/element-templates/email-message-start-event-connector.json +58 -50
  55. package/src/element-templates/email-outbound-connector.json +2116 -243
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3 -6
  57. package/src/element-templates/github-connector.json +15257 -11722
  58. package/src/element-templates/github-webhook-connector-boundary.json +27 -29
  59. package/src/element-templates/github-webhook-connector-intermediate.json +36 -38
  60. package/src/element-templates/github-webhook-connector-message-start.json +11 -13
  61. package/src/element-templates/github-webhook-connector-receive.json +13 -15
  62. package/src/element-templates/github-webhook-connector-start-event.json +54 -56
  63. package/src/element-templates/gitlab-connector.json +4177 -2545
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +562 -13
  65. package/src/element-templates/google-drive-outbound-connector.json +1386 -766
  66. package/src/element-templates/google-gemini-outbound-connector.json +13 -5
  67. package/src/element-templates/google-maps-platform-connector.json +1059 -30
  68. package/src/element-templates/google-sheets-outbound-connector.json +2449 -1455
  69. package/src/element-templates/graphql-outbound-connector.json +1744 -1735
  70. package/src/element-templates/http-json-connector.json +2982 -2332
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +752 -741
  72. package/src/element-templates/http-polling-connector.json +1512 -1501
  73. package/src/element-templates/hubspot-outbound-connector.json +2371 -25
  74. package/src/element-templates/hugging-face-connector.json +234 -3
  75. package/src/element-templates/jdbc-outbound-connector.json +20 -6
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +613 -604
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +528 -519
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +530 -521
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +518 -512
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
  85. package/src/element-templates/microsoft-office365-mail-connector.json +893 -10
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +5971 -3807
  87. package/src/element-templates/openai-connector.json +550 -87
  88. package/src/element-templates/operate-connector.json +1198 -46
  89. package/src/element-templates/power-automate-connector.json +601 -9
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +444 -435
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +484 -475
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +367 -358
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +479 -470
  95. package/src/element-templates/rabbitmq-outbound-connector.json +356 -350
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +544 -0
  98. package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
  99. package/src/element-templates/send-message-connector-message-end-event.json +10 -5
  100. package/src/element-templates/send-message-connector-send-task.json +10 -5
  101. package/src/element-templates/sendgrid-outbound-connector.json +945 -337
  102. package/src/element-templates/servicenow-connector.json +971 -3
  103. package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
  104. package/src/element-templates/servicenow-incident-connector.json +980 -3
  105. package/src/element-templates/slack-inbound-boundary.json +490 -192
  106. package/src/element-templates/slack-inbound-intermediate.json +421 -123
  107. package/src/element-templates/slack-inbound-message-start.json +469 -139
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +216 -211
  110. package/src/element-templates/slack-outbound-connector.json +2451 -753
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1573 -93
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +19 -10
  114. package/src/element-templates/twilio-webhook-connector.json +243 -13
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +34 -25
  116. package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
  117. package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
  118. package/src/element-templates/uipath-connector.json +594 -2
  119. package/src/element-templates/webhook-connector-boundary.json +580 -570
  120. package/src/element-templates/webhook-connector-intermediate.json +1390 -1380
  121. package/src/element-templates/webhook-connector-receive.json +16 -6
  122. package/src/element-templates/webhook-connector-start-event.json +1382 -1375
  123. package/src/element-templates/webhook-connector-start-message.json +1306 -1296
  124. package/src/element-templates/whatsapp-connector.json +343 -9
  125. package/src/element-templates/http-connector.json.json +0 -654
@@ -1,17 +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": 5,
7
- "engines": {
8
- "camunda": "^8.3"
9
- },
6
+ "version": 2,
10
7
  "description": "Send SMS messages or retrieve message information using the Twilio API",
11
8
  "icon": {
12
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"
13
10
  },
14
- "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/",
15
12
  "category": {
16
13
  "id": "connectors",
17
14
  "name": "Connectors"
@@ -51,7 +48,8 @@
51
48
  "type": "Hidden",
52
49
  "value": "io.camunda:http-json:1",
53
50
  "binding": {
54
- "type": "zeebe:taskDefinition:type"
51
+ "type": "zeebe:taskDefinition",
52
+ "property": "type"
55
53
  }
56
54
  },
57
55
  {
@@ -102,7 +100,7 @@
102
100
  },
103
101
  {
104
102
  "label": "Account SID",
105
- "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>",
106
104
  "group": "authentication",
107
105
  "type": "String",
108
106
  "feel": "optional",
@@ -152,7 +150,7 @@
152
150
  },
153
151
  {
154
152
  "type": "Hidden",
155
- "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
153
+ "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
156
154
  "binding": {
157
155
  "type": "zeebe:input",
158
156
  "name": "headers"
@@ -165,7 +163,7 @@
165
163
  },
166
164
  {
167
165
  "label": "API key",
168
- "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",
169
167
  "group": "authentication",
170
168
  "type": "String",
171
169
  "feel": "optional",
@@ -183,7 +181,7 @@
183
181
  },
184
182
  {
185
183
  "label": "API secret",
186
- "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",
187
185
  "group": "authentication",
188
186
  "type": "String",
189
187
  "feel": "optional",
@@ -216,7 +214,7 @@
216
214
  },
217
215
  {
218
216
  "label": "Authentication token",
219
- "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>",
220
218
  "group": "authentication",
221
219
  "type": "String",
222
220
  "feel": "optional",
@@ -330,7 +328,7 @@
330
328
  },
331
329
  {
332
330
  "label": "Date sent",
333
- "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>)",
334
332
  "group": "filter",
335
333
  "type": "String",
336
334
  "feel": "optional",
@@ -349,7 +347,7 @@
349
347
  },
350
348
  {
351
349
  "label": "Date before message was sent",
352
- "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>)",
353
351
  "group": "filter",
354
352
  "type": "String",
355
353
  "feel": "optional",
@@ -368,7 +366,7 @@
368
366
  },
369
367
  {
370
368
  "label": "Date after message was sent",
371
- "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>)",
372
370
  "group": "filter",
373
371
  "type": "String",
374
372
  "feel": "optional",
@@ -496,7 +494,7 @@
496
494
  "constraints": {
497
495
  "notEmpty": false,
498
496
  "pattern": {
499
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
497
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
500
498
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
501
499
  }
502
500
  }
@@ -511,43 +509,22 @@
511
509
  "type": "zeebe:taskHeader",
512
510
  "key": "errorExpression"
513
511
  }
514
- },
515
- {
516
- "id": "version",
517
- "label": "Version",
518
- "description": "Version of the element template",
519
- "value": "5",
520
- "group": "connector",
521
- "binding": {
522
- "key": "elementTemplateVersion",
523
- "type": "zeebe:taskHeader"
524
- },
525
- "type": "Hidden"
526
- },
527
- {
528
- "id": "id",
529
- "label": "ID",
530
- "description": "ID of the element template",
531
- "value": "io.camunda.connectors.Twilio.v1",
532
- "group": "connector",
533
- "binding": {
534
- "key": "elementTemplateId",
535
- "type": "zeebe:taskHeader"
536
- },
537
- "type": "Hidden"
538
512
  }
539
- ]
513
+ ],
514
+ "engines": {
515
+ "camunda": "^8.2"
516
+ }
540
517
  },
541
518
  {
542
519
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
543
- "name": "Twilio Outbound Connector",
520
+ "name": "Twilio connector",
544
521
  "id": "io.camunda.connectors.Twilio.v1",
545
- "version": 4,
522
+ "version": 1,
546
523
  "description": "Send SMS messages or retrieve message information using the Twilio API",
547
524
  "icon": {
548
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"
549
526
  },
550
- "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/",
551
528
  "category": {
552
529
  "id": "connectors",
553
530
  "name": "Connectors"
@@ -639,7 +616,7 @@
639
616
  },
640
617
  {
641
618
  "label": "Account SID",
642
- "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>",
643
620
  "group": "authentication",
644
621
  "type": "String",
645
622
  "feel": "optional",
@@ -689,7 +666,7 @@
689
666
  },
690
667
  {
691
668
  "type": "Hidden",
692
- "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
669
+ "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
693
670
  "binding": {
694
671
  "type": "zeebe:input",
695
672
  "name": "headers"
@@ -702,7 +679,7 @@
702
679
  },
703
680
  {
704
681
  "label": "API key",
705
- "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",
706
683
  "group": "authentication",
707
684
  "type": "String",
708
685
  "feel": "optional",
@@ -720,7 +697,7 @@
720
697
  },
721
698
  {
722
699
  "label": "API secret",
723
- "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",
724
701
  "group": "authentication",
725
702
  "type": "String",
726
703
  "feel": "optional",
@@ -753,7 +730,7 @@
753
730
  },
754
731
  {
755
732
  "label": "Authentication token",
756
- "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>",
757
734
  "group": "authentication",
758
735
  "type": "String",
759
736
  "feel": "optional",
@@ -867,7 +844,7 @@
867
844
  },
868
845
  {
869
846
  "label": "Date sent",
870
- "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>)",
871
848
  "group": "filter",
872
849
  "type": "String",
873
850
  "feel": "optional",
@@ -886,7 +863,7 @@
886
863
  },
887
864
  {
888
865
  "label": "Date before message was sent",
889
- "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>)",
890
867
  "group": "filter",
891
868
  "type": "String",
892
869
  "feel": "optional",
@@ -905,7 +882,7 @@
905
882
  },
906
883
  {
907
884
  "label": "Date after message was sent",
908
- "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>)",
909
886
  "group": "filter",
910
887
  "type": "String",
911
888
  "feel": "optional",
@@ -1033,14 +1010,14 @@
1033
1010
  "constraints": {
1034
1011
  "notEmpty": false,
1035
1012
  "pattern": {
1036
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1013
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
1037
1014
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1038
1015
  }
1039
1016
  }
1040
1017
  },
1041
1018
  {
1042
1019
  "label": "Error expression",
1043
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
1020
+ "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>",
1044
1021
  "group": "errors",
1045
1022
  "type": "Text",
1046
1023
  "feel": "required",
@@ -1051,7 +1028,7 @@
1051
1028
  }
1052
1029
  ],
1053
1030
  "engines": {
1054
- "camunda": "^8.6"
1031
+ "camunda": "^8.2"
1055
1032
  }
1056
1033
  },
1057
1034
  {
@@ -1572,14 +1549,14 @@
1572
1549
  },
1573
1550
  {
1574
1551
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1575
- "name": "Twilio connector",
1552
+ "name": "Twilio Outbound Connector",
1576
1553
  "id": "io.camunda.connectors.Twilio.v1",
1577
- "version": 2,
1554
+ "version": 4,
1578
1555
  "description": "Send SMS messages or retrieve message information using the Twilio API",
1579
1556
  "icon": {
1580
1557
  "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"
1581
1558
  },
1582
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
1559
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
1583
1560
  "category": {
1584
1561
  "id": "connectors",
1585
1562
  "name": "Connectors"
@@ -1671,7 +1648,7 @@
1671
1648
  },
1672
1649
  {
1673
1650
  "label": "Account SID",
1674
- "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>",
1651
+ "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>",
1675
1652
  "group": "authentication",
1676
1653
  "type": "String",
1677
1654
  "feel": "optional",
@@ -1721,7 +1698,7 @@
1721
1698
  },
1722
1699
  {
1723
1700
  "type": "Hidden",
1724
- "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
1701
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
1725
1702
  "binding": {
1726
1703
  "type": "zeebe:input",
1727
1704
  "name": "headers"
@@ -1734,7 +1711,7 @@
1734
1711
  },
1735
1712
  {
1736
1713
  "label": "API key",
1737
- "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",
1714
+ "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",
1738
1715
  "group": "authentication",
1739
1716
  "type": "String",
1740
1717
  "feel": "optional",
@@ -1752,7 +1729,7 @@
1752
1729
  },
1753
1730
  {
1754
1731
  "label": "API secret",
1755
- "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",
1732
+ "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",
1756
1733
  "group": "authentication",
1757
1734
  "type": "String",
1758
1735
  "feel": "optional",
@@ -1785,7 +1762,7 @@
1785
1762
  },
1786
1763
  {
1787
1764
  "label": "Authentication token",
1788
- "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>",
1765
+ "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>",
1789
1766
  "group": "authentication",
1790
1767
  "type": "String",
1791
1768
  "feel": "optional",
@@ -1899,7 +1876,7 @@
1899
1876
  },
1900
1877
  {
1901
1878
  "label": "Date sent",
1902
- "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>)",
1879
+ "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>)",
1903
1880
  "group": "filter",
1904
1881
  "type": "String",
1905
1882
  "feel": "optional",
@@ -1918,7 +1895,7 @@
1918
1895
  },
1919
1896
  {
1920
1897
  "label": "Date before message was sent",
1921
- "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>)",
1898
+ "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>)",
1922
1899
  "group": "filter",
1923
1900
  "type": "String",
1924
1901
  "feel": "optional",
@@ -1937,7 +1914,7 @@
1937
1914
  },
1938
1915
  {
1939
1916
  "label": "Date after message was sent",
1940
- "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>)",
1917
+ "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>)",
1941
1918
  "group": "filter",
1942
1919
  "type": "String",
1943
1920
  "feel": "optional",
@@ -2065,14 +2042,14 @@
2065
2042
  "constraints": {
2066
2043
  "notEmpty": false,
2067
2044
  "pattern": {
2068
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
2045
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2069
2046
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2070
2047
  }
2071
2048
  }
2072
2049
  },
2073
2050
  {
2074
2051
  "label": "Error expression",
2075
- "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>",
2052
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
2076
2053
  "group": "errors",
2077
2054
  "type": "Text",
2078
2055
  "feel": "required",
@@ -2083,19 +2060,32 @@
2083
2060
  }
2084
2061
  ],
2085
2062
  "engines": {
2086
- "camunda": "^8.2"
2063
+ "camunda": "^8.6"
2087
2064
  }
2088
2065
  },
2089
2066
  {
2090
2067
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2091
- "name": "Twilio connector",
2068
+ "name": "Twilio Outbound Connector",
2092
2069
  "id": "io.camunda.connectors.Twilio.v1",
2093
- "version": 1,
2094
- "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
+ ],
2095
2085
  "icon": {
2096
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"
2097
2087
  },
2098
- "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",
2099
2089
  "category": {
2100
2090
  "id": "connectors",
2101
2091
  "name": "Connectors"
@@ -2135,8 +2125,7 @@
2135
2125
  "type": "Hidden",
2136
2126
  "value": "io.camunda:http-json:1",
2137
2127
  "binding": {
2138
- "type": "zeebe:taskDefinition",
2139
- "property": "type"
2128
+ "type": "zeebe:taskDefinition:type"
2140
2129
  }
2141
2130
  },
2142
2131
  {
@@ -2150,6 +2139,10 @@
2150
2139
  "name": "Send a SMS",
2151
2140
  "value": "sendSms"
2152
2141
  },
2142
+ {
2143
+ "name": "Send a WhatsApp message",
2144
+ "value": "sendWhatsApp"
2145
+ },
2153
2146
  {
2154
2147
  "name": "Get message",
2155
2148
  "value": "getMessage"
@@ -2164,6 +2157,31 @@
2164
2157
  "name": "operationType"
2165
2158
  }
2166
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
+ },
2167
2185
  {
2168
2186
  "id": "authType",
2169
2187
  "label": "Authentication type",
@@ -2187,7 +2205,7 @@
2187
2205
  },
2188
2206
  {
2189
2207
  "label": "Account SID",
2190
- "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>",
2191
2209
  "group": "authentication",
2192
2210
  "type": "String",
2193
2211
  "feel": "optional",
@@ -2220,7 +2238,7 @@
2220
2238
  },
2221
2239
  "condition": {
2222
2240
  "property": "operationType",
2223
- "equals": "sendSms"
2241
+ "oneOf": ["sendSms", "sendWhatsApp"]
2224
2242
  }
2225
2243
  },
2226
2244
  {
@@ -2237,20 +2255,20 @@
2237
2255
  },
2238
2256
  {
2239
2257
  "type": "Hidden",
2240
- "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
2258
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
2241
2259
  "binding": {
2242
2260
  "type": "zeebe:input",
2243
2261
  "name": "headers"
2244
2262
  },
2245
2263
  "condition": {
2246
2264
  "property": "operationType",
2247
- "equals": "sendSms"
2265
+ "oneOf": ["sendSms", "sendWhatsApp"]
2248
2266
  },
2249
2267
  "optional": false
2250
2268
  },
2251
2269
  {
2252
2270
  "label": "API key",
2253
- "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",
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",
2254
2272
  "group": "authentication",
2255
2273
  "type": "String",
2256
2274
  "feel": "optional",
@@ -2268,7 +2286,7 @@
2268
2286
  },
2269
2287
  {
2270
2288
  "label": "API secret",
2271
- "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",
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",
2272
2290
  "group": "authentication",
2273
2291
  "type": "String",
2274
2292
  "feel": "optional",
@@ -2301,7 +2319,7 @@
2301
2319
  },
2302
2320
  {
2303
2321
  "label": "Authentication token",
2304
- "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>",
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>",
2305
2323
  "group": "authentication",
2306
2324
  "type": "String",
2307
2325
  "feel": "optional",
@@ -2336,6 +2354,166 @@
2336
2354
  },
2337
2355
  "optional": false
2338
2356
  },
2357
+ {
2358
+ "label": "WhatsApp message text",
2359
+ "description": "The content of the WhatsApp message that will be sent",
2360
+ "group": "input",
2361
+ "type": "Text",
2362
+ "feel": "optional",
2363
+ "binding": {
2364
+ "type": "zeebe:input",
2365
+ "name": "WhatsAppBody"
2366
+ },
2367
+ "constraints": {
2368
+ "notEmpty": true
2369
+ },
2370
+ "condition": {
2371
+ "allMatch": [
2372
+ {
2373
+ "property": "operationType",
2374
+ "equals": "sendWhatsApp"
2375
+ },
2376
+ {
2377
+ "property": "whatsappMessageType",
2378
+ "equals": "whatsappFreeFormMessage"
2379
+ }
2380
+ ]
2381
+ },
2382
+ "optional": false
2383
+ },
2384
+ {
2385
+ "label": "WhatsApp template ID",
2386
+ "description": "The ID of the WhatsApp template to be used",
2387
+ "group": "input",
2388
+ "type": "String",
2389
+ "feel": "optional",
2390
+ "binding": {
2391
+ "type": "zeebe:input",
2392
+ "name": "ContentSid"
2393
+ },
2394
+ "constraints": {
2395
+ "notEmpty": true
2396
+ },
2397
+ "condition": {
2398
+ "allMatch": [
2399
+ {
2400
+ "property": "operationType",
2401
+ "equals": "sendWhatsApp"
2402
+ },
2403
+ {
2404
+ "property": "whatsappMessageType",
2405
+ "equals": "whatsappTemplateMessage"
2406
+ }
2407
+ ]
2408
+ },
2409
+ "optional": false
2410
+ },
2411
+ {
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}",
2418
+ "binding": {
2419
+ "type": "zeebe:input",
2420
+ "name": "ContentVariables"
2421
+ },
2422
+ "constraints": {
2423
+ "notEmpty": true
2424
+ },
2425
+ "condition": {
2426
+ "allMatch": [
2427
+ {
2428
+ "property": "operationType",
2429
+ "equals": "sendWhatsApp"
2430
+ },
2431
+ {
2432
+ "property": "whatsappMessageType",
2433
+ "equals": "whatsappTemplateMessage"
2434
+ }
2435
+ ]
2436
+ },
2437
+ "optional": false
2438
+ },
2439
+ {
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",
2443
+ "type": "String",
2444
+ "feel": "optional",
2445
+ "binding": {
2446
+ "type": "zeebe:input",
2447
+ "name": "From"
2448
+ },
2449
+ "constraints": {
2450
+ "notEmpty": true
2451
+ },
2452
+ "condition": {
2453
+ "property": "operationType",
2454
+ "equals": "sendWhatsApp"
2455
+ },
2456
+ "optional": false
2457
+ },
2458
+ {
2459
+ "label": "To WhatsApp number",
2460
+ "description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
2461
+ "group": "input",
2462
+ "type": "String",
2463
+ "feel": "optional",
2464
+ "binding": {
2465
+ "type": "zeebe:input",
2466
+ "name": "To"
2467
+ },
2468
+ "constraints": {
2469
+ "notEmpty": true
2470
+ },
2471
+ "condition": {
2472
+ "property": "operationType",
2473
+ "equals": "sendWhatsApp"
2474
+ },
2475
+ "optional": false
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
+ },
2339
2517
  {
2340
2518
  "label": "Message text",
2341
2519
  "description": "The content of the message that will be sent",
@@ -2351,7 +2529,7 @@
2351
2529
  },
2352
2530
  "condition": {
2353
2531
  "property": "operationType",
2354
- "oneOf": ["sendSms"]
2532
+ "equals": "sendSms"
2355
2533
  },
2356
2534
  "optional": false
2357
2535
  },
@@ -2370,7 +2548,7 @@
2370
2548
  },
2371
2549
  "condition": {
2372
2550
  "property": "operationType",
2373
- "oneOf": ["sendSms"]
2551
+ "equals": "sendSms"
2374
2552
  },
2375
2553
  "optional": false
2376
2554
  },
@@ -2389,7 +2567,7 @@
2389
2567
  },
2390
2568
  "condition": {
2391
2569
  "property": "operationType",
2392
- "oneOf": ["sendSms"]
2570
+ "equals": "sendSms"
2393
2571
  },
2394
2572
  "optional": false
2395
2573
  },
@@ -2415,7 +2593,7 @@
2415
2593
  },
2416
2594
  {
2417
2595
  "label": "Date sent",
2418
- "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>)",
2419
2597
  "group": "filter",
2420
2598
  "type": "String",
2421
2599
  "feel": "optional",
@@ -2434,7 +2612,7 @@
2434
2612
  },
2435
2613
  {
2436
2614
  "label": "Date before message was sent",
2437
- "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>)",
2438
2616
  "group": "filter",
2439
2617
  "type": "String",
2440
2618
  "feel": "optional",
@@ -2453,7 +2631,7 @@
2453
2631
  },
2454
2632
  {
2455
2633
  "label": "Date after message was sent",
2456
- "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>)",
2457
2635
  "group": "filter",
2458
2636
  "type": "String",
2459
2637
  "feel": "optional",
@@ -2530,7 +2708,7 @@
2530
2708
  },
2531
2709
  "condition": {
2532
2710
  "property": "operationType",
2533
- "oneOf": ["sendSms", "listMessages"]
2711
+ "oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
2534
2712
  }
2535
2713
  },
2536
2714
  {
@@ -2581,7 +2759,7 @@
2581
2759
  "constraints": {
2582
2760
  "notEmpty": false,
2583
2761
  "pattern": {
2584
- "value": "^(=|([0-9]+|secrets\\..+)$)",
2762
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2585
2763
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2586
2764
  }
2587
2765
  }
@@ -2596,10 +2774,1312 @@
2596
2774
  "type": "zeebe:taskHeader",
2597
2775
  "key": "errorExpression"
2598
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"
2599
2801
  }
2600
- ],
2802
+ ]
2803
+ },
2804
+ {
2805
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2806
+ "name": "Twilio Outbound Connector",
2807
+ "id": "io.camunda.connectors.Twilio.v1",
2808
+ "version": 5,
2601
2809
  "engines": {
2602
- "camunda": "^8.2"
2603
- }
2810
+ "camunda": "^8.3"
2811
+ },
2812
+ "description": "Send SMS messages or retrieve message information using the Twilio API",
2813
+ "icon": {
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"
2815
+ },
2816
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
2817
+ "category": {
2818
+ "id": "connectors",
2819
+ "name": "Connectors"
2820
+ },
2821
+ "appliesTo": ["bpmn:Task"],
2822
+ "elementType": {
2823
+ "value": "bpmn:ServiceTask"
2824
+ },
2825
+ "groups": [
2826
+ {
2827
+ "id": "operation",
2828
+ "label": "Operation"
2829
+ },
2830
+ {
2831
+ "id": "authentication",
2832
+ "label": "Authentication"
2833
+ },
2834
+ {
2835
+ "id": "input",
2836
+ "label": "Input"
2837
+ },
2838
+ {
2839
+ "id": "filter",
2840
+ "label": "Filter"
2841
+ },
2842
+ {
2843
+ "id": "output",
2844
+ "label": "Response mapping"
2845
+ },
2846
+ {
2847
+ "id": "errors",
2848
+ "label": "Error handling"
2849
+ }
2850
+ ],
2851
+ "properties": [
2852
+ {
2853
+ "type": "Hidden",
2854
+ "value": "io.camunda:http-json:1",
2855
+ "binding": {
2856
+ "type": "zeebe:taskDefinition:type"
2857
+ }
2858
+ },
2859
+ {
2860
+ "label": "Operation type",
2861
+ "id": "operationType",
2862
+ "group": "operation",
2863
+ "type": "Dropdown",
2864
+ "optional": false,
2865
+ "choices": [
2866
+ {
2867
+ "name": "Send a SMS",
2868
+ "value": "sendSms"
2869
+ },
2870
+ {
2871
+ "name": "Get message",
2872
+ "value": "getMessage"
2873
+ },
2874
+ {
2875
+ "name": "List messages",
2876
+ "value": "listMessages"
2877
+ }
2878
+ ],
2879
+ "binding": {
2880
+ "type": "zeebe:input",
2881
+ "name": "operationType"
2882
+ }
2883
+ },
2884
+ {
2885
+ "id": "authType",
2886
+ "label": "Authentication type",
2887
+ "group": "authentication",
2888
+ "type": "Dropdown",
2889
+ "value": "get",
2890
+ "choices": [
2891
+ {
2892
+ "name": "Account SID and Auth token",
2893
+ "value": "accountSidAuthToken"
2894
+ },
2895
+ {
2896
+ "name": "API key and secret",
2897
+ "value": "apiKeySecret"
2898
+ }
2899
+ ],
2900
+ "binding": {
2901
+ "type": "zeebe:input",
2902
+ "name": "authType"
2903
+ }
2904
+ },
2905
+ {
2906
+ "label": "Account SID",
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>",
2908
+ "group": "authentication",
2909
+ "type": "String",
2910
+ "feel": "optional",
2911
+ "binding": {
2912
+ "type": "zeebe:input",
2913
+ "name": "accountSid"
2914
+ },
2915
+ "constraints": {
2916
+ "notEmpty": true
2917
+ },
2918
+ "condition": {
2919
+ "property": "authType",
2920
+ "oneOf": ["apiKeySecret", "accountSidAuthToken"]
2921
+ }
2922
+ },
2923
+ {
2924
+ "value": "basic",
2925
+ "type": "Hidden",
2926
+ "binding": {
2927
+ "type": "zeebe:input",
2928
+ "name": "authentication.type"
2929
+ }
2930
+ },
2931
+ {
2932
+ "type": "Hidden",
2933
+ "value": "post",
2934
+ "binding": {
2935
+ "type": "zeebe:input",
2936
+ "name": "method"
2937
+ },
2938
+ "condition": {
2939
+ "property": "operationType",
2940
+ "equals": "sendSms"
2941
+ }
2942
+ },
2943
+ {
2944
+ "type": "Hidden",
2945
+ "value": "get",
2946
+ "binding": {
2947
+ "type": "zeebe:input",
2948
+ "name": "method"
2949
+ },
2950
+ "condition": {
2951
+ "property": "operationType",
2952
+ "oneOf": ["listMessages", "getMessage"]
2953
+ }
2954
+ },
2955
+ {
2956
+ "type": "Hidden",
2957
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
2958
+ "binding": {
2959
+ "type": "zeebe:input",
2960
+ "name": "headers"
2961
+ },
2962
+ "condition": {
2963
+ "property": "operationType",
2964
+ "equals": "sendSms"
2965
+ },
2966
+ "optional": false
2967
+ },
2968
+ {
2969
+ "label": "API key",
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",
2971
+ "group": "authentication",
2972
+ "type": "String",
2973
+ "feel": "optional",
2974
+ "binding": {
2975
+ "type": "zeebe:input",
2976
+ "name": "authentication.username"
2977
+ },
2978
+ "constraints": {
2979
+ "notEmpty": true
2980
+ },
2981
+ "condition": {
2982
+ "property": "authType",
2983
+ "equals": "apiKeySecret"
2984
+ }
2985
+ },
2986
+ {
2987
+ "label": "API secret",
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",
2989
+ "group": "authentication",
2990
+ "type": "String",
2991
+ "feel": "optional",
2992
+ "binding": {
2993
+ "type": "zeebe:input",
2994
+ "name": "authentication.password"
2995
+ },
2996
+ "constraints": {
2997
+ "notEmpty": true
2998
+ },
2999
+ "condition": {
3000
+ "property": "authType",
3001
+ "equals": "apiKeySecret"
3002
+ }
3003
+ },
3004
+ {
3005
+ "type": "Hidden",
3006
+ "value": "=accountSid",
3007
+ "binding": {
3008
+ "type": "zeebe:input",
3009
+ "name": "authentication.username"
3010
+ },
3011
+ "constraints": {
3012
+ "notEmpty": true
3013
+ },
3014
+ "condition": {
3015
+ "property": "authType",
3016
+ "oneOf": ["accountSidAuthToken"]
3017
+ }
3018
+ },
3019
+ {
3020
+ "label": "Authentication token",
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>",
3022
+ "group": "authentication",
3023
+ "type": "String",
3024
+ "feel": "optional",
3025
+ "binding": {
3026
+ "type": "zeebe:input",
3027
+ "name": "authentication.password"
3028
+ },
3029
+ "constraints": {
3030
+ "notEmpty": true
3031
+ },
3032
+ "condition": {
3033
+ "property": "authType",
3034
+ "equals": "accountSidAuthToken"
3035
+ }
3036
+ },
3037
+ {
3038
+ "label": "Message SID",
3039
+ "description": "Obtain information regarding the message with SID",
3040
+ "group": "input",
3041
+ "type": "String",
3042
+ "feel": "optional",
3043
+ "binding": {
3044
+ "type": "zeebe:input",
3045
+ "name": "messageSid"
3046
+ },
3047
+ "constraints": {
3048
+ "notEmpty": true
3049
+ },
3050
+ "condition": {
3051
+ "property": "operationType",
3052
+ "oneOf": ["getMessage"]
3053
+ },
3054
+ "optional": false
3055
+ },
3056
+ {
3057
+ "label": "Message text",
3058
+ "description": "The content of the message that will be sent",
3059
+ "group": "input",
3060
+ "type": "Text",
3061
+ "feel": "optional",
3062
+ "binding": {
3063
+ "type": "zeebe:input",
3064
+ "name": "body.Body"
3065
+ },
3066
+ "constraints": {
3067
+ "notEmpty": true
3068
+ },
3069
+ "condition": {
3070
+ "property": "operationType",
3071
+ "oneOf": ["sendSms"]
3072
+ },
3073
+ "optional": false
3074
+ },
3075
+ {
3076
+ "label": "From number",
3077
+ "description": "The originating Twilio phone number used for sending the message",
3078
+ "group": "input",
3079
+ "type": "String",
3080
+ "feel": "optional",
3081
+ "binding": {
3082
+ "type": "zeebe:input",
3083
+ "name": "body.From"
3084
+ },
3085
+ "constraints": {
3086
+ "notEmpty": true
3087
+ },
3088
+ "condition": {
3089
+ "property": "operationType",
3090
+ "oneOf": ["sendSms"]
3091
+ },
3092
+ "optional": false
3093
+ },
3094
+ {
3095
+ "label": "To number",
3096
+ "description": "The recipient's phone number",
3097
+ "group": "input",
3098
+ "type": "String",
3099
+ "feel": "optional",
3100
+ "binding": {
3101
+ "type": "zeebe:input",
3102
+ "name": "body.To"
3103
+ },
3104
+ "constraints": {
3105
+ "notEmpty": true
3106
+ },
3107
+ "condition": {
3108
+ "property": "operationType",
3109
+ "oneOf": ["sendSms"]
3110
+ },
3111
+ "optional": false
3112
+ },
3113
+ {
3114
+ "label": "Page size",
3115
+ "id": "pageSize",
3116
+ "description": "The maximum number of messages to retrieve per page",
3117
+ "group": "filter",
3118
+ "type": "String",
3119
+ "feel": "optional",
3120
+ "binding": {
3121
+ "type": "zeebe:input",
3122
+ "name": "pageSizeValue"
3123
+ },
3124
+ "constraints": {
3125
+ "notEmpty": false
3126
+ },
3127
+ "condition": {
3128
+ "property": "operationType",
3129
+ "oneOf": ["listMessages"]
3130
+ },
3131
+ "optional": true
3132
+ },
3133
+ {
3134
+ "label": "Date sent",
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>)",
3136
+ "group": "filter",
3137
+ "type": "String",
3138
+ "feel": "optional",
3139
+ "binding": {
3140
+ "type": "zeebe:input",
3141
+ "name": "dateSentValue"
3142
+ },
3143
+ "constraints": {
3144
+ "notEmpty": false
3145
+ },
3146
+ "condition": {
3147
+ "property": "operationType",
3148
+ "oneOf": ["listMessages"]
3149
+ },
3150
+ "optional": true
3151
+ },
3152
+ {
3153
+ "label": "Date before message was sent",
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>)",
3155
+ "group": "filter",
3156
+ "type": "String",
3157
+ "feel": "optional",
3158
+ "binding": {
3159
+ "type": "zeebe:input",
3160
+ "name": "dateSentBeforeValue"
3161
+ },
3162
+ "constraints": {
3163
+ "notEmpty": false
3164
+ },
3165
+ "condition": {
3166
+ "property": "operationType",
3167
+ "oneOf": ["listMessages"]
3168
+ },
3169
+ "optional": true
3170
+ },
3171
+ {
3172
+ "label": "Date after message was sent",
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>)",
3174
+ "group": "filter",
3175
+ "type": "String",
3176
+ "feel": "optional",
3177
+ "binding": {
3178
+ "type": "zeebe:input",
3179
+ "name": "dateSentAfterValue"
3180
+ },
3181
+ "constraints": {
3182
+ "notEmpty": false
3183
+ },
3184
+ "condition": {
3185
+ "property": "operationType",
3186
+ "oneOf": ["listMessages"]
3187
+ },
3188
+ "optional": true
3189
+ },
3190
+ {
3191
+ "label": "From",
3192
+ "description": "The phone number or client identifier of the message sender",
3193
+ "group": "filter",
3194
+ "type": "String",
3195
+ "feel": "optional",
3196
+ "binding": {
3197
+ "type": "zeebe:input",
3198
+ "name": "fromFilterValue"
3199
+ },
3200
+ "constraints": {
3201
+ "notEmpty": false
3202
+ },
3203
+ "condition": {
3204
+ "property": "operationType",
3205
+ "oneOf": ["listMessages"]
3206
+ },
3207
+ "optional": true
3208
+ },
3209
+ {
3210
+ "label": "To",
3211
+ "description": "The phone number or client identifier of the message recipient",
3212
+ "group": "filter",
3213
+ "type": "String",
3214
+ "feel": "optional",
3215
+ "binding": {
3216
+ "type": "zeebe:input",
3217
+ "name": "toFilterValue"
3218
+ },
3219
+ "constraints": {
3220
+ "notEmpty": false
3221
+ },
3222
+ "condition": {
3223
+ "property": "operationType",
3224
+ "oneOf": ["listMessages"]
3225
+ },
3226
+ "optional": true
3227
+ },
3228
+ {
3229
+ "type": "Hidden",
3230
+ "value": "=put all(if(dateSentValue = null) then {} else {\"DateSent\":dateSentValue} , if(dateSentAfterValue = null) then {} else {\"DateSent>\":dateSentAfterValue} , if(dateSentBeforeValue = null) then {} else {\"DateSent<\":dateSentBeforeValue} , if(fromFilterValue = null) then {} else {\"From\":fromFilterValue}, if(toFilterValue = null) then {} else {\"To\":toFilterValue}, if(pageSizeValue = null) then {} else {\"PageSize\":pageSizeValue})",
3231
+ "binding": {
3232
+ "type": "zeebe:input",
3233
+ "name": "queryParameters"
3234
+ },
3235
+ "optional": true,
3236
+ "condition": {
3237
+ "property": "operationType",
3238
+ "oneOf": ["listMessages"]
3239
+ }
3240
+ },
3241
+ {
3242
+ "type": "Hidden",
3243
+ "value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
3244
+ "binding": {
3245
+ "type": "zeebe:input",
3246
+ "name": "url"
3247
+ },
3248
+ "condition": {
3249
+ "property": "operationType",
3250
+ "oneOf": ["sendSms", "listMessages"]
3251
+ }
3252
+ },
3253
+ {
3254
+ "type": "Hidden",
3255
+ "value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
3256
+ "binding": {
3257
+ "type": "zeebe:input",
3258
+ "name": "url"
3259
+ },
3260
+ "condition": {
3261
+ "property": "operationType",
3262
+ "oneOf": ["getMessage"]
3263
+ }
3264
+ },
3265
+ {
3266
+ "label": "Result variable",
3267
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
3268
+ "group": "output",
3269
+ "type": "String",
3270
+ "binding": {
3271
+ "type": "zeebe:taskHeader",
3272
+ "key": "resultVariable"
3273
+ }
3274
+ },
3275
+ {
3276
+ "label": "Result expression",
3277
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
3278
+ "group": "output",
3279
+ "type": "Text",
3280
+ "feel": "required",
3281
+ "binding": {
3282
+ "type": "zeebe:taskHeader",
3283
+ "key": "resultExpression"
3284
+ }
3285
+ },
3286
+ {
3287
+ "label": "Connection timeout",
3288
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
3289
+ "group": "errors",
3290
+ "type": "String",
3291
+ "value": "20",
3292
+ "binding": {
3293
+ "type": "zeebe:input",
3294
+ "name": "connectionTimeoutInSeconds"
3295
+ },
3296
+ "optional": true,
3297
+ "feel": "optional",
3298
+ "constraints": {
3299
+ "notEmpty": false,
3300
+ "pattern": {
3301
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3302
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3303
+ }
3304
+ }
3305
+ },
3306
+ {
3307
+ "label": "Error expression",
3308
+ "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>",
3309
+ "group": "errors",
3310
+ "type": "Text",
3311
+ "feel": "required",
3312
+ "binding": {
3313
+ "type": "zeebe:taskHeader",
3314
+ "key": "errorExpression"
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"
3340
+ }
3341
+ ]
3342
+ },
3343
+ {
3344
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3345
+ "name": "Twilio Outbound Connector",
3346
+ "id": "io.camunda.connectors.Twilio.v1",
3347
+ "version": 7,
3348
+ "engines": {
3349
+ "camunda": "^8.9"
3350
+ },
3351
+ "description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
3352
+ "keywords": [
3353
+ "send SMS",
3354
+ "get message",
3355
+ "list messages",
3356
+ "SMS",
3357
+ "text message",
3358
+ "phone",
3359
+ "messaging",
3360
+ "notification"
3361
+ ],
3362
+ "icon": {
3363
+ "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"
3364
+ },
3365
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
3366
+ "category": {
3367
+ "id": "connectors",
3368
+ "name": "Connectors"
3369
+ },
3370
+ "appliesTo": ["bpmn:Task"],
3371
+ "elementType": {
3372
+ "value": "bpmn:ServiceTask"
3373
+ },
3374
+ "groups": [
3375
+ {
3376
+ "id": "operation",
3377
+ "label": "Operation"
3378
+ },
3379
+ {
3380
+ "id": "authentication",
3381
+ "label": "Authentication"
3382
+ },
3383
+ {
3384
+ "id": "input",
3385
+ "label": "Input"
3386
+ },
3387
+ {
3388
+ "id": "filter",
3389
+ "label": "Filter"
3390
+ },
3391
+ {
3392
+ "id": "connector",
3393
+ "label": "Connector"
3394
+ },
3395
+ {
3396
+ "id": "output",
3397
+ "label": "Response mapping"
3398
+ },
3399
+ {
3400
+ "id": "errors",
3401
+ "label": "Error handling"
3402
+ }
3403
+ ],
3404
+ "properties": [
3405
+ {
3406
+ "type": "Hidden",
3407
+ "value": "io.camunda:http-json:1",
3408
+ "binding": {
3409
+ "type": "zeebe:taskDefinition",
3410
+ "property": "type"
3411
+ }
3412
+ },
3413
+ {
3414
+ "label": "Operation type",
3415
+ "id": "operationType",
3416
+ "group": "operation",
3417
+ "type": "Dropdown",
3418
+ "optional": false,
3419
+ "choices": [
3420
+ {
3421
+ "name": "Send a SMS",
3422
+ "value": "sendSms"
3423
+ },
3424
+ {
3425
+ "name": "Send a WhatsApp message",
3426
+ "value": "sendWhatsApp"
3427
+ },
3428
+ {
3429
+ "name": "Get message",
3430
+ "value": "getMessage"
3431
+ },
3432
+ {
3433
+ "name": "List messages",
3434
+ "value": "listMessages"
3435
+ }
3436
+ ],
3437
+ "binding": {
3438
+ "type": "zeebe:input",
3439
+ "name": "operationType"
3440
+ }
3441
+ },
3442
+ {
3443
+ "label": "WhatsApp message type",
3444
+ "id": "whatsappMessageType",
3445
+ "group": "operation",
3446
+ "type": "Dropdown",
3447
+ "optional": false,
3448
+ "choices": [
3449
+ {
3450
+ "name": "Free form message",
3451
+ "value": "whatsappFreeFormMessage"
3452
+ },
3453
+ {
3454
+ "name": "Template message",
3455
+ "value": "whatsappTemplateMessage"
3456
+ }
3457
+ ],
3458
+ "binding": {
3459
+ "type": "zeebe:input",
3460
+ "name": "whatsappMessageType"
3461
+ },
3462
+ "condition": {
3463
+ "property": "operationType",
3464
+ "equals": "sendWhatsApp"
3465
+ }
3466
+ },
3467
+ {
3468
+ "id": "authType",
3469
+ "label": "Authentication type",
3470
+ "group": "authentication",
3471
+ "type": "Dropdown",
3472
+ "choices": [
3473
+ {
3474
+ "name": "Account SID and Auth token",
3475
+ "value": "accountSidAuthToken"
3476
+ },
3477
+ {
3478
+ "name": "API key and secret",
3479
+ "value": "apiKeySecret"
3480
+ }
3481
+ ],
3482
+ "binding": {
3483
+ "type": "zeebe:input",
3484
+ "name": "authType"
3485
+ }
3486
+ },
3487
+ {
3488
+ "label": "Account SID",
3489
+ "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>",
3490
+ "group": "authentication",
3491
+ "type": "String",
3492
+ "feel": "optional",
3493
+ "binding": {
3494
+ "type": "zeebe:input",
3495
+ "name": "accountSid"
3496
+ },
3497
+ "constraints": {
3498
+ "notEmpty": true
3499
+ },
3500
+ "condition": {
3501
+ "property": "authType",
3502
+ "oneOf": ["apiKeySecret", "accountSidAuthToken"]
3503
+ }
3504
+ },
3505
+ {
3506
+ "value": "basic",
3507
+ "type": "Hidden",
3508
+ "binding": {
3509
+ "type": "zeebe:input",
3510
+ "name": "authentication.type"
3511
+ }
3512
+ },
3513
+ {
3514
+ "type": "Hidden",
3515
+ "value": "post",
3516
+ "binding": {
3517
+ "type": "zeebe:input",
3518
+ "name": "method"
3519
+ },
3520
+ "condition": {
3521
+ "property": "operationType",
3522
+ "oneOf": ["sendSms", "sendWhatsApp"]
3523
+ }
3524
+ },
3525
+ {
3526
+ "type": "Hidden",
3527
+ "value": "get",
3528
+ "binding": {
3529
+ "type": "zeebe:input",
3530
+ "name": "method"
3531
+ },
3532
+ "condition": {
3533
+ "property": "operationType",
3534
+ "oneOf": ["listMessages", "getMessage"]
3535
+ }
3536
+ },
3537
+ {
3538
+ "type": "Hidden",
3539
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
3540
+ "binding": {
3541
+ "type": "zeebe:input",
3542
+ "name": "headers"
3543
+ },
3544
+ "condition": {
3545
+ "property": "operationType",
3546
+ "oneOf": ["sendSms", "sendWhatsApp"]
3547
+ },
3548
+ "optional": false
3549
+ },
3550
+ {
3551
+ "label": "API key",
3552
+ "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",
3553
+ "group": "authentication",
3554
+ "type": "String",
3555
+ "feel": "optional",
3556
+ "binding": {
3557
+ "type": "zeebe:input",
3558
+ "name": "authentication.username"
3559
+ },
3560
+ "constraints": {
3561
+ "notEmpty": true
3562
+ },
3563
+ "condition": {
3564
+ "property": "authType",
3565
+ "equals": "apiKeySecret"
3566
+ }
3567
+ },
3568
+ {
3569
+ "label": "API secret",
3570
+ "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",
3571
+ "group": "authentication",
3572
+ "type": "String",
3573
+ "feel": "optional",
3574
+ "binding": {
3575
+ "type": "zeebe:input",
3576
+ "name": "authentication.password"
3577
+ },
3578
+ "constraints": {
3579
+ "notEmpty": true
3580
+ },
3581
+ "condition": {
3582
+ "property": "authType",
3583
+ "equals": "apiKeySecret"
3584
+ }
3585
+ },
3586
+ {
3587
+ "type": "Hidden",
3588
+ "value": "=accountSid",
3589
+ "binding": {
3590
+ "type": "zeebe:input",
3591
+ "name": "authentication.username"
3592
+ },
3593
+ "constraints": {
3594
+ "notEmpty": true
3595
+ },
3596
+ "condition": {
3597
+ "property": "authType",
3598
+ "oneOf": ["accountSidAuthToken"]
3599
+ }
3600
+ },
3601
+ {
3602
+ "label": "Authentication token",
3603
+ "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>",
3604
+ "group": "authentication",
3605
+ "type": "String",
3606
+ "feel": "optional",
3607
+ "binding": {
3608
+ "type": "zeebe:input",
3609
+ "name": "authentication.password"
3610
+ },
3611
+ "constraints": {
3612
+ "notEmpty": true
3613
+ },
3614
+ "condition": {
3615
+ "property": "authType",
3616
+ "equals": "accountSidAuthToken"
3617
+ }
3618
+ },
3619
+ {
3620
+ "label": "Message SID",
3621
+ "description": "Obtain information regarding the message with SID",
3622
+ "group": "input",
3623
+ "type": "String",
3624
+ "feel": "optional",
3625
+ "binding": {
3626
+ "type": "zeebe:input",
3627
+ "name": "messageSid"
3628
+ },
3629
+ "constraints": {
3630
+ "notEmpty": true
3631
+ },
3632
+ "condition": {
3633
+ "property": "operationType",
3634
+ "oneOf": ["getMessage"]
3635
+ },
3636
+ "optional": false
3637
+ },
3638
+ {
3639
+ "label": "WhatsApp message text",
3640
+ "description": "The content of the WhatsApp message that will be sent",
3641
+ "group": "input",
3642
+ "type": "Text",
3643
+ "feel": "optional",
3644
+ "binding": {
3645
+ "type": "zeebe:input",
3646
+ "name": "WhatsAppBody"
3647
+ },
3648
+ "constraints": {
3649
+ "notEmpty": true
3650
+ },
3651
+ "condition": {
3652
+ "allMatch": [
3653
+ {
3654
+ "property": "operationType",
3655
+ "equals": "sendWhatsApp"
3656
+ },
3657
+ {
3658
+ "property": "whatsappMessageType",
3659
+ "equals": "whatsappFreeFormMessage"
3660
+ }
3661
+ ]
3662
+ },
3663
+ "optional": false
3664
+ },
3665
+ {
3666
+ "label": "WhatsApp template ID",
3667
+ "description": "The ID of the WhatsApp template to be used",
3668
+ "group": "input",
3669
+ "type": "String",
3670
+ "feel": "optional",
3671
+ "binding": {
3672
+ "type": "zeebe:input",
3673
+ "name": "ContentSid"
3674
+ },
3675
+ "constraints": {
3676
+ "notEmpty": true
3677
+ },
3678
+ "condition": {
3679
+ "allMatch": [
3680
+ {
3681
+ "property": "operationType",
3682
+ "equals": "sendWhatsApp"
3683
+ },
3684
+ {
3685
+ "property": "whatsappMessageType",
3686
+ "equals": "whatsappTemplateMessage"
3687
+ }
3688
+ ]
3689
+ },
3690
+ "optional": false
3691
+ },
3692
+ {
3693
+ "label": "WhatsApp template parameters",
3694
+ "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!",
3695
+ "group": "input",
3696
+ "type": "Text",
3697
+ "feel": "required",
3698
+ "value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
3699
+ "binding": {
3700
+ "type": "zeebe:input",
3701
+ "name": "ContentVariables"
3702
+ },
3703
+ "constraints": {
3704
+ "notEmpty": true
3705
+ },
3706
+ "condition": {
3707
+ "allMatch": [
3708
+ {
3709
+ "property": "operationType",
3710
+ "equals": "sendWhatsApp"
3711
+ },
3712
+ {
3713
+ "property": "whatsappMessageType",
3714
+ "equals": "whatsappTemplateMessage"
3715
+ }
3716
+ ]
3717
+ },
3718
+ "optional": false
3719
+ },
3720
+ {
3721
+ "label": "From WhatsApp number",
3722
+ "description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
3723
+ "group": "input",
3724
+ "type": "String",
3725
+ "feel": "optional",
3726
+ "binding": {
3727
+ "type": "zeebe:input",
3728
+ "name": "From"
3729
+ },
3730
+ "constraints": {
3731
+ "notEmpty": true
3732
+ },
3733
+ "condition": {
3734
+ "property": "operationType",
3735
+ "equals": "sendWhatsApp"
3736
+ },
3737
+ "optional": false
3738
+ },
3739
+ {
3740
+ "label": "To WhatsApp number",
3741
+ "description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
3742
+ "group": "input",
3743
+ "type": "String",
3744
+ "feel": "optional",
3745
+ "binding": {
3746
+ "type": "zeebe:input",
3747
+ "name": "To"
3748
+ },
3749
+ "constraints": {
3750
+ "notEmpty": true
3751
+ },
3752
+ "condition": {
3753
+ "property": "operationType",
3754
+ "equals": "sendWhatsApp"
3755
+ },
3756
+ "optional": false
3757
+ },
3758
+ {
3759
+ "type": "Hidden",
3760
+ "value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
3761
+ "binding": {
3762
+ "type": "zeebe:input",
3763
+ "name": "body"
3764
+ },
3765
+ "condition": {
3766
+ "allMatch": [
3767
+ {
3768
+ "property": "operationType",
3769
+ "equals": "sendWhatsApp"
3770
+ },
3771
+ {
3772
+ "property": "whatsappMessageType",
3773
+ "equals": "whatsappTemplateMessage"
3774
+ }
3775
+ ]
3776
+ }
3777
+ },
3778
+ {
3779
+ "type": "Hidden",
3780
+ "value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
3781
+ "binding": {
3782
+ "type": "zeebe:input",
3783
+ "name": "body"
3784
+ },
3785
+ "condition": {
3786
+ "allMatch": [
3787
+ {
3788
+ "property": "operationType",
3789
+ "equals": "sendWhatsApp"
3790
+ },
3791
+ {
3792
+ "property": "whatsappMessageType",
3793
+ "equals": "whatsappFreeFormMessage"
3794
+ }
3795
+ ]
3796
+ }
3797
+ },
3798
+ {
3799
+ "label": "Message text",
3800
+ "description": "The content of the message that will be sent",
3801
+ "group": "input",
3802
+ "type": "Text",
3803
+ "feel": "optional",
3804
+ "binding": {
3805
+ "type": "zeebe:input",
3806
+ "name": "body.Body"
3807
+ },
3808
+ "constraints": {
3809
+ "notEmpty": true
3810
+ },
3811
+ "condition": {
3812
+ "property": "operationType",
3813
+ "equals": "sendSms"
3814
+ },
3815
+ "optional": false
3816
+ },
3817
+ {
3818
+ "label": "From number",
3819
+ "description": "The originating Twilio phone number used for sending the message",
3820
+ "group": "input",
3821
+ "type": "String",
3822
+ "feel": "optional",
3823
+ "binding": {
3824
+ "type": "zeebe:input",
3825
+ "name": "body.From"
3826
+ },
3827
+ "constraints": {
3828
+ "notEmpty": true
3829
+ },
3830
+ "condition": {
3831
+ "property": "operationType",
3832
+ "equals": "sendSms"
3833
+ },
3834
+ "optional": false
3835
+ },
3836
+ {
3837
+ "label": "To number",
3838
+ "description": "The recipient's phone number",
3839
+ "group": "input",
3840
+ "type": "String",
3841
+ "feel": "optional",
3842
+ "binding": {
3843
+ "type": "zeebe:input",
3844
+ "name": "body.To"
3845
+ },
3846
+ "constraints": {
3847
+ "notEmpty": true
3848
+ },
3849
+ "condition": {
3850
+ "property": "operationType",
3851
+ "equals": "sendSms"
3852
+ },
3853
+ "optional": false
3854
+ },
3855
+ {
3856
+ "label": "Page size",
3857
+ "id": "pageSize",
3858
+ "description": "The maximum number of messages to retrieve per page",
3859
+ "group": "filter",
3860
+ "type": "String",
3861
+ "feel": "optional",
3862
+ "binding": {
3863
+ "type": "zeebe:input",
3864
+ "name": "pageSizeValue"
3865
+ },
3866
+ "constraints": {
3867
+ "notEmpty": false
3868
+ },
3869
+ "condition": {
3870
+ "property": "operationType",
3871
+ "oneOf": ["listMessages"]
3872
+ },
3873
+ "optional": true
3874
+ },
3875
+ {
3876
+ "label": "Date sent",
3877
+ "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>)",
3878
+ "group": "filter",
3879
+ "type": "String",
3880
+ "feel": "optional",
3881
+ "binding": {
3882
+ "type": "zeebe:input",
3883
+ "name": "dateSentValue"
3884
+ },
3885
+ "constraints": {
3886
+ "notEmpty": false
3887
+ },
3888
+ "condition": {
3889
+ "property": "operationType",
3890
+ "oneOf": ["listMessages"]
3891
+ },
3892
+ "optional": true
3893
+ },
3894
+ {
3895
+ "label": "Date before message was sent",
3896
+ "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>)",
3897
+ "group": "filter",
3898
+ "type": "String",
3899
+ "feel": "optional",
3900
+ "binding": {
3901
+ "type": "zeebe:input",
3902
+ "name": "dateSentBeforeValue"
3903
+ },
3904
+ "constraints": {
3905
+ "notEmpty": false
3906
+ },
3907
+ "condition": {
3908
+ "property": "operationType",
3909
+ "oneOf": ["listMessages"]
3910
+ },
3911
+ "optional": true
3912
+ },
3913
+ {
3914
+ "label": "Date after message was sent",
3915
+ "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>)",
3916
+ "group": "filter",
3917
+ "type": "String",
3918
+ "feel": "optional",
3919
+ "binding": {
3920
+ "type": "zeebe:input",
3921
+ "name": "dateSentAfterValue"
3922
+ },
3923
+ "constraints": {
3924
+ "notEmpty": false
3925
+ },
3926
+ "condition": {
3927
+ "property": "operationType",
3928
+ "oneOf": ["listMessages"]
3929
+ },
3930
+ "optional": true
3931
+ },
3932
+ {
3933
+ "label": "From",
3934
+ "description": "The phone number or client identifier of the message sender",
3935
+ "group": "filter",
3936
+ "type": "String",
3937
+ "feel": "optional",
3938
+ "binding": {
3939
+ "type": "zeebe:input",
3940
+ "name": "fromFilterValue"
3941
+ },
3942
+ "constraints": {
3943
+ "notEmpty": false
3944
+ },
3945
+ "condition": {
3946
+ "property": "operationType",
3947
+ "oneOf": ["listMessages"]
3948
+ },
3949
+ "optional": true
3950
+ },
3951
+ {
3952
+ "label": "To",
3953
+ "description": "The phone number or client identifier of the message recipient",
3954
+ "group": "filter",
3955
+ "type": "String",
3956
+ "feel": "optional",
3957
+ "binding": {
3958
+ "type": "zeebe:input",
3959
+ "name": "toFilterValue"
3960
+ },
3961
+ "constraints": {
3962
+ "notEmpty": false
3963
+ },
3964
+ "condition": {
3965
+ "property": "operationType",
3966
+ "oneOf": ["listMessages"]
3967
+ },
3968
+ "optional": true
3969
+ },
3970
+ {
3971
+ "type": "Hidden",
3972
+ "value": "=put all(if(dateSentValue = null) then {} else {\"DateSent\":dateSentValue} , if(dateSentAfterValue = null) then {} else {\"DateSent>\":dateSentAfterValue} , if(dateSentBeforeValue = null) then {} else {\"DateSent<\":dateSentBeforeValue} , if(fromFilterValue = null) then {} else {\"From\":fromFilterValue}, if(toFilterValue = null) then {} else {\"To\":toFilterValue}, if(pageSizeValue = null) then {} else {\"PageSize\":pageSizeValue})",
3973
+ "binding": {
3974
+ "type": "zeebe:input",
3975
+ "name": "queryParameters"
3976
+ },
3977
+ "optional": true,
3978
+ "condition": {
3979
+ "property": "operationType",
3980
+ "oneOf": ["listMessages"]
3981
+ }
3982
+ },
3983
+ {
3984
+ "type": "Hidden",
3985
+ "value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
3986
+ "binding": {
3987
+ "type": "zeebe:input",
3988
+ "name": "url"
3989
+ },
3990
+ "condition": {
3991
+ "property": "operationType",
3992
+ "oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
3993
+ }
3994
+ },
3995
+ {
3996
+ "type": "Hidden",
3997
+ "value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
3998
+ "binding": {
3999
+ "type": "zeebe:input",
4000
+ "name": "url"
4001
+ },
4002
+ "condition": {
4003
+ "property": "operationType",
4004
+ "oneOf": ["getMessage"]
4005
+ }
4006
+ },
4007
+ {
4008
+ "label": "Result variable",
4009
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
4010
+ "group": "output",
4011
+ "type": "String",
4012
+ "binding": {
4013
+ "type": "zeebe:taskHeader",
4014
+ "key": "resultVariable"
4015
+ }
4016
+ },
4017
+ {
4018
+ "label": "Result expression",
4019
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
4020
+ "group": "output",
4021
+ "type": "Text",
4022
+ "feel": "required",
4023
+ "binding": {
4024
+ "type": "zeebe:taskHeader",
4025
+ "key": "resultExpression"
4026
+ }
4027
+ },
4028
+ {
4029
+ "label": "Connection timeout",
4030
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
4031
+ "group": "errors",
4032
+ "type": "String",
4033
+ "value": "20",
4034
+ "binding": {
4035
+ "type": "zeebe:input",
4036
+ "name": "connectionTimeoutInSeconds"
4037
+ },
4038
+ "optional": true,
4039
+ "feel": "optional",
4040
+ "constraints": {
4041
+ "notEmpty": false,
4042
+ "pattern": {
4043
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
4044
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
4045
+ }
4046
+ }
4047
+ },
4048
+ {
4049
+ "label": "Error expression",
4050
+ "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>",
4051
+ "group": "errors",
4052
+ "type": "Text",
4053
+ "feel": "required",
4054
+ "binding": {
4055
+ "type": "zeebe:taskHeader",
4056
+ "key": "errorExpression"
4057
+ }
4058
+ },
4059
+ {
4060
+ "id": "version",
4061
+ "label": "Version",
4062
+ "description": "Version of the element template",
4063
+ "value": "6",
4064
+ "group": "connector",
4065
+ "binding": {
4066
+ "key": "elementTemplateVersion",
4067
+ "type": "zeebe:taskHeader"
4068
+ },
4069
+ "type": "Hidden"
4070
+ },
4071
+ {
4072
+ "id": "id",
4073
+ "label": "ID",
4074
+ "description": "ID of the element template",
4075
+ "value": "io.camunda.connectors.Twilio.v1",
4076
+ "group": "connector",
4077
+ "binding": {
4078
+ "key": "elementTemplateId",
4079
+ "type": "zeebe:taskHeader"
4080
+ },
4081
+ "type": "Hidden"
4082
+ }
4083
+ ]
2604
4084
  }
2605
4085
  ]