@camunda/connectors-element-templates 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/connectors-template.js +1 -3
- package/src/connectors.js +4 -0
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +40 -40
- package/src/element-templates/agenticai-aiagent-job-worker.json +2483 -475
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +5352 -3427
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +717 -35
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2254 -809
- package/src/element-templates/app-integrations-connector.json +1047 -0
- package/src/element-templates/asana-connector.json +1050 -216
- package/src/element-templates/automation-anywhere-outbound-connector.json +2046 -1553
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1067 -29
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +385 -4
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +441 -4
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +416 -4
- package/src/element-templates/aws-bedrock-outbound-connector.json +2274 -624
- package/src/element-templates/aws-comprehend-outbound-connector.json +1572 -0
- package/src/element-templates/aws-dynamodb-outbound-connector.json +2385 -949
- package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
- package/src/element-templates/aws-eventbridge-connector-start-event.json +20 -20
- package/src/element-templates/aws-eventbridge-outbound-connector.json +680 -266
- package/src/element-templates/aws-lambda-outbound-connector.json +462 -63
- package/src/element-templates/aws-s3-outbound-connector.json +1850 -329
- package/src/element-templates/aws-sagemaker-outbound-connector.json +680 -51
- package/src/element-templates/aws-sns-inbound-boundary.json +207 -206
- package/src/element-templates/aws-sns-inbound-intermediate.json +410 -409
- package/src/element-templates/aws-sns-inbound-message-start.json +4 -3
- package/src/element-templates/aws-sns-inbound-receive.json +4 -3
- package/src/element-templates/aws-sns-inbound-start-event.json +138 -138
- package/src/element-templates/aws-sns-outbound-connector.json +643 -186
- package/src/element-templates/aws-sqs-boundary-connector.json +1059 -540
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +1046 -527
- package/src/element-templates/aws-sqs-outbound-connector.json +596 -143
- package/src/element-templates/aws-sqs-receive-connector.json +525 -7
- package/src/element-templates/aws-sqs-start-event-connector.json +401 -401
- package/src/element-templates/aws-sqs-start-message.json +736 -185
- package/src/element-templates/aws-textract-outbound-connector.json +925 -190
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
- package/src/element-templates/azure-open-ai-connector.json +1372 -9
- package/src/element-templates/blue-prism-connector.json +655 -76
- package/src/element-templates/box-outbound-connector.json +2331 -247
- package/src/element-templates/csv-outbound-connector.json +44 -44
- package/src/element-templates/easy-post-connector.json +1178 -97
- package/src/element-templates/email-outbound-connector.json +3087 -1013
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +2160 -0
- package/src/element-templates/github-connector.json +14049 -9863
- package/src/element-templates/github-webhook-connector-boundary.json +24 -24
- package/src/element-templates/github-webhook-connector-intermediate.json +33 -33
- package/src/element-templates/github-webhook-connector-message-start.json +8 -8
- package/src/element-templates/github-webhook-connector-receive.json +8 -8
- package/src/element-templates/github-webhook-connector-start-event.json +54 -54
- package/src/element-templates/gitlab-connector.json +2110 -208
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1448 -241
- package/src/element-templates/google-drive-outbound-connector.json +2246 -694
- package/src/element-templates/google-gemini-outbound-connector.json +8 -22
- package/src/element-templates/google-maps-platform-connector.json +688 -137
- package/src/element-templates/google-sheets-outbound-connector.json +3631 -2475
- package/src/element-templates/graphql-outbound-connector.json +3346 -789
- package/src/element-templates/http-json-connector.json +5295 -2803
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +2550 -590
- package/src/element-templates/http-polling-connector.json +2886 -926
- package/src/element-templates/hubspot-outbound-connector.json +2786 -36
- package/src/element-templates/hugging-face-connector.json +44 -43
- package/src/element-templates/jdbc-outbound-connector.json +505 -8
- package/src/element-templates/kafka-inbound-connector-boundary.json +29 -32
- package/src/element-templates/kafka-inbound-connector-intermediate.json +615 -618
- package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
- package/src/element-templates/kafka-inbound-connector-start-message.json +9 -12
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +494 -498
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
- package/src/element-templates/microsoft-office365-mail-connector.json +1095 -39
- package/src/element-templates/microsoft-teams-outbound-connector.json +7335 -4894
- package/src/element-templates/openai-connector.json +596 -102
- package/src/element-templates/operate-connector.json +167 -170
- package/src/element-templates/orchestration-connector.json +1843 -0
- package/src/element-templates/power-automate-connector.json +64 -64
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +449 -451
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +770 -772
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +576 -578
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +105 -105
- package/src/element-templates/rabbitmq-outbound-connector.json +319 -319
- package/src/element-templates/rpa-connector.json +6 -6
- package/src/element-templates/salesforce-connector.json +690 -56
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +300 -0
- package/src/element-templates/send-message-connector-message-end-event.json +300 -0
- package/src/element-templates/send-message-connector-send-task.json +299 -0
- package/src/element-templates/sendgrid-outbound-connector.json +597 -597
- package/src/element-templates/servicenow-connector.json +1365 -8
- package/src/element-templates/servicenow-flow-starter-connector.json +15 -15
- package/src/element-templates/servicenow-incident-connector.json +1076 -30
- package/src/element-templates/slack-inbound-boundary.json +374 -374
- package/src/element-templates/slack-inbound-intermediate.json +766 -766
- package/src/element-templates/slack-inbound-message-start.json +145 -145
- package/src/element-templates/slack-inbound-receive.json +2 -2
- package/src/element-templates/slack-inbound-start-event.json +211 -211
- package/src/element-templates/slack-outbound-connector.json +2154 -1051
- package/src/element-templates/soap-outbound-connector.json +114 -118
- package/src/element-templates/twilio-connector.json +1181 -368
- package/src/element-templates/twilio-webhook-boundary-connector.json +29 -30
- package/src/element-templates/twilio-webhook-connector.json +56 -57
- package/src/element-templates/twilio-webhook-intermediate-connector.json +33 -34
- package/src/element-templates/twilio-webhook-message-start-connector.json +27 -28
- package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
- package/src/element-templates/uipath-connector.json +681 -63
- package/src/element-templates/webhook-connector-boundary.json +1242 -587
- package/src/element-templates/webhook-connector-intermediate.json +1339 -684
- package/src/element-templates/webhook-connector-receive.json +659 -5
- package/src/element-templates/webhook-connector-start-event.json +1736 -1175
- package/src/element-templates/webhook-connector-start-message.json +1791 -1104
- package/src/element-templates/whatsapp-connector.json +386 -16
|
@@ -1,4 +1,374 @@
|
|
|
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": 5,
|
|
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": "operation",
|
|
35
|
+
"label": "Operation"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "authentication",
|
|
39
|
+
"label": "Authentication"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "input",
|
|
43
|
+
"label": "Payload"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "connector",
|
|
47
|
+
"label": "Connector"
|
|
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",
|
|
64
|
+
"property": "type"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"label": "Access token",
|
|
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>",
|
|
70
|
+
"group": "authentication",
|
|
71
|
+
"type": "String",
|
|
72
|
+
"feel": "optional",
|
|
73
|
+
"binding": {
|
|
74
|
+
"type": "zeebe:input",
|
|
75
|
+
"name": "authentication.token"
|
|
76
|
+
},
|
|
77
|
+
"constraints": {
|
|
78
|
+
"notEmpty": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"label": "Sender phone number ID",
|
|
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>",
|
|
84
|
+
"group": "input",
|
|
85
|
+
"type": "String",
|
|
86
|
+
"feel": "optional",
|
|
87
|
+
"binding": {
|
|
88
|
+
"type": "zeebe:input",
|
|
89
|
+
"name": "senderPhoneId"
|
|
90
|
+
},
|
|
91
|
+
"constraints": {
|
|
92
|
+
"notEmpty": true
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"label": "Recipient phone number",
|
|
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>",
|
|
98
|
+
"group": "input",
|
|
99
|
+
"type": "String",
|
|
100
|
+
"feel": "optional",
|
|
101
|
+
"binding": {
|
|
102
|
+
"type": "zeebe:input",
|
|
103
|
+
"name": "recipientPhoneNumber"
|
|
104
|
+
},
|
|
105
|
+
"constraints": {
|
|
106
|
+
"notEmpty": true
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"label": "Message type",
|
|
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",
|
|
113
|
+
"id": "messageType",
|
|
114
|
+
"type": "Dropdown",
|
|
115
|
+
"value": "plainText",
|
|
116
|
+
"choices": [
|
|
117
|
+
{
|
|
118
|
+
"name": "Plain text",
|
|
119
|
+
"value": "plainText"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "Message template",
|
|
123
|
+
"value": "messageTemplate"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"binding": {
|
|
127
|
+
"type": "zeebe:input",
|
|
128
|
+
"name": "messageType"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"label": "Message text",
|
|
133
|
+
"tooltip": "Plain text message to be sent to the recipient",
|
|
134
|
+
"group": "input",
|
|
135
|
+
"type": "Text",
|
|
136
|
+
"feel": "optional",
|
|
137
|
+
"constraints": {
|
|
138
|
+
"notEmpty": true
|
|
139
|
+
},
|
|
140
|
+
"binding": {
|
|
141
|
+
"type": "zeebe:input",
|
|
142
|
+
"name": "messageBody"
|
|
143
|
+
},
|
|
144
|
+
"condition": {
|
|
145
|
+
"property": "messageType",
|
|
146
|
+
"equals": "plainText"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"label": "Template name",
|
|
151
|
+
"tooltip": "An approved WhatsApp template name",
|
|
152
|
+
"group": "input",
|
|
153
|
+
"type": "String",
|
|
154
|
+
"feel": "optional",
|
|
155
|
+
"binding": {
|
|
156
|
+
"type": "zeebe:input",
|
|
157
|
+
"name": "templateName"
|
|
158
|
+
},
|
|
159
|
+
"constraints": {
|
|
160
|
+
"notEmpty": true
|
|
161
|
+
},
|
|
162
|
+
"condition": {
|
|
163
|
+
"property": "messageType",
|
|
164
|
+
"equals": "messageTemplate"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"label": "Template language code",
|
|
169
|
+
"placeholder": "en_US",
|
|
170
|
+
"tooltip": "An approved WhatsApp template language code",
|
|
171
|
+
"group": "input",
|
|
172
|
+
"type": "String",
|
|
173
|
+
"feel": "optional",
|
|
174
|
+
"binding": {
|
|
175
|
+
"type": "zeebe:input",
|
|
176
|
+
"name": "templateLanguageCode"
|
|
177
|
+
},
|
|
178
|
+
"constraints": {
|
|
179
|
+
"notEmpty": true
|
|
180
|
+
},
|
|
181
|
+
"condition": {
|
|
182
|
+
"property": "messageType",
|
|
183
|
+
"equals": "messageTemplate"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"label": "Header variables",
|
|
188
|
+
"tooltip": "Values for the header variables, only if the template header uses any",
|
|
189
|
+
"value": "=[]",
|
|
190
|
+
"group": "input",
|
|
191
|
+
"type": "Text",
|
|
192
|
+
"feel": "required",
|
|
193
|
+
"optional": true,
|
|
194
|
+
"binding": {
|
|
195
|
+
"type": "zeebe:input",
|
|
196
|
+
"name": "headerParameters"
|
|
197
|
+
},
|
|
198
|
+
"constraints": {
|
|
199
|
+
"notEmpty": false
|
|
200
|
+
},
|
|
201
|
+
"condition": {
|
|
202
|
+
"property": "messageType",
|
|
203
|
+
"equals": "messageTemplate"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"label": "Body variables",
|
|
208
|
+
"tooltip": "Values for the body variables, only if the template body uses any",
|
|
209
|
+
"value": "=[]",
|
|
210
|
+
"group": "input",
|
|
211
|
+
"type": "Text",
|
|
212
|
+
"feel": "required",
|
|
213
|
+
"optional": true,
|
|
214
|
+
"binding": {
|
|
215
|
+
"type": "zeebe:input",
|
|
216
|
+
"name": "bodyParameters"
|
|
217
|
+
},
|
|
218
|
+
"constraints": {
|
|
219
|
+
"notEmpty": false
|
|
220
|
+
},
|
|
221
|
+
"condition": {
|
|
222
|
+
"property": "messageType",
|
|
223
|
+
"equals": "messageTemplate"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"value": "bearer",
|
|
228
|
+
"type": "Hidden",
|
|
229
|
+
"binding": {
|
|
230
|
+
"type": "zeebe:input",
|
|
231
|
+
"name": "authentication.type"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "Hidden",
|
|
236
|
+
"value": "post",
|
|
237
|
+
"binding": {
|
|
238
|
+
"type": "zeebe:input",
|
|
239
|
+
"name": "method"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "Hidden",
|
|
244
|
+
"value": "=\"https://graph.facebook.com/v17.0/\"+senderPhoneId+\"/messages\"",
|
|
245
|
+
"binding": {
|
|
246
|
+
"type": "zeebe:input",
|
|
247
|
+
"name": "url"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"type": "Hidden",
|
|
252
|
+
"value": "={\"messaging_product\":\"whatsapp\",\"recipient_type\":\"individual\",\"to\":recipientPhoneNumber,\"type\":\"text\", \"text\":{\"preview_url\":false, \"body\":messageBody}}",
|
|
253
|
+
"binding": {
|
|
254
|
+
"type": "zeebe:input",
|
|
255
|
+
"name": "body"
|
|
256
|
+
},
|
|
257
|
+
"condition": {
|
|
258
|
+
"property": "messageType",
|
|
259
|
+
"equals": "plainText"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"type": "Hidden",
|
|
264
|
+
"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}]}}",
|
|
265
|
+
"binding": {
|
|
266
|
+
"type": "zeebe:input",
|
|
267
|
+
"name": "body"
|
|
268
|
+
},
|
|
269
|
+
"condition": {
|
|
270
|
+
"property": "messageType",
|
|
271
|
+
"equals": "messageTemplate"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"label": "Result variable",
|
|
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>",
|
|
277
|
+
"group": "output",
|
|
278
|
+
"type": "String",
|
|
279
|
+
"binding": {
|
|
280
|
+
"type": "zeebe:taskHeader",
|
|
281
|
+
"key": "resultVariable"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"label": "Result expression",
|
|
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>",
|
|
287
|
+
"group": "output",
|
|
288
|
+
"type": "Text",
|
|
289
|
+
"feel": "required",
|
|
290
|
+
"binding": {
|
|
291
|
+
"type": "zeebe:taskHeader",
|
|
292
|
+
"key": "resultExpression"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"label": "Error expression",
|
|
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>",
|
|
298
|
+
"group": "errors",
|
|
299
|
+
"type": "Text",
|
|
300
|
+
"feel": "required",
|
|
301
|
+
"binding": {
|
|
302
|
+
"type": "zeebe:taskHeader",
|
|
303
|
+
"key": "errorExpression"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"id": "version",
|
|
308
|
+
"label": "Version",
|
|
309
|
+
"description": "Version of the element template",
|
|
310
|
+
"value": "5",
|
|
311
|
+
"group": "connector",
|
|
312
|
+
"binding": {
|
|
313
|
+
"key": "elementTemplateVersion",
|
|
314
|
+
"type": "zeebe:taskHeader"
|
|
315
|
+
},
|
|
316
|
+
"type": "Hidden"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "id",
|
|
320
|
+
"label": "ID",
|
|
321
|
+
"description": "ID of the element template",
|
|
322
|
+
"value": "io.camunda.connectors.WhatsApp.v1",
|
|
323
|
+
"group": "connector",
|
|
324
|
+
"binding": {
|
|
325
|
+
"key": "elementTemplateId",
|
|
326
|
+
"type": "zeebe:taskHeader"
|
|
327
|
+
},
|
|
328
|
+
"type": "Hidden"
|
|
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
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
2
372
|
{
|
|
3
373
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
374
|
"name": "WhatsApp Business Outbound Connector",
|
|
@@ -595,7 +965,7 @@
|
|
|
595
965
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
596
966
|
"name": "WhatsApp Business Outbound Connector",
|
|
597
967
|
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
598
|
-
"version":
|
|
968
|
+
"version": 4,
|
|
599
969
|
"engines": {
|
|
600
970
|
"camunda": "^8.3"
|
|
601
971
|
},
|
|
@@ -626,17 +996,13 @@
|
|
|
626
996
|
"id": "authentication",
|
|
627
997
|
"label": "Authentication"
|
|
628
998
|
},
|
|
629
|
-
{
|
|
630
|
-
"id": "endpoint",
|
|
631
|
-
"label": "HTTP endpoint"
|
|
632
|
-
},
|
|
633
999
|
{
|
|
634
1000
|
"id": "input",
|
|
635
1001
|
"label": "Payload"
|
|
636
1002
|
},
|
|
637
1003
|
{
|
|
638
|
-
"id": "
|
|
639
|
-
"label": "
|
|
1004
|
+
"id": "connector",
|
|
1005
|
+
"label": "Connector"
|
|
640
1006
|
},
|
|
641
1007
|
{
|
|
642
1008
|
"id": "output",
|
|
@@ -652,7 +1018,8 @@
|
|
|
652
1018
|
"type": "Hidden",
|
|
653
1019
|
"value": "io.camunda:http-json:1",
|
|
654
1020
|
"binding": {
|
|
655
|
-
"type": "zeebe:taskDefinition
|
|
1021
|
+
"type": "zeebe:taskDefinition",
|
|
1022
|
+
"property": "type"
|
|
656
1023
|
}
|
|
657
1024
|
},
|
|
658
1025
|
{
|
|
@@ -703,7 +1070,7 @@
|
|
|
703
1070
|
"group": "input",
|
|
704
1071
|
"id": "messageType",
|
|
705
1072
|
"type": "Dropdown",
|
|
706
|
-
"value": "
|
|
1073
|
+
"value": "plainText",
|
|
707
1074
|
"choices": [
|
|
708
1075
|
{
|
|
709
1076
|
"name": "Plain text",
|
|
@@ -897,7 +1264,7 @@
|
|
|
897
1264
|
"id": "version",
|
|
898
1265
|
"label": "Version",
|
|
899
1266
|
"description": "Version of the element template",
|
|
900
|
-
"value": "
|
|
1267
|
+
"value": "4",
|
|
901
1268
|
"group": "connector",
|
|
902
1269
|
"binding": {
|
|
903
1270
|
"key": "elementTemplateVersion",
|
|
@@ -923,7 +1290,7 @@
|
|
|
923
1290
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
924
1291
|
"name": "WhatsApp Business Outbound Connector",
|
|
925
1292
|
"id": "io.camunda.connectors.WhatsApp.v1",
|
|
926
|
-
"version":
|
|
1293
|
+
"version": 3,
|
|
927
1294
|
"engines": {
|
|
928
1295
|
"camunda": "^8.3"
|
|
929
1296
|
},
|
|
@@ -954,13 +1321,17 @@
|
|
|
954
1321
|
"id": "authentication",
|
|
955
1322
|
"label": "Authentication"
|
|
956
1323
|
},
|
|
1324
|
+
{
|
|
1325
|
+
"id": "endpoint",
|
|
1326
|
+
"label": "HTTP endpoint"
|
|
1327
|
+
},
|
|
957
1328
|
{
|
|
958
1329
|
"id": "input",
|
|
959
1330
|
"label": "Payload"
|
|
960
1331
|
},
|
|
961
1332
|
{
|
|
962
|
-
"id": "
|
|
963
|
-
"label": "
|
|
1333
|
+
"id": "timeout",
|
|
1334
|
+
"label": "Connect timeout"
|
|
964
1335
|
},
|
|
965
1336
|
{
|
|
966
1337
|
"id": "output",
|
|
@@ -976,8 +1347,7 @@
|
|
|
976
1347
|
"type": "Hidden",
|
|
977
1348
|
"value": "io.camunda:http-json:1",
|
|
978
1349
|
"binding": {
|
|
979
|
-
"type": "zeebe:taskDefinition"
|
|
980
|
-
"property": "type"
|
|
1350
|
+
"type": "zeebe:taskDefinition:type"
|
|
981
1351
|
}
|
|
982
1352
|
},
|
|
983
1353
|
{
|
|
@@ -1028,7 +1398,7 @@
|
|
|
1028
1398
|
"group": "input",
|
|
1029
1399
|
"id": "messageType",
|
|
1030
1400
|
"type": "Dropdown",
|
|
1031
|
-
"value": "
|
|
1401
|
+
"value": "messageType",
|
|
1032
1402
|
"choices": [
|
|
1033
1403
|
{
|
|
1034
1404
|
"name": "Plain text",
|