@camunda/connectors-element-templates 1.0.17 → 1.0.18
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.js +12 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +2 -5
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +6 -6
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +6 -6
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +6 -6
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +6 -6
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +10 -13
- package/src/element-templates/agenticai-aiagent-job-worker.json +3774 -33
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +7968 -4288
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +2 -5
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -5
- package/src/element-templates/asana-connector.json +718 -7
- package/src/element-templates/automation-anywhere-outbound-connector.json +1175 -1171
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
- package/src/element-templates/aws-bedrock-outbound-connector.json +775 -38
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1407 -1407
- package/src/element-templates/aws-eventbridge-connector-boundary.json +370 -5
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
- package/src/element-templates/aws-eventbridge-connector-message-start.json +399 -0
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
- package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
- package/src/element-templates/aws-lambda-outbound-connector.json +472 -468
- package/src/element-templates/aws-s3-outbound-connector.json +656 -15
- package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
- package/src/element-templates/aws-sns-inbound-boundary.json +230 -223
- package/src/element-templates/aws-sns-inbound-intermediate.json +486 -479
- package/src/element-templates/aws-sns-inbound-message-start.json +240 -233
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
- package/src/element-templates/aws-sns-outbound-connector.json +390 -386
- package/src/element-templates/aws-sqs-boundary-connector.json +472 -468
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +388 -384
- package/src/element-templates/aws-sqs-outbound-connector.json +402 -400
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +571 -563
- package/src/element-templates/aws-sqs-start-message.json +866 -862
- package/src/element-templates/aws-textract-outbound-connector.json +358 -354
- package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
- package/src/element-templates/azure-open-ai-connector.json +1325 -0
- package/src/element-templates/blue-prism-connector.json +595 -50
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +39 -31
- package/src/element-templates/easy-post-connector.json +1088 -120
- package/src/element-templates/email-inbound-connector-boundary.json +16 -8
- package/src/element-templates/email-inbound-connector-intermediate.json +16 -8
- package/src/element-templates/email-inbound-connector-receive.json +564 -0
- package/src/element-templates/email-message-start-event-connector.json +16 -8
- package/src/element-templates/email-outbound-connector.json +2114 -241
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
- package/src/element-templates/github-connector.json +12587 -9052
- package/src/element-templates/github-webhook-connector-boundary.json +27 -29
- package/src/element-templates/github-webhook-connector-intermediate.json +40 -42
- package/src/element-templates/github-webhook-connector-message-start.json +19 -21
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +11 -13
- package/src/element-templates/gitlab-connector.json +4756 -3124
- package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
- package/src/element-templates/google-drive-outbound-connector.json +1285 -665
- package/src/element-templates/google-gemini-outbound-connector.json +117 -109
- package/src/element-templates/google-maps-platform-connector.json +1055 -26
- package/src/element-templates/google-sheets-outbound-connector.json +2413 -1419
- package/src/element-templates/graphql-outbound-connector.json +1136 -1127
- package/src/element-templates/http-json-connector.json +2779 -2129
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +1483 -1472
- package/src/element-templates/http-polling-connector.json +746 -735
- package/src/element-templates/hubspot-outbound-connector.json +2376 -30
- package/src/element-templates/hugging-face-connector.json +249 -18
- package/src/element-templates/jdbc-outbound-connector.json +62 -48
- package/src/element-templates/kafka-inbound-connector-boundary.json +528 -519
- package/src/element-templates/kafka-inbound-connector-intermediate.json +729 -720
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +628 -619
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +666 -660
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
- package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
- package/src/element-templates/microsoft-teams-outbound-connector.json +4161 -1997
- package/src/element-templates/openai-connector.json +579 -116
- package/src/element-templates/operate-connector.json +1219 -67
- package/src/element-templates/power-automate-connector.json +604 -12
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +863 -854
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +926 -917
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +469 -460
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +601 -592
- package/src/element-templates/rabbitmq-outbound-connector.json +634 -628
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +553 -9
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
- package/src/element-templates/send-message-connector-message-end-event.json +10 -5
- package/src/element-templates/send-message-connector-send-task.json +10 -5
- package/src/element-templates/sendgrid-outbound-connector.json +1380 -772
- package/src/element-templates/servicenow-connector.json +971 -3
- package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
- package/src/element-templates/servicenow-incident-connector.json +980 -3
- package/src/element-templates/slack-inbound-boundary.json +389 -91
- package/src/element-templates/slack-inbound-intermediate.json +393 -95
- package/src/element-templates/slack-inbound-message-start.json +566 -236
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +127 -122
- package/src/element-templates/slack-outbound-connector.json +2613 -915
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1514 -34
- package/src/element-templates/twilio-webhook-boundary-connector.json +29 -20
- package/src/element-templates/twilio-webhook-connector.json +238 -8
- package/src/element-templates/twilio-webhook-intermediate-connector.json +39 -30
- package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
- package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
- package/src/element-templates/uipath-connector.json +607 -15
- package/src/element-templates/webhook-connector-boundary.json +1218 -1208
- package/src/element-templates/webhook-connector-intermediate.json +1837 -1827
- package/src/element-templates/webhook-connector-receive.json +55 -45
- package/src/element-templates/webhook-connector-start-event.json +1299 -1292
- package/src/element-templates/webhook-connector-start-message.json +711 -701
- package/src/element-templates/whatsapp-connector.json +339 -5
- package/src/element-templates/http-connector.json.json +0 -654
|
@@ -3,11 +3,21 @@
|
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
4
|
"name": "Twilio Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
6
|
-
"version":
|
|
6
|
+
"version": 7,
|
|
7
7
|
"engines": {
|
|
8
|
-
"camunda": "^8.
|
|
8
|
+
"camunda": "^8.9"
|
|
9
9
|
},
|
|
10
|
-
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
10
|
+
"description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"send SMS",
|
|
13
|
+
"get message",
|
|
14
|
+
"list messages",
|
|
15
|
+
"SMS",
|
|
16
|
+
"text message",
|
|
17
|
+
"phone",
|
|
18
|
+
"messaging",
|
|
19
|
+
"notification"
|
|
20
|
+
],
|
|
11
21
|
"icon": {
|
|
12
22
|
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
13
23
|
},
|
|
@@ -37,6 +47,10 @@
|
|
|
37
47
|
"id": "filter",
|
|
38
48
|
"label": "Filter"
|
|
39
49
|
},
|
|
50
|
+
{
|
|
51
|
+
"id": "connector",
|
|
52
|
+
"label": "Connector"
|
|
53
|
+
},
|
|
40
54
|
{
|
|
41
55
|
"id": "output",
|
|
42
56
|
"label": "Response mapping"
|
|
@@ -51,7 +65,8 @@
|
|
|
51
65
|
"type": "Hidden",
|
|
52
66
|
"value": "io.camunda:http-json:1",
|
|
53
67
|
"binding": {
|
|
54
|
-
"type": "zeebe:taskDefinition
|
|
68
|
+
"type": "zeebe:taskDefinition",
|
|
69
|
+
"property": "type"
|
|
55
70
|
}
|
|
56
71
|
},
|
|
57
72
|
{
|
|
@@ -65,6 +80,10 @@
|
|
|
65
80
|
"name": "Send a SMS",
|
|
66
81
|
"value": "sendSms"
|
|
67
82
|
},
|
|
83
|
+
{
|
|
84
|
+
"name": "Send a WhatsApp message",
|
|
85
|
+
"value": "sendWhatsApp"
|
|
86
|
+
},
|
|
68
87
|
{
|
|
69
88
|
"name": "Get message",
|
|
70
89
|
"value": "getMessage"
|
|
@@ -79,12 +98,36 @@
|
|
|
79
98
|
"name": "operationType"
|
|
80
99
|
}
|
|
81
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"label": "WhatsApp message type",
|
|
103
|
+
"id": "whatsappMessageType",
|
|
104
|
+
"group": "operation",
|
|
105
|
+
"type": "Dropdown",
|
|
106
|
+
"optional": false,
|
|
107
|
+
"choices": [
|
|
108
|
+
{
|
|
109
|
+
"name": "Free form message",
|
|
110
|
+
"value": "whatsappFreeFormMessage"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "Template message",
|
|
114
|
+
"value": "whatsappTemplateMessage"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"binding": {
|
|
118
|
+
"type": "zeebe:input",
|
|
119
|
+
"name": "whatsappMessageType"
|
|
120
|
+
},
|
|
121
|
+
"condition": {
|
|
122
|
+
"property": "operationType",
|
|
123
|
+
"equals": "sendWhatsApp"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
82
126
|
{
|
|
83
127
|
"id": "authType",
|
|
84
128
|
"label": "Authentication type",
|
|
85
129
|
"group": "authentication",
|
|
86
130
|
"type": "Dropdown",
|
|
87
|
-
"value": "get",
|
|
88
131
|
"choices": [
|
|
89
132
|
{
|
|
90
133
|
"name": "Account SID and Auth token",
|
|
@@ -135,7 +178,7 @@
|
|
|
135
178
|
},
|
|
136
179
|
"condition": {
|
|
137
180
|
"property": "operationType",
|
|
138
|
-
"
|
|
181
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
139
182
|
}
|
|
140
183
|
},
|
|
141
184
|
{
|
|
@@ -159,7 +202,7 @@
|
|
|
159
202
|
},
|
|
160
203
|
"condition": {
|
|
161
204
|
"property": "operationType",
|
|
162
|
-
"
|
|
205
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
163
206
|
},
|
|
164
207
|
"optional": false
|
|
165
208
|
},
|
|
@@ -251,6 +294,166 @@
|
|
|
251
294
|
},
|
|
252
295
|
"optional": false
|
|
253
296
|
},
|
|
297
|
+
{
|
|
298
|
+
"label": "WhatsApp message text",
|
|
299
|
+
"description": "The content of the WhatsApp message that will be sent",
|
|
300
|
+
"group": "input",
|
|
301
|
+
"type": "Text",
|
|
302
|
+
"feel": "optional",
|
|
303
|
+
"binding": {
|
|
304
|
+
"type": "zeebe:input",
|
|
305
|
+
"name": "WhatsAppBody"
|
|
306
|
+
},
|
|
307
|
+
"constraints": {
|
|
308
|
+
"notEmpty": true
|
|
309
|
+
},
|
|
310
|
+
"condition": {
|
|
311
|
+
"allMatch": [
|
|
312
|
+
{
|
|
313
|
+
"property": "operationType",
|
|
314
|
+
"equals": "sendWhatsApp"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"property": "whatsappMessageType",
|
|
318
|
+
"equals": "whatsappFreeFormMessage"
|
|
319
|
+
}
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
"optional": false
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"label": "WhatsApp template ID",
|
|
326
|
+
"description": "The ID of the WhatsApp template to be used",
|
|
327
|
+
"group": "input",
|
|
328
|
+
"type": "String",
|
|
329
|
+
"feel": "optional",
|
|
330
|
+
"binding": {
|
|
331
|
+
"type": "zeebe:input",
|
|
332
|
+
"name": "ContentSid"
|
|
333
|
+
},
|
|
334
|
+
"constraints": {
|
|
335
|
+
"notEmpty": true
|
|
336
|
+
},
|
|
337
|
+
"condition": {
|
|
338
|
+
"allMatch": [
|
|
339
|
+
{
|
|
340
|
+
"property": "operationType",
|
|
341
|
+
"equals": "sendWhatsApp"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"property": "whatsappMessageType",
|
|
345
|
+
"equals": "whatsappTemplateMessage"
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
"optional": false
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"label": "WhatsApp template parameters",
|
|
353
|
+
"description": "Parameter values to substitute in the template provided as a FEEL context with numbered keys; make sure all keys and values are strings or are converted to strings!",
|
|
354
|
+
"group": "input",
|
|
355
|
+
"type": "Text",
|
|
356
|
+
"feel": "required",
|
|
357
|
+
"value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
|
|
358
|
+
"binding": {
|
|
359
|
+
"type": "zeebe:input",
|
|
360
|
+
"name": "ContentVariables"
|
|
361
|
+
},
|
|
362
|
+
"constraints": {
|
|
363
|
+
"notEmpty": true
|
|
364
|
+
},
|
|
365
|
+
"condition": {
|
|
366
|
+
"allMatch": [
|
|
367
|
+
{
|
|
368
|
+
"property": "operationType",
|
|
369
|
+
"equals": "sendWhatsApp"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"property": "whatsappMessageType",
|
|
373
|
+
"equals": "whatsappTemplateMessage"
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"optional": false
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"label": "From WhatsApp number",
|
|
381
|
+
"description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
|
|
382
|
+
"group": "input",
|
|
383
|
+
"type": "String",
|
|
384
|
+
"feel": "optional",
|
|
385
|
+
"binding": {
|
|
386
|
+
"type": "zeebe:input",
|
|
387
|
+
"name": "From"
|
|
388
|
+
},
|
|
389
|
+
"constraints": {
|
|
390
|
+
"notEmpty": true
|
|
391
|
+
},
|
|
392
|
+
"condition": {
|
|
393
|
+
"property": "operationType",
|
|
394
|
+
"equals": "sendWhatsApp"
|
|
395
|
+
},
|
|
396
|
+
"optional": false
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"label": "To WhatsApp number",
|
|
400
|
+
"description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
|
|
401
|
+
"group": "input",
|
|
402
|
+
"type": "String",
|
|
403
|
+
"feel": "optional",
|
|
404
|
+
"binding": {
|
|
405
|
+
"type": "zeebe:input",
|
|
406
|
+
"name": "To"
|
|
407
|
+
},
|
|
408
|
+
"constraints": {
|
|
409
|
+
"notEmpty": true
|
|
410
|
+
},
|
|
411
|
+
"condition": {
|
|
412
|
+
"property": "operationType",
|
|
413
|
+
"equals": "sendWhatsApp"
|
|
414
|
+
},
|
|
415
|
+
"optional": false
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"type": "Hidden",
|
|
419
|
+
"value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
|
|
420
|
+
"binding": {
|
|
421
|
+
"type": "zeebe:input",
|
|
422
|
+
"name": "body"
|
|
423
|
+
},
|
|
424
|
+
"condition": {
|
|
425
|
+
"allMatch": [
|
|
426
|
+
{
|
|
427
|
+
"property": "operationType",
|
|
428
|
+
"equals": "sendWhatsApp"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"property": "whatsappMessageType",
|
|
432
|
+
"equals": "whatsappTemplateMessage"
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"type": "Hidden",
|
|
439
|
+
"value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
|
|
440
|
+
"binding": {
|
|
441
|
+
"type": "zeebe:input",
|
|
442
|
+
"name": "body"
|
|
443
|
+
},
|
|
444
|
+
"condition": {
|
|
445
|
+
"allMatch": [
|
|
446
|
+
{
|
|
447
|
+
"property": "operationType",
|
|
448
|
+
"equals": "sendWhatsApp"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"property": "whatsappMessageType",
|
|
452
|
+
"equals": "whatsappFreeFormMessage"
|
|
453
|
+
}
|
|
454
|
+
]
|
|
455
|
+
}
|
|
456
|
+
},
|
|
254
457
|
{
|
|
255
458
|
"label": "Message text",
|
|
256
459
|
"description": "The content of the message that will be sent",
|
|
@@ -266,7 +469,7 @@
|
|
|
266
469
|
},
|
|
267
470
|
"condition": {
|
|
268
471
|
"property": "operationType",
|
|
269
|
-
"
|
|
472
|
+
"equals": "sendSms"
|
|
270
473
|
},
|
|
271
474
|
"optional": false
|
|
272
475
|
},
|
|
@@ -285,7 +488,7 @@
|
|
|
285
488
|
},
|
|
286
489
|
"condition": {
|
|
287
490
|
"property": "operationType",
|
|
288
|
-
"
|
|
491
|
+
"equals": "sendSms"
|
|
289
492
|
},
|
|
290
493
|
"optional": false
|
|
291
494
|
},
|
|
@@ -304,7 +507,7 @@
|
|
|
304
507
|
},
|
|
305
508
|
"condition": {
|
|
306
509
|
"property": "operationType",
|
|
307
|
-
"
|
|
510
|
+
"equals": "sendSms"
|
|
308
511
|
},
|
|
309
512
|
"optional": false
|
|
310
513
|
},
|
|
@@ -445,7 +648,7 @@
|
|
|
445
648
|
},
|
|
446
649
|
"condition": {
|
|
447
650
|
"property": "operationType",
|
|
448
|
-
"oneOf": ["sendSms", "listMessages"]
|
|
651
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
449
652
|
}
|
|
450
653
|
},
|
|
451
654
|
{
|
|
@@ -516,7 +719,7 @@
|
|
|
516
719
|
"id": "version",
|
|
517
720
|
"label": "Version",
|
|
518
721
|
"description": "Version of the element template",
|
|
519
|
-
"value": "
|
|
722
|
+
"value": "6",
|
|
520
723
|
"group": "connector",
|
|
521
724
|
"binding": {
|
|
522
725
|
"key": "elementTemplateVersion",
|
|
@@ -542,7 +745,10 @@
|
|
|
542
745
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
543
746
|
"name": "Twilio Outbound Connector",
|
|
544
747
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
545
|
-
"version":
|
|
748
|
+
"version": 5,
|
|
749
|
+
"engines": {
|
|
750
|
+
"camunda": "^8.3"
|
|
751
|
+
},
|
|
546
752
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
547
753
|
"icon": {
|
|
548
754
|
"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"
|
|
@@ -587,8 +793,7 @@
|
|
|
587
793
|
"type": "Hidden",
|
|
588
794
|
"value": "io.camunda:http-json:1",
|
|
589
795
|
"binding": {
|
|
590
|
-
"type": "zeebe:taskDefinition"
|
|
591
|
-
"property": "type"
|
|
796
|
+
"type": "zeebe:taskDefinition:type"
|
|
592
797
|
}
|
|
593
798
|
},
|
|
594
799
|
{
|
|
@@ -1040,7 +1245,7 @@
|
|
|
1040
1245
|
},
|
|
1041
1246
|
{
|
|
1042
1247
|
"label": "Error expression",
|
|
1043
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1248
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
1044
1249
|
"group": "errors",
|
|
1045
1250
|
"type": "Text",
|
|
1046
1251
|
"feel": "required",
|
|
@@ -1048,11 +1253,32 @@
|
|
|
1048
1253
|
"type": "zeebe:taskHeader",
|
|
1049
1254
|
"key": "errorExpression"
|
|
1050
1255
|
}
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"id": "version",
|
|
1259
|
+
"label": "Version",
|
|
1260
|
+
"description": "Version of the element template",
|
|
1261
|
+
"value": "5",
|
|
1262
|
+
"group": "connector",
|
|
1263
|
+
"binding": {
|
|
1264
|
+
"key": "elementTemplateVersion",
|
|
1265
|
+
"type": "zeebe:taskHeader"
|
|
1266
|
+
},
|
|
1267
|
+
"type": "Hidden"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"id": "id",
|
|
1271
|
+
"label": "ID",
|
|
1272
|
+
"description": "ID of the element template",
|
|
1273
|
+
"value": "io.camunda.connectors.Twilio.v1",
|
|
1274
|
+
"group": "connector",
|
|
1275
|
+
"binding": {
|
|
1276
|
+
"key": "elementTemplateId",
|
|
1277
|
+
"type": "zeebe:taskHeader"
|
|
1278
|
+
},
|
|
1279
|
+
"type": "Hidden"
|
|
1051
1280
|
}
|
|
1052
|
-
]
|
|
1053
|
-
"engines": {
|
|
1054
|
-
"camunda": "^8.6"
|
|
1055
|
-
}
|
|
1281
|
+
]
|
|
1056
1282
|
},
|
|
1057
1283
|
{
|
|
1058
1284
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
@@ -1572,14 +1798,14 @@
|
|
|
1572
1798
|
},
|
|
1573
1799
|
{
|
|
1574
1800
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1575
|
-
"name": "Twilio
|
|
1801
|
+
"name": "Twilio Outbound Connector",
|
|
1576
1802
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
1577
|
-
"version":
|
|
1803
|
+
"version": 4,
|
|
1578
1804
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
1579
1805
|
"icon": {
|
|
1580
1806
|
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
1581
1807
|
},
|
|
1582
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1808
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
1583
1809
|
"category": {
|
|
1584
1810
|
"id": "connectors",
|
|
1585
1811
|
"name": "Connectors"
|
|
@@ -1671,7 +1897,7 @@
|
|
|
1671
1897
|
},
|
|
1672
1898
|
{
|
|
1673
1899
|
"label": "Account SID",
|
|
1674
|
-
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1900
|
+
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
|
|
1675
1901
|
"group": "authentication",
|
|
1676
1902
|
"type": "String",
|
|
1677
1903
|
"feel": "optional",
|
|
@@ -1721,7 +1947,7 @@
|
|
|
1721
1947
|
},
|
|
1722
1948
|
{
|
|
1723
1949
|
"type": "Hidden",
|
|
1724
|
-
"value": "={\"
|
|
1950
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
1725
1951
|
"binding": {
|
|
1726
1952
|
"type": "zeebe:input",
|
|
1727
1953
|
"name": "headers"
|
|
@@ -1734,7 +1960,7 @@
|
|
|
1734
1960
|
},
|
|
1735
1961
|
{
|
|
1736
1962
|
"label": "API key",
|
|
1737
|
-
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1963
|
+
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
|
|
1738
1964
|
"group": "authentication",
|
|
1739
1965
|
"type": "String",
|
|
1740
1966
|
"feel": "optional",
|
|
@@ -1752,7 +1978,7 @@
|
|
|
1752
1978
|
},
|
|
1753
1979
|
{
|
|
1754
1980
|
"label": "API secret",
|
|
1755
|
-
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1981
|
+
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
|
|
1756
1982
|
"group": "authentication",
|
|
1757
1983
|
"type": "String",
|
|
1758
1984
|
"feel": "optional",
|
|
@@ -1785,7 +2011,7 @@
|
|
|
1785
2011
|
},
|
|
1786
2012
|
{
|
|
1787
2013
|
"label": "Authentication token",
|
|
1788
|
-
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2014
|
+
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
|
|
1789
2015
|
"group": "authentication",
|
|
1790
2016
|
"type": "String",
|
|
1791
2017
|
"feel": "optional",
|
|
@@ -1899,7 +2125,7 @@
|
|
|
1899
2125
|
},
|
|
1900
2126
|
{
|
|
1901
2127
|
"label": "Date sent",
|
|
1902
|
-
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2128
|
+
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
1903
2129
|
"group": "filter",
|
|
1904
2130
|
"type": "String",
|
|
1905
2131
|
"feel": "optional",
|
|
@@ -1918,7 +2144,7 @@
|
|
|
1918
2144
|
},
|
|
1919
2145
|
{
|
|
1920
2146
|
"label": "Date before message was sent",
|
|
1921
|
-
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2147
|
+
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
1922
2148
|
"group": "filter",
|
|
1923
2149
|
"type": "String",
|
|
1924
2150
|
"feel": "optional",
|
|
@@ -1937,7 +2163,7 @@
|
|
|
1937
2163
|
},
|
|
1938
2164
|
{
|
|
1939
2165
|
"label": "Date after message was sent",
|
|
1940
|
-
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2166
|
+
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
1941
2167
|
"group": "filter",
|
|
1942
2168
|
"type": "String",
|
|
1943
2169
|
"feel": "optional",
|
|
@@ -2065,14 +2291,14 @@
|
|
|
2065
2291
|
"constraints": {
|
|
2066
2292
|
"notEmpty": false,
|
|
2067
2293
|
"pattern": {
|
|
2068
|
-
"value": "^(=|([0-9]
|
|
2294
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
2069
2295
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2070
2296
|
}
|
|
2071
2297
|
}
|
|
2072
2298
|
},
|
|
2073
2299
|
{
|
|
2074
2300
|
"label": "Error expression",
|
|
2075
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2301
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
|
|
2076
2302
|
"group": "errors",
|
|
2077
2303
|
"type": "Text",
|
|
2078
2304
|
"feel": "required",
|
|
@@ -2083,7 +2309,7 @@
|
|
|
2083
2309
|
}
|
|
2084
2310
|
],
|
|
2085
2311
|
"engines": {
|
|
2086
|
-
"camunda": "^8.
|
|
2312
|
+
"camunda": "^8.6"
|
|
2087
2313
|
}
|
|
2088
2314
|
},
|
|
2089
2315
|
{
|
|
@@ -2601,5 +2827,1259 @@
|
|
|
2601
2827
|
"engines": {
|
|
2602
2828
|
"camunda": "^8.2"
|
|
2603
2829
|
}
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2833
|
+
"name": "Twilio connector",
|
|
2834
|
+
"id": "io.camunda.connectors.Twilio.v1",
|
|
2835
|
+
"version": 2,
|
|
2836
|
+
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
2837
|
+
"icon": {
|
|
2838
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
2839
|
+
},
|
|
2840
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
|
|
2841
|
+
"category": {
|
|
2842
|
+
"id": "connectors",
|
|
2843
|
+
"name": "Connectors"
|
|
2844
|
+
},
|
|
2845
|
+
"appliesTo": ["bpmn:Task"],
|
|
2846
|
+
"elementType": {
|
|
2847
|
+
"value": "bpmn:ServiceTask"
|
|
2848
|
+
},
|
|
2849
|
+
"groups": [
|
|
2850
|
+
{
|
|
2851
|
+
"id": "operation",
|
|
2852
|
+
"label": "Operation"
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
"id": "authentication",
|
|
2856
|
+
"label": "Authentication"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"id": "input",
|
|
2860
|
+
"label": "Input"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"id": "filter",
|
|
2864
|
+
"label": "Filter"
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"id": "output",
|
|
2868
|
+
"label": "Response mapping"
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"id": "errors",
|
|
2872
|
+
"label": "Error handling"
|
|
2873
|
+
}
|
|
2874
|
+
],
|
|
2875
|
+
"properties": [
|
|
2876
|
+
{
|
|
2877
|
+
"type": "Hidden",
|
|
2878
|
+
"value": "io.camunda:http-json:1",
|
|
2879
|
+
"binding": {
|
|
2880
|
+
"type": "zeebe:taskDefinition",
|
|
2881
|
+
"property": "type"
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
{
|
|
2885
|
+
"label": "Operation type",
|
|
2886
|
+
"id": "operationType",
|
|
2887
|
+
"group": "operation",
|
|
2888
|
+
"type": "Dropdown",
|
|
2889
|
+
"optional": false,
|
|
2890
|
+
"choices": [
|
|
2891
|
+
{
|
|
2892
|
+
"name": "Send a SMS",
|
|
2893
|
+
"value": "sendSms"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"name": "Get message",
|
|
2897
|
+
"value": "getMessage"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"name": "List messages",
|
|
2901
|
+
"value": "listMessages"
|
|
2902
|
+
}
|
|
2903
|
+
],
|
|
2904
|
+
"binding": {
|
|
2905
|
+
"type": "zeebe:input",
|
|
2906
|
+
"name": "operationType"
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"id": "authType",
|
|
2911
|
+
"label": "Authentication type",
|
|
2912
|
+
"group": "authentication",
|
|
2913
|
+
"type": "Dropdown",
|
|
2914
|
+
"value": "get",
|
|
2915
|
+
"choices": [
|
|
2916
|
+
{
|
|
2917
|
+
"name": "Account SID and Auth token",
|
|
2918
|
+
"value": "accountSidAuthToken"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
"name": "API key and secret",
|
|
2922
|
+
"value": "apiKeySecret"
|
|
2923
|
+
}
|
|
2924
|
+
],
|
|
2925
|
+
"binding": {
|
|
2926
|
+
"type": "zeebe:input",
|
|
2927
|
+
"name": "authType"
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"label": "Account SID",
|
|
2932
|
+
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
|
|
2933
|
+
"group": "authentication",
|
|
2934
|
+
"type": "String",
|
|
2935
|
+
"feel": "optional",
|
|
2936
|
+
"binding": {
|
|
2937
|
+
"type": "zeebe:input",
|
|
2938
|
+
"name": "accountSid"
|
|
2939
|
+
},
|
|
2940
|
+
"constraints": {
|
|
2941
|
+
"notEmpty": true
|
|
2942
|
+
},
|
|
2943
|
+
"condition": {
|
|
2944
|
+
"property": "authType",
|
|
2945
|
+
"oneOf": ["apiKeySecret", "accountSidAuthToken"]
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
{
|
|
2949
|
+
"value": "basic",
|
|
2950
|
+
"type": "Hidden",
|
|
2951
|
+
"binding": {
|
|
2952
|
+
"type": "zeebe:input",
|
|
2953
|
+
"name": "authentication.type"
|
|
2954
|
+
}
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
"type": "Hidden",
|
|
2958
|
+
"value": "post",
|
|
2959
|
+
"binding": {
|
|
2960
|
+
"type": "zeebe:input",
|
|
2961
|
+
"name": "method"
|
|
2962
|
+
},
|
|
2963
|
+
"condition": {
|
|
2964
|
+
"property": "operationType",
|
|
2965
|
+
"equals": "sendSms"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"type": "Hidden",
|
|
2970
|
+
"value": "get",
|
|
2971
|
+
"binding": {
|
|
2972
|
+
"type": "zeebe:input",
|
|
2973
|
+
"name": "method"
|
|
2974
|
+
},
|
|
2975
|
+
"condition": {
|
|
2976
|
+
"property": "operationType",
|
|
2977
|
+
"oneOf": ["listMessages", "getMessage"]
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"type": "Hidden",
|
|
2982
|
+
"value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
|
|
2983
|
+
"binding": {
|
|
2984
|
+
"type": "zeebe:input",
|
|
2985
|
+
"name": "headers"
|
|
2986
|
+
},
|
|
2987
|
+
"condition": {
|
|
2988
|
+
"property": "operationType",
|
|
2989
|
+
"equals": "sendSms"
|
|
2990
|
+
},
|
|
2991
|
+
"optional": false
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"label": "API key",
|
|
2995
|
+
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
|
|
2996
|
+
"group": "authentication",
|
|
2997
|
+
"type": "String",
|
|
2998
|
+
"feel": "optional",
|
|
2999
|
+
"binding": {
|
|
3000
|
+
"type": "zeebe:input",
|
|
3001
|
+
"name": "authentication.username"
|
|
3002
|
+
},
|
|
3003
|
+
"constraints": {
|
|
3004
|
+
"notEmpty": true
|
|
3005
|
+
},
|
|
3006
|
+
"condition": {
|
|
3007
|
+
"property": "authType",
|
|
3008
|
+
"equals": "apiKeySecret"
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3011
|
+
{
|
|
3012
|
+
"label": "API secret",
|
|
3013
|
+
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
|
|
3014
|
+
"group": "authentication",
|
|
3015
|
+
"type": "String",
|
|
3016
|
+
"feel": "optional",
|
|
3017
|
+
"binding": {
|
|
3018
|
+
"type": "zeebe:input",
|
|
3019
|
+
"name": "authentication.password"
|
|
3020
|
+
},
|
|
3021
|
+
"constraints": {
|
|
3022
|
+
"notEmpty": true
|
|
3023
|
+
},
|
|
3024
|
+
"condition": {
|
|
3025
|
+
"property": "authType",
|
|
3026
|
+
"equals": "apiKeySecret"
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"type": "Hidden",
|
|
3031
|
+
"value": "=accountSid",
|
|
3032
|
+
"binding": {
|
|
3033
|
+
"type": "zeebe:input",
|
|
3034
|
+
"name": "authentication.username"
|
|
3035
|
+
},
|
|
3036
|
+
"constraints": {
|
|
3037
|
+
"notEmpty": true
|
|
3038
|
+
},
|
|
3039
|
+
"condition": {
|
|
3040
|
+
"property": "authType",
|
|
3041
|
+
"oneOf": ["accountSidAuthToken"]
|
|
3042
|
+
}
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"label": "Authentication token",
|
|
3046
|
+
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
|
|
3047
|
+
"group": "authentication",
|
|
3048
|
+
"type": "String",
|
|
3049
|
+
"feel": "optional",
|
|
3050
|
+
"binding": {
|
|
3051
|
+
"type": "zeebe:input",
|
|
3052
|
+
"name": "authentication.password"
|
|
3053
|
+
},
|
|
3054
|
+
"constraints": {
|
|
3055
|
+
"notEmpty": true
|
|
3056
|
+
},
|
|
3057
|
+
"condition": {
|
|
3058
|
+
"property": "authType",
|
|
3059
|
+
"equals": "accountSidAuthToken"
|
|
3060
|
+
}
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"label": "Message SID",
|
|
3064
|
+
"description": "Obtain information regarding the message with SID",
|
|
3065
|
+
"group": "input",
|
|
3066
|
+
"type": "String",
|
|
3067
|
+
"feel": "optional",
|
|
3068
|
+
"binding": {
|
|
3069
|
+
"type": "zeebe:input",
|
|
3070
|
+
"name": "messageSid"
|
|
3071
|
+
},
|
|
3072
|
+
"constraints": {
|
|
3073
|
+
"notEmpty": true
|
|
3074
|
+
},
|
|
3075
|
+
"condition": {
|
|
3076
|
+
"property": "operationType",
|
|
3077
|
+
"oneOf": ["getMessage"]
|
|
3078
|
+
},
|
|
3079
|
+
"optional": false
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"label": "Message text",
|
|
3083
|
+
"description": "The content of the message that will be sent",
|
|
3084
|
+
"group": "input",
|
|
3085
|
+
"type": "Text",
|
|
3086
|
+
"feel": "optional",
|
|
3087
|
+
"binding": {
|
|
3088
|
+
"type": "zeebe:input",
|
|
3089
|
+
"name": "body.Body"
|
|
3090
|
+
},
|
|
3091
|
+
"constraints": {
|
|
3092
|
+
"notEmpty": true
|
|
3093
|
+
},
|
|
3094
|
+
"condition": {
|
|
3095
|
+
"property": "operationType",
|
|
3096
|
+
"oneOf": ["sendSms"]
|
|
3097
|
+
},
|
|
3098
|
+
"optional": false
|
|
3099
|
+
},
|
|
3100
|
+
{
|
|
3101
|
+
"label": "From number",
|
|
3102
|
+
"description": "The originating Twilio phone number used for sending the message",
|
|
3103
|
+
"group": "input",
|
|
3104
|
+
"type": "String",
|
|
3105
|
+
"feel": "optional",
|
|
3106
|
+
"binding": {
|
|
3107
|
+
"type": "zeebe:input",
|
|
3108
|
+
"name": "body.From"
|
|
3109
|
+
},
|
|
3110
|
+
"constraints": {
|
|
3111
|
+
"notEmpty": true
|
|
3112
|
+
},
|
|
3113
|
+
"condition": {
|
|
3114
|
+
"property": "operationType",
|
|
3115
|
+
"oneOf": ["sendSms"]
|
|
3116
|
+
},
|
|
3117
|
+
"optional": false
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"label": "To number",
|
|
3121
|
+
"description": "The recipient's phone number",
|
|
3122
|
+
"group": "input",
|
|
3123
|
+
"type": "String",
|
|
3124
|
+
"feel": "optional",
|
|
3125
|
+
"binding": {
|
|
3126
|
+
"type": "zeebe:input",
|
|
3127
|
+
"name": "body.To"
|
|
3128
|
+
},
|
|
3129
|
+
"constraints": {
|
|
3130
|
+
"notEmpty": true
|
|
3131
|
+
},
|
|
3132
|
+
"condition": {
|
|
3133
|
+
"property": "operationType",
|
|
3134
|
+
"oneOf": ["sendSms"]
|
|
3135
|
+
},
|
|
3136
|
+
"optional": false
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
"label": "Page size",
|
|
3140
|
+
"id": "pageSize",
|
|
3141
|
+
"description": "The maximum number of messages to retrieve per page",
|
|
3142
|
+
"group": "filter",
|
|
3143
|
+
"type": "String",
|
|
3144
|
+
"feel": "optional",
|
|
3145
|
+
"binding": {
|
|
3146
|
+
"type": "zeebe:input",
|
|
3147
|
+
"name": "pageSizeValue"
|
|
3148
|
+
},
|
|
3149
|
+
"constraints": {
|
|
3150
|
+
"notEmpty": false
|
|
3151
|
+
},
|
|
3152
|
+
"condition": {
|
|
3153
|
+
"property": "operationType",
|
|
3154
|
+
"oneOf": ["listMessages"]
|
|
3155
|
+
},
|
|
3156
|
+
"optional": true
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"label": "Date sent",
|
|
3160
|
+
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
|
|
3161
|
+
"group": "filter",
|
|
3162
|
+
"type": "String",
|
|
3163
|
+
"feel": "optional",
|
|
3164
|
+
"binding": {
|
|
3165
|
+
"type": "zeebe:input",
|
|
3166
|
+
"name": "dateSentValue"
|
|
3167
|
+
},
|
|
3168
|
+
"constraints": {
|
|
3169
|
+
"notEmpty": false
|
|
3170
|
+
},
|
|
3171
|
+
"condition": {
|
|
3172
|
+
"property": "operationType",
|
|
3173
|
+
"oneOf": ["listMessages"]
|
|
3174
|
+
},
|
|
3175
|
+
"optional": true
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"label": "Date before message was sent",
|
|
3179
|
+
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
|
|
3180
|
+
"group": "filter",
|
|
3181
|
+
"type": "String",
|
|
3182
|
+
"feel": "optional",
|
|
3183
|
+
"binding": {
|
|
3184
|
+
"type": "zeebe:input",
|
|
3185
|
+
"name": "dateSentBeforeValue"
|
|
3186
|
+
},
|
|
3187
|
+
"constraints": {
|
|
3188
|
+
"notEmpty": false
|
|
3189
|
+
},
|
|
3190
|
+
"condition": {
|
|
3191
|
+
"property": "operationType",
|
|
3192
|
+
"oneOf": ["listMessages"]
|
|
3193
|
+
},
|
|
3194
|
+
"optional": true
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
"label": "Date after message was sent",
|
|
3198
|
+
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
|
|
3199
|
+
"group": "filter",
|
|
3200
|
+
"type": "String",
|
|
3201
|
+
"feel": "optional",
|
|
3202
|
+
"binding": {
|
|
3203
|
+
"type": "zeebe:input",
|
|
3204
|
+
"name": "dateSentAfterValue"
|
|
3205
|
+
},
|
|
3206
|
+
"constraints": {
|
|
3207
|
+
"notEmpty": false
|
|
3208
|
+
},
|
|
3209
|
+
"condition": {
|
|
3210
|
+
"property": "operationType",
|
|
3211
|
+
"oneOf": ["listMessages"]
|
|
3212
|
+
},
|
|
3213
|
+
"optional": true
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"label": "From",
|
|
3217
|
+
"description": "The phone number or client identifier of the message sender",
|
|
3218
|
+
"group": "filter",
|
|
3219
|
+
"type": "String",
|
|
3220
|
+
"feel": "optional",
|
|
3221
|
+
"binding": {
|
|
3222
|
+
"type": "zeebe:input",
|
|
3223
|
+
"name": "fromFilterValue"
|
|
3224
|
+
},
|
|
3225
|
+
"constraints": {
|
|
3226
|
+
"notEmpty": false
|
|
3227
|
+
},
|
|
3228
|
+
"condition": {
|
|
3229
|
+
"property": "operationType",
|
|
3230
|
+
"oneOf": ["listMessages"]
|
|
3231
|
+
},
|
|
3232
|
+
"optional": true
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"label": "To",
|
|
3236
|
+
"description": "The phone number or client identifier of the message recipient",
|
|
3237
|
+
"group": "filter",
|
|
3238
|
+
"type": "String",
|
|
3239
|
+
"feel": "optional",
|
|
3240
|
+
"binding": {
|
|
3241
|
+
"type": "zeebe:input",
|
|
3242
|
+
"name": "toFilterValue"
|
|
3243
|
+
},
|
|
3244
|
+
"constraints": {
|
|
3245
|
+
"notEmpty": false
|
|
3246
|
+
},
|
|
3247
|
+
"condition": {
|
|
3248
|
+
"property": "operationType",
|
|
3249
|
+
"oneOf": ["listMessages"]
|
|
3250
|
+
},
|
|
3251
|
+
"optional": true
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"type": "Hidden",
|
|
3255
|
+
"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})",
|
|
3256
|
+
"binding": {
|
|
3257
|
+
"type": "zeebe:input",
|
|
3258
|
+
"name": "queryParameters"
|
|
3259
|
+
},
|
|
3260
|
+
"optional": true,
|
|
3261
|
+
"condition": {
|
|
3262
|
+
"property": "operationType",
|
|
3263
|
+
"oneOf": ["listMessages"]
|
|
3264
|
+
}
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
"type": "Hidden",
|
|
3268
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
|
|
3269
|
+
"binding": {
|
|
3270
|
+
"type": "zeebe:input",
|
|
3271
|
+
"name": "url"
|
|
3272
|
+
},
|
|
3273
|
+
"condition": {
|
|
3274
|
+
"property": "operationType",
|
|
3275
|
+
"oneOf": ["sendSms", "listMessages"]
|
|
3276
|
+
}
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"type": "Hidden",
|
|
3280
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
|
|
3281
|
+
"binding": {
|
|
3282
|
+
"type": "zeebe:input",
|
|
3283
|
+
"name": "url"
|
|
3284
|
+
},
|
|
3285
|
+
"condition": {
|
|
3286
|
+
"property": "operationType",
|
|
3287
|
+
"oneOf": ["getMessage"]
|
|
3288
|
+
}
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"label": "Result variable",
|
|
3292
|
+
"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>",
|
|
3293
|
+
"group": "output",
|
|
3294
|
+
"type": "String",
|
|
3295
|
+
"binding": {
|
|
3296
|
+
"type": "zeebe:taskHeader",
|
|
3297
|
+
"key": "resultVariable"
|
|
3298
|
+
}
|
|
3299
|
+
},
|
|
3300
|
+
{
|
|
3301
|
+
"label": "Result expression",
|
|
3302
|
+
"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>",
|
|
3303
|
+
"group": "output",
|
|
3304
|
+
"type": "Text",
|
|
3305
|
+
"feel": "required",
|
|
3306
|
+
"binding": {
|
|
3307
|
+
"type": "zeebe:taskHeader",
|
|
3308
|
+
"key": "resultExpression"
|
|
3309
|
+
}
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"label": "Connection timeout",
|
|
3313
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
3314
|
+
"group": "errors",
|
|
3315
|
+
"type": "String",
|
|
3316
|
+
"value": "20",
|
|
3317
|
+
"binding": {
|
|
3318
|
+
"type": "zeebe:input",
|
|
3319
|
+
"name": "connectionTimeoutInSeconds"
|
|
3320
|
+
},
|
|
3321
|
+
"optional": true,
|
|
3322
|
+
"feel": "optional",
|
|
3323
|
+
"constraints": {
|
|
3324
|
+
"notEmpty": false,
|
|
3325
|
+
"pattern": {
|
|
3326
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
3327
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
"label": "Error expression",
|
|
3333
|
+
"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>",
|
|
3334
|
+
"group": "errors",
|
|
3335
|
+
"type": "Text",
|
|
3336
|
+
"feel": "required",
|
|
3337
|
+
"binding": {
|
|
3338
|
+
"type": "zeebe:taskHeader",
|
|
3339
|
+
"key": "errorExpression"
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3342
|
+
],
|
|
3343
|
+
"engines": {
|
|
3344
|
+
"camunda": "^8.2"
|
|
3345
|
+
}
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3349
|
+
"name": "Twilio Outbound Connector",
|
|
3350
|
+
"id": "io.camunda.connectors.Twilio.v1",
|
|
3351
|
+
"version": 6,
|
|
3352
|
+
"engines": {
|
|
3353
|
+
"camunda": "^8.9"
|
|
3354
|
+
},
|
|
3355
|
+
"description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
|
|
3356
|
+
"keywords": [
|
|
3357
|
+
"send SMS",
|
|
3358
|
+
"get message",
|
|
3359
|
+
"list messages",
|
|
3360
|
+
"SMS",
|
|
3361
|
+
"text message",
|
|
3362
|
+
"phone",
|
|
3363
|
+
"messaging",
|
|
3364
|
+
"notification"
|
|
3365
|
+
],
|
|
3366
|
+
"icon": {
|
|
3367
|
+
"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"
|
|
3368
|
+
},
|
|
3369
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
3370
|
+
"category": {
|
|
3371
|
+
"id": "connectors",
|
|
3372
|
+
"name": "Connectors"
|
|
3373
|
+
},
|
|
3374
|
+
"appliesTo": ["bpmn:Task"],
|
|
3375
|
+
"elementType": {
|
|
3376
|
+
"value": "bpmn:ServiceTask"
|
|
3377
|
+
},
|
|
3378
|
+
"groups": [
|
|
3379
|
+
{
|
|
3380
|
+
"id": "operation",
|
|
3381
|
+
"label": "Operation"
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"id": "authentication",
|
|
3385
|
+
"label": "Authentication"
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"id": "input",
|
|
3389
|
+
"label": "Input"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"id": "filter",
|
|
3393
|
+
"label": "Filter"
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"id": "output",
|
|
3397
|
+
"label": "Response mapping"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"id": "errors",
|
|
3401
|
+
"label": "Error handling"
|
|
3402
|
+
}
|
|
3403
|
+
],
|
|
3404
|
+
"properties": [
|
|
3405
|
+
{
|
|
3406
|
+
"type": "Hidden",
|
|
3407
|
+
"value": "io.camunda:http-json:1",
|
|
3408
|
+
"binding": {
|
|
3409
|
+
"type": "zeebe:taskDefinition:type"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"label": "Operation type",
|
|
3414
|
+
"id": "operationType",
|
|
3415
|
+
"group": "operation",
|
|
3416
|
+
"type": "Dropdown",
|
|
3417
|
+
"optional": false,
|
|
3418
|
+
"choices": [
|
|
3419
|
+
{
|
|
3420
|
+
"name": "Send a SMS",
|
|
3421
|
+
"value": "sendSms"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"name": "Send a WhatsApp message",
|
|
3425
|
+
"value": "sendWhatsApp"
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"name": "Get message",
|
|
3429
|
+
"value": "getMessage"
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"name": "List messages",
|
|
3433
|
+
"value": "listMessages"
|
|
3434
|
+
}
|
|
3435
|
+
],
|
|
3436
|
+
"binding": {
|
|
3437
|
+
"type": "zeebe:input",
|
|
3438
|
+
"name": "operationType"
|
|
3439
|
+
}
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"label": "WhatsApp message type",
|
|
3443
|
+
"id": "whatsappMessageType",
|
|
3444
|
+
"group": "operation",
|
|
3445
|
+
"type": "Dropdown",
|
|
3446
|
+
"optional": false,
|
|
3447
|
+
"choices": [
|
|
3448
|
+
{
|
|
3449
|
+
"name": "Free form message",
|
|
3450
|
+
"value": "whatsappFreeFormMessage"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "Template message",
|
|
3454
|
+
"value": "whatsappTemplateMessage"
|
|
3455
|
+
}
|
|
3456
|
+
],
|
|
3457
|
+
"binding": {
|
|
3458
|
+
"type": "zeebe:input",
|
|
3459
|
+
"name": "whatsappMessageType"
|
|
3460
|
+
},
|
|
3461
|
+
"condition": {
|
|
3462
|
+
"property": "operationType",
|
|
3463
|
+
"equals": "sendWhatsApp"
|
|
3464
|
+
}
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"id": "authType",
|
|
3468
|
+
"label": "Authentication type",
|
|
3469
|
+
"group": "authentication",
|
|
3470
|
+
"type": "Dropdown",
|
|
3471
|
+
"value": "get",
|
|
3472
|
+
"choices": [
|
|
3473
|
+
{
|
|
3474
|
+
"name": "Account SID and Auth token",
|
|
3475
|
+
"value": "accountSidAuthToken"
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
"name": "API key and secret",
|
|
3479
|
+
"value": "apiKeySecret"
|
|
3480
|
+
}
|
|
3481
|
+
],
|
|
3482
|
+
"binding": {
|
|
3483
|
+
"type": "zeebe:input",
|
|
3484
|
+
"name": "authType"
|
|
3485
|
+
}
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"label": "Account SID",
|
|
3489
|
+
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
|
|
3490
|
+
"group": "authentication",
|
|
3491
|
+
"type": "String",
|
|
3492
|
+
"feel": "optional",
|
|
3493
|
+
"binding": {
|
|
3494
|
+
"type": "zeebe:input",
|
|
3495
|
+
"name": "accountSid"
|
|
3496
|
+
},
|
|
3497
|
+
"constraints": {
|
|
3498
|
+
"notEmpty": true
|
|
3499
|
+
},
|
|
3500
|
+
"condition": {
|
|
3501
|
+
"property": "authType",
|
|
3502
|
+
"oneOf": ["apiKeySecret", "accountSidAuthToken"]
|
|
3503
|
+
}
|
|
3504
|
+
},
|
|
3505
|
+
{
|
|
3506
|
+
"value": "basic",
|
|
3507
|
+
"type": "Hidden",
|
|
3508
|
+
"binding": {
|
|
3509
|
+
"type": "zeebe:input",
|
|
3510
|
+
"name": "authentication.type"
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"type": "Hidden",
|
|
3515
|
+
"value": "post",
|
|
3516
|
+
"binding": {
|
|
3517
|
+
"type": "zeebe:input",
|
|
3518
|
+
"name": "method"
|
|
3519
|
+
},
|
|
3520
|
+
"condition": {
|
|
3521
|
+
"property": "operationType",
|
|
3522
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
3523
|
+
}
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"type": "Hidden",
|
|
3527
|
+
"value": "get",
|
|
3528
|
+
"binding": {
|
|
3529
|
+
"type": "zeebe:input",
|
|
3530
|
+
"name": "method"
|
|
3531
|
+
},
|
|
3532
|
+
"condition": {
|
|
3533
|
+
"property": "operationType",
|
|
3534
|
+
"oneOf": ["listMessages", "getMessage"]
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"type": "Hidden",
|
|
3539
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
3540
|
+
"binding": {
|
|
3541
|
+
"type": "zeebe:input",
|
|
3542
|
+
"name": "headers"
|
|
3543
|
+
},
|
|
3544
|
+
"condition": {
|
|
3545
|
+
"property": "operationType",
|
|
3546
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
3547
|
+
},
|
|
3548
|
+
"optional": false
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"label": "API key",
|
|
3552
|
+
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
|
|
3553
|
+
"group": "authentication",
|
|
3554
|
+
"type": "String",
|
|
3555
|
+
"feel": "optional",
|
|
3556
|
+
"binding": {
|
|
3557
|
+
"type": "zeebe:input",
|
|
3558
|
+
"name": "authentication.username"
|
|
3559
|
+
},
|
|
3560
|
+
"constraints": {
|
|
3561
|
+
"notEmpty": true
|
|
3562
|
+
},
|
|
3563
|
+
"condition": {
|
|
3564
|
+
"property": "authType",
|
|
3565
|
+
"equals": "apiKeySecret"
|
|
3566
|
+
}
|
|
3567
|
+
},
|
|
3568
|
+
{
|
|
3569
|
+
"label": "API secret",
|
|
3570
|
+
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
|
|
3571
|
+
"group": "authentication",
|
|
3572
|
+
"type": "String",
|
|
3573
|
+
"feel": "optional",
|
|
3574
|
+
"binding": {
|
|
3575
|
+
"type": "zeebe:input",
|
|
3576
|
+
"name": "authentication.password"
|
|
3577
|
+
},
|
|
3578
|
+
"constraints": {
|
|
3579
|
+
"notEmpty": true
|
|
3580
|
+
},
|
|
3581
|
+
"condition": {
|
|
3582
|
+
"property": "authType",
|
|
3583
|
+
"equals": "apiKeySecret"
|
|
3584
|
+
}
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"type": "Hidden",
|
|
3588
|
+
"value": "=accountSid",
|
|
3589
|
+
"binding": {
|
|
3590
|
+
"type": "zeebe:input",
|
|
3591
|
+
"name": "authentication.username"
|
|
3592
|
+
},
|
|
3593
|
+
"constraints": {
|
|
3594
|
+
"notEmpty": true
|
|
3595
|
+
},
|
|
3596
|
+
"condition": {
|
|
3597
|
+
"property": "authType",
|
|
3598
|
+
"oneOf": ["accountSidAuthToken"]
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
{
|
|
3602
|
+
"label": "Authentication token",
|
|
3603
|
+
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
|
|
3604
|
+
"group": "authentication",
|
|
3605
|
+
"type": "String",
|
|
3606
|
+
"feel": "optional",
|
|
3607
|
+
"binding": {
|
|
3608
|
+
"type": "zeebe:input",
|
|
3609
|
+
"name": "authentication.password"
|
|
3610
|
+
},
|
|
3611
|
+
"constraints": {
|
|
3612
|
+
"notEmpty": true
|
|
3613
|
+
},
|
|
3614
|
+
"condition": {
|
|
3615
|
+
"property": "authType",
|
|
3616
|
+
"equals": "accountSidAuthToken"
|
|
3617
|
+
}
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
"label": "Message SID",
|
|
3621
|
+
"description": "Obtain information regarding the message with SID",
|
|
3622
|
+
"group": "input",
|
|
3623
|
+
"type": "String",
|
|
3624
|
+
"feel": "optional",
|
|
3625
|
+
"binding": {
|
|
3626
|
+
"type": "zeebe:input",
|
|
3627
|
+
"name": "messageSid"
|
|
3628
|
+
},
|
|
3629
|
+
"constraints": {
|
|
3630
|
+
"notEmpty": true
|
|
3631
|
+
},
|
|
3632
|
+
"condition": {
|
|
3633
|
+
"property": "operationType",
|
|
3634
|
+
"oneOf": ["getMessage"]
|
|
3635
|
+
},
|
|
3636
|
+
"optional": false
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
"label": "WhatsApp message text",
|
|
3640
|
+
"description": "The content of the WhatsApp message that will be sent",
|
|
3641
|
+
"group": "input",
|
|
3642
|
+
"type": "Text",
|
|
3643
|
+
"feel": "optional",
|
|
3644
|
+
"binding": {
|
|
3645
|
+
"type": "zeebe:input",
|
|
3646
|
+
"name": "WhatsAppBody"
|
|
3647
|
+
},
|
|
3648
|
+
"constraints": {
|
|
3649
|
+
"notEmpty": true
|
|
3650
|
+
},
|
|
3651
|
+
"condition": {
|
|
3652
|
+
"allMatch": [
|
|
3653
|
+
{
|
|
3654
|
+
"property": "operationType",
|
|
3655
|
+
"equals": "sendWhatsApp"
|
|
3656
|
+
},
|
|
3657
|
+
{
|
|
3658
|
+
"property": "whatsappMessageType",
|
|
3659
|
+
"equals": "whatsappFreeFormMessage"
|
|
3660
|
+
}
|
|
3661
|
+
]
|
|
3662
|
+
},
|
|
3663
|
+
"optional": false
|
|
3664
|
+
},
|
|
3665
|
+
{
|
|
3666
|
+
"label": "WhatsApp template ID",
|
|
3667
|
+
"description": "The ID of the WhatsApp template to be used",
|
|
3668
|
+
"group": "input",
|
|
3669
|
+
"type": "String",
|
|
3670
|
+
"feel": "optional",
|
|
3671
|
+
"binding": {
|
|
3672
|
+
"type": "zeebe:input",
|
|
3673
|
+
"name": "ContentSid"
|
|
3674
|
+
},
|
|
3675
|
+
"constraints": {
|
|
3676
|
+
"notEmpty": true
|
|
3677
|
+
},
|
|
3678
|
+
"condition": {
|
|
3679
|
+
"allMatch": [
|
|
3680
|
+
{
|
|
3681
|
+
"property": "operationType",
|
|
3682
|
+
"equals": "sendWhatsApp"
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
"property": "whatsappMessageType",
|
|
3686
|
+
"equals": "whatsappTemplateMessage"
|
|
3687
|
+
}
|
|
3688
|
+
]
|
|
3689
|
+
},
|
|
3690
|
+
"optional": false
|
|
3691
|
+
},
|
|
3692
|
+
{
|
|
3693
|
+
"label": "WhatsApp template parameters",
|
|
3694
|
+
"description": "Parameter values to substitute in the template provided as a FEEL context with numbered keys; make sure all keys and values are strings or are converted to strings!",
|
|
3695
|
+
"group": "input",
|
|
3696
|
+
"type": "Text",
|
|
3697
|
+
"feel": "required",
|
|
3698
|
+
"value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
|
|
3699
|
+
"binding": {
|
|
3700
|
+
"type": "zeebe:input",
|
|
3701
|
+
"name": "ContentVariables"
|
|
3702
|
+
},
|
|
3703
|
+
"constraints": {
|
|
3704
|
+
"notEmpty": true
|
|
3705
|
+
},
|
|
3706
|
+
"condition": {
|
|
3707
|
+
"allMatch": [
|
|
3708
|
+
{
|
|
3709
|
+
"property": "operationType",
|
|
3710
|
+
"equals": "sendWhatsApp"
|
|
3711
|
+
},
|
|
3712
|
+
{
|
|
3713
|
+
"property": "whatsappMessageType",
|
|
3714
|
+
"equals": "whatsappTemplateMessage"
|
|
3715
|
+
}
|
|
3716
|
+
]
|
|
3717
|
+
},
|
|
3718
|
+
"optional": false
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"label": "From WhatsApp number",
|
|
3722
|
+
"description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
|
|
3723
|
+
"group": "input",
|
|
3724
|
+
"type": "String",
|
|
3725
|
+
"feel": "optional",
|
|
3726
|
+
"binding": {
|
|
3727
|
+
"type": "zeebe:input",
|
|
3728
|
+
"name": "From"
|
|
3729
|
+
},
|
|
3730
|
+
"constraints": {
|
|
3731
|
+
"notEmpty": true
|
|
3732
|
+
},
|
|
3733
|
+
"condition": {
|
|
3734
|
+
"property": "operationType",
|
|
3735
|
+
"equals": "sendWhatsApp"
|
|
3736
|
+
},
|
|
3737
|
+
"optional": false
|
|
3738
|
+
},
|
|
3739
|
+
{
|
|
3740
|
+
"label": "To WhatsApp number",
|
|
3741
|
+
"description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
|
|
3742
|
+
"group": "input",
|
|
3743
|
+
"type": "String",
|
|
3744
|
+
"feel": "optional",
|
|
3745
|
+
"binding": {
|
|
3746
|
+
"type": "zeebe:input",
|
|
3747
|
+
"name": "To"
|
|
3748
|
+
},
|
|
3749
|
+
"constraints": {
|
|
3750
|
+
"notEmpty": true
|
|
3751
|
+
},
|
|
3752
|
+
"condition": {
|
|
3753
|
+
"property": "operationType",
|
|
3754
|
+
"equals": "sendWhatsApp"
|
|
3755
|
+
},
|
|
3756
|
+
"optional": false
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
"type": "Hidden",
|
|
3760
|
+
"value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
|
|
3761
|
+
"binding": {
|
|
3762
|
+
"type": "zeebe:input",
|
|
3763
|
+
"name": "body"
|
|
3764
|
+
},
|
|
3765
|
+
"condition": {
|
|
3766
|
+
"allMatch": [
|
|
3767
|
+
{
|
|
3768
|
+
"property": "operationType",
|
|
3769
|
+
"equals": "sendWhatsApp"
|
|
3770
|
+
},
|
|
3771
|
+
{
|
|
3772
|
+
"property": "whatsappMessageType",
|
|
3773
|
+
"equals": "whatsappTemplateMessage"
|
|
3774
|
+
}
|
|
3775
|
+
]
|
|
3776
|
+
}
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
"type": "Hidden",
|
|
3780
|
+
"value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
|
|
3781
|
+
"binding": {
|
|
3782
|
+
"type": "zeebe:input",
|
|
3783
|
+
"name": "body"
|
|
3784
|
+
},
|
|
3785
|
+
"condition": {
|
|
3786
|
+
"allMatch": [
|
|
3787
|
+
{
|
|
3788
|
+
"property": "operationType",
|
|
3789
|
+
"equals": "sendWhatsApp"
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
"property": "whatsappMessageType",
|
|
3793
|
+
"equals": "whatsappFreeFormMessage"
|
|
3794
|
+
}
|
|
3795
|
+
]
|
|
3796
|
+
}
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"label": "Message text",
|
|
3800
|
+
"description": "The content of the message that will be sent",
|
|
3801
|
+
"group": "input",
|
|
3802
|
+
"type": "Text",
|
|
3803
|
+
"feel": "optional",
|
|
3804
|
+
"binding": {
|
|
3805
|
+
"type": "zeebe:input",
|
|
3806
|
+
"name": "body.Body"
|
|
3807
|
+
},
|
|
3808
|
+
"constraints": {
|
|
3809
|
+
"notEmpty": true
|
|
3810
|
+
},
|
|
3811
|
+
"condition": {
|
|
3812
|
+
"property": "operationType",
|
|
3813
|
+
"equals": "sendSms"
|
|
3814
|
+
},
|
|
3815
|
+
"optional": false
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"label": "From number",
|
|
3819
|
+
"description": "The originating Twilio phone number used for sending the message",
|
|
3820
|
+
"group": "input",
|
|
3821
|
+
"type": "String",
|
|
3822
|
+
"feel": "optional",
|
|
3823
|
+
"binding": {
|
|
3824
|
+
"type": "zeebe:input",
|
|
3825
|
+
"name": "body.From"
|
|
3826
|
+
},
|
|
3827
|
+
"constraints": {
|
|
3828
|
+
"notEmpty": true
|
|
3829
|
+
},
|
|
3830
|
+
"condition": {
|
|
3831
|
+
"property": "operationType",
|
|
3832
|
+
"equals": "sendSms"
|
|
3833
|
+
},
|
|
3834
|
+
"optional": false
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"label": "To number",
|
|
3838
|
+
"description": "The recipient's phone number",
|
|
3839
|
+
"group": "input",
|
|
3840
|
+
"type": "String",
|
|
3841
|
+
"feel": "optional",
|
|
3842
|
+
"binding": {
|
|
3843
|
+
"type": "zeebe:input",
|
|
3844
|
+
"name": "body.To"
|
|
3845
|
+
},
|
|
3846
|
+
"constraints": {
|
|
3847
|
+
"notEmpty": true
|
|
3848
|
+
},
|
|
3849
|
+
"condition": {
|
|
3850
|
+
"property": "operationType",
|
|
3851
|
+
"equals": "sendSms"
|
|
3852
|
+
},
|
|
3853
|
+
"optional": false
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"label": "Page size",
|
|
3857
|
+
"id": "pageSize",
|
|
3858
|
+
"description": "The maximum number of messages to retrieve per page",
|
|
3859
|
+
"group": "filter",
|
|
3860
|
+
"type": "String",
|
|
3861
|
+
"feel": "optional",
|
|
3862
|
+
"binding": {
|
|
3863
|
+
"type": "zeebe:input",
|
|
3864
|
+
"name": "pageSizeValue"
|
|
3865
|
+
},
|
|
3866
|
+
"constraints": {
|
|
3867
|
+
"notEmpty": false
|
|
3868
|
+
},
|
|
3869
|
+
"condition": {
|
|
3870
|
+
"property": "operationType",
|
|
3871
|
+
"oneOf": ["listMessages"]
|
|
3872
|
+
},
|
|
3873
|
+
"optional": true
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"label": "Date sent",
|
|
3877
|
+
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
3878
|
+
"group": "filter",
|
|
3879
|
+
"type": "String",
|
|
3880
|
+
"feel": "optional",
|
|
3881
|
+
"binding": {
|
|
3882
|
+
"type": "zeebe:input",
|
|
3883
|
+
"name": "dateSentValue"
|
|
3884
|
+
},
|
|
3885
|
+
"constraints": {
|
|
3886
|
+
"notEmpty": false
|
|
3887
|
+
},
|
|
3888
|
+
"condition": {
|
|
3889
|
+
"property": "operationType",
|
|
3890
|
+
"oneOf": ["listMessages"]
|
|
3891
|
+
},
|
|
3892
|
+
"optional": true
|
|
3893
|
+
},
|
|
3894
|
+
{
|
|
3895
|
+
"label": "Date before message was sent",
|
|
3896
|
+
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
3897
|
+
"group": "filter",
|
|
3898
|
+
"type": "String",
|
|
3899
|
+
"feel": "optional",
|
|
3900
|
+
"binding": {
|
|
3901
|
+
"type": "zeebe:input",
|
|
3902
|
+
"name": "dateSentBeforeValue"
|
|
3903
|
+
},
|
|
3904
|
+
"constraints": {
|
|
3905
|
+
"notEmpty": false
|
|
3906
|
+
},
|
|
3907
|
+
"condition": {
|
|
3908
|
+
"property": "operationType",
|
|
3909
|
+
"oneOf": ["listMessages"]
|
|
3910
|
+
},
|
|
3911
|
+
"optional": true
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"label": "Date after message was sent",
|
|
3915
|
+
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
3916
|
+
"group": "filter",
|
|
3917
|
+
"type": "String",
|
|
3918
|
+
"feel": "optional",
|
|
3919
|
+
"binding": {
|
|
3920
|
+
"type": "zeebe:input",
|
|
3921
|
+
"name": "dateSentAfterValue"
|
|
3922
|
+
},
|
|
3923
|
+
"constraints": {
|
|
3924
|
+
"notEmpty": false
|
|
3925
|
+
},
|
|
3926
|
+
"condition": {
|
|
3927
|
+
"property": "operationType",
|
|
3928
|
+
"oneOf": ["listMessages"]
|
|
3929
|
+
},
|
|
3930
|
+
"optional": true
|
|
3931
|
+
},
|
|
3932
|
+
{
|
|
3933
|
+
"label": "From",
|
|
3934
|
+
"description": "The phone number or client identifier of the message sender",
|
|
3935
|
+
"group": "filter",
|
|
3936
|
+
"type": "String",
|
|
3937
|
+
"feel": "optional",
|
|
3938
|
+
"binding": {
|
|
3939
|
+
"type": "zeebe:input",
|
|
3940
|
+
"name": "fromFilterValue"
|
|
3941
|
+
},
|
|
3942
|
+
"constraints": {
|
|
3943
|
+
"notEmpty": false
|
|
3944
|
+
},
|
|
3945
|
+
"condition": {
|
|
3946
|
+
"property": "operationType",
|
|
3947
|
+
"oneOf": ["listMessages"]
|
|
3948
|
+
},
|
|
3949
|
+
"optional": true
|
|
3950
|
+
},
|
|
3951
|
+
{
|
|
3952
|
+
"label": "To",
|
|
3953
|
+
"description": "The phone number or client identifier of the message recipient",
|
|
3954
|
+
"group": "filter",
|
|
3955
|
+
"type": "String",
|
|
3956
|
+
"feel": "optional",
|
|
3957
|
+
"binding": {
|
|
3958
|
+
"type": "zeebe:input",
|
|
3959
|
+
"name": "toFilterValue"
|
|
3960
|
+
},
|
|
3961
|
+
"constraints": {
|
|
3962
|
+
"notEmpty": false
|
|
3963
|
+
},
|
|
3964
|
+
"condition": {
|
|
3965
|
+
"property": "operationType",
|
|
3966
|
+
"oneOf": ["listMessages"]
|
|
3967
|
+
},
|
|
3968
|
+
"optional": true
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
"type": "Hidden",
|
|
3972
|
+
"value": "=put all(if(dateSentValue = null) then {} else {\"DateSent\":dateSentValue} , if(dateSentAfterValue = null) then {} else {\"DateSent>\":dateSentAfterValue} , if(dateSentBeforeValue = null) then {} else {\"DateSent<\":dateSentBeforeValue} , if(fromFilterValue = null) then {} else {\"From\":fromFilterValue}, if(toFilterValue = null) then {} else {\"To\":toFilterValue}, if(pageSizeValue = null) then {} else {\"PageSize\":pageSizeValue})",
|
|
3973
|
+
"binding": {
|
|
3974
|
+
"type": "zeebe:input",
|
|
3975
|
+
"name": "queryParameters"
|
|
3976
|
+
},
|
|
3977
|
+
"optional": true,
|
|
3978
|
+
"condition": {
|
|
3979
|
+
"property": "operationType",
|
|
3980
|
+
"oneOf": ["listMessages"]
|
|
3981
|
+
}
|
|
3982
|
+
},
|
|
3983
|
+
{
|
|
3984
|
+
"type": "Hidden",
|
|
3985
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
|
|
3986
|
+
"binding": {
|
|
3987
|
+
"type": "zeebe:input",
|
|
3988
|
+
"name": "url"
|
|
3989
|
+
},
|
|
3990
|
+
"condition": {
|
|
3991
|
+
"property": "operationType",
|
|
3992
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
3993
|
+
}
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
"type": "Hidden",
|
|
3997
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
|
|
3998
|
+
"binding": {
|
|
3999
|
+
"type": "zeebe:input",
|
|
4000
|
+
"name": "url"
|
|
4001
|
+
},
|
|
4002
|
+
"condition": {
|
|
4003
|
+
"property": "operationType",
|
|
4004
|
+
"oneOf": ["getMessage"]
|
|
4005
|
+
}
|
|
4006
|
+
},
|
|
4007
|
+
{
|
|
4008
|
+
"label": "Result variable",
|
|
4009
|
+
"description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
|
|
4010
|
+
"group": "output",
|
|
4011
|
+
"type": "String",
|
|
4012
|
+
"binding": {
|
|
4013
|
+
"type": "zeebe:taskHeader",
|
|
4014
|
+
"key": "resultVariable"
|
|
4015
|
+
}
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
"label": "Result expression",
|
|
4019
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
|
|
4020
|
+
"group": "output",
|
|
4021
|
+
"type": "Text",
|
|
4022
|
+
"feel": "required",
|
|
4023
|
+
"binding": {
|
|
4024
|
+
"type": "zeebe:taskHeader",
|
|
4025
|
+
"key": "resultExpression"
|
|
4026
|
+
}
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"label": "Connection timeout",
|
|
4030
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
4031
|
+
"group": "errors",
|
|
4032
|
+
"type": "String",
|
|
4033
|
+
"value": "20",
|
|
4034
|
+
"binding": {
|
|
4035
|
+
"type": "zeebe:input",
|
|
4036
|
+
"name": "connectionTimeoutInSeconds"
|
|
4037
|
+
},
|
|
4038
|
+
"optional": true,
|
|
4039
|
+
"feel": "optional",
|
|
4040
|
+
"constraints": {
|
|
4041
|
+
"notEmpty": false,
|
|
4042
|
+
"pattern": {
|
|
4043
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
4044
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"label": "Error expression",
|
|
4050
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
4051
|
+
"group": "errors",
|
|
4052
|
+
"type": "Text",
|
|
4053
|
+
"feel": "required",
|
|
4054
|
+
"binding": {
|
|
4055
|
+
"type": "zeebe:taskHeader",
|
|
4056
|
+
"key": "errorExpression"
|
|
4057
|
+
}
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"id": "version",
|
|
4061
|
+
"label": "Version",
|
|
4062
|
+
"description": "Version of the element template",
|
|
4063
|
+
"value": "6",
|
|
4064
|
+
"group": "connector",
|
|
4065
|
+
"binding": {
|
|
4066
|
+
"key": "elementTemplateVersion",
|
|
4067
|
+
"type": "zeebe:taskHeader"
|
|
4068
|
+
},
|
|
4069
|
+
"type": "Hidden"
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"id": "id",
|
|
4073
|
+
"label": "ID",
|
|
4074
|
+
"description": "ID of the element template",
|
|
4075
|
+
"value": "io.camunda.connectors.Twilio.v1",
|
|
4076
|
+
"group": "connector",
|
|
4077
|
+
"binding": {
|
|
4078
|
+
"key": "elementTemplateId",
|
|
4079
|
+
"type": "zeebe:taskHeader"
|
|
4080
|
+
},
|
|
4081
|
+
"type": "Hidden"
|
|
4082
|
+
}
|
|
4083
|
+
]
|
|
2604
4084
|
}
|
|
2605
4085
|
]
|