@camunda/connectors-element-templates 1.0.20 → 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-adhoctoolsschema-outbound-connector.json +40 -40
- package/src/element-templates/agenticai-aiagent-job-worker.json +2483 -475
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +5352 -3427
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +717 -35
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2254 -809
- package/src/element-templates/app-integrations-connector.json +1047 -0
- package/src/element-templates/asana-connector.json +1050 -216
- package/src/element-templates/automation-anywhere-outbound-connector.json +2046 -1553
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1067 -29
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +385 -4
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +441 -4
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +416 -4
- package/src/element-templates/aws-bedrock-outbound-connector.json +2274 -624
- package/src/element-templates/aws-comprehend-outbound-connector.json +1572 -0
- package/src/element-templates/aws-dynamodb-outbound-connector.json +2385 -949
- package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
- package/src/element-templates/aws-eventbridge-connector-start-event.json +20 -20
- package/src/element-templates/aws-eventbridge-outbound-connector.json +680 -266
- package/src/element-templates/aws-lambda-outbound-connector.json +462 -63
- package/src/element-templates/aws-s3-outbound-connector.json +1850 -329
- package/src/element-templates/aws-sagemaker-outbound-connector.json +680 -51
- package/src/element-templates/aws-sns-inbound-boundary.json +207 -206
- package/src/element-templates/aws-sns-inbound-intermediate.json +410 -409
- package/src/element-templates/aws-sns-inbound-message-start.json +4 -3
- package/src/element-templates/aws-sns-inbound-receive.json +4 -3
- package/src/element-templates/aws-sns-inbound-start-event.json +138 -138
- package/src/element-templates/aws-sns-outbound-connector.json +643 -186
- package/src/element-templates/aws-sqs-boundary-connector.json +1059 -540
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +1046 -527
- package/src/element-templates/aws-sqs-outbound-connector.json +596 -143
- package/src/element-templates/aws-sqs-receive-connector.json +525 -7
- package/src/element-templates/aws-sqs-start-event-connector.json +401 -401
- package/src/element-templates/aws-sqs-start-message.json +736 -185
- package/src/element-templates/aws-textract-outbound-connector.json +925 -190
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
- package/src/element-templates/azure-open-ai-connector.json +1372 -9
- package/src/element-templates/blue-prism-connector.json +655 -76
- package/src/element-templates/box-outbound-connector.json +2331 -247
- package/src/element-templates/csv-outbound-connector.json +44 -44
- package/src/element-templates/easy-post-connector.json +1178 -97
- package/src/element-templates/email-outbound-connector.json +3087 -1013
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +2160 -0
- package/src/element-templates/github-connector.json +14049 -9863
- package/src/element-templates/github-webhook-connector-boundary.json +24 -24
- package/src/element-templates/github-webhook-connector-intermediate.json +33 -33
- 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 +54 -54
- package/src/element-templates/gitlab-connector.json +2110 -208
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1448 -241
- package/src/element-templates/google-drive-outbound-connector.json +2246 -694
- package/src/element-templates/google-gemini-outbound-connector.json +8 -22
- package/src/element-templates/google-maps-platform-connector.json +688 -137
- package/src/element-templates/google-sheets-outbound-connector.json +3631 -2475
- package/src/element-templates/graphql-outbound-connector.json +3346 -789
- package/src/element-templates/http-json-connector.json +5295 -2803
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +2550 -590
- package/src/element-templates/http-polling-connector.json +2886 -926
- package/src/element-templates/hubspot-outbound-connector.json +2786 -36
- package/src/element-templates/hugging-face-connector.json +44 -43
- package/src/element-templates/jdbc-outbound-connector.json +505 -8
- package/src/element-templates/kafka-inbound-connector-boundary.json +29 -32
- package/src/element-templates/kafka-inbound-connector-intermediate.json +615 -618
- package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
- package/src/element-templates/kafka-inbound-connector-start-message.json +9 -12
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +494 -498
- 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 +1095 -39
- package/src/element-templates/microsoft-teams-outbound-connector.json +7335 -4894
- package/src/element-templates/openai-connector.json +596 -102
- package/src/element-templates/operate-connector.json +167 -170
- package/src/element-templates/orchestration-connector.json +1843 -0
- package/src/element-templates/power-automate-connector.json +64 -64
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +449 -451
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +770 -772
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +576 -578
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +105 -105
- package/src/element-templates/rabbitmq-outbound-connector.json +319 -319
- package/src/element-templates/rpa-connector.json +6 -6
- package/src/element-templates/salesforce-connector.json +690 -56
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +300 -0
- package/src/element-templates/send-message-connector-message-end-event.json +300 -0
- package/src/element-templates/send-message-connector-send-task.json +299 -0
- package/src/element-templates/sendgrid-outbound-connector.json +597 -597
- package/src/element-templates/servicenow-connector.json +1365 -8
- package/src/element-templates/servicenow-flow-starter-connector.json +15 -15
- package/src/element-templates/servicenow-incident-connector.json +1076 -30
- package/src/element-templates/slack-inbound-boundary.json +374 -374
- package/src/element-templates/slack-inbound-intermediate.json +766 -766
- package/src/element-templates/slack-inbound-message-start.json +145 -145
- package/src/element-templates/slack-inbound-receive.json +2 -2
- package/src/element-templates/slack-inbound-start-event.json +211 -211
- package/src/element-templates/slack-outbound-connector.json +2154 -1051
- package/src/element-templates/soap-outbound-connector.json +114 -118
- package/src/element-templates/twilio-connector.json +1181 -368
- package/src/element-templates/twilio-webhook-boundary-connector.json +29 -30
- package/src/element-templates/twilio-webhook-connector.json +56 -57
- package/src/element-templates/twilio-webhook-intermediate-connector.json +33 -34
- package/src/element-templates/twilio-webhook-message-start-connector.json +27 -28
- package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
- package/src/element-templates/uipath-connector.json +681 -63
- package/src/element-templates/webhook-connector-boundary.json +1242 -587
- package/src/element-templates/webhook-connector-intermediate.json +1339 -684
- package/src/element-templates/webhook-connector-receive.json +659 -5
- package/src/element-templates/webhook-connector-start-event.json +1736 -1175
- package/src/element-templates/webhook-connector-start-message.json +1791 -1104
- package/src/element-templates/whatsapp-connector.json +386 -16
|
@@ -3,7 +3,10 @@
|
|
|
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": 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"
|
|
@@ -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
|
{
|
|
@@ -231,24 +233,762 @@
|
|
|
231
233
|
}
|
|
232
234
|
},
|
|
233
235
|
{
|
|
234
|
-
"label": "Message SID",
|
|
235
|
-
"description": "Obtain information regarding the message with SID",
|
|
236
|
+
"label": "Message SID",
|
|
237
|
+
"description": "Obtain information regarding the message with SID",
|
|
238
|
+
"group": "input",
|
|
239
|
+
"type": "String",
|
|
240
|
+
"feel": "optional",
|
|
241
|
+
"binding": {
|
|
242
|
+
"type": "zeebe:input",
|
|
243
|
+
"name": "messageSid"
|
|
244
|
+
},
|
|
245
|
+
"constraints": {
|
|
246
|
+
"notEmpty": true
|
|
247
|
+
},
|
|
248
|
+
"condition": {
|
|
249
|
+
"property": "operationType",
|
|
250
|
+
"oneOf": ["getMessage"]
|
|
251
|
+
},
|
|
252
|
+
"optional": false
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"label": "Message text",
|
|
256
|
+
"description": "The content of the message that will be sent",
|
|
257
|
+
"group": "input",
|
|
258
|
+
"type": "Text",
|
|
259
|
+
"feel": "optional",
|
|
260
|
+
"binding": {
|
|
261
|
+
"type": "zeebe:input",
|
|
262
|
+
"name": "body.Body"
|
|
263
|
+
},
|
|
264
|
+
"constraints": {
|
|
265
|
+
"notEmpty": true
|
|
266
|
+
},
|
|
267
|
+
"condition": {
|
|
268
|
+
"property": "operationType",
|
|
269
|
+
"oneOf": ["sendSms"]
|
|
270
|
+
},
|
|
271
|
+
"optional": false
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"label": "From number",
|
|
275
|
+
"description": "The originating Twilio phone number used for sending the message",
|
|
276
|
+
"group": "input",
|
|
277
|
+
"type": "String",
|
|
278
|
+
"feel": "optional",
|
|
279
|
+
"binding": {
|
|
280
|
+
"type": "zeebe:input",
|
|
281
|
+
"name": "body.From"
|
|
282
|
+
},
|
|
283
|
+
"constraints": {
|
|
284
|
+
"notEmpty": true
|
|
285
|
+
},
|
|
286
|
+
"condition": {
|
|
287
|
+
"property": "operationType",
|
|
288
|
+
"oneOf": ["sendSms"]
|
|
289
|
+
},
|
|
290
|
+
"optional": false
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"label": "To number",
|
|
294
|
+
"description": "The recipient's phone number",
|
|
295
|
+
"group": "input",
|
|
296
|
+
"type": "String",
|
|
297
|
+
"feel": "optional",
|
|
298
|
+
"binding": {
|
|
299
|
+
"type": "zeebe:input",
|
|
300
|
+
"name": "body.To"
|
|
301
|
+
},
|
|
302
|
+
"constraints": {
|
|
303
|
+
"notEmpty": true
|
|
304
|
+
},
|
|
305
|
+
"condition": {
|
|
306
|
+
"property": "operationType",
|
|
307
|
+
"oneOf": ["sendSms"]
|
|
308
|
+
},
|
|
309
|
+
"optional": false
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"label": "Page size",
|
|
313
|
+
"id": "pageSize",
|
|
314
|
+
"description": "The maximum number of messages to retrieve per page",
|
|
315
|
+
"group": "filter",
|
|
316
|
+
"type": "String",
|
|
317
|
+
"feel": "optional",
|
|
318
|
+
"binding": {
|
|
319
|
+
"type": "zeebe:input",
|
|
320
|
+
"name": "pageSizeValue"
|
|
321
|
+
},
|
|
322
|
+
"constraints": {
|
|
323
|
+
"notEmpty": false
|
|
324
|
+
},
|
|
325
|
+
"condition": {
|
|
326
|
+
"property": "operationType",
|
|
327
|
+
"oneOf": ["listMessages"]
|
|
328
|
+
},
|
|
329
|
+
"optional": true
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"label": "Date sent",
|
|
333
|
+
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
334
|
+
"group": "filter",
|
|
335
|
+
"type": "String",
|
|
336
|
+
"feel": "optional",
|
|
337
|
+
"binding": {
|
|
338
|
+
"type": "zeebe:input",
|
|
339
|
+
"name": "dateSentValue"
|
|
340
|
+
},
|
|
341
|
+
"constraints": {
|
|
342
|
+
"notEmpty": false
|
|
343
|
+
},
|
|
344
|
+
"condition": {
|
|
345
|
+
"property": "operationType",
|
|
346
|
+
"oneOf": ["listMessages"]
|
|
347
|
+
},
|
|
348
|
+
"optional": true
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"label": "Date before message was sent",
|
|
352
|
+
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
353
|
+
"group": "filter",
|
|
354
|
+
"type": "String",
|
|
355
|
+
"feel": "optional",
|
|
356
|
+
"binding": {
|
|
357
|
+
"type": "zeebe:input",
|
|
358
|
+
"name": "dateSentBeforeValue"
|
|
359
|
+
},
|
|
360
|
+
"constraints": {
|
|
361
|
+
"notEmpty": false
|
|
362
|
+
},
|
|
363
|
+
"condition": {
|
|
364
|
+
"property": "operationType",
|
|
365
|
+
"oneOf": ["listMessages"]
|
|
366
|
+
},
|
|
367
|
+
"optional": true
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"label": "Date after message was sent",
|
|
371
|
+
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
372
|
+
"group": "filter",
|
|
373
|
+
"type": "String",
|
|
374
|
+
"feel": "optional",
|
|
375
|
+
"binding": {
|
|
376
|
+
"type": "zeebe:input",
|
|
377
|
+
"name": "dateSentAfterValue"
|
|
378
|
+
},
|
|
379
|
+
"constraints": {
|
|
380
|
+
"notEmpty": false
|
|
381
|
+
},
|
|
382
|
+
"condition": {
|
|
383
|
+
"property": "operationType",
|
|
384
|
+
"oneOf": ["listMessages"]
|
|
385
|
+
},
|
|
386
|
+
"optional": true
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"label": "From",
|
|
390
|
+
"description": "The phone number or client identifier of the message sender",
|
|
391
|
+
"group": "filter",
|
|
392
|
+
"type": "String",
|
|
393
|
+
"feel": "optional",
|
|
394
|
+
"binding": {
|
|
395
|
+
"type": "zeebe:input",
|
|
396
|
+
"name": "fromFilterValue"
|
|
397
|
+
},
|
|
398
|
+
"constraints": {
|
|
399
|
+
"notEmpty": false
|
|
400
|
+
},
|
|
401
|
+
"condition": {
|
|
402
|
+
"property": "operationType",
|
|
403
|
+
"oneOf": ["listMessages"]
|
|
404
|
+
},
|
|
405
|
+
"optional": true
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"label": "To",
|
|
409
|
+
"description": "The phone number or client identifier of the message recipient",
|
|
410
|
+
"group": "filter",
|
|
411
|
+
"type": "String",
|
|
412
|
+
"feel": "optional",
|
|
413
|
+
"binding": {
|
|
414
|
+
"type": "zeebe:input",
|
|
415
|
+
"name": "toFilterValue"
|
|
416
|
+
},
|
|
417
|
+
"constraints": {
|
|
418
|
+
"notEmpty": false
|
|
419
|
+
},
|
|
420
|
+
"condition": {
|
|
421
|
+
"property": "operationType",
|
|
422
|
+
"oneOf": ["listMessages"]
|
|
423
|
+
},
|
|
424
|
+
"optional": true
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": "Hidden",
|
|
428
|
+
"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})",
|
|
429
|
+
"binding": {
|
|
430
|
+
"type": "zeebe:input",
|
|
431
|
+
"name": "queryParameters"
|
|
432
|
+
},
|
|
433
|
+
"optional": true,
|
|
434
|
+
"condition": {
|
|
435
|
+
"property": "operationType",
|
|
436
|
+
"oneOf": ["listMessages"]
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"type": "Hidden",
|
|
441
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
|
|
442
|
+
"binding": {
|
|
443
|
+
"type": "zeebe:input",
|
|
444
|
+
"name": "url"
|
|
445
|
+
},
|
|
446
|
+
"condition": {
|
|
447
|
+
"property": "operationType",
|
|
448
|
+
"oneOf": ["sendSms", "listMessages"]
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"type": "Hidden",
|
|
453
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
|
|
454
|
+
"binding": {
|
|
455
|
+
"type": "zeebe:input",
|
|
456
|
+
"name": "url"
|
|
457
|
+
},
|
|
458
|
+
"condition": {
|
|
459
|
+
"property": "operationType",
|
|
460
|
+
"oneOf": ["getMessage"]
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"label": "Result variable",
|
|
465
|
+
"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>",
|
|
466
|
+
"group": "output",
|
|
467
|
+
"type": "String",
|
|
468
|
+
"binding": {
|
|
469
|
+
"type": "zeebe:taskHeader",
|
|
470
|
+
"key": "resultVariable"
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"label": "Result expression",
|
|
475
|
+
"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>",
|
|
476
|
+
"group": "output",
|
|
477
|
+
"type": "Text",
|
|
478
|
+
"feel": "required",
|
|
479
|
+
"binding": {
|
|
480
|
+
"type": "zeebe:taskHeader",
|
|
481
|
+
"key": "resultExpression"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"label": "Connection timeout",
|
|
486
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
487
|
+
"group": "errors",
|
|
488
|
+
"type": "String",
|
|
489
|
+
"value": "20",
|
|
490
|
+
"binding": {
|
|
491
|
+
"type": "zeebe:input",
|
|
492
|
+
"name": "connectionTimeoutInSeconds"
|
|
493
|
+
},
|
|
494
|
+
"optional": true,
|
|
495
|
+
"feel": "optional",
|
|
496
|
+
"constraints": {
|
|
497
|
+
"notEmpty": false,
|
|
498
|
+
"pattern": {
|
|
499
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
500
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"label": "Error expression",
|
|
506
|
+
"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>",
|
|
507
|
+
"group": "errors",
|
|
508
|
+
"type": "Text",
|
|
509
|
+
"feel": "required",
|
|
510
|
+
"binding": {
|
|
511
|
+
"type": "zeebe:taskHeader",
|
|
512
|
+
"key": "errorExpression"
|
|
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"
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
543
|
+
"name": "Twilio Outbound Connector",
|
|
544
|
+
"id": "io.camunda.connectors.Twilio.v1",
|
|
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
|
+
],
|
|
560
|
+
"icon": {
|
|
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"
|
|
562
|
+
},
|
|
563
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
564
|
+
"category": {
|
|
565
|
+
"id": "connectors",
|
|
566
|
+
"name": "Connectors"
|
|
567
|
+
},
|
|
568
|
+
"appliesTo": ["bpmn:Task"],
|
|
569
|
+
"elementType": {
|
|
570
|
+
"value": "bpmn:ServiceTask"
|
|
571
|
+
},
|
|
572
|
+
"groups": [
|
|
573
|
+
{
|
|
574
|
+
"id": "operation",
|
|
575
|
+
"label": "Operation"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"id": "authentication",
|
|
579
|
+
"label": "Authentication"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"id": "input",
|
|
583
|
+
"label": "Input"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"id": "filter",
|
|
587
|
+
"label": "Filter"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"id": "output",
|
|
591
|
+
"label": "Response mapping"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"id": "errors",
|
|
595
|
+
"label": "Error handling"
|
|
596
|
+
}
|
|
597
|
+
],
|
|
598
|
+
"properties": [
|
|
599
|
+
{
|
|
600
|
+
"type": "Hidden",
|
|
601
|
+
"value": "io.camunda:http-json:1",
|
|
602
|
+
"binding": {
|
|
603
|
+
"type": "zeebe:taskDefinition:type"
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"label": "Operation type",
|
|
608
|
+
"id": "operationType",
|
|
609
|
+
"group": "operation",
|
|
610
|
+
"type": "Dropdown",
|
|
611
|
+
"optional": false,
|
|
612
|
+
"choices": [
|
|
613
|
+
{
|
|
614
|
+
"name": "Send a SMS",
|
|
615
|
+
"value": "sendSms"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "Send a WhatsApp message",
|
|
619
|
+
"value": "sendWhatsApp"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "Get message",
|
|
623
|
+
"value": "getMessage"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "List messages",
|
|
627
|
+
"value": "listMessages"
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
"binding": {
|
|
631
|
+
"type": "zeebe:input",
|
|
632
|
+
"name": "operationType"
|
|
633
|
+
}
|
|
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
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"id": "authType",
|
|
662
|
+
"label": "Authentication type",
|
|
663
|
+
"group": "authentication",
|
|
664
|
+
"type": "Dropdown",
|
|
665
|
+
"value": "get",
|
|
666
|
+
"choices": [
|
|
667
|
+
{
|
|
668
|
+
"name": "Account SID and Auth token",
|
|
669
|
+
"value": "accountSidAuthToken"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "API key and secret",
|
|
673
|
+
"value": "apiKeySecret"
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"binding": {
|
|
677
|
+
"type": "zeebe:input",
|
|
678
|
+
"name": "authType"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"label": "Account SID",
|
|
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>",
|
|
684
|
+
"group": "authentication",
|
|
685
|
+
"type": "String",
|
|
686
|
+
"feel": "optional",
|
|
687
|
+
"binding": {
|
|
688
|
+
"type": "zeebe:input",
|
|
689
|
+
"name": "accountSid"
|
|
690
|
+
},
|
|
691
|
+
"constraints": {
|
|
692
|
+
"notEmpty": true
|
|
693
|
+
},
|
|
694
|
+
"condition": {
|
|
695
|
+
"property": "authType",
|
|
696
|
+
"oneOf": ["apiKeySecret", "accountSidAuthToken"]
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"value": "basic",
|
|
701
|
+
"type": "Hidden",
|
|
702
|
+
"binding": {
|
|
703
|
+
"type": "zeebe:input",
|
|
704
|
+
"name": "authentication.type"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"type": "Hidden",
|
|
709
|
+
"value": "post",
|
|
710
|
+
"binding": {
|
|
711
|
+
"type": "zeebe:input",
|
|
712
|
+
"name": "method"
|
|
713
|
+
},
|
|
714
|
+
"condition": {
|
|
715
|
+
"property": "operationType",
|
|
716
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"type": "Hidden",
|
|
721
|
+
"value": "get",
|
|
722
|
+
"binding": {
|
|
723
|
+
"type": "zeebe:input",
|
|
724
|
+
"name": "method"
|
|
725
|
+
},
|
|
726
|
+
"condition": {
|
|
727
|
+
"property": "operationType",
|
|
728
|
+
"oneOf": ["listMessages", "getMessage"]
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"type": "Hidden",
|
|
733
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
734
|
+
"binding": {
|
|
735
|
+
"type": "zeebe:input",
|
|
736
|
+
"name": "headers"
|
|
737
|
+
},
|
|
738
|
+
"condition": {
|
|
739
|
+
"property": "operationType",
|
|
740
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
741
|
+
},
|
|
742
|
+
"optional": false
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"label": "API key",
|
|
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",
|
|
747
|
+
"group": "authentication",
|
|
748
|
+
"type": "String",
|
|
749
|
+
"feel": "optional",
|
|
750
|
+
"binding": {
|
|
751
|
+
"type": "zeebe:input",
|
|
752
|
+
"name": "authentication.username"
|
|
753
|
+
},
|
|
754
|
+
"constraints": {
|
|
755
|
+
"notEmpty": true
|
|
756
|
+
},
|
|
757
|
+
"condition": {
|
|
758
|
+
"property": "authType",
|
|
759
|
+
"equals": "apiKeySecret"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"label": "API secret",
|
|
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",
|
|
765
|
+
"group": "authentication",
|
|
766
|
+
"type": "String",
|
|
767
|
+
"feel": "optional",
|
|
768
|
+
"binding": {
|
|
769
|
+
"type": "zeebe:input",
|
|
770
|
+
"name": "authentication.password"
|
|
771
|
+
},
|
|
772
|
+
"constraints": {
|
|
773
|
+
"notEmpty": true
|
|
774
|
+
},
|
|
775
|
+
"condition": {
|
|
776
|
+
"property": "authType",
|
|
777
|
+
"equals": "apiKeySecret"
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"type": "Hidden",
|
|
782
|
+
"value": "=accountSid",
|
|
783
|
+
"binding": {
|
|
784
|
+
"type": "zeebe:input",
|
|
785
|
+
"name": "authentication.username"
|
|
786
|
+
},
|
|
787
|
+
"constraints": {
|
|
788
|
+
"notEmpty": true
|
|
789
|
+
},
|
|
790
|
+
"condition": {
|
|
791
|
+
"property": "authType",
|
|
792
|
+
"oneOf": ["accountSidAuthToken"]
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"label": "Authentication token",
|
|
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>",
|
|
798
|
+
"group": "authentication",
|
|
799
|
+
"type": "String",
|
|
800
|
+
"feel": "optional",
|
|
801
|
+
"binding": {
|
|
802
|
+
"type": "zeebe:input",
|
|
803
|
+
"name": "authentication.password"
|
|
804
|
+
},
|
|
805
|
+
"constraints": {
|
|
806
|
+
"notEmpty": true
|
|
807
|
+
},
|
|
808
|
+
"condition": {
|
|
809
|
+
"property": "authType",
|
|
810
|
+
"equals": "accountSidAuthToken"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"label": "Message SID",
|
|
815
|
+
"description": "Obtain information regarding the message with SID",
|
|
816
|
+
"group": "input",
|
|
817
|
+
"type": "String",
|
|
818
|
+
"feel": "optional",
|
|
819
|
+
"binding": {
|
|
820
|
+
"type": "zeebe:input",
|
|
821
|
+
"name": "messageSid"
|
|
822
|
+
},
|
|
823
|
+
"constraints": {
|
|
824
|
+
"notEmpty": true
|
|
825
|
+
},
|
|
826
|
+
"condition": {
|
|
827
|
+
"property": "operationType",
|
|
828
|
+
"oneOf": ["getMessage"]
|
|
829
|
+
},
|
|
830
|
+
"optional": false
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"label": "WhatsApp message text",
|
|
834
|
+
"description": "The content of the WhatsApp message that will be sent",
|
|
835
|
+
"group": "input",
|
|
836
|
+
"type": "Text",
|
|
837
|
+
"feel": "optional",
|
|
838
|
+
"binding": {
|
|
839
|
+
"type": "zeebe:input",
|
|
840
|
+
"name": "WhatsAppBody"
|
|
841
|
+
},
|
|
842
|
+
"constraints": {
|
|
843
|
+
"notEmpty": true
|
|
844
|
+
},
|
|
845
|
+
"condition": {
|
|
846
|
+
"allMatch": [
|
|
847
|
+
{
|
|
848
|
+
"property": "operationType",
|
|
849
|
+
"equals": "sendWhatsApp"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"property": "whatsappMessageType",
|
|
853
|
+
"equals": "whatsappFreeFormMessage"
|
|
854
|
+
}
|
|
855
|
+
]
|
|
856
|
+
},
|
|
857
|
+
"optional": false
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"label": "WhatsApp template ID",
|
|
861
|
+
"description": "The ID of the WhatsApp template to be used",
|
|
862
|
+
"group": "input",
|
|
863
|
+
"type": "String",
|
|
864
|
+
"feel": "optional",
|
|
865
|
+
"binding": {
|
|
866
|
+
"type": "zeebe:input",
|
|
867
|
+
"name": "ContentSid"
|
|
868
|
+
},
|
|
869
|
+
"constraints": {
|
|
870
|
+
"notEmpty": true
|
|
871
|
+
},
|
|
872
|
+
"condition": {
|
|
873
|
+
"allMatch": [
|
|
874
|
+
{
|
|
875
|
+
"property": "operationType",
|
|
876
|
+
"equals": "sendWhatsApp"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"property": "whatsappMessageType",
|
|
880
|
+
"equals": "whatsappTemplateMessage"
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
"optional": false
|
|
885
|
+
},
|
|
886
|
+
{
|
|
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!",
|
|
889
|
+
"group": "input",
|
|
890
|
+
"type": "Text",
|
|
891
|
+
"feel": "required",
|
|
892
|
+
"value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
|
|
893
|
+
"binding": {
|
|
894
|
+
"type": "zeebe:input",
|
|
895
|
+
"name": "ContentVariables"
|
|
896
|
+
},
|
|
897
|
+
"constraints": {
|
|
898
|
+
"notEmpty": true
|
|
899
|
+
},
|
|
900
|
+
"condition": {
|
|
901
|
+
"allMatch": [
|
|
902
|
+
{
|
|
903
|
+
"property": "operationType",
|
|
904
|
+
"equals": "sendWhatsApp"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"property": "whatsappMessageType",
|
|
908
|
+
"equals": "whatsappTemplateMessage"
|
|
909
|
+
}
|
|
910
|
+
]
|
|
911
|
+
},
|
|
912
|
+
"optional": false
|
|
913
|
+
},
|
|
914
|
+
{
|
|
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",
|
|
918
|
+
"type": "String",
|
|
919
|
+
"feel": "optional",
|
|
920
|
+
"binding": {
|
|
921
|
+
"type": "zeebe:input",
|
|
922
|
+
"name": "From"
|
|
923
|
+
},
|
|
924
|
+
"constraints": {
|
|
925
|
+
"notEmpty": true
|
|
926
|
+
},
|
|
927
|
+
"condition": {
|
|
928
|
+
"property": "operationType",
|
|
929
|
+
"equals": "sendWhatsApp"
|
|
930
|
+
},
|
|
931
|
+
"optional": false
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"label": "To WhatsApp number",
|
|
935
|
+
"description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
|
|
236
936
|
"group": "input",
|
|
237
937
|
"type": "String",
|
|
238
938
|
"feel": "optional",
|
|
239
939
|
"binding": {
|
|
240
940
|
"type": "zeebe:input",
|
|
241
|
-
"name": "
|
|
941
|
+
"name": "To"
|
|
242
942
|
},
|
|
243
943
|
"constraints": {
|
|
244
944
|
"notEmpty": true
|
|
245
945
|
},
|
|
246
946
|
"condition": {
|
|
247
947
|
"property": "operationType",
|
|
248
|
-
"
|
|
948
|
+
"equals": "sendWhatsApp"
|
|
249
949
|
},
|
|
250
950
|
"optional": false
|
|
251
951
|
},
|
|
952
|
+
{
|
|
953
|
+
"type": "Hidden",
|
|
954
|
+
"value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
|
|
955
|
+
"binding": {
|
|
956
|
+
"type": "zeebe:input",
|
|
957
|
+
"name": "body"
|
|
958
|
+
},
|
|
959
|
+
"condition": {
|
|
960
|
+
"allMatch": [
|
|
961
|
+
{
|
|
962
|
+
"property": "operationType",
|
|
963
|
+
"equals": "sendWhatsApp"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"property": "whatsappMessageType",
|
|
967
|
+
"equals": "whatsappTemplateMessage"
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"type": "Hidden",
|
|
974
|
+
"value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
|
|
975
|
+
"binding": {
|
|
976
|
+
"type": "zeebe:input",
|
|
977
|
+
"name": "body"
|
|
978
|
+
},
|
|
979
|
+
"condition": {
|
|
980
|
+
"allMatch": [
|
|
981
|
+
{
|
|
982
|
+
"property": "operationType",
|
|
983
|
+
"equals": "sendWhatsApp"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"property": "whatsappMessageType",
|
|
987
|
+
"equals": "whatsappFreeFormMessage"
|
|
988
|
+
}
|
|
989
|
+
]
|
|
990
|
+
}
|
|
991
|
+
},
|
|
252
992
|
{
|
|
253
993
|
"label": "Message text",
|
|
254
994
|
"description": "The content of the message that will be sent",
|
|
@@ -264,7 +1004,7 @@
|
|
|
264
1004
|
},
|
|
265
1005
|
"condition": {
|
|
266
1006
|
"property": "operationType",
|
|
267
|
-
"
|
|
1007
|
+
"equals": "sendSms"
|
|
268
1008
|
},
|
|
269
1009
|
"optional": false
|
|
270
1010
|
},
|
|
@@ -283,7 +1023,7 @@
|
|
|
283
1023
|
},
|
|
284
1024
|
"condition": {
|
|
285
1025
|
"property": "operationType",
|
|
286
|
-
"
|
|
1026
|
+
"equals": "sendSms"
|
|
287
1027
|
},
|
|
288
1028
|
"optional": false
|
|
289
1029
|
},
|
|
@@ -302,7 +1042,7 @@
|
|
|
302
1042
|
},
|
|
303
1043
|
"condition": {
|
|
304
1044
|
"property": "operationType",
|
|
305
|
-
"
|
|
1045
|
+
"equals": "sendSms"
|
|
306
1046
|
},
|
|
307
1047
|
"optional": false
|
|
308
1048
|
},
|
|
@@ -443,7 +1183,7 @@
|
|
|
443
1183
|
},
|
|
444
1184
|
"condition": {
|
|
445
1185
|
"property": "operationType",
|
|
446
|
-
"oneOf": ["sendSms", "listMessages"]
|
|
1186
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
447
1187
|
}
|
|
448
1188
|
},
|
|
449
1189
|
{
|
|
@@ -501,7 +1241,7 @@
|
|
|
501
1241
|
},
|
|
502
1242
|
{
|
|
503
1243
|
"label": "Error expression",
|
|
504
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1244
|
+
"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>",
|
|
505
1245
|
"group": "errors",
|
|
506
1246
|
"type": "Text",
|
|
507
1247
|
"feel": "required",
|
|
@@ -509,17 +1249,38 @@
|
|
|
509
1249
|
"type": "zeebe:taskHeader",
|
|
510
1250
|
"key": "errorExpression"
|
|
511
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"
|
|
512
1276
|
}
|
|
513
|
-
]
|
|
514
|
-
"engines": {
|
|
515
|
-
"camunda": "^8.6"
|
|
516
|
-
}
|
|
1277
|
+
]
|
|
517
1278
|
},
|
|
518
1279
|
{
|
|
519
1280
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
520
1281
|
"name": "Twilio Outbound Connector",
|
|
521
1282
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
522
|
-
"version":
|
|
1283
|
+
"version": 4,
|
|
523
1284
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
524
1285
|
"icon": {
|
|
525
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"
|
|
@@ -666,7 +1427,7 @@
|
|
|
666
1427
|
},
|
|
667
1428
|
{
|
|
668
1429
|
"type": "Hidden",
|
|
669
|
-
"value": "={\"
|
|
1430
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
670
1431
|
"binding": {
|
|
671
1432
|
"type": "zeebe:input",
|
|
672
1433
|
"name": "headers"
|
|
@@ -1028,7 +1789,7 @@
|
|
|
1028
1789
|
}
|
|
1029
1790
|
],
|
|
1030
1791
|
"engines": {
|
|
1031
|
-
"camunda": "^8.
|
|
1792
|
+
"camunda": "^8.6"
|
|
1032
1793
|
}
|
|
1033
1794
|
},
|
|
1034
1795
|
{
|
|
@@ -1549,27 +2310,14 @@
|
|
|
1549
2310
|
},
|
|
1550
2311
|
{
|
|
1551
2312
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1552
|
-
"name": "Twilio
|
|
2313
|
+
"name": "Twilio connector",
|
|
1553
2314
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
1554
|
-
"version":
|
|
1555
|
-
"
|
|
1556
|
-
"camunda": "^8.9"
|
|
1557
|
-
},
|
|
1558
|
-
"description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
|
|
1559
|
-
"keywords": [
|
|
1560
|
-
"send SMS",
|
|
1561
|
-
"get message",
|
|
1562
|
-
"list messages",
|
|
1563
|
-
"SMS",
|
|
1564
|
-
"text message",
|
|
1565
|
-
"phone",
|
|
1566
|
-
"messaging",
|
|
1567
|
-
"notification"
|
|
1568
|
-
],
|
|
2315
|
+
"version": 1,
|
|
2316
|
+
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
1569
2317
|
"icon": {
|
|
1570
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"
|
|
1571
2319
|
},
|
|
1572
|
-
"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/",
|
|
1573
2321
|
"category": {
|
|
1574
2322
|
"id": "connectors",
|
|
1575
2323
|
"name": "Connectors"
|
|
@@ -1609,7 +2357,8 @@
|
|
|
1609
2357
|
"type": "Hidden",
|
|
1610
2358
|
"value": "io.camunda:http-json:1",
|
|
1611
2359
|
"binding": {
|
|
1612
|
-
"type": "zeebe:taskDefinition
|
|
2360
|
+
"type": "zeebe:taskDefinition",
|
|
2361
|
+
"property": "type"
|
|
1613
2362
|
}
|
|
1614
2363
|
},
|
|
1615
2364
|
{
|
|
@@ -1623,10 +2372,6 @@
|
|
|
1623
2372
|
"name": "Send a SMS",
|
|
1624
2373
|
"value": "sendSms"
|
|
1625
2374
|
},
|
|
1626
|
-
{
|
|
1627
|
-
"name": "Send a WhatsApp message",
|
|
1628
|
-
"value": "sendWhatsApp"
|
|
1629
|
-
},
|
|
1630
2375
|
{
|
|
1631
2376
|
"name": "Get message",
|
|
1632
2377
|
"value": "getMessage"
|
|
@@ -1641,31 +2386,6 @@
|
|
|
1641
2386
|
"name": "operationType"
|
|
1642
2387
|
}
|
|
1643
2388
|
},
|
|
1644
|
-
{
|
|
1645
|
-
"label": "WhatsApp message type",
|
|
1646
|
-
"id": "whatsappMessageType",
|
|
1647
|
-
"group": "operation",
|
|
1648
|
-
"type": "Dropdown",
|
|
1649
|
-
"optional": false,
|
|
1650
|
-
"choices": [
|
|
1651
|
-
{
|
|
1652
|
-
"name": "Free form message",
|
|
1653
|
-
"value": "whatsappFreeFormMessage"
|
|
1654
|
-
},
|
|
1655
|
-
{
|
|
1656
|
-
"name": "Template message",
|
|
1657
|
-
"value": "whatsappTemplateMessage"
|
|
1658
|
-
}
|
|
1659
|
-
],
|
|
1660
|
-
"binding": {
|
|
1661
|
-
"type": "zeebe:input",
|
|
1662
|
-
"name": "whatsappMessageType"
|
|
1663
|
-
},
|
|
1664
|
-
"condition": {
|
|
1665
|
-
"property": "operationType",
|
|
1666
|
-
"equals": "sendWhatsApp"
|
|
1667
|
-
}
|
|
1668
|
-
},
|
|
1669
2389
|
{
|
|
1670
2390
|
"id": "authType",
|
|
1671
2391
|
"label": "Authentication type",
|
|
@@ -1689,7 +2409,7 @@
|
|
|
1689
2409
|
},
|
|
1690
2410
|
{
|
|
1691
2411
|
"label": "Account SID",
|
|
1692
|
-
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>",
|
|
1693
2413
|
"group": "authentication",
|
|
1694
2414
|
"type": "String",
|
|
1695
2415
|
"feel": "optional",
|
|
@@ -1722,7 +2442,7 @@
|
|
|
1722
2442
|
},
|
|
1723
2443
|
"condition": {
|
|
1724
2444
|
"property": "operationType",
|
|
1725
|
-
"
|
|
2445
|
+
"equals": "sendSms"
|
|
1726
2446
|
}
|
|
1727
2447
|
},
|
|
1728
2448
|
{
|
|
@@ -1739,20 +2459,20 @@
|
|
|
1739
2459
|
},
|
|
1740
2460
|
{
|
|
1741
2461
|
"type": "Hidden",
|
|
1742
|
-
"value": "={\"
|
|
2462
|
+
"value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
|
|
1743
2463
|
"binding": {
|
|
1744
2464
|
"type": "zeebe:input",
|
|
1745
2465
|
"name": "headers"
|
|
1746
2466
|
},
|
|
1747
2467
|
"condition": {
|
|
1748
2468
|
"property": "operationType",
|
|
1749
|
-
"
|
|
2469
|
+
"equals": "sendSms"
|
|
1750
2470
|
},
|
|
1751
2471
|
"optional": false
|
|
1752
2472
|
},
|
|
1753
2473
|
{
|
|
1754
2474
|
"label": "API key",
|
|
1755
|
-
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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",
|
|
1756
2476
|
"group": "authentication",
|
|
1757
2477
|
"type": "String",
|
|
1758
2478
|
"feel": "optional",
|
|
@@ -1770,234 +2490,74 @@
|
|
|
1770
2490
|
},
|
|
1771
2491
|
{
|
|
1772
2492
|
"label": "API secret",
|
|
1773
|
-
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1774
|
-
"group": "authentication",
|
|
1775
|
-
"type": "String",
|
|
1776
|
-
"feel": "optional",
|
|
1777
|
-
"binding": {
|
|
1778
|
-
"type": "zeebe:input",
|
|
1779
|
-
"name": "authentication.password"
|
|
1780
|
-
},
|
|
1781
|
-
"constraints": {
|
|
1782
|
-
"notEmpty": true
|
|
1783
|
-
},
|
|
1784
|
-
"condition": {
|
|
1785
|
-
"property": "authType",
|
|
1786
|
-
"equals": "apiKeySecret"
|
|
1787
|
-
}
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"type": "Hidden",
|
|
1791
|
-
"value": "=accountSid",
|
|
1792
|
-
"binding": {
|
|
1793
|
-
"type": "zeebe:input",
|
|
1794
|
-
"name": "authentication.username"
|
|
1795
|
-
},
|
|
1796
|
-
"constraints": {
|
|
1797
|
-
"notEmpty": true
|
|
1798
|
-
},
|
|
1799
|
-
"condition": {
|
|
1800
|
-
"property": "authType",
|
|
1801
|
-
"oneOf": ["accountSidAuthToken"]
|
|
1802
|
-
}
|
|
1803
|
-
},
|
|
1804
|
-
{
|
|
1805
|
-
"label": "Authentication token",
|
|
1806
|
-
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
|
|
1807
|
-
"group": "authentication",
|
|
1808
|
-
"type": "String",
|
|
1809
|
-
"feel": "optional",
|
|
1810
|
-
"binding": {
|
|
1811
|
-
"type": "zeebe:input",
|
|
1812
|
-
"name": "authentication.password"
|
|
1813
|
-
},
|
|
1814
|
-
"constraints": {
|
|
1815
|
-
"notEmpty": true
|
|
1816
|
-
},
|
|
1817
|
-
"condition": {
|
|
1818
|
-
"property": "authType",
|
|
1819
|
-
"equals": "accountSidAuthToken"
|
|
1820
|
-
}
|
|
1821
|
-
},
|
|
1822
|
-
{
|
|
1823
|
-
"label": "Message SID",
|
|
1824
|
-
"description": "Obtain information regarding the message with SID",
|
|
1825
|
-
"group": "input",
|
|
1826
|
-
"type": "String",
|
|
1827
|
-
"feel": "optional",
|
|
1828
|
-
"binding": {
|
|
1829
|
-
"type": "zeebe:input",
|
|
1830
|
-
"name": "messageSid"
|
|
1831
|
-
},
|
|
1832
|
-
"constraints": {
|
|
1833
|
-
"notEmpty": true
|
|
1834
|
-
},
|
|
1835
|
-
"condition": {
|
|
1836
|
-
"property": "operationType",
|
|
1837
|
-
"oneOf": ["getMessage"]
|
|
1838
|
-
},
|
|
1839
|
-
"optional": false
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"label": "WhatsApp message text",
|
|
1843
|
-
"description": "The content of the WhatsApp message that will be sent",
|
|
1844
|
-
"group": "input",
|
|
1845
|
-
"type": "Text",
|
|
1846
|
-
"feel": "optional",
|
|
1847
|
-
"binding": {
|
|
1848
|
-
"type": "zeebe:input",
|
|
1849
|
-
"name": "WhatsAppBody"
|
|
1850
|
-
},
|
|
1851
|
-
"constraints": {
|
|
1852
|
-
"notEmpty": true
|
|
1853
|
-
},
|
|
1854
|
-
"condition": {
|
|
1855
|
-
"allMatch": [
|
|
1856
|
-
{
|
|
1857
|
-
"property": "operationType",
|
|
1858
|
-
"equals": "sendWhatsApp"
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
"property": "whatsappMessageType",
|
|
1862
|
-
"equals": "whatsappFreeFormMessage"
|
|
1863
|
-
}
|
|
1864
|
-
]
|
|
1865
|
-
},
|
|
1866
|
-
"optional": false
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"label": "WhatsApp template ID",
|
|
1870
|
-
"description": "The ID of the WhatsApp template to be used",
|
|
1871
|
-
"group": "input",
|
|
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",
|
|
1872
2495
|
"type": "String",
|
|
1873
2496
|
"feel": "optional",
|
|
1874
2497
|
"binding": {
|
|
1875
2498
|
"type": "zeebe:input",
|
|
1876
|
-
"name": "
|
|
2499
|
+
"name": "authentication.password"
|
|
1877
2500
|
},
|
|
1878
2501
|
"constraints": {
|
|
1879
2502
|
"notEmpty": true
|
|
1880
2503
|
},
|
|
1881
2504
|
"condition": {
|
|
1882
|
-
"
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
"equals": "sendWhatsApp"
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"property": "whatsappMessageType",
|
|
1889
|
-
"equals": "whatsappTemplateMessage"
|
|
1890
|
-
}
|
|
1891
|
-
]
|
|
1892
|
-
},
|
|
1893
|
-
"optional": false
|
|
2505
|
+
"property": "authType",
|
|
2506
|
+
"equals": "apiKeySecret"
|
|
2507
|
+
}
|
|
1894
2508
|
},
|
|
1895
2509
|
{
|
|
1896
|
-
"
|
|
1897
|
-
"
|
|
1898
|
-
"group": "input",
|
|
1899
|
-
"type": "Text",
|
|
1900
|
-
"feel": "required",
|
|
1901
|
-
"value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
|
|
2510
|
+
"type": "Hidden",
|
|
2511
|
+
"value": "=accountSid",
|
|
1902
2512
|
"binding": {
|
|
1903
2513
|
"type": "zeebe:input",
|
|
1904
|
-
"name": "
|
|
2514
|
+
"name": "authentication.username"
|
|
1905
2515
|
},
|
|
1906
2516
|
"constraints": {
|
|
1907
2517
|
"notEmpty": true
|
|
1908
2518
|
},
|
|
1909
2519
|
"condition": {
|
|
1910
|
-
"
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
"equals": "sendWhatsApp"
|
|
1914
|
-
},
|
|
1915
|
-
{
|
|
1916
|
-
"property": "whatsappMessageType",
|
|
1917
|
-
"equals": "whatsappTemplateMessage"
|
|
1918
|
-
}
|
|
1919
|
-
]
|
|
1920
|
-
},
|
|
1921
|
-
"optional": false
|
|
2520
|
+
"property": "authType",
|
|
2521
|
+
"oneOf": ["accountSidAuthToken"]
|
|
2522
|
+
}
|
|
1922
2523
|
},
|
|
1923
2524
|
{
|
|
1924
|
-
"label": "
|
|
1925
|
-
"description": "
|
|
1926
|
-
"group": "
|
|
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",
|
|
1927
2528
|
"type": "String",
|
|
1928
2529
|
"feel": "optional",
|
|
1929
2530
|
"binding": {
|
|
1930
2531
|
"type": "zeebe:input",
|
|
1931
|
-
"name": "
|
|
2532
|
+
"name": "authentication.password"
|
|
1932
2533
|
},
|
|
1933
2534
|
"constraints": {
|
|
1934
2535
|
"notEmpty": true
|
|
1935
2536
|
},
|
|
1936
2537
|
"condition": {
|
|
1937
|
-
"property": "
|
|
1938
|
-
"equals": "
|
|
1939
|
-
}
|
|
1940
|
-
"optional": false
|
|
2538
|
+
"property": "authType",
|
|
2539
|
+
"equals": "accountSidAuthToken"
|
|
2540
|
+
}
|
|
1941
2541
|
},
|
|
1942
2542
|
{
|
|
1943
|
-
"label": "
|
|
1944
|
-
"description": "
|
|
2543
|
+
"label": "Message SID",
|
|
2544
|
+
"description": "Obtain information regarding the message with SID",
|
|
1945
2545
|
"group": "input",
|
|
1946
2546
|
"type": "String",
|
|
1947
2547
|
"feel": "optional",
|
|
1948
2548
|
"binding": {
|
|
1949
2549
|
"type": "zeebe:input",
|
|
1950
|
-
"name": "
|
|
2550
|
+
"name": "messageSid"
|
|
1951
2551
|
},
|
|
1952
2552
|
"constraints": {
|
|
1953
2553
|
"notEmpty": true
|
|
1954
2554
|
},
|
|
1955
2555
|
"condition": {
|
|
1956
2556
|
"property": "operationType",
|
|
1957
|
-
"
|
|
2557
|
+
"oneOf": ["getMessage"]
|
|
1958
2558
|
},
|
|
1959
2559
|
"optional": false
|
|
1960
2560
|
},
|
|
1961
|
-
{
|
|
1962
|
-
"type": "Hidden",
|
|
1963
|
-
"value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
|
|
1964
|
-
"binding": {
|
|
1965
|
-
"type": "zeebe:input",
|
|
1966
|
-
"name": "body"
|
|
1967
|
-
},
|
|
1968
|
-
"condition": {
|
|
1969
|
-
"allMatch": [
|
|
1970
|
-
{
|
|
1971
|
-
"property": "operationType",
|
|
1972
|
-
"equals": "sendWhatsApp"
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"property": "whatsappMessageType",
|
|
1976
|
-
"equals": "whatsappTemplateMessage"
|
|
1977
|
-
}
|
|
1978
|
-
]
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"type": "Hidden",
|
|
1983
|
-
"value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
|
|
1984
|
-
"binding": {
|
|
1985
|
-
"type": "zeebe:input",
|
|
1986
|
-
"name": "body"
|
|
1987
|
-
},
|
|
1988
|
-
"condition": {
|
|
1989
|
-
"allMatch": [
|
|
1990
|
-
{
|
|
1991
|
-
"property": "operationType",
|
|
1992
|
-
"equals": "sendWhatsApp"
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
"property": "whatsappMessageType",
|
|
1996
|
-
"equals": "whatsappFreeFormMessage"
|
|
1997
|
-
}
|
|
1998
|
-
]
|
|
1999
|
-
}
|
|
2000
|
-
},
|
|
2001
2561
|
{
|
|
2002
2562
|
"label": "Message text",
|
|
2003
2563
|
"description": "The content of the message that will be sent",
|
|
@@ -2013,7 +2573,7 @@
|
|
|
2013
2573
|
},
|
|
2014
2574
|
"condition": {
|
|
2015
2575
|
"property": "operationType",
|
|
2016
|
-
"
|
|
2576
|
+
"oneOf": ["sendSms"]
|
|
2017
2577
|
},
|
|
2018
2578
|
"optional": false
|
|
2019
2579
|
},
|
|
@@ -2032,7 +2592,7 @@
|
|
|
2032
2592
|
},
|
|
2033
2593
|
"condition": {
|
|
2034
2594
|
"property": "operationType",
|
|
2035
|
-
"
|
|
2595
|
+
"oneOf": ["sendSms"]
|
|
2036
2596
|
},
|
|
2037
2597
|
"optional": false
|
|
2038
2598
|
},
|
|
@@ -2051,7 +2611,7 @@
|
|
|
2051
2611
|
},
|
|
2052
2612
|
"condition": {
|
|
2053
2613
|
"property": "operationType",
|
|
2054
|
-
"
|
|
2614
|
+
"oneOf": ["sendSms"]
|
|
2055
2615
|
},
|
|
2056
2616
|
"optional": false
|
|
2057
2617
|
},
|
|
@@ -2077,7 +2637,7 @@
|
|
|
2077
2637
|
},
|
|
2078
2638
|
{
|
|
2079
2639
|
"label": "Date sent",
|
|
2080
|
-
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>)",
|
|
2081
2641
|
"group": "filter",
|
|
2082
2642
|
"type": "String",
|
|
2083
2643
|
"feel": "optional",
|
|
@@ -2096,7 +2656,7 @@
|
|
|
2096
2656
|
},
|
|
2097
2657
|
{
|
|
2098
2658
|
"label": "Date before message was sent",
|
|
2099
|
-
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>)",
|
|
2100
2660
|
"group": "filter",
|
|
2101
2661
|
"type": "String",
|
|
2102
2662
|
"feel": "optional",
|
|
@@ -2115,7 +2675,7 @@
|
|
|
2115
2675
|
},
|
|
2116
2676
|
{
|
|
2117
2677
|
"label": "Date after message was sent",
|
|
2118
|
-
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>)",
|
|
2119
2679
|
"group": "filter",
|
|
2120
2680
|
"type": "String",
|
|
2121
2681
|
"feel": "optional",
|
|
@@ -2192,7 +2752,7 @@
|
|
|
2192
2752
|
},
|
|
2193
2753
|
"condition": {
|
|
2194
2754
|
"property": "operationType",
|
|
2195
|
-
"oneOf": ["sendSms", "
|
|
2755
|
+
"oneOf": ["sendSms", "listMessages"]
|
|
2196
2756
|
}
|
|
2197
2757
|
},
|
|
2198
2758
|
{
|
|
@@ -2243,7 +2803,7 @@
|
|
|
2243
2803
|
"constraints": {
|
|
2244
2804
|
"notEmpty": false,
|
|
2245
2805
|
"pattern": {
|
|
2246
|
-
"value": "^(=|([0-9]
|
|
2806
|
+
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
2247
2807
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2248
2808
|
}
|
|
2249
2809
|
}
|
|
@@ -2258,41 +2818,17 @@
|
|
|
2258
2818
|
"type": "zeebe:taskHeader",
|
|
2259
2819
|
"key": "errorExpression"
|
|
2260
2820
|
}
|
|
2261
|
-
},
|
|
2262
|
-
{
|
|
2263
|
-
"id": "version",
|
|
2264
|
-
"label": "Version",
|
|
2265
|
-
"description": "Version of the element template",
|
|
2266
|
-
"value": "6",
|
|
2267
|
-
"group": "connector",
|
|
2268
|
-
"binding": {
|
|
2269
|
-
"key": "elementTemplateVersion",
|
|
2270
|
-
"type": "zeebe:taskHeader"
|
|
2271
|
-
},
|
|
2272
|
-
"type": "Hidden"
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"id": "id",
|
|
2276
|
-
"label": "ID",
|
|
2277
|
-
"description": "ID of the element template",
|
|
2278
|
-
"value": "io.camunda.connectors.Twilio.v1",
|
|
2279
|
-
"group": "connector",
|
|
2280
|
-
"binding": {
|
|
2281
|
-
"key": "elementTemplateId",
|
|
2282
|
-
"type": "zeebe:taskHeader"
|
|
2283
|
-
},
|
|
2284
|
-
"type": "Hidden"
|
|
2285
2821
|
}
|
|
2286
|
-
]
|
|
2822
|
+
],
|
|
2823
|
+
"engines": {
|
|
2824
|
+
"camunda": "^8.2"
|
|
2825
|
+
}
|
|
2287
2826
|
},
|
|
2288
2827
|
{
|
|
2289
2828
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2290
2829
|
"name": "Twilio Outbound Connector",
|
|
2291
2830
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
2292
|
-
"version":
|
|
2293
|
-
"engines": {
|
|
2294
|
-
"camunda": "^8.3"
|
|
2295
|
-
},
|
|
2831
|
+
"version": 3,
|
|
2296
2832
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
2297
2833
|
"icon": {
|
|
2298
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"
|
|
@@ -2337,7 +2873,8 @@
|
|
|
2337
2873
|
"type": "Hidden",
|
|
2338
2874
|
"value": "io.camunda:http-json:1",
|
|
2339
2875
|
"binding": {
|
|
2340
|
-
"type": "zeebe:taskDefinition
|
|
2876
|
+
"type": "zeebe:taskDefinition",
|
|
2877
|
+
"property": "type"
|
|
2341
2878
|
}
|
|
2342
2879
|
},
|
|
2343
2880
|
{
|
|
@@ -2438,7 +2975,7 @@
|
|
|
2438
2975
|
},
|
|
2439
2976
|
{
|
|
2440
2977
|
"type": "Hidden",
|
|
2441
|
-
"value": "={\"
|
|
2978
|
+
"value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
|
|
2442
2979
|
"binding": {
|
|
2443
2980
|
"type": "zeebe:input",
|
|
2444
2981
|
"name": "headers"
|
|
@@ -2789,7 +3326,7 @@
|
|
|
2789
3326
|
},
|
|
2790
3327
|
{
|
|
2791
3328
|
"label": "Error expression",
|
|
2792
|
-
"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>",
|
|
2793
3330
|
"group": "errors",
|
|
2794
3331
|
"type": "Text",
|
|
2795
3332
|
"feel": "required",
|
|
@@ -2797,43 +3334,35 @@
|
|
|
2797
3334
|
"type": "zeebe:taskHeader",
|
|
2798
3335
|
"key": "errorExpression"
|
|
2799
3336
|
}
|
|
2800
|
-
},
|
|
2801
|
-
{
|
|
2802
|
-
"id": "version",
|
|
2803
|
-
"label": "Version",
|
|
2804
|
-
"description": "Version of the element template",
|
|
2805
|
-
"value": "5",
|
|
2806
|
-
"group": "connector",
|
|
2807
|
-
"binding": {
|
|
2808
|
-
"key": "elementTemplateVersion",
|
|
2809
|
-
"type": "zeebe:taskHeader"
|
|
2810
|
-
},
|
|
2811
|
-
"type": "Hidden"
|
|
2812
|
-
},
|
|
2813
|
-
{
|
|
2814
|
-
"id": "id",
|
|
2815
|
-
"label": "ID",
|
|
2816
|
-
"description": "ID of the element template",
|
|
2817
|
-
"value": "io.camunda.connectors.Twilio.v1",
|
|
2818
|
-
"group": "connector",
|
|
2819
|
-
"binding": {
|
|
2820
|
-
"key": "elementTemplateId",
|
|
2821
|
-
"type": "zeebe:taskHeader"
|
|
2822
|
-
},
|
|
2823
|
-
"type": "Hidden"
|
|
2824
3337
|
}
|
|
2825
|
-
]
|
|
3338
|
+
],
|
|
3339
|
+
"engines": {
|
|
3340
|
+
"camunda": "^8.2"
|
|
3341
|
+
}
|
|
2826
3342
|
},
|
|
2827
3343
|
{
|
|
2828
3344
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2829
|
-
"name": "Twilio
|
|
3345
|
+
"name": "Twilio Outbound Connector",
|
|
2830
3346
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
2831
|
-
"version":
|
|
2832
|
-
"
|
|
3347
|
+
"version": 7,
|
|
3348
|
+
"engines": {
|
|
3349
|
+
"camunda": "^8.9"
|
|
3350
|
+
},
|
|
3351
|
+
"description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
|
|
3352
|
+
"keywords": [
|
|
3353
|
+
"send SMS",
|
|
3354
|
+
"get message",
|
|
3355
|
+
"list messages",
|
|
3356
|
+
"SMS",
|
|
3357
|
+
"text message",
|
|
3358
|
+
"phone",
|
|
3359
|
+
"messaging",
|
|
3360
|
+
"notification"
|
|
3361
|
+
],
|
|
2833
3362
|
"icon": {
|
|
2834
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"
|
|
2835
3364
|
},
|
|
2836
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
3365
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
2837
3366
|
"category": {
|
|
2838
3367
|
"id": "connectors",
|
|
2839
3368
|
"name": "Connectors"
|
|
@@ -2859,6 +3388,10 @@
|
|
|
2859
3388
|
"id": "filter",
|
|
2860
3389
|
"label": "Filter"
|
|
2861
3390
|
},
|
|
3391
|
+
{
|
|
3392
|
+
"id": "connector",
|
|
3393
|
+
"label": "Connector"
|
|
3394
|
+
},
|
|
2862
3395
|
{
|
|
2863
3396
|
"id": "output",
|
|
2864
3397
|
"label": "Response mapping"
|
|
@@ -2888,6 +3421,10 @@
|
|
|
2888
3421
|
"name": "Send a SMS",
|
|
2889
3422
|
"value": "sendSms"
|
|
2890
3423
|
},
|
|
3424
|
+
{
|
|
3425
|
+
"name": "Send a WhatsApp message",
|
|
3426
|
+
"value": "sendWhatsApp"
|
|
3427
|
+
},
|
|
2891
3428
|
{
|
|
2892
3429
|
"name": "Get message",
|
|
2893
3430
|
"value": "getMessage"
|
|
@@ -2902,12 +3439,36 @@
|
|
|
2902
3439
|
"name": "operationType"
|
|
2903
3440
|
}
|
|
2904
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
|
+
},
|
|
2905
3467
|
{
|
|
2906
3468
|
"id": "authType",
|
|
2907
3469
|
"label": "Authentication type",
|
|
2908
3470
|
"group": "authentication",
|
|
2909
3471
|
"type": "Dropdown",
|
|
2910
|
-
"value": "get",
|
|
2911
3472
|
"choices": [
|
|
2912
3473
|
{
|
|
2913
3474
|
"name": "Account SID and Auth token",
|
|
@@ -2925,7 +3486,7 @@
|
|
|
2925
3486
|
},
|
|
2926
3487
|
{
|
|
2927
3488
|
"label": "Account SID",
|
|
2928
|
-
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>",
|
|
2929
3490
|
"group": "authentication",
|
|
2930
3491
|
"type": "String",
|
|
2931
3492
|
"feel": "optional",
|
|
@@ -2958,7 +3519,7 @@
|
|
|
2958
3519
|
},
|
|
2959
3520
|
"condition": {
|
|
2960
3521
|
"property": "operationType",
|
|
2961
|
-
"
|
|
3522
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
2962
3523
|
}
|
|
2963
3524
|
},
|
|
2964
3525
|
{
|
|
@@ -2975,20 +3536,20 @@
|
|
|
2975
3536
|
},
|
|
2976
3537
|
{
|
|
2977
3538
|
"type": "Hidden",
|
|
2978
|
-
"value": "={\"
|
|
3539
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
2979
3540
|
"binding": {
|
|
2980
3541
|
"type": "zeebe:input",
|
|
2981
3542
|
"name": "headers"
|
|
2982
3543
|
},
|
|
2983
3544
|
"condition": {
|
|
2984
3545
|
"property": "operationType",
|
|
2985
|
-
"
|
|
3546
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
2986
3547
|
},
|
|
2987
3548
|
"optional": false
|
|
2988
3549
|
},
|
|
2989
3550
|
{
|
|
2990
3551
|
"label": "API key",
|
|
2991
|
-
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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",
|
|
2992
3553
|
"group": "authentication",
|
|
2993
3554
|
"type": "String",
|
|
2994
3555
|
"feel": "optional",
|
|
@@ -3006,7 +3567,7 @@
|
|
|
3006
3567
|
},
|
|
3007
3568
|
{
|
|
3008
3569
|
"label": "API secret",
|
|
3009
|
-
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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",
|
|
3010
3571
|
"group": "authentication",
|
|
3011
3572
|
"type": "String",
|
|
3012
3573
|
"feel": "optional",
|
|
@@ -3039,7 +3600,7 @@
|
|
|
3039
3600
|
},
|
|
3040
3601
|
{
|
|
3041
3602
|
"label": "Authentication token",
|
|
3042
|
-
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>",
|
|
3043
3604
|
"group": "authentication",
|
|
3044
3605
|
"type": "String",
|
|
3045
3606
|
"feel": "optional",
|
|
@@ -3074,6 +3635,166 @@
|
|
|
3074
3635
|
},
|
|
3075
3636
|
"optional": false
|
|
3076
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
|
+
},
|
|
3077
3798
|
{
|
|
3078
3799
|
"label": "Message text",
|
|
3079
3800
|
"description": "The content of the message that will be sent",
|
|
@@ -3089,7 +3810,7 @@
|
|
|
3089
3810
|
},
|
|
3090
3811
|
"condition": {
|
|
3091
3812
|
"property": "operationType",
|
|
3092
|
-
"
|
|
3813
|
+
"equals": "sendSms"
|
|
3093
3814
|
},
|
|
3094
3815
|
"optional": false
|
|
3095
3816
|
},
|
|
@@ -3108,7 +3829,7 @@
|
|
|
3108
3829
|
},
|
|
3109
3830
|
"condition": {
|
|
3110
3831
|
"property": "operationType",
|
|
3111
|
-
"
|
|
3832
|
+
"equals": "sendSms"
|
|
3112
3833
|
},
|
|
3113
3834
|
"optional": false
|
|
3114
3835
|
},
|
|
@@ -3127,7 +3848,7 @@
|
|
|
3127
3848
|
},
|
|
3128
3849
|
"condition": {
|
|
3129
3850
|
"property": "operationType",
|
|
3130
|
-
"
|
|
3851
|
+
"equals": "sendSms"
|
|
3131
3852
|
},
|
|
3132
3853
|
"optional": false
|
|
3133
3854
|
},
|
|
@@ -3153,7 +3874,7 @@
|
|
|
3153
3874
|
},
|
|
3154
3875
|
{
|
|
3155
3876
|
"label": "Date sent",
|
|
3156
|
-
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>)",
|
|
3157
3878
|
"group": "filter",
|
|
3158
3879
|
"type": "String",
|
|
3159
3880
|
"feel": "optional",
|
|
@@ -3172,7 +3893,7 @@
|
|
|
3172
3893
|
},
|
|
3173
3894
|
{
|
|
3174
3895
|
"label": "Date before message was sent",
|
|
3175
|
-
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>)",
|
|
3176
3897
|
"group": "filter",
|
|
3177
3898
|
"type": "String",
|
|
3178
3899
|
"feel": "optional",
|
|
@@ -3191,7 +3912,7 @@
|
|
|
3191
3912
|
},
|
|
3192
3913
|
{
|
|
3193
3914
|
"label": "Date after message was sent",
|
|
3194
|
-
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
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>)",
|
|
3195
3916
|
"group": "filter",
|
|
3196
3917
|
"type": "String",
|
|
3197
3918
|
"feel": "optional",
|
|
@@ -3268,7 +3989,7 @@
|
|
|
3268
3989
|
},
|
|
3269
3990
|
"condition": {
|
|
3270
3991
|
"property": "operationType",
|
|
3271
|
-
"oneOf": ["sendSms", "listMessages"]
|
|
3992
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
3272
3993
|
}
|
|
3273
3994
|
},
|
|
3274
3995
|
{
|
|
@@ -3319,7 +4040,7 @@
|
|
|
3319
4040
|
"constraints": {
|
|
3320
4041
|
"notEmpty": false,
|
|
3321
4042
|
"pattern": {
|
|
3322
|
-
"value": "^(=|([0-9]
|
|
4043
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
3323
4044
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
3324
4045
|
}
|
|
3325
4046
|
}
|
|
@@ -3334,17 +4055,38 @@
|
|
|
3334
4055
|
"type": "zeebe:taskHeader",
|
|
3335
4056
|
"key": "errorExpression"
|
|
3336
4057
|
}
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"id": "version",
|
|
4061
|
+
"label": "Version",
|
|
4062
|
+
"description": "Version of the element template",
|
|
4063
|
+
"value": "7",
|
|
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"
|
|
3337
4082
|
}
|
|
3338
|
-
]
|
|
3339
|
-
"engines": {
|
|
3340
|
-
"camunda": "^8.2"
|
|
3341
|
-
}
|
|
4083
|
+
]
|
|
3342
4084
|
},
|
|
3343
4085
|
{
|
|
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
|
]
|