@camunda/connectors-element-templates 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/connectors.js +12 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -5
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +9 -8
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +9 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +9 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +9 -8
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +36 -39
- package/src/element-templates/agenticai-aiagent-job-worker.json +3769 -28
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6979 -3299
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +469 -471
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +484 -486
- package/src/element-templates/asana-connector.json +718 -7
- package/src/element-templates/automation-anywhere-outbound-connector.json +1756 -1752
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
- package/src/element-templates/aws-bedrock-outbound-connector.json +788 -51
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1412 -1412
- package/src/element-templates/aws-eventbridge-connector-boundary.json +376 -11
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
- package/src/element-templates/aws-eventbridge-connector-message-start.json +408 -9
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +322 -5
- package/src/element-templates/aws-eventbridge-outbound-connector.json +316 -311
- package/src/element-templates/aws-lambda-outbound-connector.json +305 -301
- package/src/element-templates/aws-s3-outbound-connector.json +656 -15
- package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
- package/src/element-templates/aws-sns-inbound-boundary.json +422 -415
- package/src/element-templates/aws-sns-inbound-intermediate.json +330 -323
- package/src/element-templates/aws-sns-inbound-message-start.json +348 -341
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
- package/src/element-templates/aws-sns-outbound-connector.json +593 -589
- package/src/element-templates/aws-sqs-boundary-connector.json +642 -638
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +588 -584
- package/src/element-templates/aws-sqs-outbound-connector.json +748 -746
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +408 -400
- package/src/element-templates/aws-sqs-start-message.json +465 -461
- package/src/element-templates/aws-textract-outbound-connector.json +298 -294
- package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
- package/src/element-templates/azure-open-ai-connector.json +1329 -4
- package/src/element-templates/blue-prism-connector.json +598 -53
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +39 -31
- package/src/element-templates/easy-post-connector.json +1017 -49
- package/src/element-templates/email-inbound-connector-boundary.json +32 -24
- package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
- package/src/element-templates/email-inbound-connector-receive.json +564 -0
- package/src/element-templates/email-message-start-event-connector.json +45 -37
- package/src/element-templates/email-outbound-connector.json +2129 -256
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
- package/src/element-templates/github-connector.json +12447 -5385
- package/src/element-templates/github-webhook-connector-boundary.json +11 -13
- package/src/element-templates/github-webhook-connector-intermediate.json +55 -57
- package/src/element-templates/github-webhook-connector-message-start.json +19 -21
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +62 -64
- package/src/element-templates/gitlab-connector.json +2974 -1342
- package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
- package/src/element-templates/google-drive-outbound-connector.json +882 -262
- package/src/element-templates/google-gemini-outbound-connector.json +117 -109
- package/src/element-templates/google-maps-platform-connector.json +1048 -19
- package/src/element-templates/google-sheets-outbound-connector.json +2961 -1967
- package/src/element-templates/graphql-outbound-connector.json +1780 -1193
- package/src/element-templates/http-json-connector.json +2832 -2168
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +953 -277
- package/src/element-templates/http-polling-connector.json +1642 -966
- package/src/element-templates/hubspot-outbound-connector.json +2376 -30
- package/src/element-templates/hugging-face-connector.json +432 -5
- package/src/element-templates/jdbc-outbound-connector.json +62 -48
- package/src/element-templates/kafka-inbound-connector-boundary.json +21 -12
- package/src/element-templates/kafka-inbound-connector-intermediate.json +581 -572
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +150 -141
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +436 -430
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +165 -13
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +165 -13
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +178 -26
- package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
- package/src/element-templates/microsoft-teams-outbound-connector.json +5616 -1607
- package/src/element-templates/openai-connector.json +608 -145
- package/src/element-templates/operate-connector.json +1218 -66
- package/src/element-templates/power-automate-connector.json +602 -10
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +799 -790
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +914 -905
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +477 -468
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +754 -745
- package/src/element-templates/rabbitmq-outbound-connector.json +875 -869
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +583 -39
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
- package/src/element-templates/send-message-connector-message-end-event.json +10 -5
- package/src/element-templates/send-message-connector-send-task.json +10 -5
- package/src/element-templates/sendgrid-outbound-connector.json +1406 -798
- package/src/element-templates/servicenow-connector.json +971 -3
- package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
- package/src/element-templates/servicenow-incident-connector.json +980 -3
- package/src/element-templates/slack-inbound-boundary.json +639 -341
- package/src/element-templates/slack-inbound-intermediate.json +393 -95
- package/src/element-templates/slack-inbound-message-start.json +678 -348
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +332 -327
- package/src/element-templates/slack-outbound-connector.json +3313 -919
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1521 -41
- package/src/element-templates/twilio-webhook-boundary-connector.json +35 -26
- package/src/element-templates/twilio-webhook-connector.json +238 -8
- package/src/element-templates/twilio-webhook-intermediate-connector.json +38 -29
- package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
- package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
- package/src/element-templates/uipath-connector.json +607 -15
- package/src/element-templates/webhook-connector-boundary.json +1986 -1331
- package/src/element-templates/webhook-connector-intermediate.json +2193 -1538
- package/src/element-templates/webhook-connector-receive.json +654 -0
- package/src/element-templates/webhook-connector-start-event.json +1261 -700
- package/src/element-templates/webhook-connector-start-message.json +1754 -1067
- package/src/element-templates/whatsapp-connector.json +339 -5
|
@@ -3,7 +3,1288 @@
|
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
4
|
"name": "Twilio Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
6
|
-
"version":
|
|
6
|
+
"version": 7,
|
|
7
|
+
"engines": {
|
|
8
|
+
"camunda": "^8.9"
|
|
9
|
+
},
|
|
10
|
+
"description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"send SMS",
|
|
13
|
+
"get message",
|
|
14
|
+
"list messages",
|
|
15
|
+
"SMS",
|
|
16
|
+
"text message",
|
|
17
|
+
"phone",
|
|
18
|
+
"messaging",
|
|
19
|
+
"notification"
|
|
20
|
+
],
|
|
21
|
+
"icon": {
|
|
22
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
23
|
+
},
|
|
24
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
25
|
+
"category": {
|
|
26
|
+
"id": "connectors",
|
|
27
|
+
"name": "Connectors"
|
|
28
|
+
},
|
|
29
|
+
"appliesTo": ["bpmn:Task"],
|
|
30
|
+
"elementType": {
|
|
31
|
+
"value": "bpmn:ServiceTask"
|
|
32
|
+
},
|
|
33
|
+
"groups": [
|
|
34
|
+
{
|
|
35
|
+
"id": "operation",
|
|
36
|
+
"label": "Operation"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "authentication",
|
|
40
|
+
"label": "Authentication"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "input",
|
|
44
|
+
"label": "Input"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "filter",
|
|
48
|
+
"label": "Filter"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "connector",
|
|
52
|
+
"label": "Connector"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "output",
|
|
56
|
+
"label": "Response mapping"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "errors",
|
|
60
|
+
"label": "Error handling"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"properties": [
|
|
64
|
+
{
|
|
65
|
+
"type": "Hidden",
|
|
66
|
+
"value": "io.camunda:http-json:1",
|
|
67
|
+
"binding": {
|
|
68
|
+
"type": "zeebe:taskDefinition",
|
|
69
|
+
"property": "type"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"label": "Operation type",
|
|
74
|
+
"id": "operationType",
|
|
75
|
+
"group": "operation",
|
|
76
|
+
"type": "Dropdown",
|
|
77
|
+
"optional": false,
|
|
78
|
+
"choices": [
|
|
79
|
+
{
|
|
80
|
+
"name": "Send a SMS",
|
|
81
|
+
"value": "sendSms"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "Send a WhatsApp message",
|
|
85
|
+
"value": "sendWhatsApp"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "Get message",
|
|
89
|
+
"value": "getMessage"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "List messages",
|
|
93
|
+
"value": "listMessages"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"binding": {
|
|
97
|
+
"type": "zeebe:input",
|
|
98
|
+
"name": "operationType"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"label": "WhatsApp message type",
|
|
103
|
+
"id": "whatsappMessageType",
|
|
104
|
+
"group": "operation",
|
|
105
|
+
"type": "Dropdown",
|
|
106
|
+
"optional": false,
|
|
107
|
+
"choices": [
|
|
108
|
+
{
|
|
109
|
+
"name": "Free form message",
|
|
110
|
+
"value": "whatsappFreeFormMessage"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "Template message",
|
|
114
|
+
"value": "whatsappTemplateMessage"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"binding": {
|
|
118
|
+
"type": "zeebe:input",
|
|
119
|
+
"name": "whatsappMessageType"
|
|
120
|
+
},
|
|
121
|
+
"condition": {
|
|
122
|
+
"property": "operationType",
|
|
123
|
+
"equals": "sendWhatsApp"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "authType",
|
|
128
|
+
"label": "Authentication type",
|
|
129
|
+
"group": "authentication",
|
|
130
|
+
"type": "Dropdown",
|
|
131
|
+
"choices": [
|
|
132
|
+
{
|
|
133
|
+
"name": "Account SID and Auth token",
|
|
134
|
+
"value": "accountSidAuthToken"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "API key and secret",
|
|
138
|
+
"value": "apiKeySecret"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"binding": {
|
|
142
|
+
"type": "zeebe:input",
|
|
143
|
+
"name": "authType"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"label": "Account SID",
|
|
148
|
+
"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>",
|
|
149
|
+
"group": "authentication",
|
|
150
|
+
"type": "String",
|
|
151
|
+
"feel": "optional",
|
|
152
|
+
"binding": {
|
|
153
|
+
"type": "zeebe:input",
|
|
154
|
+
"name": "accountSid"
|
|
155
|
+
},
|
|
156
|
+
"constraints": {
|
|
157
|
+
"notEmpty": true
|
|
158
|
+
},
|
|
159
|
+
"condition": {
|
|
160
|
+
"property": "authType",
|
|
161
|
+
"oneOf": ["apiKeySecret", "accountSidAuthToken"]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"value": "basic",
|
|
166
|
+
"type": "Hidden",
|
|
167
|
+
"binding": {
|
|
168
|
+
"type": "zeebe:input",
|
|
169
|
+
"name": "authentication.type"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"type": "Hidden",
|
|
174
|
+
"value": "post",
|
|
175
|
+
"binding": {
|
|
176
|
+
"type": "zeebe:input",
|
|
177
|
+
"name": "method"
|
|
178
|
+
},
|
|
179
|
+
"condition": {
|
|
180
|
+
"property": "operationType",
|
|
181
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "Hidden",
|
|
186
|
+
"value": "get",
|
|
187
|
+
"binding": {
|
|
188
|
+
"type": "zeebe:input",
|
|
189
|
+
"name": "method"
|
|
190
|
+
},
|
|
191
|
+
"condition": {
|
|
192
|
+
"property": "operationType",
|
|
193
|
+
"oneOf": ["listMessages", "getMessage"]
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "Hidden",
|
|
198
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
199
|
+
"binding": {
|
|
200
|
+
"type": "zeebe:input",
|
|
201
|
+
"name": "headers"
|
|
202
|
+
},
|
|
203
|
+
"condition": {
|
|
204
|
+
"property": "operationType",
|
|
205
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
206
|
+
},
|
|
207
|
+
"optional": false
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"label": "API key",
|
|
211
|
+
"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",
|
|
212
|
+
"group": "authentication",
|
|
213
|
+
"type": "String",
|
|
214
|
+
"feel": "optional",
|
|
215
|
+
"binding": {
|
|
216
|
+
"type": "zeebe:input",
|
|
217
|
+
"name": "authentication.username"
|
|
218
|
+
},
|
|
219
|
+
"constraints": {
|
|
220
|
+
"notEmpty": true
|
|
221
|
+
},
|
|
222
|
+
"condition": {
|
|
223
|
+
"property": "authType",
|
|
224
|
+
"equals": "apiKeySecret"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"label": "API secret",
|
|
229
|
+
"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",
|
|
230
|
+
"group": "authentication",
|
|
231
|
+
"type": "String",
|
|
232
|
+
"feel": "optional",
|
|
233
|
+
"binding": {
|
|
234
|
+
"type": "zeebe:input",
|
|
235
|
+
"name": "authentication.password"
|
|
236
|
+
},
|
|
237
|
+
"constraints": {
|
|
238
|
+
"notEmpty": true
|
|
239
|
+
},
|
|
240
|
+
"condition": {
|
|
241
|
+
"property": "authType",
|
|
242
|
+
"equals": "apiKeySecret"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "Hidden",
|
|
247
|
+
"value": "=accountSid",
|
|
248
|
+
"binding": {
|
|
249
|
+
"type": "zeebe:input",
|
|
250
|
+
"name": "authentication.username"
|
|
251
|
+
},
|
|
252
|
+
"constraints": {
|
|
253
|
+
"notEmpty": true
|
|
254
|
+
},
|
|
255
|
+
"condition": {
|
|
256
|
+
"property": "authType",
|
|
257
|
+
"oneOf": ["accountSidAuthToken"]
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"label": "Authentication token",
|
|
262
|
+
"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>",
|
|
263
|
+
"group": "authentication",
|
|
264
|
+
"type": "String",
|
|
265
|
+
"feel": "optional",
|
|
266
|
+
"binding": {
|
|
267
|
+
"type": "zeebe:input",
|
|
268
|
+
"name": "authentication.password"
|
|
269
|
+
},
|
|
270
|
+
"constraints": {
|
|
271
|
+
"notEmpty": true
|
|
272
|
+
},
|
|
273
|
+
"condition": {
|
|
274
|
+
"property": "authType",
|
|
275
|
+
"equals": "accountSidAuthToken"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"label": "Message SID",
|
|
280
|
+
"description": "Obtain information regarding the message with SID",
|
|
281
|
+
"group": "input",
|
|
282
|
+
"type": "String",
|
|
283
|
+
"feel": "optional",
|
|
284
|
+
"binding": {
|
|
285
|
+
"type": "zeebe:input",
|
|
286
|
+
"name": "messageSid"
|
|
287
|
+
},
|
|
288
|
+
"constraints": {
|
|
289
|
+
"notEmpty": true
|
|
290
|
+
},
|
|
291
|
+
"condition": {
|
|
292
|
+
"property": "operationType",
|
|
293
|
+
"oneOf": ["getMessage"]
|
|
294
|
+
},
|
|
295
|
+
"optional": false
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"label": "WhatsApp message text",
|
|
299
|
+
"description": "The content of the WhatsApp message that will be sent",
|
|
300
|
+
"group": "input",
|
|
301
|
+
"type": "Text",
|
|
302
|
+
"feel": "optional",
|
|
303
|
+
"binding": {
|
|
304
|
+
"type": "zeebe:input",
|
|
305
|
+
"name": "WhatsAppBody"
|
|
306
|
+
},
|
|
307
|
+
"constraints": {
|
|
308
|
+
"notEmpty": true
|
|
309
|
+
},
|
|
310
|
+
"condition": {
|
|
311
|
+
"allMatch": [
|
|
312
|
+
{
|
|
313
|
+
"property": "operationType",
|
|
314
|
+
"equals": "sendWhatsApp"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"property": "whatsappMessageType",
|
|
318
|
+
"equals": "whatsappFreeFormMessage"
|
|
319
|
+
}
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
"optional": false
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"label": "WhatsApp template ID",
|
|
326
|
+
"description": "The ID of the WhatsApp template to be used",
|
|
327
|
+
"group": "input",
|
|
328
|
+
"type": "String",
|
|
329
|
+
"feel": "optional",
|
|
330
|
+
"binding": {
|
|
331
|
+
"type": "zeebe:input",
|
|
332
|
+
"name": "ContentSid"
|
|
333
|
+
},
|
|
334
|
+
"constraints": {
|
|
335
|
+
"notEmpty": true
|
|
336
|
+
},
|
|
337
|
+
"condition": {
|
|
338
|
+
"allMatch": [
|
|
339
|
+
{
|
|
340
|
+
"property": "operationType",
|
|
341
|
+
"equals": "sendWhatsApp"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"property": "whatsappMessageType",
|
|
345
|
+
"equals": "whatsappTemplateMessage"
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
"optional": false
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"label": "WhatsApp template parameters",
|
|
353
|
+
"description": "Parameter values to substitute in the template provided as a FEEL context with numbered keys; make sure all keys and values are strings or are converted to strings!",
|
|
354
|
+
"group": "input",
|
|
355
|
+
"type": "Text",
|
|
356
|
+
"feel": "required",
|
|
357
|
+
"value": "{\n \"1\": \"Test\",\n \"2\": \"Message\"\n // Add more parameters as needed\n}",
|
|
358
|
+
"binding": {
|
|
359
|
+
"type": "zeebe:input",
|
|
360
|
+
"name": "ContentVariables"
|
|
361
|
+
},
|
|
362
|
+
"constraints": {
|
|
363
|
+
"notEmpty": true
|
|
364
|
+
},
|
|
365
|
+
"condition": {
|
|
366
|
+
"allMatch": [
|
|
367
|
+
{
|
|
368
|
+
"property": "operationType",
|
|
369
|
+
"equals": "sendWhatsApp"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"property": "whatsappMessageType",
|
|
373
|
+
"equals": "whatsappTemplateMessage"
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"optional": false
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"label": "From WhatsApp number",
|
|
381
|
+
"description": "The originating Twilio WhatsApp phone number in the format <code>whatsapp:+1234567890</code> used for sending the message",
|
|
382
|
+
"group": "input",
|
|
383
|
+
"type": "String",
|
|
384
|
+
"feel": "optional",
|
|
385
|
+
"binding": {
|
|
386
|
+
"type": "zeebe:input",
|
|
387
|
+
"name": "From"
|
|
388
|
+
},
|
|
389
|
+
"constraints": {
|
|
390
|
+
"notEmpty": true
|
|
391
|
+
},
|
|
392
|
+
"condition": {
|
|
393
|
+
"property": "operationType",
|
|
394
|
+
"equals": "sendWhatsApp"
|
|
395
|
+
},
|
|
396
|
+
"optional": false
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"label": "To WhatsApp number",
|
|
400
|
+
"description": "The recipient's WhatsApp phone number in the format <code>whatsapp:+1234567890</code>",
|
|
401
|
+
"group": "input",
|
|
402
|
+
"type": "String",
|
|
403
|
+
"feel": "optional",
|
|
404
|
+
"binding": {
|
|
405
|
+
"type": "zeebe:input",
|
|
406
|
+
"name": "To"
|
|
407
|
+
},
|
|
408
|
+
"constraints": {
|
|
409
|
+
"notEmpty": true
|
|
410
|
+
},
|
|
411
|
+
"condition": {
|
|
412
|
+
"property": "operationType",
|
|
413
|
+
"equals": "sendWhatsApp"
|
|
414
|
+
},
|
|
415
|
+
"optional": false
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"type": "Hidden",
|
|
419
|
+
"value": "={\"ContentVariables\": to json(ContentVariables), \"ContentSid\": ContentSid, \"From\": From, \"To\": To}",
|
|
420
|
+
"binding": {
|
|
421
|
+
"type": "zeebe:input",
|
|
422
|
+
"name": "body"
|
|
423
|
+
},
|
|
424
|
+
"condition": {
|
|
425
|
+
"allMatch": [
|
|
426
|
+
{
|
|
427
|
+
"property": "operationType",
|
|
428
|
+
"equals": "sendWhatsApp"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"property": "whatsappMessageType",
|
|
432
|
+
"equals": "whatsappTemplateMessage"
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"type": "Hidden",
|
|
439
|
+
"value": "={\"Body\": WhatsAppBody, \"From\": From, \"To\": To}",
|
|
440
|
+
"binding": {
|
|
441
|
+
"type": "zeebe:input",
|
|
442
|
+
"name": "body"
|
|
443
|
+
},
|
|
444
|
+
"condition": {
|
|
445
|
+
"allMatch": [
|
|
446
|
+
{
|
|
447
|
+
"property": "operationType",
|
|
448
|
+
"equals": "sendWhatsApp"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"property": "whatsappMessageType",
|
|
452
|
+
"equals": "whatsappFreeFormMessage"
|
|
453
|
+
}
|
|
454
|
+
]
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"label": "Message text",
|
|
459
|
+
"description": "The content of the message that will be sent",
|
|
460
|
+
"group": "input",
|
|
461
|
+
"type": "Text",
|
|
462
|
+
"feel": "optional",
|
|
463
|
+
"binding": {
|
|
464
|
+
"type": "zeebe:input",
|
|
465
|
+
"name": "body.Body"
|
|
466
|
+
},
|
|
467
|
+
"constraints": {
|
|
468
|
+
"notEmpty": true
|
|
469
|
+
},
|
|
470
|
+
"condition": {
|
|
471
|
+
"property": "operationType",
|
|
472
|
+
"equals": "sendSms"
|
|
473
|
+
},
|
|
474
|
+
"optional": false
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"label": "From number",
|
|
478
|
+
"description": "The originating Twilio phone number used for sending the message",
|
|
479
|
+
"group": "input",
|
|
480
|
+
"type": "String",
|
|
481
|
+
"feel": "optional",
|
|
482
|
+
"binding": {
|
|
483
|
+
"type": "zeebe:input",
|
|
484
|
+
"name": "body.From"
|
|
485
|
+
},
|
|
486
|
+
"constraints": {
|
|
487
|
+
"notEmpty": true
|
|
488
|
+
},
|
|
489
|
+
"condition": {
|
|
490
|
+
"property": "operationType",
|
|
491
|
+
"equals": "sendSms"
|
|
492
|
+
},
|
|
493
|
+
"optional": false
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"label": "To number",
|
|
497
|
+
"description": "The recipient's phone number",
|
|
498
|
+
"group": "input",
|
|
499
|
+
"type": "String",
|
|
500
|
+
"feel": "optional",
|
|
501
|
+
"binding": {
|
|
502
|
+
"type": "zeebe:input",
|
|
503
|
+
"name": "body.To"
|
|
504
|
+
},
|
|
505
|
+
"constraints": {
|
|
506
|
+
"notEmpty": true
|
|
507
|
+
},
|
|
508
|
+
"condition": {
|
|
509
|
+
"property": "operationType",
|
|
510
|
+
"equals": "sendSms"
|
|
511
|
+
},
|
|
512
|
+
"optional": false
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"label": "Page size",
|
|
516
|
+
"id": "pageSize",
|
|
517
|
+
"description": "The maximum number of messages to retrieve per page",
|
|
518
|
+
"group": "filter",
|
|
519
|
+
"type": "String",
|
|
520
|
+
"feel": "optional",
|
|
521
|
+
"binding": {
|
|
522
|
+
"type": "zeebe:input",
|
|
523
|
+
"name": "pageSizeValue"
|
|
524
|
+
},
|
|
525
|
+
"constraints": {
|
|
526
|
+
"notEmpty": false
|
|
527
|
+
},
|
|
528
|
+
"condition": {
|
|
529
|
+
"property": "operationType",
|
|
530
|
+
"oneOf": ["listMessages"]
|
|
531
|
+
},
|
|
532
|
+
"optional": true
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"label": "Date sent",
|
|
536
|
+
"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>)",
|
|
537
|
+
"group": "filter",
|
|
538
|
+
"type": "String",
|
|
539
|
+
"feel": "optional",
|
|
540
|
+
"binding": {
|
|
541
|
+
"type": "zeebe:input",
|
|
542
|
+
"name": "dateSentValue"
|
|
543
|
+
},
|
|
544
|
+
"constraints": {
|
|
545
|
+
"notEmpty": false
|
|
546
|
+
},
|
|
547
|
+
"condition": {
|
|
548
|
+
"property": "operationType",
|
|
549
|
+
"oneOf": ["listMessages"]
|
|
550
|
+
},
|
|
551
|
+
"optional": true
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"label": "Date before message was sent",
|
|
555
|
+
"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>)",
|
|
556
|
+
"group": "filter",
|
|
557
|
+
"type": "String",
|
|
558
|
+
"feel": "optional",
|
|
559
|
+
"binding": {
|
|
560
|
+
"type": "zeebe:input",
|
|
561
|
+
"name": "dateSentBeforeValue"
|
|
562
|
+
},
|
|
563
|
+
"constraints": {
|
|
564
|
+
"notEmpty": false
|
|
565
|
+
},
|
|
566
|
+
"condition": {
|
|
567
|
+
"property": "operationType",
|
|
568
|
+
"oneOf": ["listMessages"]
|
|
569
|
+
},
|
|
570
|
+
"optional": true
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"label": "Date after message was sent",
|
|
574
|
+
"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>)",
|
|
575
|
+
"group": "filter",
|
|
576
|
+
"type": "String",
|
|
577
|
+
"feel": "optional",
|
|
578
|
+
"binding": {
|
|
579
|
+
"type": "zeebe:input",
|
|
580
|
+
"name": "dateSentAfterValue"
|
|
581
|
+
},
|
|
582
|
+
"constraints": {
|
|
583
|
+
"notEmpty": false
|
|
584
|
+
},
|
|
585
|
+
"condition": {
|
|
586
|
+
"property": "operationType",
|
|
587
|
+
"oneOf": ["listMessages"]
|
|
588
|
+
},
|
|
589
|
+
"optional": true
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"label": "From",
|
|
593
|
+
"description": "The phone number or client identifier of the message sender",
|
|
594
|
+
"group": "filter",
|
|
595
|
+
"type": "String",
|
|
596
|
+
"feel": "optional",
|
|
597
|
+
"binding": {
|
|
598
|
+
"type": "zeebe:input",
|
|
599
|
+
"name": "fromFilterValue"
|
|
600
|
+
},
|
|
601
|
+
"constraints": {
|
|
602
|
+
"notEmpty": false
|
|
603
|
+
},
|
|
604
|
+
"condition": {
|
|
605
|
+
"property": "operationType",
|
|
606
|
+
"oneOf": ["listMessages"]
|
|
607
|
+
},
|
|
608
|
+
"optional": true
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"label": "To",
|
|
612
|
+
"description": "The phone number or client identifier of the message recipient",
|
|
613
|
+
"group": "filter",
|
|
614
|
+
"type": "String",
|
|
615
|
+
"feel": "optional",
|
|
616
|
+
"binding": {
|
|
617
|
+
"type": "zeebe:input",
|
|
618
|
+
"name": "toFilterValue"
|
|
619
|
+
},
|
|
620
|
+
"constraints": {
|
|
621
|
+
"notEmpty": false
|
|
622
|
+
},
|
|
623
|
+
"condition": {
|
|
624
|
+
"property": "operationType",
|
|
625
|
+
"oneOf": ["listMessages"]
|
|
626
|
+
},
|
|
627
|
+
"optional": true
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"type": "Hidden",
|
|
631
|
+
"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})",
|
|
632
|
+
"binding": {
|
|
633
|
+
"type": "zeebe:input",
|
|
634
|
+
"name": "queryParameters"
|
|
635
|
+
},
|
|
636
|
+
"optional": true,
|
|
637
|
+
"condition": {
|
|
638
|
+
"property": "operationType",
|
|
639
|
+
"oneOf": ["listMessages"]
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"type": "Hidden",
|
|
644
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
|
|
645
|
+
"binding": {
|
|
646
|
+
"type": "zeebe:input",
|
|
647
|
+
"name": "url"
|
|
648
|
+
},
|
|
649
|
+
"condition": {
|
|
650
|
+
"property": "operationType",
|
|
651
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"type": "Hidden",
|
|
656
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
|
|
657
|
+
"binding": {
|
|
658
|
+
"type": "zeebe:input",
|
|
659
|
+
"name": "url"
|
|
660
|
+
},
|
|
661
|
+
"condition": {
|
|
662
|
+
"property": "operationType",
|
|
663
|
+
"oneOf": ["getMessage"]
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"label": "Result variable",
|
|
668
|
+
"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>",
|
|
669
|
+
"group": "output",
|
|
670
|
+
"type": "String",
|
|
671
|
+
"binding": {
|
|
672
|
+
"type": "zeebe:taskHeader",
|
|
673
|
+
"key": "resultVariable"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"label": "Result expression",
|
|
678
|
+
"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>",
|
|
679
|
+
"group": "output",
|
|
680
|
+
"type": "Text",
|
|
681
|
+
"feel": "required",
|
|
682
|
+
"binding": {
|
|
683
|
+
"type": "zeebe:taskHeader",
|
|
684
|
+
"key": "resultExpression"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"label": "Connection timeout",
|
|
689
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
690
|
+
"group": "errors",
|
|
691
|
+
"type": "String",
|
|
692
|
+
"value": "20",
|
|
693
|
+
"binding": {
|
|
694
|
+
"type": "zeebe:input",
|
|
695
|
+
"name": "connectionTimeoutInSeconds"
|
|
696
|
+
},
|
|
697
|
+
"optional": true,
|
|
698
|
+
"feel": "optional",
|
|
699
|
+
"constraints": {
|
|
700
|
+
"notEmpty": false,
|
|
701
|
+
"pattern": {
|
|
702
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
703
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"label": "Error expression",
|
|
709
|
+
"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>",
|
|
710
|
+
"group": "errors",
|
|
711
|
+
"type": "Text",
|
|
712
|
+
"feel": "required",
|
|
713
|
+
"binding": {
|
|
714
|
+
"type": "zeebe:taskHeader",
|
|
715
|
+
"key": "errorExpression"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"id": "version",
|
|
720
|
+
"label": "Version",
|
|
721
|
+
"description": "Version of the element template",
|
|
722
|
+
"value": "6",
|
|
723
|
+
"group": "connector",
|
|
724
|
+
"binding": {
|
|
725
|
+
"key": "elementTemplateVersion",
|
|
726
|
+
"type": "zeebe:taskHeader"
|
|
727
|
+
},
|
|
728
|
+
"type": "Hidden"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"id": "id",
|
|
732
|
+
"label": "ID",
|
|
733
|
+
"description": "ID of the element template",
|
|
734
|
+
"value": "io.camunda.connectors.Twilio.v1",
|
|
735
|
+
"group": "connector",
|
|
736
|
+
"binding": {
|
|
737
|
+
"key": "elementTemplateId",
|
|
738
|
+
"type": "zeebe:taskHeader"
|
|
739
|
+
},
|
|
740
|
+
"type": "Hidden"
|
|
741
|
+
}
|
|
742
|
+
]
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
746
|
+
"name": "Twilio Outbound Connector",
|
|
747
|
+
"id": "io.camunda.connectors.Twilio.v1",
|
|
748
|
+
"version": 5,
|
|
749
|
+
"engines": {
|
|
750
|
+
"camunda": "^8.3"
|
|
751
|
+
},
|
|
752
|
+
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
753
|
+
"icon": {
|
|
754
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
755
|
+
},
|
|
756
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
757
|
+
"category": {
|
|
758
|
+
"id": "connectors",
|
|
759
|
+
"name": "Connectors"
|
|
760
|
+
},
|
|
761
|
+
"appliesTo": ["bpmn:Task"],
|
|
762
|
+
"elementType": {
|
|
763
|
+
"value": "bpmn:ServiceTask"
|
|
764
|
+
},
|
|
765
|
+
"groups": [
|
|
766
|
+
{
|
|
767
|
+
"id": "operation",
|
|
768
|
+
"label": "Operation"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"id": "authentication",
|
|
772
|
+
"label": "Authentication"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"id": "input",
|
|
776
|
+
"label": "Input"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"id": "filter",
|
|
780
|
+
"label": "Filter"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"id": "output",
|
|
784
|
+
"label": "Response mapping"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"id": "errors",
|
|
788
|
+
"label": "Error handling"
|
|
789
|
+
}
|
|
790
|
+
],
|
|
791
|
+
"properties": [
|
|
792
|
+
{
|
|
793
|
+
"type": "Hidden",
|
|
794
|
+
"value": "io.camunda:http-json:1",
|
|
795
|
+
"binding": {
|
|
796
|
+
"type": "zeebe:taskDefinition:type"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"label": "Operation type",
|
|
801
|
+
"id": "operationType",
|
|
802
|
+
"group": "operation",
|
|
803
|
+
"type": "Dropdown",
|
|
804
|
+
"optional": false,
|
|
805
|
+
"choices": [
|
|
806
|
+
{
|
|
807
|
+
"name": "Send a SMS",
|
|
808
|
+
"value": "sendSms"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "Get message",
|
|
812
|
+
"value": "getMessage"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"name": "List messages",
|
|
816
|
+
"value": "listMessages"
|
|
817
|
+
}
|
|
818
|
+
],
|
|
819
|
+
"binding": {
|
|
820
|
+
"type": "zeebe:input",
|
|
821
|
+
"name": "operationType"
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"id": "authType",
|
|
826
|
+
"label": "Authentication type",
|
|
827
|
+
"group": "authentication",
|
|
828
|
+
"type": "Dropdown",
|
|
829
|
+
"value": "get",
|
|
830
|
+
"choices": [
|
|
831
|
+
{
|
|
832
|
+
"name": "Account SID and Auth token",
|
|
833
|
+
"value": "accountSidAuthToken"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "API key and secret",
|
|
837
|
+
"value": "apiKeySecret"
|
|
838
|
+
}
|
|
839
|
+
],
|
|
840
|
+
"binding": {
|
|
841
|
+
"type": "zeebe:input",
|
|
842
|
+
"name": "authType"
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"label": "Account SID",
|
|
847
|
+
"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>",
|
|
848
|
+
"group": "authentication",
|
|
849
|
+
"type": "String",
|
|
850
|
+
"feel": "optional",
|
|
851
|
+
"binding": {
|
|
852
|
+
"type": "zeebe:input",
|
|
853
|
+
"name": "accountSid"
|
|
854
|
+
},
|
|
855
|
+
"constraints": {
|
|
856
|
+
"notEmpty": true
|
|
857
|
+
},
|
|
858
|
+
"condition": {
|
|
859
|
+
"property": "authType",
|
|
860
|
+
"oneOf": ["apiKeySecret", "accountSidAuthToken"]
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"value": "basic",
|
|
865
|
+
"type": "Hidden",
|
|
866
|
+
"binding": {
|
|
867
|
+
"type": "zeebe:input",
|
|
868
|
+
"name": "authentication.type"
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"type": "Hidden",
|
|
873
|
+
"value": "post",
|
|
874
|
+
"binding": {
|
|
875
|
+
"type": "zeebe:input",
|
|
876
|
+
"name": "method"
|
|
877
|
+
},
|
|
878
|
+
"condition": {
|
|
879
|
+
"property": "operationType",
|
|
880
|
+
"equals": "sendSms"
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"type": "Hidden",
|
|
885
|
+
"value": "get",
|
|
886
|
+
"binding": {
|
|
887
|
+
"type": "zeebe:input",
|
|
888
|
+
"name": "method"
|
|
889
|
+
},
|
|
890
|
+
"condition": {
|
|
891
|
+
"property": "operationType",
|
|
892
|
+
"oneOf": ["listMessages", "getMessage"]
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"type": "Hidden",
|
|
897
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
898
|
+
"binding": {
|
|
899
|
+
"type": "zeebe:input",
|
|
900
|
+
"name": "headers"
|
|
901
|
+
},
|
|
902
|
+
"condition": {
|
|
903
|
+
"property": "operationType",
|
|
904
|
+
"equals": "sendSms"
|
|
905
|
+
},
|
|
906
|
+
"optional": false
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"label": "API key",
|
|
910
|
+
"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",
|
|
911
|
+
"group": "authentication",
|
|
912
|
+
"type": "String",
|
|
913
|
+
"feel": "optional",
|
|
914
|
+
"binding": {
|
|
915
|
+
"type": "zeebe:input",
|
|
916
|
+
"name": "authentication.username"
|
|
917
|
+
},
|
|
918
|
+
"constraints": {
|
|
919
|
+
"notEmpty": true
|
|
920
|
+
},
|
|
921
|
+
"condition": {
|
|
922
|
+
"property": "authType",
|
|
923
|
+
"equals": "apiKeySecret"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"label": "API secret",
|
|
928
|
+
"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",
|
|
929
|
+
"group": "authentication",
|
|
930
|
+
"type": "String",
|
|
931
|
+
"feel": "optional",
|
|
932
|
+
"binding": {
|
|
933
|
+
"type": "zeebe:input",
|
|
934
|
+
"name": "authentication.password"
|
|
935
|
+
},
|
|
936
|
+
"constraints": {
|
|
937
|
+
"notEmpty": true
|
|
938
|
+
},
|
|
939
|
+
"condition": {
|
|
940
|
+
"property": "authType",
|
|
941
|
+
"equals": "apiKeySecret"
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"type": "Hidden",
|
|
946
|
+
"value": "=accountSid",
|
|
947
|
+
"binding": {
|
|
948
|
+
"type": "zeebe:input",
|
|
949
|
+
"name": "authentication.username"
|
|
950
|
+
},
|
|
951
|
+
"constraints": {
|
|
952
|
+
"notEmpty": true
|
|
953
|
+
},
|
|
954
|
+
"condition": {
|
|
955
|
+
"property": "authType",
|
|
956
|
+
"oneOf": ["accountSidAuthToken"]
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"label": "Authentication token",
|
|
961
|
+
"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>",
|
|
962
|
+
"group": "authentication",
|
|
963
|
+
"type": "String",
|
|
964
|
+
"feel": "optional",
|
|
965
|
+
"binding": {
|
|
966
|
+
"type": "zeebe:input",
|
|
967
|
+
"name": "authentication.password"
|
|
968
|
+
},
|
|
969
|
+
"constraints": {
|
|
970
|
+
"notEmpty": true
|
|
971
|
+
},
|
|
972
|
+
"condition": {
|
|
973
|
+
"property": "authType",
|
|
974
|
+
"equals": "accountSidAuthToken"
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"label": "Message SID",
|
|
979
|
+
"description": "Obtain information regarding the message with SID",
|
|
980
|
+
"group": "input",
|
|
981
|
+
"type": "String",
|
|
982
|
+
"feel": "optional",
|
|
983
|
+
"binding": {
|
|
984
|
+
"type": "zeebe:input",
|
|
985
|
+
"name": "messageSid"
|
|
986
|
+
},
|
|
987
|
+
"constraints": {
|
|
988
|
+
"notEmpty": true
|
|
989
|
+
},
|
|
990
|
+
"condition": {
|
|
991
|
+
"property": "operationType",
|
|
992
|
+
"oneOf": ["getMessage"]
|
|
993
|
+
},
|
|
994
|
+
"optional": false
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"label": "Message text",
|
|
998
|
+
"description": "The content of the message that will be sent",
|
|
999
|
+
"group": "input",
|
|
1000
|
+
"type": "Text",
|
|
1001
|
+
"feel": "optional",
|
|
1002
|
+
"binding": {
|
|
1003
|
+
"type": "zeebe:input",
|
|
1004
|
+
"name": "body.Body"
|
|
1005
|
+
},
|
|
1006
|
+
"constraints": {
|
|
1007
|
+
"notEmpty": true
|
|
1008
|
+
},
|
|
1009
|
+
"condition": {
|
|
1010
|
+
"property": "operationType",
|
|
1011
|
+
"oneOf": ["sendSms"]
|
|
1012
|
+
},
|
|
1013
|
+
"optional": false
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"label": "From number",
|
|
1017
|
+
"description": "The originating Twilio phone number used for sending the message",
|
|
1018
|
+
"group": "input",
|
|
1019
|
+
"type": "String",
|
|
1020
|
+
"feel": "optional",
|
|
1021
|
+
"binding": {
|
|
1022
|
+
"type": "zeebe:input",
|
|
1023
|
+
"name": "body.From"
|
|
1024
|
+
},
|
|
1025
|
+
"constraints": {
|
|
1026
|
+
"notEmpty": true
|
|
1027
|
+
},
|
|
1028
|
+
"condition": {
|
|
1029
|
+
"property": "operationType",
|
|
1030
|
+
"oneOf": ["sendSms"]
|
|
1031
|
+
},
|
|
1032
|
+
"optional": false
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"label": "To number",
|
|
1036
|
+
"description": "The recipient's phone number",
|
|
1037
|
+
"group": "input",
|
|
1038
|
+
"type": "String",
|
|
1039
|
+
"feel": "optional",
|
|
1040
|
+
"binding": {
|
|
1041
|
+
"type": "zeebe:input",
|
|
1042
|
+
"name": "body.To"
|
|
1043
|
+
},
|
|
1044
|
+
"constraints": {
|
|
1045
|
+
"notEmpty": true
|
|
1046
|
+
},
|
|
1047
|
+
"condition": {
|
|
1048
|
+
"property": "operationType",
|
|
1049
|
+
"oneOf": ["sendSms"]
|
|
1050
|
+
},
|
|
1051
|
+
"optional": false
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"label": "Page size",
|
|
1055
|
+
"id": "pageSize",
|
|
1056
|
+
"description": "The maximum number of messages to retrieve per page",
|
|
1057
|
+
"group": "filter",
|
|
1058
|
+
"type": "String",
|
|
1059
|
+
"feel": "optional",
|
|
1060
|
+
"binding": {
|
|
1061
|
+
"type": "zeebe:input",
|
|
1062
|
+
"name": "pageSizeValue"
|
|
1063
|
+
},
|
|
1064
|
+
"constraints": {
|
|
1065
|
+
"notEmpty": false
|
|
1066
|
+
},
|
|
1067
|
+
"condition": {
|
|
1068
|
+
"property": "operationType",
|
|
1069
|
+
"oneOf": ["listMessages"]
|
|
1070
|
+
},
|
|
1071
|
+
"optional": true
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"label": "Date sent",
|
|
1075
|
+
"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>)",
|
|
1076
|
+
"group": "filter",
|
|
1077
|
+
"type": "String",
|
|
1078
|
+
"feel": "optional",
|
|
1079
|
+
"binding": {
|
|
1080
|
+
"type": "zeebe:input",
|
|
1081
|
+
"name": "dateSentValue"
|
|
1082
|
+
},
|
|
1083
|
+
"constraints": {
|
|
1084
|
+
"notEmpty": false
|
|
1085
|
+
},
|
|
1086
|
+
"condition": {
|
|
1087
|
+
"property": "operationType",
|
|
1088
|
+
"oneOf": ["listMessages"]
|
|
1089
|
+
},
|
|
1090
|
+
"optional": true
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"label": "Date before message was sent",
|
|
1094
|
+
"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>)",
|
|
1095
|
+
"group": "filter",
|
|
1096
|
+
"type": "String",
|
|
1097
|
+
"feel": "optional",
|
|
1098
|
+
"binding": {
|
|
1099
|
+
"type": "zeebe:input",
|
|
1100
|
+
"name": "dateSentBeforeValue"
|
|
1101
|
+
},
|
|
1102
|
+
"constraints": {
|
|
1103
|
+
"notEmpty": false
|
|
1104
|
+
},
|
|
1105
|
+
"condition": {
|
|
1106
|
+
"property": "operationType",
|
|
1107
|
+
"oneOf": ["listMessages"]
|
|
1108
|
+
},
|
|
1109
|
+
"optional": true
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"label": "Date after message was sent",
|
|
1113
|
+
"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>)",
|
|
1114
|
+
"group": "filter",
|
|
1115
|
+
"type": "String",
|
|
1116
|
+
"feel": "optional",
|
|
1117
|
+
"binding": {
|
|
1118
|
+
"type": "zeebe:input",
|
|
1119
|
+
"name": "dateSentAfterValue"
|
|
1120
|
+
},
|
|
1121
|
+
"constraints": {
|
|
1122
|
+
"notEmpty": false
|
|
1123
|
+
},
|
|
1124
|
+
"condition": {
|
|
1125
|
+
"property": "operationType",
|
|
1126
|
+
"oneOf": ["listMessages"]
|
|
1127
|
+
},
|
|
1128
|
+
"optional": true
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"label": "From",
|
|
1132
|
+
"description": "The phone number or client identifier of the message sender",
|
|
1133
|
+
"group": "filter",
|
|
1134
|
+
"type": "String",
|
|
1135
|
+
"feel": "optional",
|
|
1136
|
+
"binding": {
|
|
1137
|
+
"type": "zeebe:input",
|
|
1138
|
+
"name": "fromFilterValue"
|
|
1139
|
+
},
|
|
1140
|
+
"constraints": {
|
|
1141
|
+
"notEmpty": false
|
|
1142
|
+
},
|
|
1143
|
+
"condition": {
|
|
1144
|
+
"property": "operationType",
|
|
1145
|
+
"oneOf": ["listMessages"]
|
|
1146
|
+
},
|
|
1147
|
+
"optional": true
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"label": "To",
|
|
1151
|
+
"description": "The phone number or client identifier of the message recipient",
|
|
1152
|
+
"group": "filter",
|
|
1153
|
+
"type": "String",
|
|
1154
|
+
"feel": "optional",
|
|
1155
|
+
"binding": {
|
|
1156
|
+
"type": "zeebe:input",
|
|
1157
|
+
"name": "toFilterValue"
|
|
1158
|
+
},
|
|
1159
|
+
"constraints": {
|
|
1160
|
+
"notEmpty": false
|
|
1161
|
+
},
|
|
1162
|
+
"condition": {
|
|
1163
|
+
"property": "operationType",
|
|
1164
|
+
"oneOf": ["listMessages"]
|
|
1165
|
+
},
|
|
1166
|
+
"optional": true
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"type": "Hidden",
|
|
1170
|
+
"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})",
|
|
1171
|
+
"binding": {
|
|
1172
|
+
"type": "zeebe:input",
|
|
1173
|
+
"name": "queryParameters"
|
|
1174
|
+
},
|
|
1175
|
+
"optional": true,
|
|
1176
|
+
"condition": {
|
|
1177
|
+
"property": "operationType",
|
|
1178
|
+
"oneOf": ["listMessages"]
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"type": "Hidden",
|
|
1183
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages.json\"",
|
|
1184
|
+
"binding": {
|
|
1185
|
+
"type": "zeebe:input",
|
|
1186
|
+
"name": "url"
|
|
1187
|
+
},
|
|
1188
|
+
"condition": {
|
|
1189
|
+
"property": "operationType",
|
|
1190
|
+
"oneOf": ["sendSms", "listMessages"]
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"type": "Hidden",
|
|
1195
|
+
"value": "=\"https://api.twilio.com/2010-04-01/Accounts/\"+accountSid+\"/Messages/\"+messageSid+\".json\"",
|
|
1196
|
+
"binding": {
|
|
1197
|
+
"type": "zeebe:input",
|
|
1198
|
+
"name": "url"
|
|
1199
|
+
},
|
|
1200
|
+
"condition": {
|
|
1201
|
+
"property": "operationType",
|
|
1202
|
+
"oneOf": ["getMessage"]
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"label": "Result variable",
|
|
1207
|
+
"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>",
|
|
1208
|
+
"group": "output",
|
|
1209
|
+
"type": "String",
|
|
1210
|
+
"binding": {
|
|
1211
|
+
"type": "zeebe:taskHeader",
|
|
1212
|
+
"key": "resultVariable"
|
|
1213
|
+
}
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"label": "Result expression",
|
|
1217
|
+
"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>",
|
|
1218
|
+
"group": "output",
|
|
1219
|
+
"type": "Text",
|
|
1220
|
+
"feel": "required",
|
|
1221
|
+
"binding": {
|
|
1222
|
+
"type": "zeebe:taskHeader",
|
|
1223
|
+
"key": "resultExpression"
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"label": "Connection timeout",
|
|
1228
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
1229
|
+
"group": "errors",
|
|
1230
|
+
"type": "String",
|
|
1231
|
+
"value": "20",
|
|
1232
|
+
"binding": {
|
|
1233
|
+
"type": "zeebe:input",
|
|
1234
|
+
"name": "connectionTimeoutInSeconds"
|
|
1235
|
+
},
|
|
1236
|
+
"optional": true,
|
|
1237
|
+
"feel": "optional",
|
|
1238
|
+
"constraints": {
|
|
1239
|
+
"notEmpty": false,
|
|
1240
|
+
"pattern": {
|
|
1241
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1242
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"label": "Error expression",
|
|
1248
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
1249
|
+
"group": "errors",
|
|
1250
|
+
"type": "Text",
|
|
1251
|
+
"feel": "required",
|
|
1252
|
+
"binding": {
|
|
1253
|
+
"type": "zeebe:taskHeader",
|
|
1254
|
+
"key": "errorExpression"
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"id": "version",
|
|
1259
|
+
"label": "Version",
|
|
1260
|
+
"description": "Version of the element template",
|
|
1261
|
+
"value": "5",
|
|
1262
|
+
"group": "connector",
|
|
1263
|
+
"binding": {
|
|
1264
|
+
"key": "elementTemplateVersion",
|
|
1265
|
+
"type": "zeebe:taskHeader"
|
|
1266
|
+
},
|
|
1267
|
+
"type": "Hidden"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"id": "id",
|
|
1271
|
+
"label": "ID",
|
|
1272
|
+
"description": "ID of the element template",
|
|
1273
|
+
"value": "io.camunda.connectors.Twilio.v1",
|
|
1274
|
+
"group": "connector",
|
|
1275
|
+
"binding": {
|
|
1276
|
+
"key": "elementTemplateId",
|
|
1277
|
+
"type": "zeebe:taskHeader"
|
|
1278
|
+
},
|
|
1279
|
+
"type": "Hidden"
|
|
1280
|
+
}
|
|
1281
|
+
]
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1285
|
+
"name": "Twilio Outbound Connector",
|
|
1286
|
+
"id": "io.camunda.connectors.Twilio.v1",
|
|
1287
|
+
"version": 3,
|
|
7
1288
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
8
1289
|
"icon": {
|
|
9
1290
|
"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"
|
|
@@ -150,7 +1431,7 @@
|
|
|
150
1431
|
},
|
|
151
1432
|
{
|
|
152
1433
|
"type": "Hidden",
|
|
153
|
-
"value": "={\"
|
|
1434
|
+
"value": "={\"content-type\":\"application/x-www-form-urlencoded\"}",
|
|
154
1435
|
"binding": {
|
|
155
1436
|
"type": "zeebe:input",
|
|
156
1437
|
"name": "headers"
|
|
@@ -512,19 +1793,19 @@
|
|
|
512
1793
|
}
|
|
513
1794
|
],
|
|
514
1795
|
"engines": {
|
|
515
|
-
"camunda": "^8.
|
|
1796
|
+
"camunda": "^8.2"
|
|
516
1797
|
}
|
|
517
1798
|
},
|
|
518
1799
|
{
|
|
519
1800
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
520
|
-
"name": "Twilio
|
|
1801
|
+
"name": "Twilio Outbound Connector",
|
|
521
1802
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
522
|
-
"version":
|
|
1803
|
+
"version": 4,
|
|
523
1804
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
524
1805
|
"icon": {
|
|
525
1806
|
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
526
1807
|
},
|
|
527
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1808
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound",
|
|
528
1809
|
"category": {
|
|
529
1810
|
"id": "connectors",
|
|
530
1811
|
"name": "Connectors"
|
|
@@ -616,7 +1897,7 @@
|
|
|
616
1897
|
},
|
|
617
1898
|
{
|
|
618
1899
|
"label": "Account SID",
|
|
619
|
-
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1900
|
+
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
|
|
620
1901
|
"group": "authentication",
|
|
621
1902
|
"type": "String",
|
|
622
1903
|
"feel": "optional",
|
|
@@ -666,7 +1947,7 @@
|
|
|
666
1947
|
},
|
|
667
1948
|
{
|
|
668
1949
|
"type": "Hidden",
|
|
669
|
-
"value": "={\"
|
|
1950
|
+
"value": "={\"Content-Type\":\"application/x-www-form-urlencoded\"}",
|
|
670
1951
|
"binding": {
|
|
671
1952
|
"type": "zeebe:input",
|
|
672
1953
|
"name": "headers"
|
|
@@ -679,7 +1960,7 @@
|
|
|
679
1960
|
},
|
|
680
1961
|
{
|
|
681
1962
|
"label": "API key",
|
|
682
|
-
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1963
|
+
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
|
|
683
1964
|
"group": "authentication",
|
|
684
1965
|
"type": "String",
|
|
685
1966
|
"feel": "optional",
|
|
@@ -697,7 +1978,7 @@
|
|
|
697
1978
|
},
|
|
698
1979
|
{
|
|
699
1980
|
"label": "API secret",
|
|
700
|
-
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
1981
|
+
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">documentation</a> for details",
|
|
701
1982
|
"group": "authentication",
|
|
702
1983
|
"type": "String",
|
|
703
1984
|
"feel": "optional",
|
|
@@ -730,7 +2011,7 @@
|
|
|
730
2011
|
},
|
|
731
2012
|
{
|
|
732
2013
|
"label": "Authentication token",
|
|
733
|
-
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2014
|
+
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">Camunda documentation</a>",
|
|
734
2015
|
"group": "authentication",
|
|
735
2016
|
"type": "String",
|
|
736
2017
|
"feel": "optional",
|
|
@@ -844,7 +2125,7 @@
|
|
|
844
2125
|
},
|
|
845
2126
|
{
|
|
846
2127
|
"label": "Date sent",
|
|
847
|
-
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2128
|
+
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
848
2129
|
"group": "filter",
|
|
849
2130
|
"type": "String",
|
|
850
2131
|
"feel": "optional",
|
|
@@ -863,7 +2144,7 @@
|
|
|
863
2144
|
},
|
|
864
2145
|
{
|
|
865
2146
|
"label": "Date before message was sent",
|
|
866
|
-
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2147
|
+
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
867
2148
|
"group": "filter",
|
|
868
2149
|
"type": "String",
|
|
869
2150
|
"feel": "optional",
|
|
@@ -882,7 +2163,7 @@
|
|
|
882
2163
|
},
|
|
883
2164
|
{
|
|
884
2165
|
"label": "Date after message was sent",
|
|
885
|
-
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2166
|
+
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/?twilio=outbound\" target=\"_blank\">in UTC format</a>)",
|
|
886
2167
|
"group": "filter",
|
|
887
2168
|
"type": "String",
|
|
888
2169
|
"feel": "optional",
|
|
@@ -1010,14 +2291,14 @@
|
|
|
1010
2291
|
"constraints": {
|
|
1011
2292
|
"notEmpty": false,
|
|
1012
2293
|
"pattern": {
|
|
1013
|
-
"value": "^(=|([0-9]
|
|
2294
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1014
2295
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1015
2296
|
}
|
|
1016
2297
|
}
|
|
1017
2298
|
},
|
|
1018
2299
|
{
|
|
1019
2300
|
"label": "Error expression",
|
|
1020
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2301
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
|
|
1021
2302
|
"group": "errors",
|
|
1022
2303
|
"type": "Text",
|
|
1023
2304
|
"feel": "required",
|
|
@@ -1028,19 +2309,19 @@
|
|
|
1028
2309
|
}
|
|
1029
2310
|
],
|
|
1030
2311
|
"engines": {
|
|
1031
|
-
"camunda": "^8.
|
|
2312
|
+
"camunda": "^8.6"
|
|
1032
2313
|
}
|
|
1033
2314
|
},
|
|
1034
2315
|
{
|
|
1035
2316
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1036
|
-
"name": "Twilio
|
|
2317
|
+
"name": "Twilio connector",
|
|
1037
2318
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
1038
|
-
"version":
|
|
2319
|
+
"version": 1,
|
|
1039
2320
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
1040
2321
|
"icon": {
|
|
1041
2322
|
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
1042
2323
|
},
|
|
1043
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2324
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/",
|
|
1044
2325
|
"category": {
|
|
1045
2326
|
"id": "connectors",
|
|
1046
2327
|
"name": "Connectors"
|
|
@@ -1132,7 +2413,7 @@
|
|
|
1132
2413
|
},
|
|
1133
2414
|
{
|
|
1134
2415
|
"label": "Account SID",
|
|
1135
|
-
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2416
|
+
"description": "Your Twilio account SID. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
|
|
1136
2417
|
"group": "authentication",
|
|
1137
2418
|
"type": "String",
|
|
1138
2419
|
"feel": "optional",
|
|
@@ -1195,7 +2476,7 @@
|
|
|
1195
2476
|
},
|
|
1196
2477
|
{
|
|
1197
2478
|
"label": "API key",
|
|
1198
|
-
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2479
|
+
"description": "Your Twilio API key. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
|
|
1199
2480
|
"group": "authentication",
|
|
1200
2481
|
"type": "String",
|
|
1201
2482
|
"feel": "optional",
|
|
@@ -1213,7 +2494,7 @@
|
|
|
1213
2494
|
},
|
|
1214
2495
|
{
|
|
1215
2496
|
"label": "API secret",
|
|
1216
|
-
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2497
|
+
"description": "Your Twilio API secret. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">documentation</a> for details",
|
|
1217
2498
|
"group": "authentication",
|
|
1218
2499
|
"type": "String",
|
|
1219
2500
|
"feel": "optional",
|
|
@@ -1246,7 +2527,7 @@
|
|
|
1246
2527
|
},
|
|
1247
2528
|
{
|
|
1248
2529
|
"label": "Authentication token",
|
|
1249
|
-
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2530
|
+
"description": "Your Twilio auth token. See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">Camunda documentation</a>",
|
|
1250
2531
|
"group": "authentication",
|
|
1251
2532
|
"type": "String",
|
|
1252
2533
|
"feel": "optional",
|
|
@@ -1360,7 +2641,7 @@
|
|
|
1360
2641
|
},
|
|
1361
2642
|
{
|
|
1362
2643
|
"label": "Date sent",
|
|
1363
|
-
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2644
|
+
"description": "The date and time the message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
|
|
1364
2645
|
"group": "filter",
|
|
1365
2646
|
"type": "String",
|
|
1366
2647
|
"feel": "optional",
|
|
@@ -1379,7 +2660,7 @@
|
|
|
1379
2660
|
},
|
|
1380
2661
|
{
|
|
1381
2662
|
"label": "Date before message was sent",
|
|
1382
|
-
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2663
|
+
"description": "The date and time before which messages were sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
|
|
1383
2664
|
"group": "filter",
|
|
1384
2665
|
"type": "String",
|
|
1385
2666
|
"feel": "optional",
|
|
@@ -1398,7 +2679,7 @@
|
|
|
1398
2679
|
},
|
|
1399
2680
|
{
|
|
1400
2681
|
"label": "Date after message was sent",
|
|
1401
|
-
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio
|
|
2682
|
+
"description": "The date and time after which message was sent (<a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/twilio/\" target=\"_blank\">in UTC format</a>)",
|
|
1402
2683
|
"group": "filter",
|
|
1403
2684
|
"type": "String",
|
|
1404
2685
|
"feel": "optional",
|
|
@@ -1526,14 +2807,14 @@
|
|
|
1526
2807
|
"constraints": {
|
|
1527
2808
|
"notEmpty": false,
|
|
1528
2809
|
"pattern": {
|
|
1529
|
-
"value": "^(=|([0-9]
|
|
2810
|
+
"value": "^(=|([0-9]+|secrets\\..+)$)",
|
|
1530
2811
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1531
2812
|
}
|
|
1532
2813
|
}
|
|
1533
2814
|
},
|
|
1534
2815
|
{
|
|
1535
2816
|
"label": "Error expression",
|
|
1536
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
2817
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
1537
2818
|
"group": "errors",
|
|
1538
2819
|
"type": "Text",
|
|
1539
2820
|
"feel": "required",
|
|
@@ -1551,7 +2832,7 @@
|
|
|
1551
2832
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1552
2833
|
"name": "Twilio connector",
|
|
1553
2834
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
1554
|
-
"version":
|
|
2835
|
+
"version": 2,
|
|
1555
2836
|
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
1556
2837
|
"icon": {
|
|
1557
2838
|
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
@@ -2042,7 +3323,7 @@
|
|
|
2042
3323
|
"constraints": {
|
|
2043
3324
|
"notEmpty": false,
|
|
2044
3325
|
"pattern": {
|
|
2045
|
-
"value": "^(=|([0-9]+|secrets
|
|
3326
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
2046
3327
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
2047
3328
|
}
|
|
2048
3329
|
}
|
|
@@ -2067,11 +3348,21 @@
|
|
|
2067
3348
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2068
3349
|
"name": "Twilio Outbound Connector",
|
|
2069
3350
|
"id": "io.camunda.connectors.Twilio.v1",
|
|
2070
|
-
"version":
|
|
3351
|
+
"version": 6,
|
|
2071
3352
|
"engines": {
|
|
2072
|
-
"camunda": "^8.
|
|
3353
|
+
"camunda": "^8.9"
|
|
2073
3354
|
},
|
|
2074
|
-
"description": "Send SMS messages or retrieve message information using the Twilio API",
|
|
3355
|
+
"description": "Send SMS and WhatsApp messages or retrieve message information using the Twilio API",
|
|
3356
|
+
"keywords": [
|
|
3357
|
+
"send SMS",
|
|
3358
|
+
"get message",
|
|
3359
|
+
"list messages",
|
|
3360
|
+
"SMS",
|
|
3361
|
+
"text message",
|
|
3362
|
+
"phone",
|
|
3363
|
+
"messaging",
|
|
3364
|
+
"notification"
|
|
3365
|
+
],
|
|
2075
3366
|
"icon": {
|
|
2076
3367
|
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' preserveAspectRatio='xMidYMid' viewBox='0 0 256 256' id='twilio'%3E%3Cg fill='%23CF272D'%3E%3Cpath d='M127.86 222.304c-52.005 0-94.164-42.159-94.164-94.163 0-52.005 42.159-94.163 94.164-94.163 52.004 0 94.162 42.158 94.162 94.163 0 52.004-42.158 94.163-94.162 94.163zm0-222.023C57.245.281 0 57.527 0 128.141 0 198.756 57.245 256 127.86 256c70.614 0 127.859-57.244 127.859-127.859 0-70.614-57.245-127.86-127.86-127.86z'%3E%3C/path%3E%3Cpath d='M133.116 96.297c0-14.682 11.903-26.585 26.586-26.585 14.683 0 26.585 11.903 26.585 26.585 0 14.684-11.902 26.586-26.585 26.586-14.683 0-26.586-11.902-26.586-26.586M133.116 159.983c0-14.682 11.903-26.586 26.586-26.586 14.683 0 26.585 11.904 26.585 26.586 0 14.683-11.902 26.586-26.585 26.586-14.683 0-26.586-11.903-26.586-26.586M69.431 159.983c0-14.682 11.904-26.586 26.586-26.586 14.683 0 26.586 11.904 26.586 26.586 0 14.683-11.903 26.586-26.586 26.586-14.682 0-26.586-11.903-26.586-26.586M69.431 96.298c0-14.683 11.904-26.585 26.586-26.585 14.683 0 26.586 11.902 26.586 26.585 0 14.684-11.903 26.586-26.586 26.586-14.682 0-26.586-11.902-26.586-26.586'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"
|
|
2077
3368
|
},
|
|
@@ -2129,6 +3420,10 @@
|
|
|
2129
3420
|
"name": "Send a SMS",
|
|
2130
3421
|
"value": "sendSms"
|
|
2131
3422
|
},
|
|
3423
|
+
{
|
|
3424
|
+
"name": "Send a WhatsApp message",
|
|
3425
|
+
"value": "sendWhatsApp"
|
|
3426
|
+
},
|
|
2132
3427
|
{
|
|
2133
3428
|
"name": "Get message",
|
|
2134
3429
|
"value": "getMessage"
|
|
@@ -2143,6 +3438,31 @@
|
|
|
2143
3438
|
"name": "operationType"
|
|
2144
3439
|
}
|
|
2145
3440
|
},
|
|
3441
|
+
{
|
|
3442
|
+
"label": "WhatsApp message type",
|
|
3443
|
+
"id": "whatsappMessageType",
|
|
3444
|
+
"group": "operation",
|
|
3445
|
+
"type": "Dropdown",
|
|
3446
|
+
"optional": false,
|
|
3447
|
+
"choices": [
|
|
3448
|
+
{
|
|
3449
|
+
"name": "Free form message",
|
|
3450
|
+
"value": "whatsappFreeFormMessage"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "Template message",
|
|
3454
|
+
"value": "whatsappTemplateMessage"
|
|
3455
|
+
}
|
|
3456
|
+
],
|
|
3457
|
+
"binding": {
|
|
3458
|
+
"type": "zeebe:input",
|
|
3459
|
+
"name": "whatsappMessageType"
|
|
3460
|
+
},
|
|
3461
|
+
"condition": {
|
|
3462
|
+
"property": "operationType",
|
|
3463
|
+
"equals": "sendWhatsApp"
|
|
3464
|
+
}
|
|
3465
|
+
},
|
|
2146
3466
|
{
|
|
2147
3467
|
"id": "authType",
|
|
2148
3468
|
"label": "Authentication type",
|
|
@@ -2199,7 +3519,7 @@
|
|
|
2199
3519
|
},
|
|
2200
3520
|
"condition": {
|
|
2201
3521
|
"property": "operationType",
|
|
2202
|
-
"
|
|
3522
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
2203
3523
|
}
|
|
2204
3524
|
},
|
|
2205
3525
|
{
|
|
@@ -2223,7 +3543,7 @@
|
|
|
2223
3543
|
},
|
|
2224
3544
|
"condition": {
|
|
2225
3545
|
"property": "operationType",
|
|
2226
|
-
"
|
|
3546
|
+
"oneOf": ["sendSms", "sendWhatsApp"]
|
|
2227
3547
|
},
|
|
2228
3548
|
"optional": false
|
|
2229
3549
|
},
|
|
@@ -2315,6 +3635,166 @@
|
|
|
2315
3635
|
},
|
|
2316
3636
|
"optional": false
|
|
2317
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
|
+
},
|
|
2318
3798
|
{
|
|
2319
3799
|
"label": "Message text",
|
|
2320
3800
|
"description": "The content of the message that will be sent",
|
|
@@ -2330,7 +3810,7 @@
|
|
|
2330
3810
|
},
|
|
2331
3811
|
"condition": {
|
|
2332
3812
|
"property": "operationType",
|
|
2333
|
-
"
|
|
3813
|
+
"equals": "sendSms"
|
|
2334
3814
|
},
|
|
2335
3815
|
"optional": false
|
|
2336
3816
|
},
|
|
@@ -2349,7 +3829,7 @@
|
|
|
2349
3829
|
},
|
|
2350
3830
|
"condition": {
|
|
2351
3831
|
"property": "operationType",
|
|
2352
|
-
"
|
|
3832
|
+
"equals": "sendSms"
|
|
2353
3833
|
},
|
|
2354
3834
|
"optional": false
|
|
2355
3835
|
},
|
|
@@ -2368,7 +3848,7 @@
|
|
|
2368
3848
|
},
|
|
2369
3849
|
"condition": {
|
|
2370
3850
|
"property": "operationType",
|
|
2371
|
-
"
|
|
3851
|
+
"equals": "sendSms"
|
|
2372
3852
|
},
|
|
2373
3853
|
"optional": false
|
|
2374
3854
|
},
|
|
@@ -2509,7 +3989,7 @@
|
|
|
2509
3989
|
},
|
|
2510
3990
|
"condition": {
|
|
2511
3991
|
"property": "operationType",
|
|
2512
|
-
"oneOf": ["sendSms", "listMessages"]
|
|
3992
|
+
"oneOf": ["sendSms", "sendWhatsApp", "listMessages"]
|
|
2513
3993
|
}
|
|
2514
3994
|
},
|
|
2515
3995
|
{
|
|
@@ -2580,7 +4060,7 @@
|
|
|
2580
4060
|
"id": "version",
|
|
2581
4061
|
"label": "Version",
|
|
2582
4062
|
"description": "Version of the element template",
|
|
2583
|
-
"value": "
|
|
4063
|
+
"value": "6",
|
|
2584
4064
|
"group": "connector",
|
|
2585
4065
|
"binding": {
|
|
2586
4066
|
"key": "elementTemplateVersion",
|