@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,332 @@
|
|
|
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": 4,
|
|
7
|
+
"engines": {
|
|
8
|
+
"camunda": "^8.3"
|
|
9
|
+
},
|
|
10
|
+
"description": "Send messages via WhatsApp",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"send message",
|
|
13
|
+
"send plain text",
|
|
14
|
+
"send message template",
|
|
15
|
+
"messaging",
|
|
16
|
+
"chat",
|
|
17
|
+
"mobile messaging",
|
|
18
|
+
"notification"
|
|
19
|
+
],
|
|
20
|
+
"icon": {
|
|
21
|
+
"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"
|
|
22
|
+
},
|
|
23
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/whatsapp/",
|
|
24
|
+
"category": {
|
|
25
|
+
"id": "connectors",
|
|
26
|
+
"name": "Connectors"
|
|
27
|
+
},
|
|
28
|
+
"appliesTo": ["bpmn:Task"],
|
|
29
|
+
"elementType": {
|
|
30
|
+
"value": "bpmn:ServiceTask"
|
|
31
|
+
},
|
|
32
|
+
"groups": [
|
|
33
|
+
{
|
|
34
|
+
"id": "authentication",
|
|
35
|
+
"label": "Authentication"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "input",
|
|
39
|
+
"label": "Payload"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "connector",
|
|
43
|
+
"label": "Connector"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "output",
|
|
47
|
+
"label": "Response mapping"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "errors",
|
|
51
|
+
"label": "Error handling"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"properties": [
|
|
55
|
+
{
|
|
56
|
+
"type": "Hidden",
|
|
57
|
+
"value": "io.camunda:http-json:1",
|
|
58
|
+
"binding": {
|
|
59
|
+
"type": "zeebe:taskDefinition",
|
|
60
|
+
"property": "type"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"label": "Access token",
|
|
65
|
+
"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>",
|
|
66
|
+
"group": "authentication",
|
|
67
|
+
"type": "String",
|
|
68
|
+
"feel": "optional",
|
|
69
|
+
"binding": {
|
|
70
|
+
"type": "zeebe:input",
|
|
71
|
+
"name": "authentication.token"
|
|
72
|
+
},
|
|
73
|
+
"constraints": {
|
|
74
|
+
"notEmpty": true
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"label": "Sender phone number ID",
|
|
79
|
+
"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>",
|
|
80
|
+
"group": "input",
|
|
81
|
+
"type": "String",
|
|
82
|
+
"feel": "optional",
|
|
83
|
+
"binding": {
|
|
84
|
+
"type": "zeebe:input",
|
|
85
|
+
"name": "senderPhoneId"
|
|
86
|
+
},
|
|
87
|
+
"constraints": {
|
|
88
|
+
"notEmpty": true
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"label": "Recipient phone number",
|
|
93
|
+
"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>",
|
|
94
|
+
"group": "input",
|
|
95
|
+
"type": "String",
|
|
96
|
+
"feel": "optional",
|
|
97
|
+
"binding": {
|
|
98
|
+
"type": "zeebe:input",
|
|
99
|
+
"name": "recipientPhoneNumber"
|
|
100
|
+
},
|
|
101
|
+
"constraints": {
|
|
102
|
+
"notEmpty": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"label": "Message type",
|
|
107
|
+
"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>",
|
|
108
|
+
"group": "input",
|
|
109
|
+
"id": "messageType",
|
|
110
|
+
"type": "Dropdown",
|
|
111
|
+
"value": "plainText",
|
|
112
|
+
"choices": [
|
|
113
|
+
{
|
|
114
|
+
"name": "Plain text",
|
|
115
|
+
"value": "plainText"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "Message template",
|
|
119
|
+
"value": "messageTemplate"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"binding": {
|
|
123
|
+
"type": "zeebe:input",
|
|
124
|
+
"name": "messageType"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"label": "Message text",
|
|
129
|
+
"description": "Plain text message to be sent to the recipient",
|
|
130
|
+
"group": "input",
|
|
131
|
+
"type": "Text",
|
|
132
|
+
"feel": "optional",
|
|
133
|
+
"constraints": {
|
|
134
|
+
"notEmpty": true
|
|
135
|
+
},
|
|
136
|
+
"binding": {
|
|
137
|
+
"type": "zeebe:input",
|
|
138
|
+
"name": "messageBody"
|
|
139
|
+
},
|
|
140
|
+
"condition": {
|
|
141
|
+
"property": "messageType",
|
|
142
|
+
"equals": "plainText"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"label": "Template name",
|
|
147
|
+
"description": "An approved WhatsApp template name",
|
|
148
|
+
"group": "input",
|
|
149
|
+
"type": "String",
|
|
150
|
+
"feel": "optional",
|
|
151
|
+
"binding": {
|
|
152
|
+
"type": "zeebe:input",
|
|
153
|
+
"name": "templateName"
|
|
154
|
+
},
|
|
155
|
+
"constraints": {
|
|
156
|
+
"notEmpty": true
|
|
157
|
+
},
|
|
158
|
+
"condition": {
|
|
159
|
+
"property": "messageType",
|
|
160
|
+
"equals": "messageTemplate"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"label": "Template language code",
|
|
165
|
+
"description": "An approved WhatsApp template language code, e.g. en_US",
|
|
166
|
+
"group": "input",
|
|
167
|
+
"type": "String",
|
|
168
|
+
"feel": "optional",
|
|
169
|
+
"binding": {
|
|
170
|
+
"type": "zeebe:input",
|
|
171
|
+
"name": "templateLanguageCode"
|
|
172
|
+
},
|
|
173
|
+
"constraints": {
|
|
174
|
+
"notEmpty": true
|
|
175
|
+
},
|
|
176
|
+
"condition": {
|
|
177
|
+
"property": "messageType",
|
|
178
|
+
"equals": "messageTemplate"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"label": "Header variables",
|
|
183
|
+
"description": "Header variables if supported by template",
|
|
184
|
+
"value": "=[]",
|
|
185
|
+
"group": "input",
|
|
186
|
+
"type": "Text",
|
|
187
|
+
"feel": "required",
|
|
188
|
+
"optional": true,
|
|
189
|
+
"binding": {
|
|
190
|
+
"type": "zeebe:input",
|
|
191
|
+
"name": "headerParameters"
|
|
192
|
+
},
|
|
193
|
+
"constraints": {
|
|
194
|
+
"notEmpty": false
|
|
195
|
+
},
|
|
196
|
+
"condition": {
|
|
197
|
+
"property": "messageType",
|
|
198
|
+
"equals": "messageTemplate"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"label": "Body variables",
|
|
203
|
+
"description": "Body variables if supported by template",
|
|
204
|
+
"value": "=[]",
|
|
205
|
+
"group": "input",
|
|
206
|
+
"type": "Text",
|
|
207
|
+
"feel": "required",
|
|
208
|
+
"optional": true,
|
|
209
|
+
"binding": {
|
|
210
|
+
"type": "zeebe:input",
|
|
211
|
+
"name": "bodyParameters"
|
|
212
|
+
},
|
|
213
|
+
"constraints": {
|
|
214
|
+
"notEmpty": false
|
|
215
|
+
},
|
|
216
|
+
"condition": {
|
|
217
|
+
"property": "messageType",
|
|
218
|
+
"equals": "messageTemplate"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"value": "bearer",
|
|
223
|
+
"type": "Hidden",
|
|
224
|
+
"binding": {
|
|
225
|
+
"type": "zeebe:input",
|
|
226
|
+
"name": "authentication.type"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"type": "Hidden",
|
|
231
|
+
"value": "post",
|
|
232
|
+
"binding": {
|
|
233
|
+
"type": "zeebe:input",
|
|
234
|
+
"name": "method"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "Hidden",
|
|
239
|
+
"value": "=\"https://graph.facebook.com/v17.0/\"+senderPhoneId+\"/messages\"",
|
|
240
|
+
"binding": {
|
|
241
|
+
"type": "zeebe:input",
|
|
242
|
+
"name": "url"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "Hidden",
|
|
247
|
+
"value": "={\"messaging_product\":\"whatsapp\",\"recipient_type\":\"individual\",\"to\":recipientPhoneNumber,\"type\":\"text\", \"text\":{\"preview_url\":false, \"body\":messageBody}}",
|
|
248
|
+
"binding": {
|
|
249
|
+
"type": "zeebe:input",
|
|
250
|
+
"name": "body"
|
|
251
|
+
},
|
|
252
|
+
"condition": {
|
|
253
|
+
"property": "messageType",
|
|
254
|
+
"equals": "plainText"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "Hidden",
|
|
259
|
+
"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}]}}",
|
|
260
|
+
"binding": {
|
|
261
|
+
"type": "zeebe:input",
|
|
262
|
+
"name": "body"
|
|
263
|
+
},
|
|
264
|
+
"condition": {
|
|
265
|
+
"property": "messageType",
|
|
266
|
+
"equals": "messageTemplate"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"label": "Result variable",
|
|
271
|
+
"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>",
|
|
272
|
+
"group": "output",
|
|
273
|
+
"type": "String",
|
|
274
|
+
"binding": {
|
|
275
|
+
"type": "zeebe:taskHeader",
|
|
276
|
+
"key": "resultVariable"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"label": "Result expression",
|
|
281
|
+
"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>",
|
|
282
|
+
"group": "output",
|
|
283
|
+
"type": "Text",
|
|
284
|
+
"feel": "required",
|
|
285
|
+
"binding": {
|
|
286
|
+
"type": "zeebe:taskHeader",
|
|
287
|
+
"key": "resultExpression"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"label": "Error expression",
|
|
292
|
+
"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>",
|
|
293
|
+
"group": "errors",
|
|
294
|
+
"type": "Text",
|
|
295
|
+
"feel": "required",
|
|
296
|
+
"binding": {
|
|
297
|
+
"type": "zeebe:taskHeader",
|
|
298
|
+
"key": "errorExpression"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "version",
|
|
303
|
+
"label": "Version",
|
|
304
|
+
"description": "Version of the element template",
|
|
305
|
+
"value": "3",
|
|
306
|
+
"group": "connector",
|
|
307
|
+
"binding": {
|
|
308
|
+
"key": "elementTemplateVersion",
|
|
309
|
+
"type": "zeebe:taskHeader"
|
|
310
|
+
},
|
|
311
|
+
"type": "Hidden"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "id",
|
|
315
|
+
"label": "ID",
|
|
316
|
+
"description": "ID of the element template",
|
|
317
|
+
"value": "io.camunda.connectors.WhatsApp.v1",
|
|
318
|
+
"group": "connector",
|
|
319
|
+
"binding": {
|
|
320
|
+
"key": "elementTemplateId",
|
|
321
|
+
"type": "zeebe:taskHeader"
|
|
322
|
+
},
|
|
323
|
+
"type": "Hidden"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
329
|
+
"name": "WhatsApp Business Connector",
|
|
330
|
+
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
331
|
+
"version": 1,
|
|
7
332
|
"description": "Send messages via WhatsApp",
|
|
8
333
|
"icon": {
|
|
9
334
|
"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"
|
|
@@ -281,7 +606,7 @@
|
|
|
281
606
|
},
|
|
282
607
|
{
|
|
283
608
|
"label": "Error expression",
|
|
284
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
609
|
+
"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>",
|
|
285
610
|
"group": "errors",
|
|
286
611
|
"type": "Text",
|
|
287
612
|
"feel": "required",
|
|
@@ -297,9 +622,9 @@
|
|
|
297
622
|
},
|
|
298
623
|
{
|
|
299
624
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
300
|
-
"name": "WhatsApp Business Connector",
|
|
625
|
+
"name": "WhatsApp Business Outbound Connector",
|
|
301
626
|
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
302
|
-
"version":
|
|
627
|
+
"version": 2,
|
|
303
628
|
"description": "Send messages via WhatsApp",
|
|
304
629
|
"icon": {
|
|
305
630
|
"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"
|
|
@@ -577,7 +902,7 @@
|
|
|
577
902
|
},
|
|
578
903
|
{
|
|
579
904
|
"label": "Error expression",
|
|
580
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
905
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
|
|
581
906
|
"group": "errors",
|
|
582
907
|
"type": "Text",
|
|
583
908
|
"feel": "required",
|
|
@@ -600,6 +925,15 @@
|
|
|
600
925
|
"camunda": "^8.3"
|
|
601
926
|
},
|
|
602
927
|
"description": "Send messages via WhatsApp",
|
|
928
|
+
"keywords": [
|
|
929
|
+
"send message",
|
|
930
|
+
"send plain text",
|
|
931
|
+
"send message template",
|
|
932
|
+
"messaging",
|
|
933
|
+
"chat",
|
|
934
|
+
"mobile messaging",
|
|
935
|
+
"notification"
|
|
936
|
+
],
|
|
603
937
|
"icon": {
|
|
604
938
|
"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"
|
|
605
939
|
},
|