@camunda/connectors-element-templates 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/connectors-template.js +1 -3
- package/src/connectors.js +4 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +43 -43
- package/src/element-templates/agenticai-aiagent-job-worker.json +2230 -222
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6281 -4356
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +718 -36
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2394 -949
- package/src/element-templates/app-integrations-connector.json +1047 -0
- package/src/element-templates/asana-connector.json +943 -109
- package/src/element-templates/automation-anywhere-outbound-connector.json +2240 -1747
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1068 -30
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +386 -5
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +442 -5
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +417 -5
- package/src/element-templates/aws-bedrock-outbound-connector.json +2273 -623
- package/src/element-templates/aws-comprehend-outbound-connector.json +1573 -1
- package/src/element-templates/aws-dynamodb-outbound-connector.json +2950 -162
- package/src/element-templates/aws-eventbridge-connector-boundary.json +40 -40
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
- package/src/element-templates/aws-eventbridge-connector-start-event.json +33 -33
- package/src/element-templates/aws-eventbridge-outbound-connector.json +838 -424
- package/src/element-templates/aws-lambda-outbound-connector.json +495 -96
- package/src/element-templates/aws-s3-outbound-connector.json +2238 -44
- package/src/element-templates/aws-sagemaker-outbound-connector.json +681 -52
- package/src/element-templates/aws-sns-inbound-boundary.json +4 -3
- package/src/element-templates/aws-sns-inbound-intermediate.json +341 -340
- package/src/element-templates/aws-sns-inbound-message-start.json +241 -240
- package/src/element-templates/aws-sns-inbound-receive.json +4 -3
- package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
- package/src/element-templates/aws-sns-outbound-connector.json +581 -124
- package/src/element-templates/aws-sqs-boundary-connector.json +939 -420
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +851 -332
- package/src/element-templates/aws-sqs-outbound-connector.json +589 -136
- package/src/element-templates/aws-sqs-receive-connector.json +525 -7
- package/src/element-templates/aws-sqs-start-event-connector.json +380 -380
- package/src/element-templates/aws-sqs-start-message.json +736 -185
- package/src/element-templates/aws-textract-outbound-connector.json +866 -131
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
- package/src/element-templates/azure-open-ai-connector.json +1371 -8
- package/src/element-templates/blue-prism-connector.json +609 -30
- package/src/element-templates/box-outbound-connector.json +2356 -272
- package/src/element-templates/csv-outbound-connector.json +449 -0
- package/src/element-templates/easy-post-connector.json +1251 -170
- package/src/element-templates/email-outbound-connector.json +3087 -1013
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +2161 -1
- package/src/element-templates/github-connector.json +18554 -14368
- package/src/element-templates/github-webhook-connector-boundary.json +24 -24
- package/src/element-templates/github-webhook-connector-intermediate.json +8 -8
- package/src/element-templates/github-webhook-connector-message-start.json +8 -8
- package/src/element-templates/github-webhook-connector-receive.json +8 -8
- package/src/element-templates/github-webhook-connector-start-event.json +58 -58
- package/src/element-templates/gitlab-connector.json +3022 -1120
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1447 -240
- package/src/element-templates/google-drive-outbound-connector.json +2980 -1428
- package/src/element-templates/google-gemini-outbound-connector.json +41 -55
- package/src/element-templates/google-maps-platform-connector.json +688 -137
- package/src/element-templates/google-sheets-outbound-connector.json +3186 -2030
- package/src/element-templates/graphql-outbound-connector.json +4149 -1485
- package/src/element-templates/http-json-connector.json +6143 -2053
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +2426 -364
- package/src/element-templates/http-polling-connector.json +3312 -1250
- package/src/element-templates/hubspot-outbound-connector.json +2817 -67
- package/src/element-templates/hugging-face-connector.json +83 -82
- package/src/element-templates/jdbc-outbound-connector.json +506 -9
- package/src/element-templates/kafka-inbound-connector-boundary.json +968 -971
- package/src/element-templates/kafka-inbound-connector-intermediate.json +53 -56
- package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
- package/src/element-templates/kafka-inbound-connector-start-message.json +545 -548
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +304 -308
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
- package/src/element-templates/microsoft-office365-mail-connector.json +2077 -35
- package/src/element-templates/microsoft-teams-outbound-connector.json +2897 -456
- package/src/element-templates/openai-connector.json +701 -207
- package/src/element-templates/operate-connector.json +83 -86
- package/src/element-templates/orchestration-connector.json +1843 -0
- package/src/element-templates/power-automate-connector.json +62 -62
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +772 -774
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +456 -458
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +573 -575
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +347 -347
- package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
- package/src/element-templates/rpa-connector.json +6 -6
- package/src/element-templates/salesforce-connector.json +653 -19
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +301 -1
- package/src/element-templates/send-message-connector-message-end-event.json +301 -1
- package/src/element-templates/send-message-connector-send-task.json +300 -1
- package/src/element-templates/sendgrid-outbound-connector.json +790 -790
- package/src/element-templates/servicenow-connector.json +1364 -7
- package/src/element-templates/servicenow-flow-starter-connector.json +16 -16
- package/src/element-templates/servicenow-incident-connector.json +1075 -29
- package/src/element-templates/slack-inbound-boundary.json +493 -493
- package/src/element-templates/slack-inbound-intermediate.json +448 -448
- package/src/element-templates/slack-inbound-message-start.json +369 -369
- package/src/element-templates/slack-inbound-receive.json +2 -2
- package/src/element-templates/slack-inbound-start-event.json +328 -328
- package/src/element-templates/slack-outbound-connector.json +2365 -1262
- package/src/element-templates/soap-outbound-connector.json +113 -117
- package/src/element-templates/twilio-connector.json +1186 -373
- package/src/element-templates/twilio-webhook-boundary-connector.json +9 -10
- package/src/element-templates/twilio-webhook-connector.json +60 -61
- package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -32
- package/src/element-templates/twilio-webhook-message-start-connector.json +10 -11
- package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
- package/src/element-templates/uipath-connector.json +668 -50
- package/src/element-templates/webhook-connector-boundary.json +1040 -385
- package/src/element-templates/webhook-connector-intermediate.json +2100 -1445
- package/src/element-templates/webhook-connector-receive.json +659 -5
- package/src/element-templates/webhook-connector-start-event.json +1860 -1299
- package/src/element-templates/webhook-connector-start-message.json +1535 -848
- package/src/element-templates/whatsapp-connector.json +393 -23
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
4
|
"name": "WhatsApp Business Outbound Connector",
|
|
5
5
|
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
6
|
-
"version":
|
|
6
|
+
"version": 5,
|
|
7
7
|
"engines": {
|
|
8
8
|
"camunda": "^8.3"
|
|
9
9
|
},
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
},
|
|
32
32
|
"groups": [
|
|
33
33
|
{
|
|
34
|
-
"id": "
|
|
35
|
-
"label": "
|
|
34
|
+
"id": "operation",
|
|
35
|
+
"label": "Operation"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"id": "
|
|
39
|
-
"label": "
|
|
38
|
+
"id": "authentication",
|
|
39
|
+
"label": "Authentication"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"id": "input",
|
|
43
43
|
"label": "Payload"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
"id": "
|
|
47
|
-
"label": "
|
|
46
|
+
"id": "connector",
|
|
47
|
+
"label": "Connector"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"id": "output",
|
|
@@ -60,12 +60,13 @@
|
|
|
60
60
|
"type": "Hidden",
|
|
61
61
|
"value": "io.camunda:http-json:1",
|
|
62
62
|
"binding": {
|
|
63
|
-
"type": "zeebe:taskDefinition
|
|
63
|
+
"type": "zeebe:taskDefinition",
|
|
64
|
+
"property": "type"
|
|
64
65
|
}
|
|
65
66
|
},
|
|
66
67
|
{
|
|
67
68
|
"label": "Access token",
|
|
68
|
-
"
|
|
69
|
+
"tooltip": "Temporary or permanent WhatsApp application access token. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>WhatsApp connector documentation</a>",
|
|
69
70
|
"group": "authentication",
|
|
70
71
|
"type": "String",
|
|
71
72
|
"feel": "optional",
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
},
|
|
80
81
|
{
|
|
81
82
|
"label": "Sender phone number ID",
|
|
82
|
-
"
|
|
83
|
+
"tooltip": "A phone number ID registered in your WhatsApp application. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>WhatsApp connector documentation</a>",
|
|
83
84
|
"group": "input",
|
|
84
85
|
"type": "String",
|
|
85
86
|
"feel": "optional",
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
},
|
|
94
95
|
{
|
|
95
96
|
"label": "Recipient phone number",
|
|
96
|
-
"
|
|
97
|
+
"tooltip": "A phone number that should receive a message. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>WhatsApp connector documentation</a>",
|
|
97
98
|
"group": "input",
|
|
98
99
|
"type": "String",
|
|
99
100
|
"feel": "optional",
|
|
@@ -107,11 +108,11 @@
|
|
|
107
108
|
},
|
|
108
109
|
{
|
|
109
110
|
"label": "Message type",
|
|
110
|
-
"
|
|
111
|
-
"group": "
|
|
111
|
+
"tooltip": "Choose whether to send arbitrary plain text or an approved WhatsApp message template. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>WhatsApp connector documentation</a>",
|
|
112
|
+
"group": "operation",
|
|
112
113
|
"id": "messageType",
|
|
113
114
|
"type": "Dropdown",
|
|
114
|
-
"value": "
|
|
115
|
+
"value": "plainText",
|
|
115
116
|
"choices": [
|
|
116
117
|
{
|
|
117
118
|
"name": "Plain text",
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
},
|
|
130
131
|
{
|
|
131
132
|
"label": "Message text",
|
|
132
|
-
"
|
|
133
|
+
"tooltip": "Plain text message to be sent to the recipient",
|
|
133
134
|
"group": "input",
|
|
134
135
|
"type": "Text",
|
|
135
136
|
"feel": "optional",
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
},
|
|
148
149
|
{
|
|
149
150
|
"label": "Template name",
|
|
150
|
-
"
|
|
151
|
+
"tooltip": "An approved WhatsApp template name",
|
|
151
152
|
"group": "input",
|
|
152
153
|
"type": "String",
|
|
153
154
|
"feel": "optional",
|
|
@@ -165,7 +166,8 @@
|
|
|
165
166
|
},
|
|
166
167
|
{
|
|
167
168
|
"label": "Template language code",
|
|
168
|
-
"
|
|
169
|
+
"placeholder": "en_US",
|
|
170
|
+
"tooltip": "An approved WhatsApp template language code",
|
|
169
171
|
"group": "input",
|
|
170
172
|
"type": "String",
|
|
171
173
|
"feel": "optional",
|
|
@@ -183,7 +185,7 @@
|
|
|
183
185
|
},
|
|
184
186
|
{
|
|
185
187
|
"label": "Header variables",
|
|
186
|
-
"
|
|
188
|
+
"tooltip": "Values for the header variables, only if the template header uses any",
|
|
187
189
|
"value": "=[]",
|
|
188
190
|
"group": "input",
|
|
189
191
|
"type": "Text",
|
|
@@ -203,7 +205,7 @@
|
|
|
203
205
|
},
|
|
204
206
|
{
|
|
205
207
|
"label": "Body variables",
|
|
206
|
-
"
|
|
208
|
+
"tooltip": "Values for the body variables, only if the template body uses any",
|
|
207
209
|
"value": "=[]",
|
|
208
210
|
"group": "input",
|
|
209
211
|
"type": "Text",
|
|
@@ -271,7 +273,7 @@
|
|
|
271
273
|
},
|
|
272
274
|
{
|
|
273
275
|
"label": "Result variable",
|
|
274
|
-
"
|
|
276
|
+
"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>",
|
|
275
277
|
"group": "output",
|
|
276
278
|
"type": "String",
|
|
277
279
|
"binding": {
|
|
@@ -281,7 +283,7 @@
|
|
|
281
283
|
},
|
|
282
284
|
{
|
|
283
285
|
"label": "Result expression",
|
|
284
|
-
"
|
|
286
|
+
"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>",
|
|
285
287
|
"group": "output",
|
|
286
288
|
"type": "Text",
|
|
287
289
|
"feel": "required",
|
|
@@ -292,7 +294,7 @@
|
|
|
292
294
|
},
|
|
293
295
|
{
|
|
294
296
|
"label": "Error expression",
|
|
295
|
-
"
|
|
297
|
+
"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>",
|
|
296
298
|
"group": "errors",
|
|
297
299
|
"type": "Text",
|
|
298
300
|
"feel": "required",
|
|
@@ -305,7 +307,7 @@
|
|
|
305
307
|
"id": "version",
|
|
306
308
|
"label": "Version",
|
|
307
309
|
"description": "Version of the element template",
|
|
308
|
-
"value": "
|
|
310
|
+
"value": "5",
|
|
309
311
|
"group": "connector",
|
|
310
312
|
"binding": {
|
|
311
313
|
"key": "elementTemplateVersion",
|
|
@@ -325,6 +327,46 @@
|
|
|
325
327
|
},
|
|
326
328
|
"type": "Hidden"
|
|
327
329
|
}
|
|
330
|
+
],
|
|
331
|
+
"steps": [
|
|
332
|
+
{
|
|
333
|
+
"name": "Send plain text message",
|
|
334
|
+
"description": "Send a plain text message to a recipient's phone number via WhatsApp",
|
|
335
|
+
"keywords": [
|
|
336
|
+
"send plain text",
|
|
337
|
+
"text message",
|
|
338
|
+
"send message",
|
|
339
|
+
"chat notification",
|
|
340
|
+
"notify recipient"
|
|
341
|
+
],
|
|
342
|
+
"presetId": "messageType_plainText"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "Send message template",
|
|
346
|
+
"description": "Send a pre-approved message template with optional header and body variables via WhatsApp",
|
|
347
|
+
"keywords": [
|
|
348
|
+
"send message template",
|
|
349
|
+
"template message",
|
|
350
|
+
"approved template",
|
|
351
|
+
"notification template",
|
|
352
|
+
"structured message"
|
|
353
|
+
],
|
|
354
|
+
"presetId": "messageType_messageTemplate"
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"presets": [
|
|
358
|
+
{
|
|
359
|
+
"id": "messageType_plainText",
|
|
360
|
+
"properties": {
|
|
361
|
+
"messageType": "plainText"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"id": "messageType_messageTemplate",
|
|
366
|
+
"properties": {
|
|
367
|
+
"messageType": "messageTemplate"
|
|
368
|
+
}
|
|
369
|
+
}
|
|
328
370
|
]
|
|
329
371
|
},
|
|
330
372
|
{
|
|
@@ -1218,6 +1260,334 @@
|
|
|
1218
1260
|
"key": "errorExpression"
|
|
1219
1261
|
}
|
|
1220
1262
|
},
|
|
1263
|
+
{
|
|
1264
|
+
"id": "version",
|
|
1265
|
+
"label": "Version",
|
|
1266
|
+
"description": "Version of the element template",
|
|
1267
|
+
"value": "4",
|
|
1268
|
+
"group": "connector",
|
|
1269
|
+
"binding": {
|
|
1270
|
+
"key": "elementTemplateVersion",
|
|
1271
|
+
"type": "zeebe:taskHeader"
|
|
1272
|
+
},
|
|
1273
|
+
"type": "Hidden"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"id": "id",
|
|
1277
|
+
"label": "ID",
|
|
1278
|
+
"description": "ID of the element template",
|
|
1279
|
+
"value": "io.camunda.connectors.WhatsApp.v1",
|
|
1280
|
+
"group": "connector",
|
|
1281
|
+
"binding": {
|
|
1282
|
+
"key": "elementTemplateId",
|
|
1283
|
+
"type": "zeebe:taskHeader"
|
|
1284
|
+
},
|
|
1285
|
+
"type": "Hidden"
|
|
1286
|
+
}
|
|
1287
|
+
]
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1291
|
+
"name": "WhatsApp Business Outbound Connector",
|
|
1292
|
+
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
1293
|
+
"version": 3,
|
|
1294
|
+
"engines": {
|
|
1295
|
+
"camunda": "^8.3"
|
|
1296
|
+
},
|
|
1297
|
+
"description": "Send messages via WhatsApp",
|
|
1298
|
+
"keywords": [
|
|
1299
|
+
"send message",
|
|
1300
|
+
"send plain text",
|
|
1301
|
+
"send message template",
|
|
1302
|
+
"messaging",
|
|
1303
|
+
"chat",
|
|
1304
|
+
"mobile messaging",
|
|
1305
|
+
"notification"
|
|
1306
|
+
],
|
|
1307
|
+
"icon": {
|
|
1308
|
+
"contents": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 175.216 175.552'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='85.915' x2='86.535' y1='32.567' y2='137.092' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%2357d163'/%3E%3Cstop offset='1' stop-color='%2323b33a'/%3E%3C/linearGradient%3E%3Cfilter id='a' width='1.115' height='1.114' x='-.057' y='-.057' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='3.531'/%3E%3C/filter%3E%3C/defs%3E%3Cpath fill='%23b3b3b3' d='m54.532 138.45 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.523h.023c33.707 0 61.139-27.426 61.153-61.135.006-16.335-6.349-31.696-17.895-43.251A60.75 60.75 0 0 0 87.94 25.983c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.558zm-40.811 23.544L24.16 123.88c-6.438-11.154-9.825-23.808-9.821-36.772.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954zm0 0' filter='url(%23a)'/%3E%3Cpath fill='%23fff' d='m12.966 161.238 10.439-38.114a73.42 73.42 0 0 1-9.821-36.772c.017-40.556 33.021-73.55 73.578-73.55 19.681.01 38.154 7.669 52.047 21.572s21.537 32.383 21.53 52.037c-.018 40.553-33.027 73.553-73.578 73.553h-.032c-12.313-.005-24.412-3.094-35.159-8.954z'/%3E%3Cpath fill='url(%23linearGradient1780)' d='M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.312-6.179 22.559 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.518 31.126 8.524h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.929z'/%3E%3Cpath fill='url(%23b)' d='M87.184 25.227c-33.733 0-61.166 27.423-61.178 61.13a60.98 60.98 0 0 0 9.349 32.535l1.455 2.313-6.179 22.558 23.146-6.069 2.235 1.324c9.387 5.571 20.15 8.517 31.126 8.523h.023c33.707 0 61.14-27.426 61.153-61.135a60.75 60.75 0 0 0-17.895-43.251 60.75 60.75 0 0 0-43.235-17.928z'/%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M68.772 55.603c-1.378-3.061-2.828-3.123-4.137-3.176l-3.524-.043c-1.226 0-3.218.46-4.902 2.3s-6.435 6.287-6.435 15.332 6.588 17.785 7.506 19.013 12.718 20.381 31.405 27.75c15.529 6.124 18.689 4.906 22.061 4.6s10.877-4.447 12.408-8.74 1.532-7.971 1.073-8.74-1.685-1.226-3.525-2.146-10.877-5.367-12.562-5.981-2.91-.919-4.137.921-4.746 5.979-5.819 7.206-2.144 1.381-3.984.462-7.76-2.861-14.784-9.124c-5.465-4.873-9.154-10.891-10.228-12.73s-.114-2.835.808-3.751c.825-.824 1.838-2.147 2.759-3.22s1.224-1.84 1.836-3.065.307-2.301-.153-3.22-4.032-10.011-5.666-13.647'/%3E%3C/svg%3E"
|
|
1309
|
+
},
|
|
1310
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/",
|
|
1311
|
+
"category": {
|
|
1312
|
+
"id": "connectors",
|
|
1313
|
+
"name": "Connectors"
|
|
1314
|
+
},
|
|
1315
|
+
"appliesTo": ["bpmn:Task"],
|
|
1316
|
+
"elementType": {
|
|
1317
|
+
"value": "bpmn:ServiceTask"
|
|
1318
|
+
},
|
|
1319
|
+
"groups": [
|
|
1320
|
+
{
|
|
1321
|
+
"id": "authentication",
|
|
1322
|
+
"label": "Authentication"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"id": "endpoint",
|
|
1326
|
+
"label": "HTTP endpoint"
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"id": "input",
|
|
1330
|
+
"label": "Payload"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"id": "timeout",
|
|
1334
|
+
"label": "Connect timeout"
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"id": "output",
|
|
1338
|
+
"label": "Response mapping"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"id": "errors",
|
|
1342
|
+
"label": "Error handling"
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"properties": [
|
|
1346
|
+
{
|
|
1347
|
+
"type": "Hidden",
|
|
1348
|
+
"value": "io.camunda:http-json:1",
|
|
1349
|
+
"binding": {
|
|
1350
|
+
"type": "zeebe:taskDefinition:type"
|
|
1351
|
+
}
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"label": "Access token",
|
|
1355
|
+
"description": "Temporary or permanent WhatsApp application access token. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>See documentation</a>",
|
|
1356
|
+
"group": "authentication",
|
|
1357
|
+
"type": "String",
|
|
1358
|
+
"feel": "optional",
|
|
1359
|
+
"binding": {
|
|
1360
|
+
"type": "zeebe:input",
|
|
1361
|
+
"name": "authentication.token"
|
|
1362
|
+
},
|
|
1363
|
+
"constraints": {
|
|
1364
|
+
"notEmpty": true
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"label": "Sender phone number ID",
|
|
1369
|
+
"description": "A phone number ID registered in your WhatsApp application. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>See documentation</a>",
|
|
1370
|
+
"group": "input",
|
|
1371
|
+
"type": "String",
|
|
1372
|
+
"feel": "optional",
|
|
1373
|
+
"binding": {
|
|
1374
|
+
"type": "zeebe:input",
|
|
1375
|
+
"name": "senderPhoneId"
|
|
1376
|
+
},
|
|
1377
|
+
"constraints": {
|
|
1378
|
+
"notEmpty": true
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"label": "Recipient phone number",
|
|
1383
|
+
"description": "A phone number that should receive a message. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>See documentation</a>",
|
|
1384
|
+
"group": "input",
|
|
1385
|
+
"type": "String",
|
|
1386
|
+
"feel": "optional",
|
|
1387
|
+
"binding": {
|
|
1388
|
+
"type": "zeebe:input",
|
|
1389
|
+
"name": "recipientPhoneNumber"
|
|
1390
|
+
},
|
|
1391
|
+
"constraints": {
|
|
1392
|
+
"notEmpty": true
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"label": "Message type",
|
|
1397
|
+
"description": "Choose message type you wish to send. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/' target='_blank'>See documentation</a>",
|
|
1398
|
+
"group": "input",
|
|
1399
|
+
"id": "messageType",
|
|
1400
|
+
"type": "Dropdown",
|
|
1401
|
+
"value": "messageType",
|
|
1402
|
+
"choices": [
|
|
1403
|
+
{
|
|
1404
|
+
"name": "Plain text",
|
|
1405
|
+
"value": "plainText"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "Message template",
|
|
1409
|
+
"value": "messageTemplate"
|
|
1410
|
+
}
|
|
1411
|
+
],
|
|
1412
|
+
"binding": {
|
|
1413
|
+
"type": "zeebe:input",
|
|
1414
|
+
"name": "messageType"
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"label": "Message text",
|
|
1419
|
+
"description": "Plain text message to be sent to the recipient",
|
|
1420
|
+
"group": "input",
|
|
1421
|
+
"type": "Text",
|
|
1422
|
+
"feel": "optional",
|
|
1423
|
+
"constraints": {
|
|
1424
|
+
"notEmpty": true
|
|
1425
|
+
},
|
|
1426
|
+
"binding": {
|
|
1427
|
+
"type": "zeebe:input",
|
|
1428
|
+
"name": "messageBody"
|
|
1429
|
+
},
|
|
1430
|
+
"condition": {
|
|
1431
|
+
"property": "messageType",
|
|
1432
|
+
"equals": "plainText"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"label": "Template name",
|
|
1437
|
+
"description": "An approved WhatsApp template name",
|
|
1438
|
+
"group": "input",
|
|
1439
|
+
"type": "String",
|
|
1440
|
+
"feel": "optional",
|
|
1441
|
+
"binding": {
|
|
1442
|
+
"type": "zeebe:input",
|
|
1443
|
+
"name": "templateName"
|
|
1444
|
+
},
|
|
1445
|
+
"constraints": {
|
|
1446
|
+
"notEmpty": true
|
|
1447
|
+
},
|
|
1448
|
+
"condition": {
|
|
1449
|
+
"property": "messageType",
|
|
1450
|
+
"equals": "messageTemplate"
|
|
1451
|
+
}
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"label": "Template language code",
|
|
1455
|
+
"description": "An approved WhatsApp template language code, e.g. en_US",
|
|
1456
|
+
"group": "input",
|
|
1457
|
+
"type": "String",
|
|
1458
|
+
"feel": "optional",
|
|
1459
|
+
"binding": {
|
|
1460
|
+
"type": "zeebe:input",
|
|
1461
|
+
"name": "templateLanguageCode"
|
|
1462
|
+
},
|
|
1463
|
+
"constraints": {
|
|
1464
|
+
"notEmpty": true
|
|
1465
|
+
},
|
|
1466
|
+
"condition": {
|
|
1467
|
+
"property": "messageType",
|
|
1468
|
+
"equals": "messageTemplate"
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"label": "Header variables",
|
|
1473
|
+
"description": "Header variables if supported by template",
|
|
1474
|
+
"value": "=[]",
|
|
1475
|
+
"group": "input",
|
|
1476
|
+
"type": "Text",
|
|
1477
|
+
"feel": "required",
|
|
1478
|
+
"optional": true,
|
|
1479
|
+
"binding": {
|
|
1480
|
+
"type": "zeebe:input",
|
|
1481
|
+
"name": "headerParameters"
|
|
1482
|
+
},
|
|
1483
|
+
"constraints": {
|
|
1484
|
+
"notEmpty": false
|
|
1485
|
+
},
|
|
1486
|
+
"condition": {
|
|
1487
|
+
"property": "messageType",
|
|
1488
|
+
"equals": "messageTemplate"
|
|
1489
|
+
}
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"label": "Body variables",
|
|
1493
|
+
"description": "Body variables if supported by template",
|
|
1494
|
+
"value": "=[]",
|
|
1495
|
+
"group": "input",
|
|
1496
|
+
"type": "Text",
|
|
1497
|
+
"feel": "required",
|
|
1498
|
+
"optional": true,
|
|
1499
|
+
"binding": {
|
|
1500
|
+
"type": "zeebe:input",
|
|
1501
|
+
"name": "bodyParameters"
|
|
1502
|
+
},
|
|
1503
|
+
"constraints": {
|
|
1504
|
+
"notEmpty": false
|
|
1505
|
+
},
|
|
1506
|
+
"condition": {
|
|
1507
|
+
"property": "messageType",
|
|
1508
|
+
"equals": "messageTemplate"
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"value": "bearer",
|
|
1513
|
+
"type": "Hidden",
|
|
1514
|
+
"binding": {
|
|
1515
|
+
"type": "zeebe:input",
|
|
1516
|
+
"name": "authentication.type"
|
|
1517
|
+
}
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"type": "Hidden",
|
|
1521
|
+
"value": "post",
|
|
1522
|
+
"binding": {
|
|
1523
|
+
"type": "zeebe:input",
|
|
1524
|
+
"name": "method"
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"type": "Hidden",
|
|
1529
|
+
"value": "=\"https://graph.facebook.com/v17.0/\"+senderPhoneId+\"/messages\"",
|
|
1530
|
+
"binding": {
|
|
1531
|
+
"type": "zeebe:input",
|
|
1532
|
+
"name": "url"
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"type": "Hidden",
|
|
1537
|
+
"value": "={\"messaging_product\":\"whatsapp\",\"recipient_type\":\"individual\",\"to\":recipientPhoneNumber,\"type\":\"text\", \"text\":{\"preview_url\":false, \"body\":messageBody}}",
|
|
1538
|
+
"binding": {
|
|
1539
|
+
"type": "zeebe:input",
|
|
1540
|
+
"name": "body"
|
|
1541
|
+
},
|
|
1542
|
+
"condition": {
|
|
1543
|
+
"property": "messageType",
|
|
1544
|
+
"equals": "plainText"
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"type": "Hidden",
|
|
1549
|
+
"value": "={\"messaging_product\":\"whatsapp\",\"recipient_type\":\"individual\",\"to\":recipientPhoneNumber,\"type\":\"template\", \"template\": {\"name\":templateName, \"language\": { \"code\": templateLanguageCode}, \"components\":[{\"type\":\"header\", \"parameters\":headerParameters}, {\"type\":\"body\", \"parameters\":bodyParameters}]}}",
|
|
1550
|
+
"binding": {
|
|
1551
|
+
"type": "zeebe:input",
|
|
1552
|
+
"name": "body"
|
|
1553
|
+
},
|
|
1554
|
+
"condition": {
|
|
1555
|
+
"property": "messageType",
|
|
1556
|
+
"equals": "messageTemplate"
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
"label": "Result variable",
|
|
1561
|
+
"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>",
|
|
1562
|
+
"group": "output",
|
|
1563
|
+
"type": "String",
|
|
1564
|
+
"binding": {
|
|
1565
|
+
"type": "zeebe:taskHeader",
|
|
1566
|
+
"key": "resultVariable"
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"label": "Result expression",
|
|
1571
|
+
"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>",
|
|
1572
|
+
"group": "output",
|
|
1573
|
+
"type": "Text",
|
|
1574
|
+
"feel": "required",
|
|
1575
|
+
"binding": {
|
|
1576
|
+
"type": "zeebe:taskHeader",
|
|
1577
|
+
"key": "resultExpression"
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"label": "Error expression",
|
|
1582
|
+
"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>",
|
|
1583
|
+
"group": "errors",
|
|
1584
|
+
"type": "Text",
|
|
1585
|
+
"feel": "required",
|
|
1586
|
+
"binding": {
|
|
1587
|
+
"type": "zeebe:taskHeader",
|
|
1588
|
+
"key": "errorExpression"
|
|
1589
|
+
}
|
|
1590
|
+
},
|
|
1221
1591
|
{
|
|
1222
1592
|
"id": "version",
|
|
1223
1593
|
"label": "Version",
|