@camunda/connectors-element-templates 1.0.19 → 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 (96) hide show
  1. package/package.json +2 -2
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +31 -31
  4. package/src/element-templates/agenticai-aiagent-job-worker.json +180 -180
  5. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3080 -3080
  6. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  7. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
  8. package/src/element-templates/asana-connector.json +107 -107
  9. package/src/element-templates/automation-anywhere-outbound-connector.json +575 -575
  10. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
  11. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
  12. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
  13. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
  14. package/src/element-templates/aws-bedrock-outbound-connector.json +1 -1
  15. package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
  16. package/src/element-templates/aws-dynamodb-outbound-connector.json +3079 -1727
  17. package/src/element-templates/aws-eventbridge-connector-boundary.json +33 -33
  18. package/src/element-templates/aws-eventbridge-connector-intermediate.json +28 -28
  19. package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
  20. package/src/element-templates/aws-eventbridge-outbound-connector.json +289 -289
  21. package/src/element-templates/aws-lambda-outbound-connector.json +45 -45
  22. package/src/element-templates/aws-s3-outbound-connector.json +705 -32
  23. package/src/element-templates/aws-sagemaker-outbound-connector.json +1 -1
  24. package/src/element-templates/aws-sns-inbound-boundary.json +203 -203
  25. package/src/element-templates/aws-sns-inbound-intermediate.json +217 -217
  26. package/src/element-templates/aws-sns-inbound-message-start.json +237 -237
  27. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  28. package/src/element-templates/aws-sns-outbound-connector.json +68 -68
  29. package/src/element-templates/aws-sqs-boundary-connector.json +415 -415
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +500 -500
  31. package/src/element-templates/aws-sqs-outbound-connector.json +390 -390
  32. package/src/element-templates/aws-sqs-start-event-connector.json +409 -409
  33. package/src/element-templates/aws-textract-outbound-connector.json +124 -124
  34. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  35. package/src/element-templates/azure-open-ai-connector.json +1 -1
  36. package/src/element-templates/blue-prism-connector.json +52 -52
  37. package/src/element-templates/box-outbound-connector.json +49 -49
  38. package/src/element-templates/csv-outbound-connector.json +452 -3
  39. package/src/element-templates/easy-post-connector.json +262 -262
  40. package/src/element-templates/email-outbound-connector.json +1 -1
  41. package/src/element-templates/embeddings-vector-database-outbound-connector.json +1 -1
  42. package/src/element-templates/github-connector.json +10051 -10051
  43. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  44. package/src/element-templates/github-webhook-connector-start-event.json +26 -26
  45. package/src/element-templates/gitlab-connector.json +1081 -1081
  46. package/src/element-templates/google-cloud-storage-outbound-connector.json +1 -1
  47. package/src/element-templates/google-drive-outbound-connector.json +361 -361
  48. package/src/element-templates/google-gemini-outbound-connector.json +33 -33
  49. package/src/element-templates/google-maps-platform-connector.json +81 -81
  50. package/src/element-templates/google-sheets-outbound-connector.json +1124 -1124
  51. package/src/element-templates/graphql-outbound-connector.json +1813 -1706
  52. package/src/element-templates/http-json-connector.json +3412 -1814
  53. package/src/element-templates/http-polling-boundary-catch-event-connector.json +102 -0
  54. package/src/element-templates/http-polling-connector.json +825 -723
  55. package/src/element-templates/hubspot-outbound-connector.json +59 -59
  56. package/src/element-templates/hugging-face-connector.json +75 -75
  57. package/src/element-templates/jdbc-outbound-connector.json +1 -1
  58. package/src/element-templates/kafka-inbound-connector-boundary.json +976 -976
  59. package/src/element-templates/kafka-inbound-connector-intermediate.json +501 -501
  60. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  61. package/src/element-templates/kafka-outbound-connector.json +177 -177
  62. package/src/element-templates/microsoft-office365-mail-connector.json +1059 -73
  63. package/src/element-templates/microsoft-teams-outbound-connector.json +4489 -4489
  64. package/src/element-templates/openai-connector.json +238 -238
  65. package/src/element-templates/operate-connector.json +136 -136
  66. package/src/element-templates/power-automate-connector.json +19 -19
  67. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +443 -443
  68. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +765 -765
  69. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +352 -352
  70. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +337 -337
  71. package/src/element-templates/rabbitmq-outbound-connector.json +326 -326
  72. package/src/element-templates/salesforce-connector.json +59 -59
  73. package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
  74. package/src/element-templates/send-message-connector-message-end-event.json +1 -1
  75. package/src/element-templates/send-message-connector-send-task.json +1 -1
  76. package/src/element-templates/sendgrid-outbound-connector.json +636 -636
  77. package/src/element-templates/servicenow-connector.json +1 -1
  78. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  79. package/src/element-templates/servicenow-incident-connector.json +1 -1
  80. package/src/element-templates/slack-inbound-boundary.json +266 -266
  81. package/src/element-templates/slack-inbound-intermediate.json +557 -557
  82. package/src/element-templates/slack-inbound-message-start.json +334 -334
  83. package/src/element-templates/slack-inbound-start-event.json +128 -128
  84. package/src/element-templates/slack-outbound-connector.json +1415 -1415
  85. package/src/element-templates/soap-outbound-connector.json +1 -1
  86. package/src/element-templates/twilio-connector.json +354 -354
  87. package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
  88. package/src/element-templates/twilio-webhook-connector.json +29 -29
  89. package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
  90. package/src/element-templates/twilio-webhook-message-start-connector.json +17 -17
  91. package/src/element-templates/uipath-connector.json +56 -56
  92. package/src/element-templates/webhook-connector-boundary.json +114 -114
  93. package/src/element-templates/webhook-connector-intermediate.json +1129 -1129
  94. package/src/element-templates/webhook-connector-start-event.json +1293 -1293
  95. package/src/element-templates/webhook-connector-start-message.json +537 -537
  96. package/src/element-templates/whatsapp-connector.json +51 -51
@@ -1,14 +1,14 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Twilio connector",
4
+ "name": "Twilio Outbound Connector",
5
5
  "id": "io.camunda.connectors.Twilio.v1",
6
- "version": 2,
6
+ "version": 4,
7
7
  "description": "Send SMS messages or retrieve message information using the Twilio API",
8
8
  "icon": {
9
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"
10
10
  },
11
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
11
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
12
12
  "category": {
13
13
  "id": "connectors",
14
14
  "name": "Connectors"
@@ -100,7 +100,7 @@
100
100
  },
101
101
  {
102
102
  "label": "Account SID",
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>",
103
+ "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>",
104
104
  "group": "authentication",
105
105
  "type": "String",
106
106
  "feel": "optional",
@@ -150,7 +150,7 @@
150
150
  },
151
151
  {
152
152
  "type": "Hidden",
153
- "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
153
+ "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
154
154
  "binding": {
155
155
  "type": "zeebe:input",
156
156
  "name": "headers"
@@ -163,7 +163,7 @@
163
163
  },
164
164
  {
165
165
  "label": "API key",
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",
166
+ "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",
167
167
  "group": "authentication",
168
168
  "type": "String",
169
169
  "feel": "optional",
@@ -181,7 +181,7 @@
181
181
  },
182
182
  {
183
183
  "label": "API secret",
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",
184
+ "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",
185
185
  "group": "authentication",
186
186
  "type": "String",
187
187
  "feel": "optional",
@@ -214,7 +214,7 @@
214
214
  },
215
215
  {
216
216
  "label": "Authentication token",
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>",
217
+ "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>",
218
218
  "group": "authentication",
219
219
  "type": "String",
220
220
  "feel": "optional",
@@ -328,7 +328,7 @@
328
328
  },
329
329
  {
330
330
  "label": "Date sent",
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>)",
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/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
332
332
  "group": "filter",
333
333
  "type": "String",
334
334
  "feel": "optional",
@@ -347,7 +347,7 @@
347
347
  },
348
348
  {
349
349
  "label": "Date before message was sent",
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>)",
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/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
351
351
  "group": "filter",
352
352
  "type": "String",
353
353
  "feel": "optional",
@@ -366,7 +366,7 @@
366
366
  },
367
367
  {
368
368
  "label": "Date after message was sent",
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>)",
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/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
370
370
  "group": "filter",
371
371
  "type": "String",
372
372
  "feel": "optional",
@@ -494,14 +494,14 @@
494
494
  "constraints": {
495
495
  "notEmpty": false,
496
496
  "pattern": {
497
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
497
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
498
498
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
499
499
  }
500
500
  }
501
501
  },
502
502
  {
503
503
  "label": "Error expression",
504
- "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>",
505
505
  "group": "errors",
506
506
  "type": "Text",
507
507
  "feel": "required",
@@ -512,19 +512,19 @@
512
512
  }
513
513
  ],
514
514
  "engines": {
515
- "camunda": "^8.2"
515
+ "camunda": "^8.6"
516
516
  }
517
517
  },
518
518
  {
519
519
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
520
- "name": "Twilio connector",
520
+ "name": "Twilio Outbound Connector",
521
521
  "id": "io.camunda.connectors.Twilio.v1",
522
- "version": 1,
522
+ "version": 3,
523
523
  "description": "Send SMS messages or retrieve message information using the Twilio API",
524
524
  "icon": {
525
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"
526
526
  },
527
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
527
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
528
528
  "category": {
529
529
  "id": "connectors",
530
530
  "name": "Connectors"
@@ -616,7 +616,7 @@
616
616
  },
617
617
  {
618
618
  "label": "Account SID",
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>",
619
+ "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>",
620
620
  "group": "authentication",
621
621
  "type": "String",
622
622
  "feel": "optional",
@@ -679,7 +679,7 @@
679
679
  },
680
680
  {
681
681
  "label": "API key",
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",
682
+ "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",
683
683
  "group": "authentication",
684
684
  "type": "String",
685
685
  "feel": "optional",
@@ -697,7 +697,7 @@
697
697
  },
698
698
  {
699
699
  "label": "API secret",
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",
700
+ "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",
701
701
  "group": "authentication",
702
702
  "type": "String",
703
703
  "feel": "optional",
@@ -730,7 +730,7 @@
730
730
  },
731
731
  {
732
732
  "label": "Authentication token",
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>",
733
+ "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>",
734
734
  "group": "authentication",
735
735
  "type": "String",
736
736
  "feel": "optional",
@@ -844,7 +844,7 @@
844
844
  },
845
845
  {
846
846
  "label": "Date sent",
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>)",
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/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
848
848
  "group": "filter",
849
849
  "type": "String",
850
850
  "feel": "optional",
@@ -863,7 +863,7 @@
863
863
  },
864
864
  {
865
865
  "label": "Date before message was sent",
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>)",
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/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
867
867
  "group": "filter",
868
868
  "type": "String",
869
869
  "feel": "optional",
@@ -882,7 +882,7 @@
882
882
  },
883
883
  {
884
884
  "label": "Date after message was sent",
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>)",
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/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
886
886
  "group": "filter",
887
887
  "type": "String",
888
888
  "feel": "optional",
@@ -1010,14 +1010,14 @@
1010
1010
  "constraints": {
1011
1011
  "notEmpty": false,
1012
1012
  "pattern": {
1013
- "value": "^(=|([0-9]+|secrets\\..+)$)",
1013
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1014
1014
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1015
1015
  }
1016
1016
  }
1017
1017
  },
1018
1018
  {
1019
1019
  "label": "Error expression",
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>",
1020
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
1021
1021
  "group": "errors",
1022
1022
  "type": "Text",
1023
1023
  "feel": "required",
@@ -1033,14 +1033,14 @@
1033
1033
  },
1034
1034
  {
1035
1035
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1036
- "name": "Twilio Outbound Connector",
1036
+ "name": "Twilio connector",
1037
1037
  "id": "io.camunda.connectors.Twilio.v1",
1038
- "version": 3,
1038
+ "version": 2,
1039
1039
  "description": "Send SMS messages or retrieve message information using the Twilio API",
1040
1040
  "icon": {
1041
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"
1042
1042
  },
1043
- "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/",
1044
1044
  "category": {
1045
1045
  "id": "connectors",
1046
1046
  "name": "Connectors"
@@ -1132,7 +1132,7 @@
1132
1132
  },
1133
1133
  {
1134
1134
  "label": "Account SID",
1135
- "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>",
1136
1136
  "group": "authentication",
1137
1137
  "type": "String",
1138
1138
  "feel": "optional",
@@ -1195,7 +1195,7 @@
1195
1195
  },
1196
1196
  {
1197
1197
  "label": "API key",
1198
- "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",
1199
1199
  "group": "authentication",
1200
1200
  "type": "String",
1201
1201
  "feel": "optional",
@@ -1213,7 +1213,7 @@
1213
1213
  },
1214
1214
  {
1215
1215
  "label": "API secret",
1216
- "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",
1217
1217
  "group": "authentication",
1218
1218
  "type": "String",
1219
1219
  "feel": "optional",
@@ -1246,7 +1246,7 @@
1246
1246
  },
1247
1247
  {
1248
1248
  "label": "Authentication token",
1249
- "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>",
1250
1250
  "group": "authentication",
1251
1251
  "type": "String",
1252
1252
  "feel": "optional",
@@ -1360,7 +1360,7 @@
1360
1360
  },
1361
1361
  {
1362
1362
  "label": "Date sent",
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/?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>)",
1364
1364
  "group": "filter",
1365
1365
  "type": "String",
1366
1366
  "feel": "optional",
@@ -1379,7 +1379,7 @@
1379
1379
  },
1380
1380
  {
1381
1381
  "label": "Date before message was sent",
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/?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>)",
1383
1383
  "group": "filter",
1384
1384
  "type": "String",
1385
1385
  "feel": "optional",
@@ -1398,7 +1398,7 @@
1398
1398
  },
1399
1399
  {
1400
1400
  "label": "Date after message was sent",
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/?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>)",
1402
1402
  "group": "filter",
1403
1403
  "type": "String",
1404
1404
  "feel": "optional",
@@ -1526,14 +1526,14 @@
1526
1526
  "constraints": {
1527
1527
  "notEmpty": false,
1528
1528
  "pattern": {
1529
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1529
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1530
1530
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1531
1531
  }
1532
1532
  }
1533
1533
  },
1534
1534
  {
1535
1535
  "label": "Error expression",
1536
- "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>",
1537
1537
  "group": "errors",
1538
1538
  "type": "Text",
1539
1539
  "feel": "required",
@@ -1551,8 +1551,21 @@
1551
1551
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1552
1552
  "name": "Twilio Outbound Connector",
1553
1553
  "id": "io.camunda.connectors.Twilio.v1",
1554
- "version": 4,
1555
- "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
+ ],
1556
1569
  "icon": {
1557
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"
1558
1571
  },
@@ -1596,8 +1609,7 @@
1596
1609
  "type": "Hidden",
1597
1610
  "value": "io.camunda:http-json:1",
1598
1611
  "binding": {
1599
- "type": "zeebe:taskDefinition",
1600
- "property": "type"
1612
+ "type": "zeebe:taskDefinition:type"
1601
1613
  }
1602
1614
  },
1603
1615
  {
@@ -1611,6 +1623,10 @@
1611
1623
  "name": "Send a SMS",
1612
1624
  "value": "sendSms"
1613
1625
  },
1626
+ {
1627
+ "name": "Send a WhatsApp message",
1628
+ "value": "sendWhatsApp"
1629
+ },
1614
1630
  {
1615
1631
  "name": "Get message",
1616
1632
  "value": "getMessage"
@@ -1625,6 +1641,31 @@
1625
1641
  "name": "operationType"
1626
1642
  }
1627
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
+ },
1628
1669
  {
1629
1670
  "id": "authType",
1630
1671
  "label": "Authentication type",
@@ -1681,7 +1722,7 @@
1681
1722
  },
1682
1723
  "condition": {
1683
1724
  "property": "operationType",
1684
- "equals": "sendSms"
1725
+ "oneOf": ["sendSms", "sendWhatsApp"]
1685
1726
  }
1686
1727
  },
1687
1728
  {
@@ -1705,7 +1746,7 @@
1705
1746
  },
1706
1747
  "condition": {
1707
1748
  "property": "operationType",
1708
- "equals": "sendSms"
1749
+ "oneOf": ["sendSms", "sendWhatsApp"]
1709
1750
  },
1710
1751
  "optional": false
1711
1752
  },
@@ -1798,132 +1839,292 @@
1798
1839
  "optional": false
1799
1840
  },
1800
1841
  {
1801
- "label": "Message text",
1802
- "description": "The content of the message that will be sent",
1842
+ "label": "WhatsApp message text",
1843
+ "description": "The content of the WhatsApp message that will be sent",
1803
1844
  "group": "input",
1804
1845
  "type": "Text",
1805
1846
  "feel": "optional",
1806
1847
  "binding": {
1807
1848
  "type": "zeebe:input",
1808
- "name": "body.Body"
1849
+ "name": "WhatsAppBody"
1809
1850
  },
1810
1851
  "constraints": {
1811
1852
  "notEmpty": true
1812
1853
  },
1813
1854
  "condition": {
1814
- "property": "operationType",
1815
- "oneOf": ["sendSms"]
1855
+ "allMatch": [
1856
+ {
1857
+ "property": "operationType",
1858
+ "equals": "sendWhatsApp"
1859
+ },
1860
+ {
1861
+ "property": "whatsappMessageType",
1862
+ "equals": "whatsappFreeFormMessage"
1863
+ }
1864
+ ]
1816
1865
  },
1817
1866
  "optional": false
1818
1867
  },
1819
1868
  {
1820
- "label": "From number",
1821
- "description": "The originating Twilio phone number used for sending the message",
1869
+ "label": "WhatsApp template ID",
1870
+ "description": "The ID of the WhatsApp template to be used",
1822
1871
  "group": "input",
1823
1872
  "type": "String",
1824
1873
  "feel": "optional",
1825
1874
  "binding": {
1826
1875
  "type": "zeebe:input",
1827
- "name": "body.From"
1876
+ "name": "ContentSid"
1828
1877
  },
1829
1878
  "constraints": {
1830
1879
  "notEmpty": true
1831
1880
  },
1832
1881
  "condition": {
1833
- "property": "operationType",
1834
- "oneOf": ["sendSms"]
1882
+ "allMatch": [
1883
+ {
1884
+ "property": "operationType",
1885
+ "equals": "sendWhatsApp"
1886
+ },
1887
+ {
1888
+ "property": "whatsappMessageType",
1889
+ "equals": "whatsappTemplateMessage"
1890
+ }
1891
+ ]
1835
1892
  },
1836
1893
  "optional": false
1837
1894
  },
1838
1895
  {
1839
- "label": "To number",
1840
- "description": "The recipient's phone number",
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!",
1841
1898
  "group": "input",
1842
- "type": "String",
1843
- "feel": "optional",
1899
+ "type": "Text",
1900
+ "feel": "required",
1901
+ "value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
1844
1902
  "binding": {
1845
1903
  "type": "zeebe:input",
1846
- "name": "body.To"
1904
+ "name": "ContentVariables"
1847
1905
  },
1848
1906
  "constraints": {
1849
1907
  "notEmpty": true
1850
1908
  },
1851
1909
  "condition": {
1852
- "property": "operationType",
1853
- "oneOf": ["sendSms"]
1910
+ "allMatch": [
1911
+ {
1912
+ "property": "operationType",
1913
+ "equals": "sendWhatsApp"
1914
+ },
1915
+ {
1916
+ "property": "whatsappMessageType",
1917
+ "equals": "whatsappTemplateMessage"
1918
+ }
1919
+ ]
1854
1920
  },
1855
1921
  "optional": false
1856
1922
  },
1857
1923
  {
1858
- "label": "Page size",
1859
- "id": "pageSize",
1860
- "description": "The maximum number of messages to retrieve per page",
1861
- "group": "filter",
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",
1862
1927
  "type": "String",
1863
1928
  "feel": "optional",
1864
1929
  "binding": {
1865
1930
  "type": "zeebe:input",
1866
- "name": "pageSizeValue"
1931
+ "name": "From"
1867
1932
  },
1868
1933
  "constraints": {
1869
- "notEmpty": false
1934
+ "notEmpty": true
1870
1935
  },
1871
1936
  "condition": {
1872
1937
  "property": "operationType",
1873
- "oneOf": ["listMessages"]
1938
+ "equals": "sendWhatsApp"
1874
1939
  },
1875
- "optional": true
1940
+ "optional": false
1876
1941
  },
1877
1942
  {
1878
- "label": "Date sent",
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>)",
1880
- "group": "filter",
1943
+ "label": "To WhatsApp number",
1944
+ "description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
1945
+ "group": "input",
1881
1946
  "type": "String",
1882
1947
  "feel": "optional",
1883
1948
  "binding": {
1884
1949
  "type": "zeebe:input",
1885
- "name": "dateSentValue"
1950
+ "name": "To"
1886
1951
  },
1887
1952
  "constraints": {
1888
- "notEmpty": false
1953
+ "notEmpty": true
1889
1954
  },
1890
1955
  "condition": {
1891
1956
  "property": "operationType",
1892
- "oneOf": ["listMessages"]
1957
+ "equals": "sendWhatsApp"
1893
1958
  },
1894
- "optional": true
1959
+ "optional": false
1895
1960
  },
1896
1961
  {
1897
- "label": "Date before message was sent",
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>)",
1899
- "group": "filter",
1900
- "type": "String",
1901
- "feel": "optional",
1962
+ "type": "Hidden",
1963
+ "value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
1902
1964
  "binding": {
1903
1965
  "type": "zeebe:input",
1904
- "name": "dateSentBeforeValue"
1905
- },
1906
- "constraints": {
1907
- "notEmpty": false
1966
+ "name": "body"
1908
1967
  },
1909
1968
  "condition": {
1910
- "property": "operationType",
1911
- "oneOf": ["listMessages"]
1912
- },
1913
- "optional": true
1969
+ "allMatch": [
1970
+ {
1971
+ "property": "operationType",
1972
+ "equals": "sendWhatsApp"
1973
+ },
1974
+ {
1975
+ "property": "whatsappMessageType",
1976
+ "equals": "whatsappTemplateMessage"
1977
+ }
1978
+ ]
1979
+ }
1914
1980
  },
1915
1981
  {
1916
- "label": "Date after message was sent",
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>)",
1918
- "group": "filter",
1919
- "type": "String",
1920
- "feel": "optional",
1982
+ "type": "Hidden",
1983
+ "value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
1921
1984
  "binding": {
1922
1985
  "type": "zeebe:input",
1923
- "name": "dateSentAfterValue"
1924
- },
1925
- "constraints": {
1926
- "notEmpty": false
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
+ },
2001
+ {
2002
+ "label": "Message text",
2003
+ "description": "The content of the message that will be sent",
2004
+ "group": "input",
2005
+ "type": "Text",
2006
+ "feel": "optional",
2007
+ "binding": {
2008
+ "type": "zeebe:input",
2009
+ "name": "body.Body"
2010
+ },
2011
+ "constraints": {
2012
+ "notEmpty": true
2013
+ },
2014
+ "condition": {
2015
+ "property": "operationType",
2016
+ "equals": "sendSms"
2017
+ },
2018
+ "optional": false
2019
+ },
2020
+ {
2021
+ "label": "From number",
2022
+ "description": "The originating Twilio phone number used for sending the message",
2023
+ "group": "input",
2024
+ "type": "String",
2025
+ "feel": "optional",
2026
+ "binding": {
2027
+ "type": "zeebe:input",
2028
+ "name": "body.From"
2029
+ },
2030
+ "constraints": {
2031
+ "notEmpty": true
2032
+ },
2033
+ "condition": {
2034
+ "property": "operationType",
2035
+ "equals": "sendSms"
2036
+ },
2037
+ "optional": false
2038
+ },
2039
+ {
2040
+ "label": "To number",
2041
+ "description": "The recipient's phone number",
2042
+ "group": "input",
2043
+ "type": "String",
2044
+ "feel": "optional",
2045
+ "binding": {
2046
+ "type": "zeebe:input",
2047
+ "name": "body.To"
2048
+ },
2049
+ "constraints": {
2050
+ "notEmpty": true
2051
+ },
2052
+ "condition": {
2053
+ "property": "operationType",
2054
+ "equals": "sendSms"
2055
+ },
2056
+ "optional": false
2057
+ },
2058
+ {
2059
+ "label": "Page size",
2060
+ "id": "pageSize",
2061
+ "description": "The maximum number of messages to retrieve per page",
2062
+ "group": "filter",
2063
+ "type": "String",
2064
+ "feel": "optional",
2065
+ "binding": {
2066
+ "type": "zeebe:input",
2067
+ "name": "pageSizeValue"
2068
+ },
2069
+ "constraints": {
2070
+ "notEmpty": false
2071
+ },
2072
+ "condition": {
2073
+ "property": "operationType",
2074
+ "oneOf": ["listMessages"]
2075
+ },
2076
+ "optional": true
2077
+ },
2078
+ {
2079
+ "label": "Date sent",
2080
+ "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>)",
2081
+ "group": "filter",
2082
+ "type": "String",
2083
+ "feel": "optional",
2084
+ "binding": {
2085
+ "type": "zeebe:input",
2086
+ "name": "dateSentValue"
2087
+ },
2088
+ "constraints": {
2089
+ "notEmpty": false
2090
+ },
2091
+ "condition": {
2092
+ "property": "operationType",
2093
+ "oneOf": ["listMessages"]
2094
+ },
2095
+ "optional": true
2096
+ },
2097
+ {
2098
+ "label": "Date before message was sent",
2099
+ "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>)",
2100
+ "group": "filter",
2101
+ "type": "String",
2102
+ "feel": "optional",
2103
+ "binding": {
2104
+ "type": "zeebe:input",
2105
+ "name": "dateSentBeforeValue"
2106
+ },
2107
+ "constraints": {
2108
+ "notEmpty": false
2109
+ },
2110
+ "condition": {
2111
+ "property": "operationType",
2112
+ "oneOf": ["listMessages"]
2113
+ },
2114
+ "optional": true
2115
+ },
2116
+ {
2117
+ "label": "Date after message was sent",
2118
+ "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>)",
2119
+ "group": "filter",
2120
+ "type": "String",
2121
+ "feel": "optional",
2122
+ "binding": {
2123
+ "type": "zeebe:input",
2124
+ "name": "dateSentAfterValue"
2125
+ },
2126
+ "constraints": {
2127
+ "notEmpty": false
1927
2128
  },
1928
2129
  "condition": {
1929
2130
  "property": "operationType",
@@ -1991,7 +2192,7 @@
1991
2192
  },
1992
2193
  "condition": {
1993
2194
  "property": "operationType",
1994
- "oneOf": ["sendSms", "listMessages"]
2195
+ "oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
1995
2196
  }
1996
2197
  },
1997
2198
  {
@@ -2049,7 +2250,7 @@
2049
2250
  },
2050
2251
  {
2051
2252
  "label": "Error expression",
2052
- "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>",
2053
2254
  "group": "errors",
2054
2255
  "type": "Text",
2055
2256
  "feel": "required",
@@ -2057,31 +2258,42 @@
2057
2258
  "type": "zeebe:taskHeader",
2058
2259
  "key": "errorExpression"
2059
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"
2060
2285
  }
2061
- ],
2062
- "engines": {
2063
- "camunda": "^8.6"
2064
- }
2286
+ ]
2065
2287
  },
2066
2288
  {
2067
2289
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2068
2290
  "name": "Twilio Outbound Connector",
2069
2291
  "id": "io.camunda.connectors.Twilio.v1",
2070
- "version": 6,
2292
+ "version": 5,
2071
2293
  "engines": {
2072
- "camunda": "^8.9"
2294
+ "camunda": "^8.3"
2073
2295
  },
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
- ],
2296
+ "description": "Send SMS messages or retrieve message information using the Twilio API",
2085
2297
  "icon": {
2086
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"
2087
2299
  },
@@ -2139,10 +2351,6 @@
2139
2351
  "name": "Send a SMS",
2140
2352
  "value": "sendSms"
2141
2353
  },
2142
- {
2143
- "name": "Send a WhatsApp message",
2144
- "value": "sendWhatsApp"
2145
- },
2146
2354
  {
2147
2355
  "name": "Get message",
2148
2356
  "value": "getMessage"
@@ -2157,31 +2365,6 @@
2157
2365
  "name": "operationType"
2158
2366
  }
2159
2367
  },
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
- },
2185
2368
  {
2186
2369
  "id": "authType",
2187
2370
  "label": "Authentication type",
@@ -2238,7 +2421,7 @@
2238
2421
  },
2239
2422
  "condition": {
2240
2423
  "property": "operationType",
2241
- "oneOf": ["sendSms", "sendWhatsApp"]
2424
+ "equals": "sendSms"
2242
2425
  }
2243
2426
  },
2244
2427
  {
@@ -2262,7 +2445,7 @@
2262
2445
  },
2263
2446
  "condition": {
2264
2447
  "property": "operationType",
2265
- "oneOf": ["sendSms", "sendWhatsApp"]
2448
+ "equals": "sendSms"
2266
2449
  },
2267
2450
  "optional": false
2268
2451
  },
@@ -2354,166 +2537,6 @@
2354
2537
  },
2355
2538
  "optional": false
2356
2539
  },
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
- },
2517
2540
  {
2518
2541
  "label": "Message text",
2519
2542
  "description": "The content of the message that will be sent",
@@ -2529,7 +2552,7 @@
2529
2552
  },
2530
2553
  "condition": {
2531
2554
  "property": "operationType",
2532
- "equals": "sendSms"
2555
+ "oneOf": ["sendSms"]
2533
2556
  },
2534
2557
  "optional": false
2535
2558
  },
@@ -2548,7 +2571,7 @@
2548
2571
  },
2549
2572
  "condition": {
2550
2573
  "property": "operationType",
2551
- "equals": "sendSms"
2574
+ "oneOf": ["sendSms"]
2552
2575
  },
2553
2576
  "optional": false
2554
2577
  },
@@ -2567,7 +2590,7 @@
2567
2590
  },
2568
2591
  "condition": {
2569
2592
  "property": "operationType",
2570
- "equals": "sendSms"
2593
+ "oneOf": ["sendSms"]
2571
2594
  },
2572
2595
  "optional": false
2573
2596
  },
@@ -2708,7 +2731,7 @@
2708
2731
  },
2709
2732
  "condition": {
2710
2733
  "property": "operationType",
2711
- "oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
2734
+ "oneOf": ["sendSms", "listMessages"]
2712
2735
  }
2713
2736
  },
2714
2737
  {
@@ -2779,7 +2802,7 @@
2779
2802
  "id": "version",
2780
2803
  "label": "Version",
2781
2804
  "description": "Version of the element template",
2782
- "value": "6",
2805
+ "value": "5",
2783
2806
  "group": "connector",
2784
2807
  "binding": {
2785
2808
  "key": "elementTemplateVersion",
@@ -2803,17 +2826,14 @@
2803
2826
  },
2804
2827
  {
2805
2828
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2806
- "name": "Twilio Outbound Connector",
2829
+ "name": "Twilio connector",
2807
2830
  "id": "io.camunda.connectors.Twilio.v1",
2808
- "version": 5,
2809
- "engines": {
2810
- "camunda": "^8.3"
2811
- },
2831
+ "version": 1,
2812
2832
  "description": "Send SMS messages or retrieve message information using the Twilio API",
2813
2833
  "icon": {
2814
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"
2815
2835
  },
2816
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
2836
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
2817
2837
  "category": {
2818
2838
  "id": "connectors",
2819
2839
  "name": "Connectors"
@@ -2853,7 +2873,8 @@
2853
2873
  "type": "Hidden",
2854
2874
  "value": "io.camunda:http-json:1",
2855
2875
  "binding": {
2856
- "type": "zeebe:taskDefinition:type"
2876
+ "type": "zeebe:taskDefinition",
2877
+ "property": "type"
2857
2878
  }
2858
2879
  },
2859
2880
  {
@@ -2904,7 +2925,7 @@
2904
2925
  },
2905
2926
  {
2906
2927
  "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>",
2928
+ "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>",
2908
2929
  "group": "authentication",
2909
2930
  "type": "String",
2910
2931
  "feel": "optional",
@@ -2954,7 +2975,7 @@
2954
2975
  },
2955
2976
  {
2956
2977
  "type": "Hidden",
2957
- "value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
2978
+ "value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
2958
2979
  "binding": {
2959
2980
  "type": "zeebe:input",
2960
2981
  "name": "headers"
@@ -2967,7 +2988,7 @@
2967
2988
  },
2968
2989
  {
2969
2990
  "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",
2991
+ "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",
2971
2992
  "group": "authentication",
2972
2993
  "type": "String",
2973
2994
  "feel": "optional",
@@ -2985,7 +3006,7 @@
2985
3006
  },
2986
3007
  {
2987
3008
  "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",
3009
+ "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",
2989
3010
  "group": "authentication",
2990
3011
  "type": "String",
2991
3012
  "feel": "optional",
@@ -3018,7 +3039,7 @@
3018
3039
  },
3019
3040
  {
3020
3041
  "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>",
3042
+ "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>",
3022
3043
  "group": "authentication",
3023
3044
  "type": "String",
3024
3045
  "feel": "optional",
@@ -3132,7 +3153,7 @@
3132
3153
  },
3133
3154
  {
3134
3155
  "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>)",
3156
+ "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>)",
3136
3157
  "group": "filter",
3137
3158
  "type": "String",
3138
3159
  "feel": "optional",
@@ -3151,7 +3172,7 @@
3151
3172
  },
3152
3173
  {
3153
3174
  "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>)",
3175
+ "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>)",
3155
3176
  "group": "filter",
3156
3177
  "type": "String",
3157
3178
  "feel": "optional",
@@ -3170,7 +3191,7 @@
3170
3191
  },
3171
3192
  {
3172
3193
  "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>)",
3194
+ "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>)",
3174
3195
  "group": "filter",
3175
3196
  "type": "String",
3176
3197
  "feel": "optional",
@@ -3298,7 +3319,7 @@
3298
3319
  "constraints": {
3299
3320
  "notEmpty": false,
3300
3321
  "pattern": {
3301
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3322
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
3302
3323
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3303
3324
  }
3304
3325
  }
@@ -3313,32 +3334,11 @@
3313
3334
  "type": "zeebe:taskHeader",
3314
3335
  "key": "errorExpression"
3315
3336
  }
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
3337
  }
3341
- ]
3338
+ ],
3339
+ "engines": {
3340
+ "camunda": "^8.2"
3341
+ }
3342
3342
  },
3343
3343
  {
3344
3344
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",