@camunda/connectors-element-templates 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/connectors.js +12 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +4 -7
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +9 -12
- package/src/element-templates/agenticai-aiagent-job-worker.json +3770 -29
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6274 -2594
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +549 -552
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +736 -739
- package/src/element-templates/asana-connector.json +759 -48
- package/src/element-templates/automation-anywhere-outbound-connector.json +1763 -1759
- 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 +747 -10
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1358 -1358
- package/src/element-templates/aws-eventbridge-connector-boundary.json +383 -18
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +377 -12
- package/src/element-templates/aws-eventbridge-connector-message-start.json +407 -8
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
- package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
- package/src/element-templates/aws-lambda-outbound-connector.json +238 -234
- package/src/element-templates/aws-s3-outbound-connector.json +646 -5
- package/src/element-templates/aws-sagemaker-outbound-connector.json +13 -9
- package/src/element-templates/aws-sns-inbound-boundary.json +44 -37
- package/src/element-templates/aws-sns-inbound-intermediate.json +210 -203
- package/src/element-templates/aws-sns-inbound-message-start.json +125 -118
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +134 -127
- package/src/element-templates/aws-sns-outbound-connector.json +581 -577
- package/src/element-templates/aws-sqs-boundary-connector.json +453 -449
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +530 -526
- package/src/element-templates/aws-sqs-outbound-connector.json +711 -709
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +213 -205
- package/src/element-templates/aws-sqs-start-message.json +461 -457
- package/src/element-templates/aws-textract-outbound-connector.json +109 -105
- package/src/element-templates/azure-blobstorage-outbound-connector.json +676 -19
- package/src/element-templates/azure-open-ai-connector.json +1329 -4
- package/src/element-templates/blue-prism-connector.json +569 -24
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +13 -5
- package/src/element-templates/easy-post-connector.json +1077 -109
- 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 +58 -50
- package/src/element-templates/email-outbound-connector.json +2116 -243
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +3 -6
- package/src/element-templates/github-connector.json +15257 -11722
- package/src/element-templates/github-webhook-connector-boundary.json +27 -29
- package/src/element-templates/github-webhook-connector-intermediate.json +36 -38
- package/src/element-templates/github-webhook-connector-message-start.json +11 -13
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +54 -56
- package/src/element-templates/gitlab-connector.json +4177 -2545
- package/src/element-templates/google-cloud-storage-outbound-connector.json +562 -13
- package/src/element-templates/google-drive-outbound-connector.json +1386 -766
- package/src/element-templates/google-gemini-outbound-connector.json +13 -5
- package/src/element-templates/google-maps-platform-connector.json +1059 -30
- package/src/element-templates/google-sheets-outbound-connector.json +2449 -1455
- package/src/element-templates/graphql-outbound-connector.json +1744 -1735
- package/src/element-templates/http-json-connector.json +2982 -2332
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +752 -741
- package/src/element-templates/http-polling-connector.json +1512 -1501
- package/src/element-templates/hubspot-outbound-connector.json +2371 -25
- package/src/element-templates/hugging-face-connector.json +234 -3
- package/src/element-templates/jdbc-outbound-connector.json +20 -6
- package/src/element-templates/kafka-inbound-connector-boundary.json +613 -604
- package/src/element-templates/kafka-inbound-connector-intermediate.json +528 -519
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +530 -521
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +518 -512
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
- package/src/element-templates/microsoft-office365-mail-connector.json +893 -10
- package/src/element-templates/microsoft-teams-outbound-connector.json +5971 -3807
- package/src/element-templates/openai-connector.json +550 -87
- package/src/element-templates/operate-connector.json +1198 -46
- package/src/element-templates/power-automate-connector.json +601 -9
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +444 -435
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +484 -475
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +367 -358
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +479 -470
- package/src/element-templates/rabbitmq-outbound-connector.json +356 -350
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +544 -0
- 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 +945 -337
- 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 +490 -192
- package/src/element-templates/slack-inbound-intermediate.json +421 -123
- package/src/element-templates/slack-inbound-message-start.json +469 -139
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +216 -211
- package/src/element-templates/slack-outbound-connector.json +2451 -753
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1573 -93
- package/src/element-templates/twilio-webhook-boundary-connector.json +19 -10
- package/src/element-templates/twilio-webhook-connector.json +243 -13
- package/src/element-templates/twilio-webhook-intermediate-connector.json +34 -25
- 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 +594 -2
- package/src/element-templates/webhook-connector-boundary.json +580 -570
- package/src/element-templates/webhook-connector-intermediate.json +1390 -1380
- package/src/element-templates/webhook-connector-receive.json +16 -6
- package/src/element-templates/webhook-connector-start-event.json +1382 -1375
- package/src/element-templates/webhook-connector-start-message.json +1306 -1296
- package/src/element-templates/whatsapp-connector.json +343 -9
- package/src/element-templates/http-connector.json.json +0 -654
|
@@ -1,4 +1,332 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
|
+
"name": "WhatsApp Business Outbound Connector",
|
|
5
|
+
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
6
|
+
"version": 3,
|
|
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": "endpoint",
|
|
39
|
+
"label": "HTTP endpoint"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "input",
|
|
43
|
+
"label": "Payload"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "timeout",
|
|
47
|
+
"label": "Connect timeout"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "output",
|
|
51
|
+
"label": "Response mapping"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "errors",
|
|
55
|
+
"label": "Error handling"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"properties": [
|
|
59
|
+
{
|
|
60
|
+
"type": "Hidden",
|
|
61
|
+
"value": "io.camunda:http-json:1",
|
|
62
|
+
"binding": {
|
|
63
|
+
"type": "zeebe:taskDefinition:type"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"label": "Access token",
|
|
68
|
+
"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>",
|
|
69
|
+
"group": "authentication",
|
|
70
|
+
"type": "String",
|
|
71
|
+
"feel": "optional",
|
|
72
|
+
"binding": {
|
|
73
|
+
"type": "zeebe:input",
|
|
74
|
+
"name": "authentication.token"
|
|
75
|
+
},
|
|
76
|
+
"constraints": {
|
|
77
|
+
"notEmpty": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"label": "Sender phone number ID",
|
|
82
|
+
"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>",
|
|
83
|
+
"group": "input",
|
|
84
|
+
"type": "String",
|
|
85
|
+
"feel": "optional",
|
|
86
|
+
"binding": {
|
|
87
|
+
"type": "zeebe:input",
|
|
88
|
+
"name": "senderPhoneId"
|
|
89
|
+
},
|
|
90
|
+
"constraints": {
|
|
91
|
+
"notEmpty": true
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"label": "Recipient phone number",
|
|
96
|
+
"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>",
|
|
97
|
+
"group": "input",
|
|
98
|
+
"type": "String",
|
|
99
|
+
"feel": "optional",
|
|
100
|
+
"binding": {
|
|
101
|
+
"type": "zeebe:input",
|
|
102
|
+
"name": "recipientPhoneNumber"
|
|
103
|
+
},
|
|
104
|
+
"constraints": {
|
|
105
|
+
"notEmpty": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"label": "Message type",
|
|
110
|
+
"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>",
|
|
111
|
+
"group": "input",
|
|
112
|
+
"id": "messageType",
|
|
113
|
+
"type": "Dropdown",
|
|
114
|
+
"value": "messageType",
|
|
115
|
+
"choices": [
|
|
116
|
+
{
|
|
117
|
+
"name": "Plain text",
|
|
118
|
+
"value": "plainText"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "Message template",
|
|
122
|
+
"value": "messageTemplate"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"binding": {
|
|
126
|
+
"type": "zeebe:input",
|
|
127
|
+
"name": "messageType"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"label": "Message text",
|
|
132
|
+
"description": "Plain text message to be sent to the recipient",
|
|
133
|
+
"group": "input",
|
|
134
|
+
"type": "Text",
|
|
135
|
+
"feel": "optional",
|
|
136
|
+
"constraints": {
|
|
137
|
+
"notEmpty": true
|
|
138
|
+
},
|
|
139
|
+
"binding": {
|
|
140
|
+
"type": "zeebe:input",
|
|
141
|
+
"name": "messageBody"
|
|
142
|
+
},
|
|
143
|
+
"condition": {
|
|
144
|
+
"property": "messageType",
|
|
145
|
+
"equals": "plainText"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"label": "Template name",
|
|
150
|
+
"description": "An approved WhatsApp template name",
|
|
151
|
+
"group": "input",
|
|
152
|
+
"type": "String",
|
|
153
|
+
"feel": "optional",
|
|
154
|
+
"binding": {
|
|
155
|
+
"type": "zeebe:input",
|
|
156
|
+
"name": "templateName"
|
|
157
|
+
},
|
|
158
|
+
"constraints": {
|
|
159
|
+
"notEmpty": true
|
|
160
|
+
},
|
|
161
|
+
"condition": {
|
|
162
|
+
"property": "messageType",
|
|
163
|
+
"equals": "messageTemplate"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"label": "Template language code",
|
|
168
|
+
"description": "An approved WhatsApp template language code, e.g. en_US",
|
|
169
|
+
"group": "input",
|
|
170
|
+
"type": "String",
|
|
171
|
+
"feel": "optional",
|
|
172
|
+
"binding": {
|
|
173
|
+
"type": "zeebe:input",
|
|
174
|
+
"name": "templateLanguageCode"
|
|
175
|
+
},
|
|
176
|
+
"constraints": {
|
|
177
|
+
"notEmpty": true
|
|
178
|
+
},
|
|
179
|
+
"condition": {
|
|
180
|
+
"property": "messageType",
|
|
181
|
+
"equals": "messageTemplate"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"label": "Header variables",
|
|
186
|
+
"description": "Header variables if supported by template",
|
|
187
|
+
"value": "=[]",
|
|
188
|
+
"group": "input",
|
|
189
|
+
"type": "Text",
|
|
190
|
+
"feel": "required",
|
|
191
|
+
"optional": true,
|
|
192
|
+
"binding": {
|
|
193
|
+
"type": "zeebe:input",
|
|
194
|
+
"name": "headerParameters"
|
|
195
|
+
},
|
|
196
|
+
"constraints": {
|
|
197
|
+
"notEmpty": false
|
|
198
|
+
},
|
|
199
|
+
"condition": {
|
|
200
|
+
"property": "messageType",
|
|
201
|
+
"equals": "messageTemplate"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"label": "Body variables",
|
|
206
|
+
"description": "Body variables if supported by template",
|
|
207
|
+
"value": "=[]",
|
|
208
|
+
"group": "input",
|
|
209
|
+
"type": "Text",
|
|
210
|
+
"feel": "required",
|
|
211
|
+
"optional": true,
|
|
212
|
+
"binding": {
|
|
213
|
+
"type": "zeebe:input",
|
|
214
|
+
"name": "bodyParameters"
|
|
215
|
+
},
|
|
216
|
+
"constraints": {
|
|
217
|
+
"notEmpty": false
|
|
218
|
+
},
|
|
219
|
+
"condition": {
|
|
220
|
+
"property": "messageType",
|
|
221
|
+
"equals": "messageTemplate"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"value": "bearer",
|
|
226
|
+
"type": "Hidden",
|
|
227
|
+
"binding": {
|
|
228
|
+
"type": "zeebe:input",
|
|
229
|
+
"name": "authentication.type"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "Hidden",
|
|
234
|
+
"value": "post",
|
|
235
|
+
"binding": {
|
|
236
|
+
"type": "zeebe:input",
|
|
237
|
+
"name": "method"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "Hidden",
|
|
242
|
+
"value": "=\"https://graph.facebook.com/v17.0/\"+senderPhoneId+\"/messages\"",
|
|
243
|
+
"binding": {
|
|
244
|
+
"type": "zeebe:input",
|
|
245
|
+
"name": "url"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "Hidden",
|
|
250
|
+
"value": "={\"messaging_product\":\"whatsapp\",\"recipient_type\":\"individual\",\"to\":recipientPhoneNumber,\"type\":\"text\", \"text\":{\"preview_url\":false, \"body\":messageBody}}",
|
|
251
|
+
"binding": {
|
|
252
|
+
"type": "zeebe:input",
|
|
253
|
+
"name": "body"
|
|
254
|
+
},
|
|
255
|
+
"condition": {
|
|
256
|
+
"property": "messageType",
|
|
257
|
+
"equals": "plainText"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"type": "Hidden",
|
|
262
|
+
"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}]}}",
|
|
263
|
+
"binding": {
|
|
264
|
+
"type": "zeebe:input",
|
|
265
|
+
"name": "body"
|
|
266
|
+
},
|
|
267
|
+
"condition": {
|
|
268
|
+
"property": "messageType",
|
|
269
|
+
"equals": "messageTemplate"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"label": "Result variable",
|
|
274
|
+
"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>",
|
|
275
|
+
"group": "output",
|
|
276
|
+
"type": "String",
|
|
277
|
+
"binding": {
|
|
278
|
+
"type": "zeebe:taskHeader",
|
|
279
|
+
"key": "resultVariable"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"label": "Result expression",
|
|
284
|
+
"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>",
|
|
285
|
+
"group": "output",
|
|
286
|
+
"type": "Text",
|
|
287
|
+
"feel": "required",
|
|
288
|
+
"binding": {
|
|
289
|
+
"type": "zeebe:taskHeader",
|
|
290
|
+
"key": "resultExpression"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"label": "Error expression",
|
|
295
|
+
"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>",
|
|
296
|
+
"group": "errors",
|
|
297
|
+
"type": "Text",
|
|
298
|
+
"feel": "required",
|
|
299
|
+
"binding": {
|
|
300
|
+
"type": "zeebe:taskHeader",
|
|
301
|
+
"key": "errorExpression"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"id": "version",
|
|
306
|
+
"label": "Version",
|
|
307
|
+
"description": "Version of the element template",
|
|
308
|
+
"value": "3",
|
|
309
|
+
"group": "connector",
|
|
310
|
+
"binding": {
|
|
311
|
+
"key": "elementTemplateVersion",
|
|
312
|
+
"type": "zeebe:taskHeader"
|
|
313
|
+
},
|
|
314
|
+
"type": "Hidden"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"id": "id",
|
|
318
|
+
"label": "ID",
|
|
319
|
+
"description": "ID of the element template",
|
|
320
|
+
"value": "io.camunda.connectors.WhatsApp.v1",
|
|
321
|
+
"group": "connector",
|
|
322
|
+
"binding": {
|
|
323
|
+
"key": "elementTemplateId",
|
|
324
|
+
"type": "zeebe:taskHeader"
|
|
325
|
+
},
|
|
326
|
+
"type": "Hidden"
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
},
|
|
2
330
|
{
|
|
3
331
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
332
|
"name": "WhatsApp Business Outbound Connector",
|
|
@@ -595,11 +923,20 @@
|
|
|
595
923
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
596
924
|
"name": "WhatsApp Business Outbound Connector",
|
|
597
925
|
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
598
|
-
"version":
|
|
926
|
+
"version": 4,
|
|
599
927
|
"engines": {
|
|
600
928
|
"camunda": "^8.3"
|
|
601
929
|
},
|
|
602
930
|
"description": "Send messages via WhatsApp",
|
|
931
|
+
"keywords": [
|
|
932
|
+
"send message",
|
|
933
|
+
"send plain text",
|
|
934
|
+
"send message template",
|
|
935
|
+
"messaging",
|
|
936
|
+
"chat",
|
|
937
|
+
"mobile messaging",
|
|
938
|
+
"notification"
|
|
939
|
+
],
|
|
603
940
|
"icon": {
|
|
604
941
|
"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
942
|
},
|
|
@@ -617,17 +954,13 @@
|
|
|
617
954
|
"id": "authentication",
|
|
618
955
|
"label": "Authentication"
|
|
619
956
|
},
|
|
620
|
-
{
|
|
621
|
-
"id": "endpoint",
|
|
622
|
-
"label": "HTTP endpoint"
|
|
623
|
-
},
|
|
624
957
|
{
|
|
625
958
|
"id": "input",
|
|
626
959
|
"label": "Payload"
|
|
627
960
|
},
|
|
628
961
|
{
|
|
629
|
-
"id": "
|
|
630
|
-
"label": "
|
|
962
|
+
"id": "connector",
|
|
963
|
+
"label": "Connector"
|
|
631
964
|
},
|
|
632
965
|
{
|
|
633
966
|
"id": "output",
|
|
@@ -643,7 +976,8 @@
|
|
|
643
976
|
"type": "Hidden",
|
|
644
977
|
"value": "io.camunda:http-json:1",
|
|
645
978
|
"binding": {
|
|
646
|
-
"type": "zeebe:taskDefinition
|
|
979
|
+
"type": "zeebe:taskDefinition",
|
|
980
|
+
"property": "type"
|
|
647
981
|
}
|
|
648
982
|
},
|
|
649
983
|
{
|
|
@@ -694,7 +1028,7 @@
|
|
|
694
1028
|
"group": "input",
|
|
695
1029
|
"id": "messageType",
|
|
696
1030
|
"type": "Dropdown",
|
|
697
|
-
"value": "
|
|
1031
|
+
"value": "plainText",
|
|
698
1032
|
"choices": [
|
|
699
1033
|
{
|
|
700
1034
|
"name": "Plain text",
|