@camunda/connectors-element-templates 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/connectors-template.js +1 -3
- package/src/connectors.js +4 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +43 -43
- package/src/element-templates/agenticai-aiagent-job-worker.json +2230 -222
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6281 -4356
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +718 -36
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2394 -949
- package/src/element-templates/app-integrations-connector.json +1047 -0
- package/src/element-templates/asana-connector.json +943 -109
- package/src/element-templates/automation-anywhere-outbound-connector.json +2240 -1747
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1068 -30
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +386 -5
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +442 -5
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +417 -5
- package/src/element-templates/aws-bedrock-outbound-connector.json +2273 -623
- package/src/element-templates/aws-comprehend-outbound-connector.json +1573 -1
- package/src/element-templates/aws-dynamodb-outbound-connector.json +2950 -162
- package/src/element-templates/aws-eventbridge-connector-boundary.json +40 -40
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
- package/src/element-templates/aws-eventbridge-connector-start-event.json +33 -33
- package/src/element-templates/aws-eventbridge-outbound-connector.json +838 -424
- package/src/element-templates/aws-lambda-outbound-connector.json +495 -96
- package/src/element-templates/aws-s3-outbound-connector.json +2238 -44
- package/src/element-templates/aws-sagemaker-outbound-connector.json +681 -52
- package/src/element-templates/aws-sns-inbound-boundary.json +4 -3
- package/src/element-templates/aws-sns-inbound-intermediate.json +341 -340
- package/src/element-templates/aws-sns-inbound-message-start.json +241 -240
- package/src/element-templates/aws-sns-inbound-receive.json +4 -3
- package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
- package/src/element-templates/aws-sns-outbound-connector.json +581 -124
- package/src/element-templates/aws-sqs-boundary-connector.json +939 -420
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +851 -332
- package/src/element-templates/aws-sqs-outbound-connector.json +589 -136
- package/src/element-templates/aws-sqs-receive-connector.json +525 -7
- package/src/element-templates/aws-sqs-start-event-connector.json +380 -380
- package/src/element-templates/aws-sqs-start-message.json +736 -185
- package/src/element-templates/aws-textract-outbound-connector.json +866 -131
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
- package/src/element-templates/azure-open-ai-connector.json +1371 -8
- package/src/element-templates/blue-prism-connector.json +609 -30
- package/src/element-templates/box-outbound-connector.json +2356 -272
- package/src/element-templates/csv-outbound-connector.json +449 -0
- package/src/element-templates/easy-post-connector.json +1251 -170
- package/src/element-templates/email-outbound-connector.json +3087 -1013
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +2161 -1
- package/src/element-templates/github-connector.json +18554 -14368
- package/src/element-templates/github-webhook-connector-boundary.json +24 -24
- package/src/element-templates/github-webhook-connector-intermediate.json +8 -8
- package/src/element-templates/github-webhook-connector-message-start.json +8 -8
- package/src/element-templates/github-webhook-connector-receive.json +8 -8
- package/src/element-templates/github-webhook-connector-start-event.json +58 -58
- package/src/element-templates/gitlab-connector.json +3022 -1120
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1447 -240
- package/src/element-templates/google-drive-outbound-connector.json +2980 -1428
- package/src/element-templates/google-gemini-outbound-connector.json +41 -55
- package/src/element-templates/google-maps-platform-connector.json +688 -137
- package/src/element-templates/google-sheets-outbound-connector.json +3186 -2030
- package/src/element-templates/graphql-outbound-connector.json +4149 -1485
- package/src/element-templates/http-json-connector.json +6143 -2053
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +2426 -364
- package/src/element-templates/http-polling-connector.json +3312 -1250
- package/src/element-templates/hubspot-outbound-connector.json +2817 -67
- package/src/element-templates/hugging-face-connector.json +83 -82
- package/src/element-templates/jdbc-outbound-connector.json +506 -9
- package/src/element-templates/kafka-inbound-connector-boundary.json +968 -971
- package/src/element-templates/kafka-inbound-connector-intermediate.json +53 -56
- package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
- package/src/element-templates/kafka-inbound-connector-start-message.json +545 -548
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +304 -308
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
- package/src/element-templates/microsoft-office365-mail-connector.json +2077 -35
- package/src/element-templates/microsoft-teams-outbound-connector.json +2897 -456
- package/src/element-templates/openai-connector.json +701 -207
- package/src/element-templates/operate-connector.json +83 -86
- package/src/element-templates/orchestration-connector.json +1843 -0
- package/src/element-templates/power-automate-connector.json +62 -62
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +772 -774
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +456 -458
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +573 -575
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +347 -347
- package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
- package/src/element-templates/rpa-connector.json +6 -6
- package/src/element-templates/salesforce-connector.json +653 -19
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +301 -1
- package/src/element-templates/send-message-connector-message-end-event.json +301 -1
- package/src/element-templates/send-message-connector-send-task.json +300 -1
- package/src/element-templates/sendgrid-outbound-connector.json +790 -790
- package/src/element-templates/servicenow-connector.json +1364 -7
- package/src/element-templates/servicenow-flow-starter-connector.json +16 -16
- package/src/element-templates/servicenow-incident-connector.json +1075 -29
- package/src/element-templates/slack-inbound-boundary.json +493 -493
- package/src/element-templates/slack-inbound-intermediate.json +448 -448
- package/src/element-templates/slack-inbound-message-start.json +369 -369
- package/src/element-templates/slack-inbound-receive.json +2 -2
- package/src/element-templates/slack-inbound-start-event.json +328 -328
- package/src/element-templates/slack-outbound-connector.json +2365 -1262
- package/src/element-templates/soap-outbound-connector.json +113 -117
- package/src/element-templates/twilio-connector.json +1186 -373
- package/src/element-templates/twilio-webhook-boundary-connector.json +9 -10
- package/src/element-templates/twilio-webhook-connector.json +60 -61
- package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -32
- package/src/element-templates/twilio-webhook-message-start-connector.json +10 -11
- package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
- package/src/element-templates/uipath-connector.json +668 -50
- package/src/element-templates/webhook-connector-boundary.json +1040 -385
- package/src/element-templates/webhook-connector-intermediate.json +2100 -1445
- package/src/element-templates/webhook-connector-receive.json +659 -5
- package/src/element-templates/webhook-connector-start-event.json +1860 -1299
- package/src/element-templates/webhook-connector-start-message.json +1535 -848
- package/src/element-templates/whatsapp-connector.json +393 -23
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
|
-
"name": "Twilio
|
|
4
|
+
"name": "Twilio Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
6
|
-
"version":
|
|
6
|
+
"version": 5,
|
|
7
|
+
"engines": {
|
|
8
|
+
"camunda": "^8.3"
|
|
9
|
+
},
|
|
7
10
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
8
11
|
"icon": {
|
|
9
12
|
"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
13
|
},
|
|
11
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
14
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
12
15
|
"category": {
|
|
13
16
|
"id": "connectors",
|
|
14
17
|
"name": "Connectors"
|
|
@@ -48,8 +51,7 @@
|
|
|
48
51
|
"type": "Hidden",
|
|
49
52
|
"value": "io.camunda:http-json:1",
|
|
50
53
|
"binding": {
|
|
51
|
-
"type": "zeebe:taskDefinition"
|
|
52
|
-
"property": "type"
|
|
54
|
+
"type": "zeebe:taskDefinition:type"
|
|
53
55
|
}
|
|
54
56
|
},
|
|
55
57
|
{
|
|
@@ -100,7 +102,7 @@
|
|
|
100
102
|
},
|
|
101
103
|
{
|
|
102
104
|
"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
|
|
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>",
|
|
104
106
|
"group": "authentication",
|
|
105
107
|
"type": "String",
|
|
106
108
|
"feel": "optional",
|
|
@@ -150,7 +152,7 @@
|
|
|
150
152
|
},
|
|
151
153
|
{
|
|
152
154
|
"type": "Hidden",
|
|
153
|
-
"value": "={\"
|
|
155
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
154
156
|
"binding": {
|
|
155
157
|
"type": "zeebe:input",
|
|
156
158
|
"name": "headers"
|
|
@@ -163,7 +165,7 @@
|
|
|
163
165
|
},
|
|
164
166
|
{
|
|
165
167
|
"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
|
|
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",
|
|
167
169
|
"group": "authentication",
|
|
168
170
|
"type": "String",
|
|
169
171
|
"feel": "optional",
|
|
@@ -181,7 +183,7 @@
|
|
|
181
183
|
},
|
|
182
184
|
{
|
|
183
185
|
"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
|
|
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",
|
|
185
187
|
"group": "authentication",
|
|
186
188
|
"type": "String",
|
|
187
189
|
"feel": "optional",
|
|
@@ -214,7 +216,7 @@
|
|
|
214
216
|
},
|
|
215
217
|
{
|
|
216
218
|
"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
|
|
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>",
|
|
218
220
|
"group": "authentication",
|
|
219
221
|
"type": "String",
|
|
220
222
|
"feel": "optional",
|
|
@@ -328,7 +330,7 @@
|
|
|
328
330
|
},
|
|
329
331
|
{
|
|
330
332
|
"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
|
|
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>)",
|
|
332
334
|
"group": "filter",
|
|
333
335
|
"type": "String",
|
|
334
336
|
"feel": "optional",
|
|
@@ -347,7 +349,7 @@
|
|
|
347
349
|
},
|
|
348
350
|
{
|
|
349
351
|
"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
|
|
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>)",
|
|
351
353
|
"group": "filter",
|
|
352
354
|
"type": "String",
|
|
353
355
|
"feel": "optional",
|
|
@@ -366,7 +368,7 @@
|
|
|
366
368
|
},
|
|
367
369
|
{
|
|
368
370
|
"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
|
|
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>)",
|
|
370
372
|
"group": "filter",
|
|
371
373
|
"type": "String",
|
|
372
374
|
"feel": "optional",
|
|
@@ -494,7 +496,7 @@
|
|
|
494
496
|
"constraints": {
|
|
495
497
|
"notEmpty": false,
|
|
496
498
|
"pattern": {
|
|
497
|
-
"value": "^(=|([0-9]
|
|
499
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
498
500
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
499
501
|
}
|
|
500
502
|
}
|
|
@@ -509,22 +511,56 @@
|
|
|
509
511
|
"type": "zeebe:taskHeader",
|
|
510
512
|
"key": "errorExpression"
|
|
511
513
|
}
|
|
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"
|
|
512
538
|
}
|
|
513
|
-
]
|
|
514
|
-
"engines": {
|
|
515
|
-
"camunda": "^8.2"
|
|
516
|
-
}
|
|
539
|
+
]
|
|
517
540
|
},
|
|
518
541
|
{
|
|
519
542
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
520
|
-
"name": "Twilio
|
|
543
|
+
"name": "Twilio Outbound Connector",
|
|
521
544
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
522
|
-
"version":
|
|
523
|
-
"
|
|
545
|
+
"version": 6,
|
|
546
|
+
"engines": {
|
|
547
|
+
"camunda": "^8.9"
|
|
548
|
+
},
|
|
549
|
+
"description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
|
|
550
|
+
"keywords": [
|
|
551
|
+
"send SMS",
|
|
552
|
+
"get message",
|
|
553
|
+
"list messages",
|
|
554
|
+
"SMS",
|
|
555
|
+
"text message",
|
|
556
|
+
"phone",
|
|
557
|
+
"messaging",
|
|
558
|
+
"notification"
|
|
559
|
+
],
|
|
524
560
|
"icon": {
|
|
525
561
|
"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
562
|
},
|
|
527
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
563
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
528
564
|
"category": {
|
|
529
565
|
"id": "connectors",
|
|
530
566
|
"name": "Connectors"
|
|
@@ -564,8 +600,7 @@
|
|
|
564
600
|
"type": "Hidden",
|
|
565
601
|
"value": "io.camunda:http-json:1",
|
|
566
602
|
"binding": {
|
|
567
|
-
"type": "zeebe:taskDefinition"
|
|
568
|
-
"property": "type"
|
|
603
|
+
"type": "zeebe:taskDefinition:type"
|
|
569
604
|
}
|
|
570
605
|
},
|
|
571
606
|
{
|
|
@@ -579,6 +614,10 @@
|
|
|
579
614
|
"name": "Send a SMS",
|
|
580
615
|
"value": "sendSms"
|
|
581
616
|
},
|
|
617
|
+
{
|
|
618
|
+
"name": "Send a WhatsApp message",
|
|
619
|
+
"value": "sendWhatsApp"
|
|
620
|
+
},
|
|
582
621
|
{
|
|
583
622
|
"name": "Get message",
|
|
584
623
|
"value": "getMessage"
|
|
@@ -593,6 +632,31 @@
|
|
|
593
632
|
"name": "operationType"
|
|
594
633
|
}
|
|
595
634
|
},
|
|
635
|
+
{
|
|
636
|
+
"label": "WhatsApp message type",
|
|
637
|
+
"id": "whatsappMessageType",
|
|
638
|
+
"group": "operation",
|
|
639
|
+
"type": "Dropdown",
|
|
640
|
+
"optional": false,
|
|
641
|
+
"choices": [
|
|
642
|
+
{
|
|
643
|
+
"name": "Free form message",
|
|
644
|
+
"value": "whatsappFreeFormMessage"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "Template message",
|
|
648
|
+
"value": "whatsappTemplateMessage"
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"binding": {
|
|
652
|
+
"type": "zeebe:input",
|
|
653
|
+
"name": "whatsappMessageType"
|
|
654
|
+
},
|
|
655
|
+
"condition": {
|
|
656
|
+
"property": "operationType",
|
|
657
|
+
"equals": "sendWhatsApp"
|
|
658
|
+
}
|
|
659
|
+
},
|
|
596
660
|
{
|
|
597
661
|
"id": "authType",
|
|
598
662
|
"label": "Authentication type",
|
|
@@ -616,7 +680,7 @@
|
|
|
616
680
|
},
|
|
617
681
|
{
|
|
618
682
|
"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
|
|
683
|
+
"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
684
|
"group": "authentication",
|
|
621
685
|
"type": "String",
|
|
622
686
|
"feel": "optional",
|
|
@@ -649,7 +713,7 @@
|
|
|
649
713
|
},
|
|
650
714
|
"condition": {
|
|
651
715
|
"property": "operationType",
|
|
652
|
-
"
|
|
716
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
653
717
|
}
|
|
654
718
|
},
|
|
655
719
|
{
|
|
@@ -666,20 +730,20 @@
|
|
|
666
730
|
},
|
|
667
731
|
{
|
|
668
732
|
"type": "Hidden",
|
|
669
|
-
"value": "={\"
|
|
733
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
670
734
|
"binding": {
|
|
671
735
|
"type": "zeebe:input",
|
|
672
736
|
"name": "headers"
|
|
673
737
|
},
|
|
674
738
|
"condition": {
|
|
675
739
|
"property": "operationType",
|
|
676
|
-
"
|
|
740
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
677
741
|
},
|
|
678
742
|
"optional": false
|
|
679
743
|
},
|
|
680
744
|
{
|
|
681
745
|
"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
|
|
746
|
+
"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
747
|
"group": "authentication",
|
|
684
748
|
"type": "String",
|
|
685
749
|
"feel": "optional",
|
|
@@ -697,7 +761,7 @@
|
|
|
697
761
|
},
|
|
698
762
|
{
|
|
699
763
|
"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
|
|
764
|
+
"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
765
|
"group": "authentication",
|
|
702
766
|
"type": "String",
|
|
703
767
|
"feel": "optional",
|
|
@@ -730,7 +794,7 @@
|
|
|
730
794
|
},
|
|
731
795
|
{
|
|
732
796
|
"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
|
|
797
|
+
"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
798
|
"group": "authentication",
|
|
735
799
|
"type": "String",
|
|
736
800
|
"feel": "optional",
|
|
@@ -766,137 +830,297 @@
|
|
|
766
830
|
"optional": false
|
|
767
831
|
},
|
|
768
832
|
{
|
|
769
|
-
"label": "
|
|
770
|
-
"description": "The content of the message that will be sent",
|
|
833
|
+
"label": "WhatsApp message text",
|
|
834
|
+
"description": "The content of the WhatsApp message that will be sent",
|
|
771
835
|
"group": "input",
|
|
772
836
|
"type": "Text",
|
|
773
837
|
"feel": "optional",
|
|
774
838
|
"binding": {
|
|
775
839
|
"type": "zeebe:input",
|
|
776
|
-
"name": "
|
|
840
|
+
"name": "WhatsAppBody"
|
|
777
841
|
},
|
|
778
842
|
"constraints": {
|
|
779
843
|
"notEmpty": true
|
|
780
844
|
},
|
|
781
845
|
"condition": {
|
|
782
|
-
"
|
|
783
|
-
|
|
846
|
+
"allMatch": [
|
|
847
|
+
{
|
|
848
|
+
"property": "operationType",
|
|
849
|
+
"equals": "sendWhatsApp"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"property": "whatsappMessageType",
|
|
853
|
+
"equals": "whatsappFreeFormMessage"
|
|
854
|
+
}
|
|
855
|
+
]
|
|
784
856
|
},
|
|
785
857
|
"optional": false
|
|
786
858
|
},
|
|
787
859
|
{
|
|
788
|
-
"label": "
|
|
789
|
-
"description": "The
|
|
860
|
+
"label": "WhatsApp template ID",
|
|
861
|
+
"description": "The ID of the WhatsApp template to be used",
|
|
790
862
|
"group": "input",
|
|
791
863
|
"type": "String",
|
|
792
864
|
"feel": "optional",
|
|
793
865
|
"binding": {
|
|
794
866
|
"type": "zeebe:input",
|
|
795
|
-
"name": "
|
|
867
|
+
"name": "ContentSid"
|
|
796
868
|
},
|
|
797
869
|
"constraints": {
|
|
798
870
|
"notEmpty": true
|
|
799
871
|
},
|
|
800
872
|
"condition": {
|
|
801
|
-
"
|
|
802
|
-
|
|
873
|
+
"allMatch": [
|
|
874
|
+
{
|
|
875
|
+
"property": "operationType",
|
|
876
|
+
"equals": "sendWhatsApp"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"property": "whatsappMessageType",
|
|
880
|
+
"equals": "whatsappTemplateMessage"
|
|
881
|
+
}
|
|
882
|
+
]
|
|
803
883
|
},
|
|
804
884
|
"optional": false
|
|
805
885
|
},
|
|
806
886
|
{
|
|
807
|
-
"label": "
|
|
808
|
-
"description": "
|
|
887
|
+
"label": "WhatsApp template parameters",
|
|
888
|
+
"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!",
|
|
809
889
|
"group": "input",
|
|
810
|
-
"type": "
|
|
811
|
-
"feel": "
|
|
890
|
+
"type": "Text",
|
|
891
|
+
"feel": "required",
|
|
892
|
+
"value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
|
|
812
893
|
"binding": {
|
|
813
894
|
"type": "zeebe:input",
|
|
814
|
-
"name": "
|
|
895
|
+
"name": "ContentVariables"
|
|
815
896
|
},
|
|
816
897
|
"constraints": {
|
|
817
898
|
"notEmpty": true
|
|
818
899
|
},
|
|
819
900
|
"condition": {
|
|
820
|
-
"
|
|
821
|
-
|
|
901
|
+
"allMatch": [
|
|
902
|
+
{
|
|
903
|
+
"property": "operationType",
|
|
904
|
+
"equals": "sendWhatsApp"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"property": "whatsappMessageType",
|
|
908
|
+
"equals": "whatsappTemplateMessage"
|
|
909
|
+
}
|
|
910
|
+
]
|
|
822
911
|
},
|
|
823
912
|
"optional": false
|
|
824
913
|
},
|
|
825
914
|
{
|
|
826
|
-
"label": "
|
|
827
|
-
"
|
|
828
|
-
"
|
|
829
|
-
"group": "filter",
|
|
915
|
+
"label": "From WhatsApp number",
|
|
916
|
+
"description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
|
|
917
|
+
"group": "input",
|
|
830
918
|
"type": "String",
|
|
831
919
|
"feel": "optional",
|
|
832
920
|
"binding": {
|
|
833
921
|
"type": "zeebe:input",
|
|
834
|
-
"name": "
|
|
922
|
+
"name": "From"
|
|
835
923
|
},
|
|
836
924
|
"constraints": {
|
|
837
|
-
"notEmpty":
|
|
925
|
+
"notEmpty": true
|
|
838
926
|
},
|
|
839
927
|
"condition": {
|
|
840
928
|
"property": "operationType",
|
|
841
|
-
"
|
|
929
|
+
"equals": "sendWhatsApp"
|
|
842
930
|
},
|
|
843
|
-
"optional":
|
|
931
|
+
"optional": false
|
|
844
932
|
},
|
|
845
933
|
{
|
|
846
|
-
"label": "
|
|
847
|
-
"description": "The
|
|
848
|
-
"group": "
|
|
934
|
+
"label": "To WhatsApp number",
|
|
935
|
+
"description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
|
|
936
|
+
"group": "input",
|
|
849
937
|
"type": "String",
|
|
850
938
|
"feel": "optional",
|
|
851
939
|
"binding": {
|
|
852
940
|
"type": "zeebe:input",
|
|
853
|
-
"name": "
|
|
941
|
+
"name": "To"
|
|
854
942
|
},
|
|
855
943
|
"constraints": {
|
|
856
|
-
"notEmpty":
|
|
944
|
+
"notEmpty": true
|
|
857
945
|
},
|
|
858
946
|
"condition": {
|
|
859
947
|
"property": "operationType",
|
|
860
|
-
"
|
|
948
|
+
"equals": "sendWhatsApp"
|
|
861
949
|
},
|
|
862
|
-
"optional":
|
|
950
|
+
"optional": false
|
|
863
951
|
},
|
|
864
952
|
{
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"group": "filter",
|
|
868
|
-
"type": "String",
|
|
869
|
-
"feel": "optional",
|
|
953
|
+
"type": "Hidden",
|
|
954
|
+
"value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
|
|
870
955
|
"binding": {
|
|
871
956
|
"type": "zeebe:input",
|
|
872
|
-
"name": "
|
|
873
|
-
},
|
|
874
|
-
"constraints": {
|
|
875
|
-
"notEmpty": false
|
|
957
|
+
"name": "body"
|
|
876
958
|
},
|
|
877
959
|
"condition": {
|
|
878
|
-
"
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
960
|
+
"allMatch": [
|
|
961
|
+
{
|
|
962
|
+
"property": "operationType",
|
|
963
|
+
"equals": "sendWhatsApp"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"property": "whatsappMessageType",
|
|
967
|
+
"equals": "whatsappTemplateMessage"
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
}
|
|
882
971
|
},
|
|
883
972
|
{
|
|
884
|
-
"
|
|
885
|
-
"
|
|
886
|
-
"group": "filter",
|
|
887
|
-
"type": "String",
|
|
888
|
-
"feel": "optional",
|
|
973
|
+
"type": "Hidden",
|
|
974
|
+
"value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
|
|
889
975
|
"binding": {
|
|
890
976
|
"type": "zeebe:input",
|
|
891
|
-
"name": "
|
|
892
|
-
},
|
|
893
|
-
"constraints": {
|
|
894
|
-
"notEmpty": false
|
|
977
|
+
"name": "body"
|
|
895
978
|
},
|
|
896
979
|
"condition": {
|
|
897
|
-
"
|
|
898
|
-
|
|
899
|
-
|
|
980
|
+
"allMatch": [
|
|
981
|
+
{
|
|
982
|
+
"property": "operationType",
|
|
983
|
+
"equals": "sendWhatsApp"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"property": "whatsappMessageType",
|
|
987
|
+
"equals": "whatsappFreeFormMessage"
|
|
988
|
+
}
|
|
989
|
+
]
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"label": "Message text",
|
|
994
|
+
"description": "The content of the message that will be sent",
|
|
995
|
+
"group": "input",
|
|
996
|
+
"type": "Text",
|
|
997
|
+
"feel": "optional",
|
|
998
|
+
"binding": {
|
|
999
|
+
"type": "zeebe:input",
|
|
1000
|
+
"name": "body.Body"
|
|
1001
|
+
},
|
|
1002
|
+
"constraints": {
|
|
1003
|
+
"notEmpty": true
|
|
1004
|
+
},
|
|
1005
|
+
"condition": {
|
|
1006
|
+
"property": "operationType",
|
|
1007
|
+
"equals": "sendSms"
|
|
1008
|
+
},
|
|
1009
|
+
"optional": false
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"label": "From number",
|
|
1013
|
+
"description": "The originating Twilio phone number used for sending the message",
|
|
1014
|
+
"group": "input",
|
|
1015
|
+
"type": "String",
|
|
1016
|
+
"feel": "optional",
|
|
1017
|
+
"binding": {
|
|
1018
|
+
"type": "zeebe:input",
|
|
1019
|
+
"name": "body.From"
|
|
1020
|
+
},
|
|
1021
|
+
"constraints": {
|
|
1022
|
+
"notEmpty": true
|
|
1023
|
+
},
|
|
1024
|
+
"condition": {
|
|
1025
|
+
"property": "operationType",
|
|
1026
|
+
"equals": "sendSms"
|
|
1027
|
+
},
|
|
1028
|
+
"optional": false
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"label": "To number",
|
|
1032
|
+
"description": "The recipient's phone number",
|
|
1033
|
+
"group": "input",
|
|
1034
|
+
"type": "String",
|
|
1035
|
+
"feel": "optional",
|
|
1036
|
+
"binding": {
|
|
1037
|
+
"type": "zeebe:input",
|
|
1038
|
+
"name": "body.To"
|
|
1039
|
+
},
|
|
1040
|
+
"constraints": {
|
|
1041
|
+
"notEmpty": true
|
|
1042
|
+
},
|
|
1043
|
+
"condition": {
|
|
1044
|
+
"property": "operationType",
|
|
1045
|
+
"equals": "sendSms"
|
|
1046
|
+
},
|
|
1047
|
+
"optional": false
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"label": "Page size",
|
|
1051
|
+
"id": "pageSize",
|
|
1052
|
+
"description": "The maximum number of messages to retrieve per page",
|
|
1053
|
+
"group": "filter",
|
|
1054
|
+
"type": "String",
|
|
1055
|
+
"feel": "optional",
|
|
1056
|
+
"binding": {
|
|
1057
|
+
"type": "zeebe:input",
|
|
1058
|
+
"name": "pageSizeValue"
|
|
1059
|
+
},
|
|
1060
|
+
"constraints": {
|
|
1061
|
+
"notEmpty": false
|
|
1062
|
+
},
|
|
1063
|
+
"condition": {
|
|
1064
|
+
"property": "operationType",
|
|
1065
|
+
"oneOf": ["listMessages"]
|
|
1066
|
+
},
|
|
1067
|
+
"optional": true
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"label": "Date sent",
|
|
1071
|
+
"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>)",
|
|
1072
|
+
"group": "filter",
|
|
1073
|
+
"type": "String",
|
|
1074
|
+
"feel": "optional",
|
|
1075
|
+
"binding": {
|
|
1076
|
+
"type": "zeebe:input",
|
|
1077
|
+
"name": "dateSentValue"
|
|
1078
|
+
},
|
|
1079
|
+
"constraints": {
|
|
1080
|
+
"notEmpty": false
|
|
1081
|
+
},
|
|
1082
|
+
"condition": {
|
|
1083
|
+
"property": "operationType",
|
|
1084
|
+
"oneOf": ["listMessages"]
|
|
1085
|
+
},
|
|
1086
|
+
"optional": true
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"label": "Date before message was sent",
|
|
1090
|
+
"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>)",
|
|
1091
|
+
"group": "filter",
|
|
1092
|
+
"type": "String",
|
|
1093
|
+
"feel": "optional",
|
|
1094
|
+
"binding": {
|
|
1095
|
+
"type": "zeebe:input",
|
|
1096
|
+
"name": "dateSentBeforeValue"
|
|
1097
|
+
},
|
|
1098
|
+
"constraints": {
|
|
1099
|
+
"notEmpty": false
|
|
1100
|
+
},
|
|
1101
|
+
"condition": {
|
|
1102
|
+
"property": "operationType",
|
|
1103
|
+
"oneOf": ["listMessages"]
|
|
1104
|
+
},
|
|
1105
|
+
"optional": true
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"label": "Date after message was sent",
|
|
1109
|
+
"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>)",
|
|
1110
|
+
"group": "filter",
|
|
1111
|
+
"type": "String",
|
|
1112
|
+
"feel": "optional",
|
|
1113
|
+
"binding": {
|
|
1114
|
+
"type": "zeebe:input",
|
|
1115
|
+
"name": "dateSentAfterValue"
|
|
1116
|
+
},
|
|
1117
|
+
"constraints": {
|
|
1118
|
+
"notEmpty": false
|
|
1119
|
+
},
|
|
1120
|
+
"condition": {
|
|
1121
|
+
"property": "operationType",
|
|
1122
|
+
"oneOf": ["listMessages"]
|
|
1123
|
+
},
|
|
900
1124
|
"optional": true
|
|
901
1125
|
},
|
|
902
1126
|
{
|
|
@@ -959,7 +1183,7 @@
|
|
|
959
1183
|
},
|
|
960
1184
|
"condition": {
|
|
961
1185
|
"property": "operationType",
|
|
962
|
-
"oneOf": ["sendSms", "listMessages"]
|
|
1186
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
963
1187
|
}
|
|
964
1188
|
},
|
|
965
1189
|
{
|
|
@@ -1010,7 +1234,7 @@
|
|
|
1010
1234
|
"constraints": {
|
|
1011
1235
|
"notEmpty": false,
|
|
1012
1236
|
"pattern": {
|
|
1013
|
-
"value": "^(=|([0-9]
|
|
1237
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1014
1238
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1015
1239
|
}
|
|
1016
1240
|
}
|
|
@@ -1025,17 +1249,38 @@
|
|
|
1025
1249
|
"type": "zeebe:taskHeader",
|
|
1026
1250
|
"key": "errorExpression"
|
|
1027
1251
|
}
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"id": "version",
|
|
1255
|
+
"label": "Version",
|
|
1256
|
+
"description": "Version of the element template",
|
|
1257
|
+
"value": "6",
|
|
1258
|
+
"group": "connector",
|
|
1259
|
+
"binding": {
|
|
1260
|
+
"key": "elementTemplateVersion",
|
|
1261
|
+
"type": "zeebe:taskHeader"
|
|
1262
|
+
},
|
|
1263
|
+
"type": "Hidden"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"id": "id",
|
|
1267
|
+
"label": "ID",
|
|
1268
|
+
"description": "ID of the element template",
|
|
1269
|
+
"value": "io.camunda.connectors.Twilio.v1",
|
|
1270
|
+
"group": "connector",
|
|
1271
|
+
"binding": {
|
|
1272
|
+
"key": "elementTemplateId",
|
|
1273
|
+
"type": "zeebe:taskHeader"
|
|
1274
|
+
},
|
|
1275
|
+
"type": "Hidden"
|
|
1028
1276
|
}
|
|
1029
|
-
]
|
|
1030
|
-
"engines": {
|
|
1031
|
-
"camunda": "^8.2"
|
|
1032
|
-
}
|
|
1277
|
+
]
|
|
1033
1278
|
},
|
|
1034
1279
|
{
|
|
1035
1280
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1036
1281
|
"name": "Twilio Outbound Connector",
|
|
1037
1282
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
1038
|
-
"version":
|
|
1283
|
+
"version": 4,
|
|
1039
1284
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
1040
1285
|
"icon": {
|
|
1041
1286
|
"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"
|
|
@@ -1182,7 +1427,7 @@
|
|
|
1182
1427
|
},
|
|
1183
1428
|
{
|
|
1184
1429
|
"type": "Hidden",
|
|
1185
|
-
"value": "={\"
|
|
1430
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
1186
1431
|
"binding": {
|
|
1187
1432
|
"type": "zeebe:input",
|
|
1188
1433
|
"name": "headers"
|
|
@@ -1544,19 +1789,19 @@
|
|
|
1544
1789
|
}
|
|
1545
1790
|
],
|
|
1546
1791
|
"engines": {
|
|
1547
|
-
"camunda": "^8.
|
|
1792
|
+
"camunda": "^8.6"
|
|
1548
1793
|
}
|
|
1549
1794
|
},
|
|
1550
1795
|
{
|
|
1551
1796
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1552
|
-
"name": "Twilio
|
|
1797
|
+
"name": "Twilio connector",
|
|
1553
1798
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
1554
|
-
"version":
|
|
1799
|
+
"version": 2,
|
|
1555
1800
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
1556
1801
|
"icon": {
|
|
1557
1802
|
"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
1803
|
},
|
|
1559
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1804
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
|
|
1560
1805
|
"category": {
|
|
1561
1806
|
"id": "connectors",
|
|
1562
1807
|
"name": "Connectors"
|
|
@@ -1648,7 +1893,7 @@
|
|
|
1648
1893
|
},
|
|
1649
1894
|
{
|
|
1650
1895
|
"label": "Account SID",
|
|
1651
|
-
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1896
|
+
"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>",
|
|
1652
1897
|
"group": "authentication",
|
|
1653
1898
|
"type": "String",
|
|
1654
1899
|
"feel": "optional",
|
|
@@ -1698,7 +1943,7 @@
|
|
|
1698
1943
|
},
|
|
1699
1944
|
{
|
|
1700
1945
|
"type": "Hidden",
|
|
1701
|
-
"value": "={\"
|
|
1946
|
+
"value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
|
|
1702
1947
|
"binding": {
|
|
1703
1948
|
"type": "zeebe:input",
|
|
1704
1949
|
"name": "headers"
|
|
@@ -1711,7 +1956,7 @@
|
|
|
1711
1956
|
},
|
|
1712
1957
|
{
|
|
1713
1958
|
"label": "API key",
|
|
1714
|
-
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1959
|
+
"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",
|
|
1715
1960
|
"group": "authentication",
|
|
1716
1961
|
"type": "String",
|
|
1717
1962
|
"feel": "optional",
|
|
@@ -1729,7 +1974,7 @@
|
|
|
1729
1974
|
},
|
|
1730
1975
|
{
|
|
1731
1976
|
"label": "API secret",
|
|
1732
|
-
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1977
|
+
"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",
|
|
1733
1978
|
"group": "authentication",
|
|
1734
1979
|
"type": "String",
|
|
1735
1980
|
"feel": "optional",
|
|
@@ -1762,7 +2007,7 @@
|
|
|
1762
2007
|
},
|
|
1763
2008
|
{
|
|
1764
2009
|
"label": "Authentication token",
|
|
1765
|
-
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2010
|
+
"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>",
|
|
1766
2011
|
"group": "authentication",
|
|
1767
2012
|
"type": "String",
|
|
1768
2013
|
"feel": "optional",
|
|
@@ -1876,7 +2121,7 @@
|
|
|
1876
2121
|
},
|
|
1877
2122
|
{
|
|
1878
2123
|
"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
|
|
2124
|
+
"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>)",
|
|
1880
2125
|
"group": "filter",
|
|
1881
2126
|
"type": "String",
|
|
1882
2127
|
"feel": "optional",
|
|
@@ -1895,7 +2140,7 @@
|
|
|
1895
2140
|
},
|
|
1896
2141
|
{
|
|
1897
2142
|
"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
|
|
2143
|
+
"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>)",
|
|
1899
2144
|
"group": "filter",
|
|
1900
2145
|
"type": "String",
|
|
1901
2146
|
"feel": "optional",
|
|
@@ -1914,7 +2159,7 @@
|
|
|
1914
2159
|
},
|
|
1915
2160
|
{
|
|
1916
2161
|
"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
|
|
2162
|
+
"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>)",
|
|
1918
2163
|
"group": "filter",
|
|
1919
2164
|
"type": "String",
|
|
1920
2165
|
"feel": "optional",
|
|
@@ -2042,14 +2287,14 @@
|
|
|
2042
2287
|
"constraints": {
|
|
2043
2288
|
"notEmpty": false,
|
|
2044
2289
|
"pattern": {
|
|
2045
|
-
"value": "^(=|([0-9]
|
|
2290
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
2046
2291
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2047
2292
|
}
|
|
2048
2293
|
}
|
|
2049
2294
|
},
|
|
2050
2295
|
{
|
|
2051
2296
|
"label": "Error expression",
|
|
2052
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2297
|
+
"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
2298
|
"group": "errors",
|
|
2054
2299
|
"type": "Text",
|
|
2055
2300
|
"feel": "required",
|
|
@@ -2060,32 +2305,19 @@
|
|
|
2060
2305
|
}
|
|
2061
2306
|
],
|
|
2062
2307
|
"engines": {
|
|
2063
|
-
"camunda": "^8.
|
|
2308
|
+
"camunda": "^8.2"
|
|
2064
2309
|
}
|
|
2065
2310
|
},
|
|
2066
2311
|
{
|
|
2067
2312
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2068
|
-
"name": "Twilio
|
|
2313
|
+
"name": "Twilio connector",
|
|
2069
2314
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
2070
|
-
"version":
|
|
2071
|
-
"
|
|
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
|
-
],
|
|
2315
|
+
"version": 1,
|
|
2316
|
+
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
2085
2317
|
"icon": {
|
|
2086
2318
|
"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
2319
|
},
|
|
2088
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2320
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
|
|
2089
2321
|
"category": {
|
|
2090
2322
|
"id": "connectors",
|
|
2091
2323
|
"name": "Connectors"
|
|
@@ -2125,7 +2357,8 @@
|
|
|
2125
2357
|
"type": "Hidden",
|
|
2126
2358
|
"value": "io.camunda:http-json:1",
|
|
2127
2359
|
"binding": {
|
|
2128
|
-
"type": "zeebe:taskDefinition
|
|
2360
|
+
"type": "zeebe:taskDefinition",
|
|
2361
|
+
"property": "type"
|
|
2129
2362
|
}
|
|
2130
2363
|
},
|
|
2131
2364
|
{
|
|
@@ -2139,10 +2372,6 @@
|
|
|
2139
2372
|
"name": "Send a SMS",
|
|
2140
2373
|
"value": "sendSms"
|
|
2141
2374
|
},
|
|
2142
|
-
{
|
|
2143
|
-
"name": "Send a WhatsApp message",
|
|
2144
|
-
"value": "sendWhatsApp"
|
|
2145
|
-
},
|
|
2146
2375
|
{
|
|
2147
2376
|
"name": "Get message",
|
|
2148
2377
|
"value": "getMessage"
|
|
@@ -2158,28 +2387,519 @@
|
|
|
2158
2387
|
}
|
|
2159
2388
|
},
|
|
2160
2389
|
{
|
|
2161
|
-
"
|
|
2162
|
-
"
|
|
2163
|
-
"group": "
|
|
2390
|
+
"id": "authType",
|
|
2391
|
+
"label": "Authentication type",
|
|
2392
|
+
"group": "authentication",
|
|
2164
2393
|
"type": "Dropdown",
|
|
2165
|
-
"
|
|
2394
|
+
"value": "get",
|
|
2166
2395
|
"choices": [
|
|
2167
2396
|
{
|
|
2168
|
-
"name": "
|
|
2169
|
-
"value": "
|
|
2397
|
+
"name": "Account SID and Auth token",
|
|
2398
|
+
"value": "accountSidAuthToken"
|
|
2170
2399
|
},
|
|
2171
2400
|
{
|
|
2172
|
-
"name": "
|
|
2173
|
-
"value": "
|
|
2401
|
+
"name": "API key and secret",
|
|
2402
|
+
"value": "apiKeySecret"
|
|
2174
2403
|
}
|
|
2175
2404
|
],
|
|
2176
2405
|
"binding": {
|
|
2177
2406
|
"type": "zeebe:input",
|
|
2178
|
-
"name": "
|
|
2407
|
+
"name": "authType"
|
|
2408
|
+
}
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"label": "Account SID",
|
|
2412
|
+
"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>",
|
|
2413
|
+
"group": "authentication",
|
|
2414
|
+
"type": "String",
|
|
2415
|
+
"feel": "optional",
|
|
2416
|
+
"binding": {
|
|
2417
|
+
"type": "zeebe:input",
|
|
2418
|
+
"name": "accountSid"
|
|
2419
|
+
},
|
|
2420
|
+
"constraints": {
|
|
2421
|
+
"notEmpty": true
|
|
2422
|
+
},
|
|
2423
|
+
"condition": {
|
|
2424
|
+
"property": "authType",
|
|
2425
|
+
"oneOf": ["apiKeySecret", "accountSidAuthToken"]
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
"value": "basic",
|
|
2430
|
+
"type": "Hidden",
|
|
2431
|
+
"binding": {
|
|
2432
|
+
"type": "zeebe:input",
|
|
2433
|
+
"name": "authentication.type"
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"type": "Hidden",
|
|
2438
|
+
"value": "post",
|
|
2439
|
+
"binding": {
|
|
2440
|
+
"type": "zeebe:input",
|
|
2441
|
+
"name": "method"
|
|
2179
2442
|
},
|
|
2180
2443
|
"condition": {
|
|
2181
2444
|
"property": "operationType",
|
|
2182
|
-
"equals": "
|
|
2445
|
+
"equals": "sendSms"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"type": "Hidden",
|
|
2450
|
+
"value": "get",
|
|
2451
|
+
"binding": {
|
|
2452
|
+
"type": "zeebe:input",
|
|
2453
|
+
"name": "method"
|
|
2454
|
+
},
|
|
2455
|
+
"condition": {
|
|
2456
|
+
"property": "operationType",
|
|
2457
|
+
"oneOf": ["listMessages", "getMessage"]
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"type": "Hidden",
|
|
2462
|
+
"value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
|
|
2463
|
+
"binding": {
|
|
2464
|
+
"type": "zeebe:input",
|
|
2465
|
+
"name": "headers"
|
|
2466
|
+
},
|
|
2467
|
+
"condition": {
|
|
2468
|
+
"property": "operationType",
|
|
2469
|
+
"equals": "sendSms"
|
|
2470
|
+
},
|
|
2471
|
+
"optional": false
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"label": "API key",
|
|
2475
|
+
"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",
|
|
2476
|
+
"group": "authentication",
|
|
2477
|
+
"type": "String",
|
|
2478
|
+
"feel": "optional",
|
|
2479
|
+
"binding": {
|
|
2480
|
+
"type": "zeebe:input",
|
|
2481
|
+
"name": "authentication.username"
|
|
2482
|
+
},
|
|
2483
|
+
"constraints": {
|
|
2484
|
+
"notEmpty": true
|
|
2485
|
+
},
|
|
2486
|
+
"condition": {
|
|
2487
|
+
"property": "authType",
|
|
2488
|
+
"equals": "apiKeySecret"
|
|
2489
|
+
}
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"label": "API secret",
|
|
2493
|
+
"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",
|
|
2494
|
+
"group": "authentication",
|
|
2495
|
+
"type": "String",
|
|
2496
|
+
"feel": "optional",
|
|
2497
|
+
"binding": {
|
|
2498
|
+
"type": "zeebe:input",
|
|
2499
|
+
"name": "authentication.password"
|
|
2500
|
+
},
|
|
2501
|
+
"constraints": {
|
|
2502
|
+
"notEmpty": true
|
|
2503
|
+
},
|
|
2504
|
+
"condition": {
|
|
2505
|
+
"property": "authType",
|
|
2506
|
+
"equals": "apiKeySecret"
|
|
2507
|
+
}
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"type": "Hidden",
|
|
2511
|
+
"value": "=accountSid",
|
|
2512
|
+
"binding": {
|
|
2513
|
+
"type": "zeebe:input",
|
|
2514
|
+
"name": "authentication.username"
|
|
2515
|
+
},
|
|
2516
|
+
"constraints": {
|
|
2517
|
+
"notEmpty": true
|
|
2518
|
+
},
|
|
2519
|
+
"condition": {
|
|
2520
|
+
"property": "authType",
|
|
2521
|
+
"oneOf": ["accountSidAuthToken"]
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"label": "Authentication token",
|
|
2526
|
+
"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>",
|
|
2527
|
+
"group": "authentication",
|
|
2528
|
+
"type": "String",
|
|
2529
|
+
"feel": "optional",
|
|
2530
|
+
"binding": {
|
|
2531
|
+
"type": "zeebe:input",
|
|
2532
|
+
"name": "authentication.password"
|
|
2533
|
+
},
|
|
2534
|
+
"constraints": {
|
|
2535
|
+
"notEmpty": true
|
|
2536
|
+
},
|
|
2537
|
+
"condition": {
|
|
2538
|
+
"property": "authType",
|
|
2539
|
+
"equals": "accountSidAuthToken"
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"label": "Message SID",
|
|
2544
|
+
"description": "Obtain information regarding the message with SID",
|
|
2545
|
+
"group": "input",
|
|
2546
|
+
"type": "String",
|
|
2547
|
+
"feel": "optional",
|
|
2548
|
+
"binding": {
|
|
2549
|
+
"type": "zeebe:input",
|
|
2550
|
+
"name": "messageSid"
|
|
2551
|
+
},
|
|
2552
|
+
"constraints": {
|
|
2553
|
+
"notEmpty": true
|
|
2554
|
+
},
|
|
2555
|
+
"condition": {
|
|
2556
|
+
"property": "operationType",
|
|
2557
|
+
"oneOf": ["getMessage"]
|
|
2558
|
+
},
|
|
2559
|
+
"optional": false
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"label": "Message text",
|
|
2563
|
+
"description": "The content of the message that will be sent",
|
|
2564
|
+
"group": "input",
|
|
2565
|
+
"type": "Text",
|
|
2566
|
+
"feel": "optional",
|
|
2567
|
+
"binding": {
|
|
2568
|
+
"type": "zeebe:input",
|
|
2569
|
+
"name": "body.Body"
|
|
2570
|
+
},
|
|
2571
|
+
"constraints": {
|
|
2572
|
+
"notEmpty": true
|
|
2573
|
+
},
|
|
2574
|
+
"condition": {
|
|
2575
|
+
"property": "operationType",
|
|
2576
|
+
"oneOf": ["sendSms"]
|
|
2577
|
+
},
|
|
2578
|
+
"optional": false
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
"label": "From number",
|
|
2582
|
+
"description": "The originating Twilio phone number used for sending the message",
|
|
2583
|
+
"group": "input",
|
|
2584
|
+
"type": "String",
|
|
2585
|
+
"feel": "optional",
|
|
2586
|
+
"binding": {
|
|
2587
|
+
"type": "zeebe:input",
|
|
2588
|
+
"name": "body.From"
|
|
2589
|
+
},
|
|
2590
|
+
"constraints": {
|
|
2591
|
+
"notEmpty": true
|
|
2592
|
+
},
|
|
2593
|
+
"condition": {
|
|
2594
|
+
"property": "operationType",
|
|
2595
|
+
"oneOf": ["sendSms"]
|
|
2596
|
+
},
|
|
2597
|
+
"optional": false
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"label": "To number",
|
|
2601
|
+
"description": "The recipient's phone number",
|
|
2602
|
+
"group": "input",
|
|
2603
|
+
"type": "String",
|
|
2604
|
+
"feel": "optional",
|
|
2605
|
+
"binding": {
|
|
2606
|
+
"type": "zeebe:input",
|
|
2607
|
+
"name": "body.To"
|
|
2608
|
+
},
|
|
2609
|
+
"constraints": {
|
|
2610
|
+
"notEmpty": true
|
|
2611
|
+
},
|
|
2612
|
+
"condition": {
|
|
2613
|
+
"property": "operationType",
|
|
2614
|
+
"oneOf": ["sendSms"]
|
|
2615
|
+
},
|
|
2616
|
+
"optional": false
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"label": "Page size",
|
|
2620
|
+
"id": "pageSize",
|
|
2621
|
+
"description": "The maximum number of messages to retrieve per page",
|
|
2622
|
+
"group": "filter",
|
|
2623
|
+
"type": "String",
|
|
2624
|
+
"feel": "optional",
|
|
2625
|
+
"binding": {
|
|
2626
|
+
"type": "zeebe:input",
|
|
2627
|
+
"name": "pageSizeValue"
|
|
2628
|
+
},
|
|
2629
|
+
"constraints": {
|
|
2630
|
+
"notEmpty": false
|
|
2631
|
+
},
|
|
2632
|
+
"condition": {
|
|
2633
|
+
"property": "operationType",
|
|
2634
|
+
"oneOf": ["listMessages"]
|
|
2635
|
+
},
|
|
2636
|
+
"optional": true
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
"label": "Date sent",
|
|
2640
|
+
"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>)",
|
|
2641
|
+
"group": "filter",
|
|
2642
|
+
"type": "String",
|
|
2643
|
+
"feel": "optional",
|
|
2644
|
+
"binding": {
|
|
2645
|
+
"type": "zeebe:input",
|
|
2646
|
+
"name": "dateSentValue"
|
|
2647
|
+
},
|
|
2648
|
+
"constraints": {
|
|
2649
|
+
"notEmpty": false
|
|
2650
|
+
},
|
|
2651
|
+
"condition": {
|
|
2652
|
+
"property": "operationType",
|
|
2653
|
+
"oneOf": ["listMessages"]
|
|
2654
|
+
},
|
|
2655
|
+
"optional": true
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
"label": "Date before message was sent",
|
|
2659
|
+
"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>)",
|
|
2660
|
+
"group": "filter",
|
|
2661
|
+
"type": "String",
|
|
2662
|
+
"feel": "optional",
|
|
2663
|
+
"binding": {
|
|
2664
|
+
"type": "zeebe:input",
|
|
2665
|
+
"name": "dateSentBeforeValue"
|
|
2666
|
+
},
|
|
2667
|
+
"constraints": {
|
|
2668
|
+
"notEmpty": false
|
|
2669
|
+
},
|
|
2670
|
+
"condition": {
|
|
2671
|
+
"property": "operationType",
|
|
2672
|
+
"oneOf": ["listMessages"]
|
|
2673
|
+
},
|
|
2674
|
+
"optional": true
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
"label": "Date after message was sent",
|
|
2678
|
+
"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>)",
|
|
2679
|
+
"group": "filter",
|
|
2680
|
+
"type": "String",
|
|
2681
|
+
"feel": "optional",
|
|
2682
|
+
"binding": {
|
|
2683
|
+
"type": "zeebe:input",
|
|
2684
|
+
"name": "dateSentAfterValue"
|
|
2685
|
+
},
|
|
2686
|
+
"constraints": {
|
|
2687
|
+
"notEmpty": false
|
|
2688
|
+
},
|
|
2689
|
+
"condition": {
|
|
2690
|
+
"property": "operationType",
|
|
2691
|
+
"oneOf": ["listMessages"]
|
|
2692
|
+
},
|
|
2693
|
+
"optional": true
|
|
2694
|
+
},
|
|
2695
|
+
{
|
|
2696
|
+
"label": "From",
|
|
2697
|
+
"description": "The phone number or client identifier of the message sender",
|
|
2698
|
+
"group": "filter",
|
|
2699
|
+
"type": "String",
|
|
2700
|
+
"feel": "optional",
|
|
2701
|
+
"binding": {
|
|
2702
|
+
"type": "zeebe:input",
|
|
2703
|
+
"name": "fromFilterValue"
|
|
2704
|
+
},
|
|
2705
|
+
"constraints": {
|
|
2706
|
+
"notEmpty": false
|
|
2707
|
+
},
|
|
2708
|
+
"condition": {
|
|
2709
|
+
"property": "operationType",
|
|
2710
|
+
"oneOf": ["listMessages"]
|
|
2711
|
+
},
|
|
2712
|
+
"optional": true
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"label": "To",
|
|
2716
|
+
"description": "The phone number or client identifier of the message recipient",
|
|
2717
|
+
"group": "filter",
|
|
2718
|
+
"type": "String",
|
|
2719
|
+
"feel": "optional",
|
|
2720
|
+
"binding": {
|
|
2721
|
+
"type": "zeebe:input",
|
|
2722
|
+
"name": "toFilterValue"
|
|
2723
|
+
},
|
|
2724
|
+
"constraints": {
|
|
2725
|
+
"notEmpty": false
|
|
2726
|
+
},
|
|
2727
|
+
"condition": {
|
|
2728
|
+
"property": "operationType",
|
|
2729
|
+
"oneOf": ["listMessages"]
|
|
2730
|
+
},
|
|
2731
|
+
"optional": true
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
"type": "Hidden",
|
|
2735
|
+
"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})",
|
|
2736
|
+
"binding": {
|
|
2737
|
+
"type": "zeebe:input",
|
|
2738
|
+
"name": "queryParameters"
|
|
2739
|
+
},
|
|
2740
|
+
"optional": true,
|
|
2741
|
+
"condition": {
|
|
2742
|
+
"property": "operationType",
|
|
2743
|
+
"oneOf": ["listMessages"]
|
|
2744
|
+
}
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
"type": "Hidden",
|
|
2748
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
|
|
2749
|
+
"binding": {
|
|
2750
|
+
"type": "zeebe:input",
|
|
2751
|
+
"name": "url"
|
|
2752
|
+
},
|
|
2753
|
+
"condition": {
|
|
2754
|
+
"property": "operationType",
|
|
2755
|
+
"oneOf": ["sendSms", "listMessages"]
|
|
2756
|
+
}
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"type": "Hidden",
|
|
2760
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
|
|
2761
|
+
"binding": {
|
|
2762
|
+
"type": "zeebe:input",
|
|
2763
|
+
"name": "url"
|
|
2764
|
+
},
|
|
2765
|
+
"condition": {
|
|
2766
|
+
"property": "operationType",
|
|
2767
|
+
"oneOf": ["getMessage"]
|
|
2768
|
+
}
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"label": "Result variable",
|
|
2772
|
+
"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>",
|
|
2773
|
+
"group": "output",
|
|
2774
|
+
"type": "String",
|
|
2775
|
+
"binding": {
|
|
2776
|
+
"type": "zeebe:taskHeader",
|
|
2777
|
+
"key": "resultVariable"
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"label": "Result expression",
|
|
2782
|
+
"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>",
|
|
2783
|
+
"group": "output",
|
|
2784
|
+
"type": "Text",
|
|
2785
|
+
"feel": "required",
|
|
2786
|
+
"binding": {
|
|
2787
|
+
"type": "zeebe:taskHeader",
|
|
2788
|
+
"key": "resultExpression"
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"label": "Connection timeout",
|
|
2793
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
2794
|
+
"group": "errors",
|
|
2795
|
+
"type": "String",
|
|
2796
|
+
"value": "20",
|
|
2797
|
+
"binding": {
|
|
2798
|
+
"type": "zeebe:input",
|
|
2799
|
+
"name": "connectionTimeoutInSeconds"
|
|
2800
|
+
},
|
|
2801
|
+
"optional": true,
|
|
2802
|
+
"feel": "optional",
|
|
2803
|
+
"constraints": {
|
|
2804
|
+
"notEmpty": false,
|
|
2805
|
+
"pattern": {
|
|
2806
|
+
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
2807
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"label": "Error expression",
|
|
2813
|
+
"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>",
|
|
2814
|
+
"group": "errors",
|
|
2815
|
+
"type": "Text",
|
|
2816
|
+
"feel": "required",
|
|
2817
|
+
"binding": {
|
|
2818
|
+
"type": "zeebe:taskHeader",
|
|
2819
|
+
"key": "errorExpression"
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
],
|
|
2823
|
+
"engines": {
|
|
2824
|
+
"camunda": "^8.2"
|
|
2825
|
+
}
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2829
|
+
"name": "Twilio Outbound Connector",
|
|
2830
|
+
"id": "io.camunda.connectors.Twilio.v1",
|
|
2831
|
+
"version": 3,
|
|
2832
|
+
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
2833
|
+
"icon": {
|
|
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"
|
|
2835
|
+
},
|
|
2836
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
2837
|
+
"category": {
|
|
2838
|
+
"id": "connectors",
|
|
2839
|
+
"name": "Connectors"
|
|
2840
|
+
},
|
|
2841
|
+
"appliesTo": ["bpmn:Task"],
|
|
2842
|
+
"elementType": {
|
|
2843
|
+
"value": "bpmn:ServiceTask"
|
|
2844
|
+
},
|
|
2845
|
+
"groups": [
|
|
2846
|
+
{
|
|
2847
|
+
"id": "operation",
|
|
2848
|
+
"label": "Operation"
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"id": "authentication",
|
|
2852
|
+
"label": "Authentication"
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
"id": "input",
|
|
2856
|
+
"label": "Input"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"id": "filter",
|
|
2860
|
+
"label": "Filter"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"id": "output",
|
|
2864
|
+
"label": "Response mapping"
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"id": "errors",
|
|
2868
|
+
"label": "Error handling"
|
|
2869
|
+
}
|
|
2870
|
+
],
|
|
2871
|
+
"properties": [
|
|
2872
|
+
{
|
|
2873
|
+
"type": "Hidden",
|
|
2874
|
+
"value": "io.camunda:http-json:1",
|
|
2875
|
+
"binding": {
|
|
2876
|
+
"type": "zeebe:taskDefinition",
|
|
2877
|
+
"property": "type"
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"label": "Operation type",
|
|
2882
|
+
"id": "operationType",
|
|
2883
|
+
"group": "operation",
|
|
2884
|
+
"type": "Dropdown",
|
|
2885
|
+
"optional": false,
|
|
2886
|
+
"choices": [
|
|
2887
|
+
{
|
|
2888
|
+
"name": "Send a SMS",
|
|
2889
|
+
"value": "sendSms"
|
|
2890
|
+
},
|
|
2891
|
+
{
|
|
2892
|
+
"name": "Get message",
|
|
2893
|
+
"value": "getMessage"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"name": "List messages",
|
|
2897
|
+
"value": "listMessages"
|
|
2898
|
+
}
|
|
2899
|
+
],
|
|
2900
|
+
"binding": {
|
|
2901
|
+
"type": "zeebe:input",
|
|
2902
|
+
"name": "operationType"
|
|
2183
2903
|
}
|
|
2184
2904
|
},
|
|
2185
2905
|
{
|
|
@@ -2238,7 +2958,7 @@
|
|
|
2238
2958
|
},
|
|
2239
2959
|
"condition": {
|
|
2240
2960
|
"property": "operationType",
|
|
2241
|
-
"
|
|
2961
|
+
"equals": "sendSms"
|
|
2242
2962
|
}
|
|
2243
2963
|
},
|
|
2244
2964
|
{
|
|
@@ -2255,14 +2975,14 @@
|
|
|
2255
2975
|
},
|
|
2256
2976
|
{
|
|
2257
2977
|
"type": "Hidden",
|
|
2258
|
-
"value": "={\"
|
|
2978
|
+
"value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
|
|
2259
2979
|
"binding": {
|
|
2260
2980
|
"type": "zeebe:input",
|
|
2261
2981
|
"name": "headers"
|
|
2262
2982
|
},
|
|
2263
2983
|
"condition": {
|
|
2264
2984
|
"property": "operationType",
|
|
2265
|
-
"
|
|
2985
|
+
"equals": "sendSms"
|
|
2266
2986
|
},
|
|
2267
2987
|
"optional": false
|
|
2268
2988
|
},
|
|
@@ -2354,166 +3074,6 @@
|
|
|
2354
3074
|
},
|
|
2355
3075
|
"optional": false
|
|
2356
3076
|
},
|
|
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
3077
|
{
|
|
2518
3078
|
"label": "Message text",
|
|
2519
3079
|
"description": "The content of the message that will be sent",
|
|
@@ -2529,7 +3089,7 @@
|
|
|
2529
3089
|
},
|
|
2530
3090
|
"condition": {
|
|
2531
3091
|
"property": "operationType",
|
|
2532
|
-
"
|
|
3092
|
+
"oneOf": ["sendSms"]
|
|
2533
3093
|
},
|
|
2534
3094
|
"optional": false
|
|
2535
3095
|
},
|
|
@@ -2548,7 +3108,7 @@
|
|
|
2548
3108
|
},
|
|
2549
3109
|
"condition": {
|
|
2550
3110
|
"property": "operationType",
|
|
2551
|
-
"
|
|
3111
|
+
"oneOf": ["sendSms"]
|
|
2552
3112
|
},
|
|
2553
3113
|
"optional": false
|
|
2554
3114
|
},
|
|
@@ -2567,7 +3127,7 @@
|
|
|
2567
3127
|
},
|
|
2568
3128
|
"condition": {
|
|
2569
3129
|
"property": "operationType",
|
|
2570
|
-
"
|
|
3130
|
+
"oneOf": ["sendSms"]
|
|
2571
3131
|
},
|
|
2572
3132
|
"optional": false
|
|
2573
3133
|
},
|
|
@@ -2708,7 +3268,7 @@
|
|
|
2708
3268
|
},
|
|
2709
3269
|
"condition": {
|
|
2710
3270
|
"property": "operationType",
|
|
2711
|
-
"oneOf": ["sendSms", "
|
|
3271
|
+
"oneOf": ["sendSms", "listMessages"]
|
|
2712
3272
|
}
|
|
2713
3273
|
},
|
|
2714
3274
|
{
|
|
@@ -2766,7 +3326,7 @@
|
|
|
2766
3326
|
},
|
|
2767
3327
|
{
|
|
2768
3328
|
"label": "Error expression",
|
|
2769
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
3329
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
|
|
2770
3330
|
"group": "errors",
|
|
2771
3331
|
"type": "Text",
|
|
2772
3332
|
"feel": "required",
|
|
@@ -2774,42 +3334,31 @@
|
|
|
2774
3334
|
"type": "zeebe:taskHeader",
|
|
2775
3335
|
"key": "errorExpression"
|
|
2776
3336
|
}
|
|
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"
|
|
2801
3337
|
}
|
|
2802
|
-
]
|
|
3338
|
+
],
|
|
3339
|
+
"engines": {
|
|
3340
|
+
"camunda": "^8.2"
|
|
3341
|
+
}
|
|
2803
3342
|
},
|
|
2804
3343
|
{
|
|
2805
3344
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2806
3345
|
"name": "Twilio Outbound Connector",
|
|
2807
3346
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
2808
|
-
"version":
|
|
3347
|
+
"version": 7,
|
|
2809
3348
|
"engines": {
|
|
2810
|
-
"camunda": "^8.
|
|
3349
|
+
"camunda": "^8.9"
|
|
2811
3350
|
},
|
|
2812
|
-
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
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
|
+
],
|
|
2813
3362
|
"icon": {
|
|
2814
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"
|
|
2815
3364
|
},
|
|
@@ -2839,6 +3388,10 @@
|
|
|
2839
3388
|
"id": "filter",
|
|
2840
3389
|
"label": "Filter"
|
|
2841
3390
|
},
|
|
3391
|
+
{
|
|
3392
|
+
"id": "connector",
|
|
3393
|
+
"label": "Connector"
|
|
3394
|
+
},
|
|
2842
3395
|
{
|
|
2843
3396
|
"id": "output",
|
|
2844
3397
|
"label": "Response mapping"
|
|
@@ -2853,7 +3406,8 @@
|
|
|
2853
3406
|
"type": "Hidden",
|
|
2854
3407
|
"value": "io.camunda:http-json:1",
|
|
2855
3408
|
"binding": {
|
|
2856
|
-
"type": "zeebe:taskDefinition
|
|
3409
|
+
"type": "zeebe:taskDefinition",
|
|
3410
|
+
"property": "type"
|
|
2857
3411
|
}
|
|
2858
3412
|
},
|
|
2859
3413
|
{
|
|
@@ -2867,6 +3421,10 @@
|
|
|
2867
3421
|
"name": "Send a SMS",
|
|
2868
3422
|
"value": "sendSms"
|
|
2869
3423
|
},
|
|
3424
|
+
{
|
|
3425
|
+
"name": "Send a WhatsApp message",
|
|
3426
|
+
"value": "sendWhatsApp"
|
|
3427
|
+
},
|
|
2870
3428
|
{
|
|
2871
3429
|
"name": "Get message",
|
|
2872
3430
|
"value": "getMessage"
|
|
@@ -2881,12 +3439,36 @@
|
|
|
2881
3439
|
"name": "operationType"
|
|
2882
3440
|
}
|
|
2883
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
|
+
},
|
|
2884
3467
|
{
|
|
2885
3468
|
"id": "authType",
|
|
2886
3469
|
"label": "Authentication type",
|
|
2887
3470
|
"group": "authentication",
|
|
2888
3471
|
"type": "Dropdown",
|
|
2889
|
-
"value": "get",
|
|
2890
3472
|
"choices": [
|
|
2891
3473
|
{
|
|
2892
3474
|
"name": "Account SID and Auth token",
|
|
@@ -2937,7 +3519,7 @@
|
|
|
2937
3519
|
},
|
|
2938
3520
|
"condition": {
|
|
2939
3521
|
"property": "operationType",
|
|
2940
|
-
"
|
|
3522
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
2941
3523
|
}
|
|
2942
3524
|
},
|
|
2943
3525
|
{
|
|
@@ -2961,7 +3543,7 @@
|
|
|
2961
3543
|
},
|
|
2962
3544
|
"condition": {
|
|
2963
3545
|
"property": "operationType",
|
|
2964
|
-
"
|
|
3546
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
2965
3547
|
},
|
|
2966
3548
|
"optional": false
|
|
2967
3549
|
},
|
|
@@ -3053,6 +3635,166 @@
|
|
|
3053
3635
|
},
|
|
3054
3636
|
"optional": false
|
|
3055
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
|
+
},
|
|
3056
3798
|
{
|
|
3057
3799
|
"label": "Message text",
|
|
3058
3800
|
"description": "The content of the message that will be sent",
|
|
@@ -3068,7 +3810,7 @@
|
|
|
3068
3810
|
},
|
|
3069
3811
|
"condition": {
|
|
3070
3812
|
"property": "operationType",
|
|
3071
|
-
"
|
|
3813
|
+
"equals": "sendSms"
|
|
3072
3814
|
},
|
|
3073
3815
|
"optional": false
|
|
3074
3816
|
},
|
|
@@ -3087,7 +3829,7 @@
|
|
|
3087
3829
|
},
|
|
3088
3830
|
"condition": {
|
|
3089
3831
|
"property": "operationType",
|
|
3090
|
-
"
|
|
3832
|
+
"equals": "sendSms"
|
|
3091
3833
|
},
|
|
3092
3834
|
"optional": false
|
|
3093
3835
|
},
|
|
@@ -3106,7 +3848,7 @@
|
|
|
3106
3848
|
},
|
|
3107
3849
|
"condition": {
|
|
3108
3850
|
"property": "operationType",
|
|
3109
|
-
"
|
|
3851
|
+
"equals": "sendSms"
|
|
3110
3852
|
},
|
|
3111
3853
|
"optional": false
|
|
3112
3854
|
},
|
|
@@ -3247,7 +3989,7 @@
|
|
|
3247
3989
|
},
|
|
3248
3990
|
"condition": {
|
|
3249
3991
|
"property": "operationType",
|
|
3250
|
-
"oneOf": ["sendSms", "listMessages"]
|
|
3992
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
3251
3993
|
}
|
|
3252
3994
|
},
|
|
3253
3995
|
{
|
|
@@ -3318,7 +4060,7 @@
|
|
|
3318
4060
|
"id": "version",
|
|
3319
4061
|
"label": "Version",
|
|
3320
4062
|
"description": "Version of the element template",
|
|
3321
|
-
"value": "
|
|
4063
|
+
"value": "7",
|
|
3322
4064
|
"group": "connector",
|
|
3323
4065
|
"binding": {
|
|
3324
4066
|
"key": "elementTemplateVersion",
|
|
@@ -3344,7 +4086,7 @@
|
|
|
3344
4086
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3345
4087
|
"name": "Twilio Outbound Connector",
|
|
3346
4088
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
3347
|
-
"version":
|
|
4089
|
+
"version": 8,
|
|
3348
4090
|
"engines": {
|
|
3349
4091
|
"camunda": "^8.9"
|
|
3350
4092
|
},
|
|
@@ -3486,7 +4228,7 @@
|
|
|
3486
4228
|
},
|
|
3487
4229
|
{
|
|
3488
4230
|
"label": "Account SID",
|
|
3489
|
-
"
|
|
4231
|
+
"tooltip": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Twilio outbound connector documentation</a>",
|
|
3490
4232
|
"group": "authentication",
|
|
3491
4233
|
"type": "String",
|
|
3492
4234
|
"feel": "optional",
|
|
@@ -3549,7 +4291,7 @@
|
|
|
3549
4291
|
},
|
|
3550
4292
|
{
|
|
3551
4293
|
"label": "API key",
|
|
3552
|
-
"
|
|
4294
|
+
"tooltip": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Twilio outbound connector documentation</a>",
|
|
3553
4295
|
"group": "authentication",
|
|
3554
4296
|
"type": "String",
|
|
3555
4297
|
"feel": "optional",
|
|
@@ -3567,7 +4309,7 @@
|
|
|
3567
4309
|
},
|
|
3568
4310
|
{
|
|
3569
4311
|
"label": "API secret",
|
|
3570
|
-
"
|
|
4312
|
+
"tooltip": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Twilio outbound connector documentation</a>",
|
|
3571
4313
|
"group": "authentication",
|
|
3572
4314
|
"type": "String",
|
|
3573
4315
|
"feel": "optional",
|
|
@@ -3600,7 +4342,7 @@
|
|
|
3600
4342
|
},
|
|
3601
4343
|
{
|
|
3602
4344
|
"label": "Authentication token",
|
|
3603
|
-
"
|
|
4345
|
+
"tooltip": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Twilio outbound connector documentation</a>",
|
|
3604
4346
|
"group": "authentication",
|
|
3605
4347
|
"type": "String",
|
|
3606
4348
|
"feel": "optional",
|
|
@@ -3618,7 +4360,7 @@
|
|
|
3618
4360
|
},
|
|
3619
4361
|
{
|
|
3620
4362
|
"label": "Message SID",
|
|
3621
|
-
"
|
|
4363
|
+
"tooltip": "Unique identifier of the message to retrieve information for.",
|
|
3622
4364
|
"group": "input",
|
|
3623
4365
|
"type": "String",
|
|
3624
4366
|
"feel": "optional",
|
|
@@ -3637,7 +4379,7 @@
|
|
|
3637
4379
|
},
|
|
3638
4380
|
{
|
|
3639
4381
|
"label": "WhatsApp message text",
|
|
3640
|
-
"
|
|
4382
|
+
"tooltip": "The content of the WhatsApp message that will be sent.",
|
|
3641
4383
|
"group": "input",
|
|
3642
4384
|
"type": "Text",
|
|
3643
4385
|
"feel": "optional",
|
|
@@ -3664,7 +4406,6 @@
|
|
|
3664
4406
|
},
|
|
3665
4407
|
{
|
|
3666
4408
|
"label": "WhatsApp template ID",
|
|
3667
|
-
"description": "The ID of the WhatsApp template to be used",
|
|
3668
4409
|
"group": "input",
|
|
3669
4410
|
"type": "String",
|
|
3670
4411
|
"feel": "optional",
|
|
@@ -3691,7 +4432,7 @@
|
|
|
3691
4432
|
},
|
|
3692
4433
|
{
|
|
3693
4434
|
"label": "WhatsApp template parameters",
|
|
3694
|
-
"
|
|
4435
|
+
"tooltip": "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
4436
|
"group": "input",
|
|
3696
4437
|
"type": "Text",
|
|
3697
4438
|
"feel": "required",
|
|
@@ -3719,7 +4460,8 @@
|
|
|
3719
4460
|
},
|
|
3720
4461
|
{
|
|
3721
4462
|
"label": "From WhatsApp number",
|
|
3722
|
-
"
|
|
4463
|
+
"tooltip": "The originating Twilio WhatsApp phone number used for sending the message.",
|
|
4464
|
+
"placeholder": "whatsapp:+1234567890",
|
|
3723
4465
|
"group": "input",
|
|
3724
4466
|
"type": "String",
|
|
3725
4467
|
"feel": "optional",
|
|
@@ -3738,7 +4480,8 @@
|
|
|
3738
4480
|
},
|
|
3739
4481
|
{
|
|
3740
4482
|
"label": "To WhatsApp number",
|
|
3741
|
-
"
|
|
4483
|
+
"tooltip": "The recipient's WhatsApp phone number.",
|
|
4484
|
+
"placeholder": "whatsapp:+1234567890",
|
|
3742
4485
|
"group": "input",
|
|
3743
4486
|
"type": "String",
|
|
3744
4487
|
"feel": "optional",
|
|
@@ -3797,7 +4540,7 @@
|
|
|
3797
4540
|
},
|
|
3798
4541
|
{
|
|
3799
4542
|
"label": "Message text",
|
|
3800
|
-
"
|
|
4543
|
+
"tooltip": "The content of the message that will be sent.",
|
|
3801
4544
|
"group": "input",
|
|
3802
4545
|
"type": "Text",
|
|
3803
4546
|
"feel": "optional",
|
|
@@ -3816,7 +4559,7 @@
|
|
|
3816
4559
|
},
|
|
3817
4560
|
{
|
|
3818
4561
|
"label": "From number",
|
|
3819
|
-
"
|
|
4562
|
+
"tooltip": "The originating Twilio phone number used for sending the message.",
|
|
3820
4563
|
"group": "input",
|
|
3821
4564
|
"type": "String",
|
|
3822
4565
|
"feel": "optional",
|
|
@@ -3835,7 +4578,7 @@
|
|
|
3835
4578
|
},
|
|
3836
4579
|
{
|
|
3837
4580
|
"label": "To number",
|
|
3838
|
-
"
|
|
4581
|
+
"tooltip": "The recipient's phone number.",
|
|
3839
4582
|
"group": "input",
|
|
3840
4583
|
"type": "String",
|
|
3841
4584
|
"feel": "optional",
|
|
@@ -3855,7 +4598,7 @@
|
|
|
3855
4598
|
{
|
|
3856
4599
|
"label": "Page size",
|
|
3857
4600
|
"id": "pageSize",
|
|
3858
|
-
"
|
|
4601
|
+
"tooltip": "The maximum number of messages to retrieve per page.",
|
|
3859
4602
|
"group": "filter",
|
|
3860
4603
|
"type": "String",
|
|
3861
4604
|
"feel": "optional",
|
|
@@ -3874,7 +4617,7 @@
|
|
|
3874
4617
|
},
|
|
3875
4618
|
{
|
|
3876
4619
|
"label": "Date sent",
|
|
3877
|
-
"
|
|
4620
|
+
"tooltip": "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
4621
|
"group": "filter",
|
|
3879
4622
|
"type": "String",
|
|
3880
4623
|
"feel": "optional",
|
|
@@ -3893,7 +4636,7 @@
|
|
|
3893
4636
|
},
|
|
3894
4637
|
{
|
|
3895
4638
|
"label": "Date before message was sent",
|
|
3896
|
-
"
|
|
4639
|
+
"tooltip": "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
4640
|
"group": "filter",
|
|
3898
4641
|
"type": "String",
|
|
3899
4642
|
"feel": "optional",
|
|
@@ -3912,7 +4655,7 @@
|
|
|
3912
4655
|
},
|
|
3913
4656
|
{
|
|
3914
4657
|
"label": "Date after message was sent",
|
|
3915
|
-
"
|
|
4658
|
+
"tooltip": "The date and time after 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>)",
|
|
3916
4659
|
"group": "filter",
|
|
3917
4660
|
"type": "String",
|
|
3918
4661
|
"feel": "optional",
|
|
@@ -3931,7 +4674,7 @@
|
|
|
3931
4674
|
},
|
|
3932
4675
|
{
|
|
3933
4676
|
"label": "From",
|
|
3934
|
-
"
|
|
4677
|
+
"tooltip": "The phone number or client identifier of the message sender.",
|
|
3935
4678
|
"group": "filter",
|
|
3936
4679
|
"type": "String",
|
|
3937
4680
|
"feel": "optional",
|
|
@@ -3950,7 +4693,7 @@
|
|
|
3950
4693
|
},
|
|
3951
4694
|
{
|
|
3952
4695
|
"label": "To",
|
|
3953
|
-
"
|
|
4696
|
+
"tooltip": "The phone number or client identifier of the message recipient.",
|
|
3954
4697
|
"group": "filter",
|
|
3955
4698
|
"type": "String",
|
|
3956
4699
|
"feel": "optional",
|
|
@@ -4006,7 +4749,7 @@
|
|
|
4006
4749
|
},
|
|
4007
4750
|
{
|
|
4008
4751
|
"label": "Result variable",
|
|
4009
|
-
"
|
|
4752
|
+
"tooltip": "Name of variable to store the response in. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">result variable documentation</a>",
|
|
4010
4753
|
"group": "output",
|
|
4011
4754
|
"type": "String",
|
|
4012
4755
|
"binding": {
|
|
@@ -4016,7 +4759,7 @@
|
|
|
4016
4759
|
},
|
|
4017
4760
|
{
|
|
4018
4761
|
"label": "Result expression",
|
|
4019
|
-
"
|
|
4762
|
+
"tooltip": "Expression to map the response into process variables. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
|
|
4020
4763
|
"group": "output",
|
|
4021
4764
|
"type": "Text",
|
|
4022
4765
|
"feel": "required",
|
|
@@ -4027,7 +4770,7 @@
|
|
|
4027
4770
|
},
|
|
4028
4771
|
{
|
|
4029
4772
|
"label": "Connection timeout",
|
|
4030
|
-
"
|
|
4773
|
+
"tooltip": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
4031
4774
|
"group": "errors",
|
|
4032
4775
|
"type": "String",
|
|
4033
4776
|
"value": "20",
|
|
@@ -4047,7 +4790,7 @@
|
|
|
4047
4790
|
},
|
|
4048
4791
|
{
|
|
4049
4792
|
"label": "Error expression",
|
|
4050
|
-
"
|
|
4793
|
+
"tooltip": "Expression to handle errors. <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">BPMN error handling documentation</a>",
|
|
4051
4794
|
"group": "errors",
|
|
4052
4795
|
"type": "Text",
|
|
4053
4796
|
"feel": "required",
|
|
@@ -4060,7 +4803,7 @@
|
|
|
4060
4803
|
"id": "version",
|
|
4061
4804
|
"label": "Version",
|
|
4062
4805
|
"description": "Version of the element template",
|
|
4063
|
-
"value": "
|
|
4806
|
+
"value": "8",
|
|
4064
4807
|
"group": "connector",
|
|
4065
4808
|
"binding": {
|
|
4066
4809
|
"key": "elementTemplateVersion",
|
|
@@ -4080,6 +4823,76 @@
|
|
|
4080
4823
|
},
|
|
4081
4824
|
"type": "Hidden"
|
|
4082
4825
|
}
|
|
4826
|
+
],
|
|
4827
|
+
"steps": [
|
|
4828
|
+
{
|
|
4829
|
+
"name": "Send a SMS",
|
|
4830
|
+
"description": "Send an SMS text message to a recipient's phone number using Twilio",
|
|
4831
|
+
"keywords": ["send SMS", "text message", "SMS", "send text", "notify"],
|
|
4832
|
+
"presetId": "operationType_sendSms"
|
|
4833
|
+
},
|
|
4834
|
+
{
|
|
4835
|
+
"name": "Send a WhatsApp message",
|
|
4836
|
+
"description": "Send a WhatsApp message, either free form or from a template, using Twilio",
|
|
4837
|
+
"keywords": [
|
|
4838
|
+
"send WhatsApp",
|
|
4839
|
+
"WhatsApp message",
|
|
4840
|
+
"WhatsApp",
|
|
4841
|
+
"messaging",
|
|
4842
|
+
"notification"
|
|
4843
|
+
],
|
|
4844
|
+
"presetId": "operationType_sendWhatsApp"
|
|
4845
|
+
},
|
|
4846
|
+
{
|
|
4847
|
+
"name": "Get message",
|
|
4848
|
+
"description": "Retrieve information about a specific message by its message SID from Twilio",
|
|
4849
|
+
"keywords": [
|
|
4850
|
+
"get message",
|
|
4851
|
+
"retrieve message",
|
|
4852
|
+
"message details",
|
|
4853
|
+
"message SID",
|
|
4854
|
+
"lookup message"
|
|
4855
|
+
],
|
|
4856
|
+
"presetId": "operationType_getMessage"
|
|
4857
|
+
},
|
|
4858
|
+
{
|
|
4859
|
+
"name": "List messages",
|
|
4860
|
+
"description": "List messages from your Twilio account with optional filters such as date, sender, and recipient",
|
|
4861
|
+
"keywords": [
|
|
4862
|
+
"list messages",
|
|
4863
|
+
"list SMS",
|
|
4864
|
+
"message history",
|
|
4865
|
+
"filter messages",
|
|
4866
|
+
"retrieve messages"
|
|
4867
|
+
],
|
|
4868
|
+
"presetId": "operationType_listMessages"
|
|
4869
|
+
}
|
|
4870
|
+
],
|
|
4871
|
+
"presets": [
|
|
4872
|
+
{
|
|
4873
|
+
"id": "operationType_sendSms",
|
|
4874
|
+
"properties": {
|
|
4875
|
+
"operationType": "sendSms"
|
|
4876
|
+
}
|
|
4877
|
+
},
|
|
4878
|
+
{
|
|
4879
|
+
"id": "operationType_sendWhatsApp",
|
|
4880
|
+
"properties": {
|
|
4881
|
+
"operationType": "sendWhatsApp"
|
|
4882
|
+
}
|
|
4883
|
+
},
|
|
4884
|
+
{
|
|
4885
|
+
"id": "operationType_getMessage",
|
|
4886
|
+
"properties": {
|
|
4887
|
+
"operationType": "getMessage"
|
|
4888
|
+
}
|
|
4889
|
+
},
|
|
4890
|
+
{
|
|
4891
|
+
"id": "operationType_listMessages",
|
|
4892
|
+
"properties": {
|
|
4893
|
+
"operationType": "listMessages"
|
|
4894
|
+
}
|
|
4895
|
+
}
|
|
4083
4896
|
]
|
|
4084
4897
|
}
|
|
4085
4898
|
]
|