@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.
Files changed (115) hide show
  1. package/package.json +2 -2
  2. package/src/connectors-template.js +1 -3
  3. package/src/connectors.js +4 -0
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +40 -40
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +2483 -475
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +5352 -3427
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +717 -35
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2254 -809
  9. package/src/element-templates/app-integrations-connector.json +1047 -0
  10. package/src/element-templates/asana-connector.json +1050 -216
  11. package/src/element-templates/automation-anywhere-outbound-connector.json +2046 -1553
  12. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1067 -29
  13. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +385 -4
  14. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +441 -4
  15. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +416 -4
  16. package/src/element-templates/aws-bedrock-outbound-connector.json +2274 -624
  17. package/src/element-templates/aws-comprehend-outbound-connector.json +1572 -0
  18. package/src/element-templates/aws-dynamodb-outbound-connector.json +2385 -949
  19. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  20. package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
  21. package/src/element-templates/aws-eventbridge-connector-start-event.json +20 -20
  22. package/src/element-templates/aws-eventbridge-outbound-connector.json +680 -266
  23. package/src/element-templates/aws-lambda-outbound-connector.json +462 -63
  24. package/src/element-templates/aws-s3-outbound-connector.json +1850 -329
  25. package/src/element-templates/aws-sagemaker-outbound-connector.json +680 -51
  26. package/src/element-templates/aws-sns-inbound-boundary.json +207 -206
  27. package/src/element-templates/aws-sns-inbound-intermediate.json +410 -409
  28. package/src/element-templates/aws-sns-inbound-message-start.json +4 -3
  29. package/src/element-templates/aws-sns-inbound-receive.json +4 -3
  30. package/src/element-templates/aws-sns-inbound-start-event.json +138 -138
  31. package/src/element-templates/aws-sns-outbound-connector.json +643 -186
  32. package/src/element-templates/aws-sqs-boundary-connector.json +1059 -540
  33. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +1046 -527
  34. package/src/element-templates/aws-sqs-outbound-connector.json +596 -143
  35. package/src/element-templates/aws-sqs-receive-connector.json +525 -7
  36. package/src/element-templates/aws-sqs-start-event-connector.json +401 -401
  37. package/src/element-templates/aws-sqs-start-message.json +736 -185
  38. package/src/element-templates/aws-textract-outbound-connector.json +925 -190
  39. package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
  40. package/src/element-templates/azure-open-ai-connector.json +1372 -9
  41. package/src/element-templates/blue-prism-connector.json +655 -76
  42. package/src/element-templates/box-outbound-connector.json +2331 -247
  43. package/src/element-templates/csv-outbound-connector.json +44 -44
  44. package/src/element-templates/easy-post-connector.json +1178 -97
  45. package/src/element-templates/email-outbound-connector.json +3087 -1013
  46. package/src/element-templates/embeddings-vector-database-outbound-connector.json +2160 -0
  47. package/src/element-templates/github-connector.json +14049 -9863
  48. package/src/element-templates/github-webhook-connector-boundary.json +24 -24
  49. package/src/element-templates/github-webhook-connector-intermediate.json +33 -33
  50. package/src/element-templates/github-webhook-connector-message-start.json +8 -8
  51. package/src/element-templates/github-webhook-connector-receive.json +8 -8
  52. package/src/element-templates/github-webhook-connector-start-event.json +54 -54
  53. package/src/element-templates/gitlab-connector.json +2110 -208
  54. package/src/element-templates/google-cloud-storage-outbound-connector.json +1448 -241
  55. package/src/element-templates/google-drive-outbound-connector.json +2246 -694
  56. package/src/element-templates/google-gemini-outbound-connector.json +8 -22
  57. package/src/element-templates/google-maps-platform-connector.json +688 -137
  58. package/src/element-templates/google-sheets-outbound-connector.json +3631 -2475
  59. package/src/element-templates/graphql-outbound-connector.json +3346 -789
  60. package/src/element-templates/http-json-connector.json +5295 -2803
  61. package/src/element-templates/http-polling-boundary-catch-event-connector.json +2550 -590
  62. package/src/element-templates/http-polling-connector.json +2886 -926
  63. package/src/element-templates/hubspot-outbound-connector.json +2786 -36
  64. package/src/element-templates/hugging-face-connector.json +44 -43
  65. package/src/element-templates/jdbc-outbound-connector.json +505 -8
  66. package/src/element-templates/kafka-inbound-connector-boundary.json +29 -32
  67. package/src/element-templates/kafka-inbound-connector-intermediate.json +615 -618
  68. package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
  69. package/src/element-templates/kafka-inbound-connector-start-message.json +9 -12
  70. package/src/element-templates/kafka-inbound-connector.json +240 -240
  71. package/src/element-templates/kafka-outbound-connector.json +494 -498
  72. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
  73. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
  74. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
  75. package/src/element-templates/microsoft-office365-mail-connector.json +1095 -39
  76. package/src/element-templates/microsoft-teams-outbound-connector.json +7335 -4894
  77. package/src/element-templates/openai-connector.json +596 -102
  78. package/src/element-templates/operate-connector.json +167 -170
  79. package/src/element-templates/orchestration-connector.json +1843 -0
  80. package/src/element-templates/power-automate-connector.json +64 -64
  81. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +449 -451
  82. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +770 -772
  83. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +576 -578
  84. package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
  85. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +105 -105
  86. package/src/element-templates/rabbitmq-outbound-connector.json +319 -319
  87. package/src/element-templates/rpa-connector.json +6 -6
  88. package/src/element-templates/salesforce-connector.json +690 -56
  89. package/src/element-templates/send-message-connector-intermediate-throw-event.json +300 -0
  90. package/src/element-templates/send-message-connector-message-end-event.json +300 -0
  91. package/src/element-templates/send-message-connector-send-task.json +299 -0
  92. package/src/element-templates/sendgrid-outbound-connector.json +597 -597
  93. package/src/element-templates/servicenow-connector.json +1365 -8
  94. package/src/element-templates/servicenow-flow-starter-connector.json +15 -15
  95. package/src/element-templates/servicenow-incident-connector.json +1076 -30
  96. package/src/element-templates/slack-inbound-boundary.json +374 -374
  97. package/src/element-templates/slack-inbound-intermediate.json +766 -766
  98. package/src/element-templates/slack-inbound-message-start.json +145 -145
  99. package/src/element-templates/slack-inbound-receive.json +2 -2
  100. package/src/element-templates/slack-inbound-start-event.json +211 -211
  101. package/src/element-templates/slack-outbound-connector.json +2154 -1051
  102. package/src/element-templates/soap-outbound-connector.json +114 -118
  103. package/src/element-templates/twilio-connector.json +1181 -368
  104. package/src/element-templates/twilio-webhook-boundary-connector.json +29 -30
  105. package/src/element-templates/twilio-webhook-connector.json +56 -57
  106. package/src/element-templates/twilio-webhook-intermediate-connector.json +33 -34
  107. package/src/element-templates/twilio-webhook-message-start-connector.json +27 -28
  108. package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
  109. package/src/element-templates/uipath-connector.json +681 -63
  110. package/src/element-templates/webhook-connector-boundary.json +1242 -587
  111. package/src/element-templates/webhook-connector-intermediate.json +1339 -684
  112. package/src/element-templates/webhook-connector-receive.json +659 -5
  113. package/src/element-templates/webhook-connector-start-event.json +1736 -1175
  114. package/src/element-templates/webhook-connector-start-message.json +1791 -1104
  115. package/src/element-templates/whatsapp-connector.json +386 -16
@@ -1,10 +1,23 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Google Maps Platform connector",
4
+ "name": "Google Maps Platform Outbound Connector",
5
5
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
6
- "version": 2,
7
- "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
6
+ "version": 7,
7
+ "engines": {
8
+ "camunda": "^8.3"
9
+ },
10
+ "description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
11
+ "keywords": [
12
+ "validate address",
13
+ "get place ID",
14
+ "calculate distance",
15
+ "geocoding",
16
+ "geolocation",
17
+ "address validation",
18
+ "routing",
19
+ "maps"
20
+ ],
8
21
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
9
22
  "category": {
10
23
  "id": "connectors",
@@ -23,14 +36,14 @@
23
36
  "id": "authentication",
24
37
  "label": "Authentication"
25
38
  },
26
- {
27
- "id": "configuration",
28
- "label": "Configuration"
29
- },
30
39
  {
31
40
  "id": "input",
32
41
  "label": "Input"
33
42
  },
43
+ {
44
+ "id": "connector",
45
+ "label": "Connector"
46
+ },
34
47
  {
35
48
  "id": "output",
36
49
  "label": "Output"
@@ -107,7 +120,7 @@
107
120
  },
108
121
  {
109
122
  "label": "API key",
110
- "description": "Google Maps Platform API key. Details in the <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>connector documentation</a>",
123
+ "tooltip": "Google Maps Platform API key. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>Google Maps Platform connector documentation</a>",
111
124
  "group": "authentication",
112
125
  "type": "String",
113
126
  "feel": "optional",
@@ -122,7 +135,7 @@
122
135
  },
123
136
  {
124
137
  "label": "Region code",
125
- "description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
138
+ "tooltip": "Find supported region codes in the <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>Address Validation coverage documentation</a>.",
126
139
  "group": "input",
127
140
  "type": "String",
128
141
  "feel": "optional",
@@ -141,7 +154,7 @@
141
154
  },
142
155
  {
143
156
  "label": "Locality",
144
- "description": "An incorporated city or town political entity",
157
+ "tooltip": "An incorporated city or town political entity",
145
158
  "group": "input",
146
159
  "type": "String",
147
160
  "feel": "optional",
@@ -160,14 +173,14 @@
160
173
  },
161
174
  {
162
175
  "label": "Address",
163
- "description": "Unstructured address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
176
+ "tooltip": "Unstructured address. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>Google Maps Platform connector documentation</a>",
164
177
  "group": "input",
165
178
  "type": "String",
166
179
  "feel": "optional",
167
180
  "optional": false,
168
181
  "binding": {
169
182
  "type": "zeebe:input",
170
- "name": "addressValue"
183
+ "name": "body.address.addressLines"
171
184
  },
172
185
  "constraints": {
173
186
  "notEmpty": true
@@ -179,7 +192,7 @@
179
192
  },
180
193
  {
181
194
  "label": "Address",
182
- "description": "Complete address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
195
+ "tooltip": "Complete address. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>Google Maps Platform connector documentation</a>",
183
196
  "group": "input",
184
197
  "type": "String",
185
198
  "feel": "optional",
@@ -198,7 +211,7 @@
198
211
  },
199
212
  {
200
213
  "label": "Destination",
201
- "description": "The place ID value that you want to use as the destination for calculating distance",
214
+ "tooltip": "The place ID value that you want to use as the destination for calculating distance",
202
215
  "group": "input",
203
216
  "type": "String",
204
217
  "feel": "optional",
@@ -217,7 +230,7 @@
217
230
  },
218
231
  {
219
232
  "label": "Origin",
220
- "description": "The place ID value that you want to use as the starting point for calculating distance",
233
+ "tooltip": "The place ID value that you want to use as the starting point for calculating distance",
221
234
  "group": "input",
222
235
  "type": "String",
223
236
  "feel": "optional",
@@ -236,7 +249,7 @@
236
249
  },
237
250
  {
238
251
  "label": "Units",
239
- "description": "Specifies the unit system to use when displaying results",
252
+ "tooltip": "Unit system for the returned distances: Metric (kilometers/meters) or Imperial (miles/feet).",
240
253
  "group": "input",
241
254
  "value": "metric",
242
255
  "type": "Dropdown",
@@ -261,7 +274,6 @@
261
274
  },
262
275
  {
263
276
  "label": "Mode",
264
- "description": "You can specify the transportation mode to use when calculating distances and directions",
265
277
  "group": "input",
266
278
  "value": "driving",
267
279
  "type": "Dropdown",
@@ -324,23 +336,6 @@
324
336
  "oneOf": ["calculateDistance"]
325
337
  }
326
338
  },
327
- {
328
- "group": "input",
329
- "type": "Hidden",
330
- "optional": false,
331
- "value": "=\"[\"+addressValue+\"]\"",
332
- "binding": {
333
- "type": "zeebe:input",
334
- "name": "body.address.addressLines"
335
- },
336
- "constraints": {
337
- "notEmpty": true
338
- },
339
- "condition": {
340
- "property": "operationType",
341
- "oneOf": ["validateAddress"]
342
- }
343
- },
344
339
  {
345
340
  "type": "Hidden",
346
341
  "optional": false,
@@ -403,14 +398,14 @@
403
398
  "constraints": {
404
399
  "notEmpty": false,
405
400
  "pattern": {
406
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
401
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
407
402
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
408
403
  }
409
404
  }
410
405
  },
411
406
  {
412
407
  "label": "Result variable",
413
- "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>",
408
+ "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>",
414
409
  "group": "output",
415
410
  "type": "String",
416
411
  "binding": {
@@ -420,8 +415,8 @@
420
415
  },
421
416
  {
422
417
  "label": "Result expression",
423
- "id": "resultExpressionGetAddressComplete",
424
- "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>",
418
+ "id": "resultExpressionGet",
419
+ "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>",
425
420
  "group": "output",
426
421
  "type": "String",
427
422
  "feel": "required",
@@ -437,8 +432,8 @@
437
432
  },
438
433
  {
439
434
  "label": "Result expression",
440
- "id": "resultExpressionGetPlaceId",
441
- "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>",
435
+ "id": "resultExpressionGet",
436
+ "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>",
442
437
  "group": "output",
443
438
  "type": "String",
444
439
  "feel": "required",
@@ -454,8 +449,8 @@
454
449
  },
455
450
  {
456
451
  "label": "Result expression",
457
- "id": "resultExpressionGetDuration",
458
- "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>",
452
+ "id": "resultExpressionGet",
453
+ "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>",
459
454
  "group": "output",
460
455
  "type": "String",
461
456
  "feel": "required",
@@ -471,7 +466,7 @@
471
466
  },
472
467
  {
473
468
  "label": "Error expression",
474
- "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>",
469
+ "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>",
475
470
  "group": "errors",
476
471
  "type": "Text",
477
472
  "feel": "required",
@@ -479,20 +474,87 @@
479
474
  "type": "zeebe:taskHeader",
480
475
  "key": "errorExpression"
481
476
  }
477
+ },
478
+ {
479
+ "id": "version",
480
+ "label": "Version",
481
+ "description": "Version of the element template",
482
+ "value": "7",
483
+ "group": "connector",
484
+ "binding": {
485
+ "key": "elementTemplateVersion",
486
+ "type": "zeebe:taskHeader"
487
+ },
488
+ "type": "Hidden"
489
+ },
490
+ {
491
+ "id": "id",
492
+ "label": "ID",
493
+ "description": "ID of the element template",
494
+ "value": "io.camunda.connectors.GoogleMapsPlatform.v1",
495
+ "group": "connector",
496
+ "binding": {
497
+ "key": "elementTemplateId",
498
+ "type": "zeebe:taskHeader"
499
+ },
500
+ "type": "Hidden"
501
+ }
502
+ ],
503
+ "steps": [
504
+ {
505
+ "name": "Validate address",
506
+ "description": "Validate and standardize a postal address with Google Maps Platform.",
507
+ "keywords": ["address", "validate", "verify", "standardize", "postal"],
508
+ "presetId": "operationType_validateAddress"
509
+ },
510
+ {
511
+ "name": "Get place ID",
512
+ "description": "Look up the place ID for a given address or location using Google Maps Platform.",
513
+ "keywords": ["place", "place id", "lookup", "geocode", "location"],
514
+ "presetId": "operationType_getPlaceID"
515
+ },
516
+ {
517
+ "name": "Calculate distance",
518
+ "description": "Calculate the distance and travel time between origin and destination points with Google Maps Platform.",
519
+ "keywords": [
520
+ "distance",
521
+ "route",
522
+ "travel time",
523
+ "directions",
524
+ "matrix"
525
+ ],
526
+ "presetId": "operationType_calculateDistance"
527
+ }
528
+ ],
529
+ "presets": [
530
+ {
531
+ "id": "operationType_validateAddress",
532
+ "properties": {
533
+ "operationType": "validateAddress"
534
+ }
535
+ },
536
+ {
537
+ "id": "operationType_getPlaceID",
538
+ "properties": {
539
+ "operationType": "getPlaceID"
540
+ }
541
+ },
542
+ {
543
+ "id": "operationType_calculateDistance",
544
+ "properties": {
545
+ "operationType": "calculateDistance"
546
+ }
482
547
  }
483
548
  ],
484
549
  "icon": {
485
550
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='18' height='18' viewBox='0 0 1000 1000' xml:space='preserve'%3E%3Cdesc%3ECreated with Fabric.js 3.5.0%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='rgba(255,255,255,0)'/%3E%3Cg transform='matrix(7.8865 0 0 7.4288 492.2894 500.0022)' id='954022'%3E%3Cg style='' vector-effect='non-scaling-stroke'%3E%3Cg transform='matrix(1 0 0 1 -10.65 -48.75)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(26,115,232); fill-rule: nonzero; opacity: 1;' transform=' translate(-35.5, -17.4)' d='M 60.2 2.2 C 55.8 0.8 51 0 46.1 0 C 32 0 19.3 6.4 10.8 16.5 l 21.8 18.3 L 60.2 2.2 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -29.85 -23.85)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(234,67,53); fill-rule: nonzero; opacity: 1;' transform=' translate(-16.3, -42.3)' d='M 10.8 16.5 C 4.1 24.5 0 34.9 0 46.1 c 0 8.7 1.7 15.7 4.6 22 l 28 -33.3 l -21.8 -18.3 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 13.75 -36.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(66,133,244); fill-rule: nonzero; opacity: 1;' transform=' translate(-59.9, -29.9)' d='M 46.2 28.5 c 9.8 0 17.7 7.9 17.7 17.7 c 0 4.3 -1.6 8.3 -4.2 11.4 c 0 0 13.9 -16.6 27.5 -32.7 c -5.6 -10.8 -15.3 -19 -27 -22.7 L 32.6 34.8 c 3.3 -3.8 8.1 -6.3 13.6 -6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -14 0.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(251,188,4); fill-rule: nonzero; opacity: 1;' transform=' translate(-32.15, -66.4)' d='M 46.2 63.8 c -9.8 0 -17.7 -7.9 -17.7 -17.7 c 0 -4.3 1.5 -8.3 4.1 -11.3 l -28 33.3 c 4.8 10.6 12.8 19.2 21 29.9 l 34.1 -40.5 c -3.3 3.9 -8.1 6.3 -13.5 6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 12.85 12.5)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(52,168,83); fill-rule: nonzero; opacity: 1;' transform=' translate(-59, -78.65)' d='M 59.1 109.2 c 15.4 -24.1 33.3 -35 33.3 -63 c 0 -7.7 -1.9 -14.9 -5.2 -21.3 L 25.6 98 c 2.6 3.4 5.3 7.3 7.9 11.3 c 9.4 14.5 6.8 23.1 12.8 23.1 s 3.4 -8.7 12.8 -23.2' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"
486
- },
487
- "engines": {
488
- "camunda": "^8.2"
489
551
  }
490
552
  },
491
553
  {
492
554
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
493
- "name": "Google Maps Platform connector",
555
+ "name": "Google Maps Platform Outbound Connector",
494
556
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
495
- "version": 1,
557
+ "version": 3,
496
558
  "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
497
559
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
498
560
  "category": {
@@ -892,7 +954,7 @@
892
954
  "constraints": {
893
955
  "notEmpty": false,
894
956
  "pattern": {
895
- "value": "^([0-9]*$)|(secrets.*$)",
957
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
896
958
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
897
959
  }
898
960
  }
@@ -960,7 +1022,7 @@
960
1022
  },
961
1023
  {
962
1024
  "label": "Error expression",
963
- "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>",
1025
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
964
1026
  "group": "errors",
965
1027
  "type": "Text",
966
1028
  "feel": "required",
@@ -1458,7 +1520,7 @@
1458
1520
  "id": "version",
1459
1521
  "label": "Version",
1460
1522
  "description": "Version of the element template",
1461
- "value": "4",
1523
+ "value": "5",
1462
1524
  "group": "connector",
1463
1525
  "binding": {
1464
1526
  "key": "elementTemplateVersion",
@@ -1485,13 +1547,16 @@
1485
1547
  },
1486
1548
  {
1487
1549
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1488
- "name": "Google Maps Platform connector",
1550
+ "name": "Google Maps Platform Outbound Connector",
1489
1551
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
1490
- "deprecated": {
1491
- "message": "Replace with 'Google Maps Platform connector' template.",
1492
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1552
+ "version": 4,
1553
+ "engines": {
1554
+ "camunda": "^8.3"
1555
+ },
1556
+ "description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
1557
+ "metadata": {
1558
+ "keywords": ["find address", "check address", "get distance"]
1493
1559
  },
1494
- "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
1495
1560
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
1496
1561
  "category": {
1497
1562
  "id": "connectors",
@@ -1890,7 +1955,7 @@
1890
1955
  "constraints": {
1891
1956
  "notEmpty": false,
1892
1957
  "pattern": {
1893
- "value": "^([0-9]*$)|(secrets.*$)",
1958
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1894
1959
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1895
1960
  }
1896
1961
  }
@@ -1907,7 +1972,7 @@
1907
1972
  },
1908
1973
  {
1909
1974
  "label": "Result expression",
1910
- "id": "resultExpressionGetAddressComplete",
1975
+ "id": "resultExpressionGet",
1911
1976
  "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>",
1912
1977
  "group": "output",
1913
1978
  "type": "String",
@@ -1924,7 +1989,7 @@
1924
1989
  },
1925
1990
  {
1926
1991
  "label": "Result expression",
1927
- "id": "resultExpressionGetPlaceId",
1992
+ "id": "resultExpressionGet",
1928
1993
  "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>",
1929
1994
  "group": "output",
1930
1995
  "type": "String",
@@ -1941,7 +2006,7 @@
1941
2006
  },
1942
2007
  {
1943
2008
  "label": "Result expression",
1944
- "id": "resultExpressionGetDuration",
2009
+ "id": "resultExpressionGet",
1945
2010
  "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>",
1946
2011
  "group": "output",
1947
2012
  "type": "String",
@@ -1966,6 +2031,30 @@
1966
2031
  "type": "zeebe:taskHeader",
1967
2032
  "key": "errorExpression"
1968
2033
  }
2034
+ },
2035
+ {
2036
+ "id": "version",
2037
+ "label": "Version",
2038
+ "description": "Version of the element template",
2039
+ "value": "4",
2040
+ "group": "connector",
2041
+ "binding": {
2042
+ "key": "elementTemplateVersion",
2043
+ "type": "zeebe:taskHeader"
2044
+ },
2045
+ "type": "Hidden"
2046
+ },
2047
+ {
2048
+ "id": "id",
2049
+ "label": "ID",
2050
+ "description": "ID of the element template",
2051
+ "value": "io.camunda.connectors.GoogleMapsPlatform.v1",
2052
+ "group": "connector",
2053
+ "binding": {
2054
+ "key": "elementTemplateId",
2055
+ "type": "zeebe:taskHeader"
2056
+ },
2057
+ "type": "Hidden"
1969
2058
  }
1970
2059
  ],
1971
2060
  "icon": {
@@ -1974,9 +2063,9 @@
1974
2063
  },
1975
2064
  {
1976
2065
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1977
- "name": "Google Maps Platform Outbound Connector",
2066
+ "name": "Google Maps Platform connector",
1978
2067
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
1979
- "version": 3,
2068
+ "version": 1,
1980
2069
  "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
1981
2070
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
1982
2071
  "category": {
@@ -2376,7 +2465,7 @@
2376
2465
  "constraints": {
2377
2466
  "notEmpty": false,
2378
2467
  "pattern": {
2379
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2468
+ "value": "^([0-9]*$)|(secrets.*$)",
2380
2469
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2381
2470
  }
2382
2471
  }
@@ -2444,7 +2533,7 @@
2444
2533
  },
2445
2534
  {
2446
2535
  "label": "Error expression",
2447
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
2536
+ "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>",
2448
2537
  "group": "errors",
2449
2538
  "type": "Text",
2450
2539
  "feel": "required",
@@ -2465,14 +2554,21 @@
2465
2554
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2466
2555
  "name": "Google Maps Platform Outbound Connector",
2467
2556
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
2468
- "version": 4,
2557
+ "version": 6,
2469
2558
  "engines": {
2470
2559
  "camunda": "^8.3"
2471
2560
  },
2472
2561
  "description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
2473
- "metadata": {
2474
- "keywords": ["find address", "check address", "get distance"]
2475
- },
2562
+ "keywords": [
2563
+ "validate address",
2564
+ "get place ID",
2565
+ "calculate distance",
2566
+ "geocoding",
2567
+ "geolocation",
2568
+ "address validation",
2569
+ "routing",
2570
+ "maps"
2571
+ ],
2476
2572
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
2477
2573
  "category": {
2478
2574
  "id": "connectors",
@@ -2491,14 +2587,14 @@
2491
2587
  "id": "authentication",
2492
2588
  "label": "Authentication"
2493
2589
  },
2494
- {
2495
- "id": "configuration",
2496
- "label": "Configuration"
2497
- },
2498
2590
  {
2499
2591
  "id": "input",
2500
2592
  "label": "Input"
2501
2593
  },
2594
+ {
2595
+ "id": "connector",
2596
+ "label": "Connector"
2597
+ },
2502
2598
  {
2503
2599
  "id": "output",
2504
2600
  "label": "Output"
@@ -2635,7 +2731,7 @@
2635
2731
  "optional": false,
2636
2732
  "binding": {
2637
2733
  "type": "zeebe:input",
2638
- "name": "addressValue"
2734
+ "name": "body.address.addressLines"
2639
2735
  },
2640
2736
  "constraints": {
2641
2737
  "notEmpty": true
@@ -2792,23 +2888,6 @@
2792
2888
  "oneOf": ["calculateDistance"]
2793
2889
  }
2794
2890
  },
2795
- {
2796
- "group": "input",
2797
- "type": "Hidden",
2798
- "optional": false,
2799
- "value": "=\"[\"+addressValue+\"]\"",
2800
- "binding": {
2801
- "type": "zeebe:input",
2802
- "name": "body.address.addressLines"
2803
- },
2804
- "constraints": {
2805
- "notEmpty": true
2806
- },
2807
- "condition": {
2808
- "property": "operationType",
2809
- "oneOf": ["validateAddress"]
2810
- }
2811
- },
2812
2891
  {
2813
2892
  "type": "Hidden",
2814
2893
  "optional": false,
@@ -2952,7 +3031,7 @@
2952
3031
  "id": "version",
2953
3032
  "label": "Version",
2954
3033
  "description": "Version of the element template",
2955
- "value": "4",
3034
+ "value": "6",
2956
3035
  "group": "connector",
2957
3036
  "binding": {
2958
3037
  "key": "elementTemplateVersion",
@@ -2979,23 +3058,10 @@
2979
3058
  },
2980
3059
  {
2981
3060
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2982
- "name": "Google Maps Platform Outbound Connector",
3061
+ "name": "Google Maps Platform connector",
2983
3062
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
2984
- "version": 6,
2985
- "engines": {
2986
- "camunda": "^8.3"
2987
- },
2988
- "description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
2989
- "keywords": [
2990
- "validate address",
2991
- "get place ID",
2992
- "calculate distance",
2993
- "geocoding",
2994
- "geolocation",
2995
- "address validation",
2996
- "routing",
2997
- "maps"
2998
- ],
3063
+ "version": 2,
3064
+ "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
2999
3065
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
3000
3066
  "category": {
3001
3067
  "id": "connectors",
@@ -3015,12 +3081,12 @@
3015
3081
  "label": "Authentication"
3016
3082
  },
3017
3083
  {
3018
- "id": "input",
3019
- "label": "Input"
3084
+ "id": "configuration",
3085
+ "label": "Configuration"
3020
3086
  },
3021
3087
  {
3022
- "id": "connector",
3023
- "label": "Connector"
3088
+ "id": "input",
3089
+ "label": "Input"
3024
3090
  },
3025
3091
  {
3026
3092
  "id": "output",
@@ -3158,7 +3224,7 @@
3158
3224
  "optional": false,
3159
3225
  "binding": {
3160
3226
  "type": "zeebe:input",
3161
- "name": "body.address.addressLines"
3227
+ "name": "addressValue"
3162
3228
  },
3163
3229
  "constraints": {
3164
3230
  "notEmpty": true
@@ -3316,12 +3382,13 @@
3316
3382
  }
3317
3383
  },
3318
3384
  {
3385
+ "group": "input",
3319
3386
  "type": "Hidden",
3320
3387
  "optional": false,
3321
- "value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
3388
+ "value": "=\"[\"+addressValue+\"]\"",
3322
3389
  "binding": {
3323
3390
  "type": "zeebe:input",
3324
- "name": "url"
3391
+ "name": "body.address.addressLines"
3325
3392
  },
3326
3393
  "constraints": {
3327
3394
  "notEmpty": true
@@ -3334,7 +3401,7 @@
3334
3401
  {
3335
3402
  "type": "Hidden",
3336
3403
  "optional": false,
3337
- "value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
3404
+ "value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
3338
3405
  "binding": {
3339
3406
  "type": "zeebe:input",
3340
3407
  "name": "url"
@@ -3344,13 +3411,29 @@
3344
3411
  },
3345
3412
  "condition": {
3346
3413
  "property": "operationType",
3347
- "oneOf": ["getPlaceID"]
3414
+ "oneOf": ["validateAddress"]
3348
3415
  }
3349
3416
  },
3350
3417
  {
3351
3418
  "type": "Hidden",
3352
3419
  "optional": false,
3353
- "value": "https://maps.googleapis.com/maps/api/directions/json",
3420
+ "value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
3421
+ "binding": {
3422
+ "type": "zeebe:input",
3423
+ "name": "url"
3424
+ },
3425
+ "constraints": {
3426
+ "notEmpty": true
3427
+ },
3428
+ "condition": {
3429
+ "property": "operationType",
3430
+ "oneOf": ["getPlaceID"]
3431
+ }
3432
+ },
3433
+ {
3434
+ "type": "Hidden",
3435
+ "optional": false,
3436
+ "value": "https://maps.googleapis.com/maps/api/directions/json",
3354
3437
  "binding": {
3355
3438
  "type": "zeebe:input",
3356
3439
  "name": "url"
@@ -3377,7 +3460,7 @@
3377
3460
  "constraints": {
3378
3461
  "notEmpty": false,
3379
3462
  "pattern": {
3380
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3463
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
3381
3464
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3382
3465
  }
3383
3466
  }
@@ -3394,7 +3477,7 @@
3394
3477
  },
3395
3478
  {
3396
3479
  "label": "Result expression",
3397
- "id": "resultExpressionGet",
3480
+ "id": "resultExpressionGetAddressComplete",
3398
3481
  "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>",
3399
3482
  "group": "output",
3400
3483
  "type": "String",
@@ -3411,7 +3494,7 @@
3411
3494
  },
3412
3495
  {
3413
3496
  "label": "Result expression",
3414
- "id": "resultExpressionGet",
3497
+ "id": "resultExpressionGetPlaceId",
3415
3498
  "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>",
3416
3499
  "group": "output",
3417
3500
  "type": "String",
@@ -3428,7 +3511,7 @@
3428
3511
  },
3429
3512
  {
3430
3513
  "label": "Result expression",
3431
- "id": "resultExpressionGet",
3514
+ "id": "resultExpressionGetDuration",
3432
3515
  "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>",
3433
3516
  "group": "output",
3434
3517
  "type": "String",
@@ -3453,30 +3536,498 @@
3453
3536
  "type": "zeebe:taskHeader",
3454
3537
  "key": "errorExpression"
3455
3538
  }
3539
+ }
3540
+ ],
3541
+ "icon": {
3542
+ "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='18' height='18' viewBox='0 0 1000 1000' xml:space='preserve'%3E%3Cdesc%3ECreated with Fabric.js 3.5.0%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='rgba(255,255,255,0)'/%3E%3Cg transform='matrix(7.8865 0 0 7.4288 492.2894 500.0022)' id='954022'%3E%3Cg style='' vector-effect='non-scaling-stroke'%3E%3Cg transform='matrix(1 0 0 1 -10.65 -48.75)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(26,115,232); fill-rule: nonzero; opacity: 1;' transform=' translate(-35.5, -17.4)' d='M 60.2 2.2 C 55.8 0.8 51 0 46.1 0 C 32 0 19.3 6.4 10.8 16.5 l 21.8 18.3 L 60.2 2.2 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -29.85 -23.85)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(234,67,53); fill-rule: nonzero; opacity: 1;' transform=' translate(-16.3, -42.3)' d='M 10.8 16.5 C 4.1 24.5 0 34.9 0 46.1 c 0 8.7 1.7 15.7 4.6 22 l 28 -33.3 l -21.8 -18.3 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 13.75 -36.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(66,133,244); fill-rule: nonzero; opacity: 1;' transform=' translate(-59.9, -29.9)' d='M 46.2 28.5 c 9.8 0 17.7 7.9 17.7 17.7 c 0 4.3 -1.6 8.3 -4.2 11.4 c 0 0 13.9 -16.6 27.5 -32.7 c -5.6 -10.8 -15.3 -19 -27 -22.7 L 32.6 34.8 c 3.3 -3.8 8.1 -6.3 13.6 -6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -14 0.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(251,188,4); fill-rule: nonzero; opacity: 1;' transform=' translate(-32.15, -66.4)' d='M 46.2 63.8 c -9.8 0 -17.7 -7.9 -17.7 -17.7 c 0 -4.3 1.5 -8.3 4.1 -11.3 l -28 33.3 c 4.8 10.6 12.8 19.2 21 29.9 l 34.1 -40.5 c -3.3 3.9 -8.1 6.3 -13.5 6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 12.85 12.5)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(52,168,83); fill-rule: nonzero; opacity: 1;' transform=' translate(-59, -78.65)' d='M 59.1 109.2 c 15.4 -24.1 33.3 -35 33.3 -63 c 0 -7.7 -1.9 -14.9 -5.2 -21.3 L 25.6 98 c 2.6 3.4 5.3 7.3 7.9 11.3 c 9.4 14.5 6.8 23.1 12.8 23.1 s 3.4 -8.7 12.8 -23.2' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"
3543
+ },
3544
+ "engines": {
3545
+ "camunda": "^8.2"
3546
+ }
3547
+ },
3548
+ {
3549
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3550
+ "name": "Google Maps Platform connector",
3551
+ "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
3552
+ "deprecated": {
3553
+ "message": "Replace with 'Google Maps Platform connector' template.",
3554
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
3555
+ },
3556
+ "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
3557
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
3558
+ "category": {
3559
+ "id": "connectors",
3560
+ "name": "Connectors"
3561
+ },
3562
+ "appliesTo": ["bpmn:Task"],
3563
+ "elementType": {
3564
+ "value": "bpmn:ServiceTask"
3565
+ },
3566
+ "groups": [
3567
+ {
3568
+ "id": "operation",
3569
+ "label": "Operation"
3456
3570
  },
3457
3571
  {
3458
- "id": "version",
3459
- "label": "Version",
3460
- "description": "Version of the element template",
3461
- "value": "4",
3462
- "group": "connector",
3572
+ "id": "authentication",
3573
+ "label": "Authentication"
3574
+ },
3575
+ {
3576
+ "id": "configuration",
3577
+ "label": "Configuration"
3578
+ },
3579
+ {
3580
+ "id": "input",
3581
+ "label": "Input"
3582
+ },
3583
+ {
3584
+ "id": "output",
3585
+ "label": "Output"
3586
+ },
3587
+ {
3588
+ "id": "errors",
3589
+ "label": "Error handling"
3590
+ }
3591
+ ],
3592
+ "properties": [
3593
+ {
3594
+ "type": "Hidden",
3595
+ "value": "io.camunda:http-json:1",
3463
3596
  "binding": {
3464
- "key": "elementTemplateVersion",
3465
- "type": "zeebe:taskHeader"
3597
+ "type": "zeebe:taskDefinition",
3598
+ "property": "type"
3599
+ }
3600
+ },
3601
+ {
3602
+ "label": "Operation type",
3603
+ "id": "operationType",
3604
+ "group": "operation",
3605
+ "type": "Dropdown",
3606
+ "choices": [
3607
+ {
3608
+ "name": "Validate address",
3609
+ "value": "validateAddress"
3610
+ },
3611
+ {
3612
+ "name": "Get place ID",
3613
+ "value": "getPlaceID"
3614
+ },
3615
+ {
3616
+ "name": "Calculate distance",
3617
+ "value": "calculateDistance"
3618
+ }
3619
+ ],
3620
+ "binding": {
3621
+ "type": "zeebe:input",
3622
+ "name": "operationType"
3623
+ }
3624
+ },
3625
+ {
3626
+ "type": "Hidden",
3627
+ "optional": false,
3628
+ "value": "post",
3629
+ "binding": {
3630
+ "type": "zeebe:input",
3631
+ "name": "method"
3466
3632
  },
3467
- "type": "Hidden"
3633
+ "constraints": {
3634
+ "notEmpty": true
3635
+ },
3636
+ "condition": {
3637
+ "property": "operationType",
3638
+ "oneOf": ["validateAddress"]
3639
+ }
3468
3640
  },
3469
3641
  {
3470
- "id": "id",
3471
- "label": "ID",
3472
- "description": "ID of the element template",
3473
- "value": "io.camunda.connectors.GoogleMapsPlatform.v1",
3474
- "group": "connector",
3642
+ "type": "Hidden",
3643
+ "optional": false,
3644
+ "value": "get",
3475
3645
  "binding": {
3476
- "key": "elementTemplateId",
3477
- "type": "zeebe:taskHeader"
3646
+ "type": "zeebe:input",
3647
+ "name": "method"
3478
3648
  },
3479
- "type": "Hidden"
3649
+ "constraints": {
3650
+ "notEmpty": true
3651
+ },
3652
+ "condition": {
3653
+ "property": "operationType",
3654
+ "oneOf": ["getPlaceID", "calculateDistance"]
3655
+ }
3656
+ },
3657
+ {
3658
+ "label": "API key",
3659
+ "description": "Google Maps Platform API key. Details in the <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>connector documentation</a>",
3660
+ "group": "authentication",
3661
+ "type": "String",
3662
+ "feel": "optional",
3663
+ "optional": false,
3664
+ "binding": {
3665
+ "type": "zeebe:input",
3666
+ "name": "apiKeyValue"
3667
+ },
3668
+ "constraints": {
3669
+ "notEmpty": true
3670
+ }
3671
+ },
3672
+ {
3673
+ "label": "Region code",
3674
+ "description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
3675
+ "group": "input",
3676
+ "type": "String",
3677
+ "feel": "optional",
3678
+ "optional": true,
3679
+ "binding": {
3680
+ "type": "zeebe:input",
3681
+ "name": "body.address.regionCode"
3682
+ },
3683
+ "constraints": {
3684
+ "notEmpty": false
3685
+ },
3686
+ "condition": {
3687
+ "property": "operationType",
3688
+ "oneOf": ["validateAddress"]
3689
+ }
3690
+ },
3691
+ {
3692
+ "label": "Locality",
3693
+ "description": "An incorporated city or town political entity",
3694
+ "group": "input",
3695
+ "type": "String",
3696
+ "feel": "optional",
3697
+ "optional": true,
3698
+ "binding": {
3699
+ "type": "zeebe:input",
3700
+ "name": "body.address.locality"
3701
+ },
3702
+ "constraints": {
3703
+ "notEmpty": false
3704
+ },
3705
+ "condition": {
3706
+ "property": "operationType",
3707
+ "oneOf": ["validateAddress"]
3708
+ }
3709
+ },
3710
+ {
3711
+ "label": "Address",
3712
+ "description": "Unstructured address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
3713
+ "group": "input",
3714
+ "type": "String",
3715
+ "feel": "optional",
3716
+ "optional": false,
3717
+ "binding": {
3718
+ "type": "zeebe:input",
3719
+ "name": "addressValue"
3720
+ },
3721
+ "constraints": {
3722
+ "notEmpty": true
3723
+ },
3724
+ "condition": {
3725
+ "property": "operationType",
3726
+ "oneOf": ["validateAddress"]
3727
+ }
3728
+ },
3729
+ {
3730
+ "label": "Address",
3731
+ "description": "Complete address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
3732
+ "group": "input",
3733
+ "type": "String",
3734
+ "feel": "optional",
3735
+ "optional": false,
3736
+ "binding": {
3737
+ "type": "zeebe:input",
3738
+ "name": "addressValue"
3739
+ },
3740
+ "constraints": {
3741
+ "notEmpty": true
3742
+ },
3743
+ "condition": {
3744
+ "property": "operationType",
3745
+ "oneOf": ["getPlaceID"]
3746
+ }
3747
+ },
3748
+ {
3749
+ "label": "Destination",
3750
+ "description": "The place ID value that you want to use as the destination for calculating distance",
3751
+ "group": "input",
3752
+ "type": "String",
3753
+ "feel": "optional",
3754
+ "optional": false,
3755
+ "binding": {
3756
+ "type": "zeebe:input",
3757
+ "name": "destinationValue"
3758
+ },
3759
+ "constraints": {
3760
+ "notEmpty": true
3761
+ },
3762
+ "condition": {
3763
+ "property": "operationType",
3764
+ "oneOf": ["calculateDistance"]
3765
+ }
3766
+ },
3767
+ {
3768
+ "label": "Origin",
3769
+ "description": "The place ID value that you want to use as the starting point for calculating distance",
3770
+ "group": "input",
3771
+ "type": "String",
3772
+ "feel": "optional",
3773
+ "optional": false,
3774
+ "binding": {
3775
+ "type": "zeebe:input",
3776
+ "name": "originValue"
3777
+ },
3778
+ "constraints": {
3779
+ "notEmpty": true
3780
+ },
3781
+ "condition": {
3782
+ "property": "operationType",
3783
+ "oneOf": ["calculateDistance"]
3784
+ }
3785
+ },
3786
+ {
3787
+ "label": "Units",
3788
+ "description": "Specifies the unit system to use when displaying results",
3789
+ "group": "input",
3790
+ "value": "metric",
3791
+ "type": "Dropdown",
3792
+ "choices": [
3793
+ {
3794
+ "name": "Metric",
3795
+ "value": "metric"
3796
+ },
3797
+ {
3798
+ "name": "Imperial",
3799
+ "value": "imperial"
3800
+ }
3801
+ ],
3802
+ "binding": {
3803
+ "type": "zeebe:input",
3804
+ "name": "unitsValue"
3805
+ },
3806
+ "condition": {
3807
+ "property": "operationType",
3808
+ "oneOf": ["calculateDistance"]
3809
+ }
3810
+ },
3811
+ {
3812
+ "label": "Mode",
3813
+ "description": "You can specify the transportation mode to use when calculating distances and directions",
3814
+ "group": "input",
3815
+ "value": "driving",
3816
+ "type": "Dropdown",
3817
+ "choices": [
3818
+ {
3819
+ "name": "Driving",
3820
+ "value": "driving"
3821
+ },
3822
+ {
3823
+ "name": "Walking",
3824
+ "value": "walking"
3825
+ },
3826
+ {
3827
+ "name": "Bicycling",
3828
+ "value": "bicycling"
3829
+ },
3830
+ {
3831
+ "name": "Transit",
3832
+ "value": "transit"
3833
+ }
3834
+ ],
3835
+ "binding": {
3836
+ "type": "zeebe:input",
3837
+ "name": "modeValue"
3838
+ },
3839
+ "condition": {
3840
+ "property": "operationType",
3841
+ "oneOf": ["calculateDistance"]
3842
+ }
3843
+ },
3844
+ {
3845
+ "type": "Hidden",
3846
+ "optional": false,
3847
+ "value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
3848
+ "binding": {
3849
+ "type": "zeebe:input",
3850
+ "name": "queryParameters"
3851
+ },
3852
+ "constraints": {
3853
+ "notEmpty": true
3854
+ },
3855
+ "condition": {
3856
+ "property": "operationType",
3857
+ "oneOf": ["getPlaceID"]
3858
+ }
3859
+ },
3860
+ {
3861
+ "type": "Hidden",
3862
+ "optional": false,
3863
+ "value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
3864
+ "binding": {
3865
+ "type": "zeebe:input",
3866
+ "name": "queryParameters"
3867
+ },
3868
+ "constraints": {
3869
+ "notEmpty": true
3870
+ },
3871
+ "condition": {
3872
+ "property": "operationType",
3873
+ "oneOf": ["calculateDistance"]
3874
+ }
3875
+ },
3876
+ {
3877
+ "group": "input",
3878
+ "type": "Hidden",
3879
+ "optional": false,
3880
+ "value": "=\"[\"+addressValue+\"]\"",
3881
+ "binding": {
3882
+ "type": "zeebe:input",
3883
+ "name": "body.address.addressLines"
3884
+ },
3885
+ "constraints": {
3886
+ "notEmpty": true
3887
+ },
3888
+ "condition": {
3889
+ "property": "operationType",
3890
+ "oneOf": ["validateAddress"]
3891
+ }
3892
+ },
3893
+ {
3894
+ "type": "Hidden",
3895
+ "optional": false,
3896
+ "value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
3897
+ "binding": {
3898
+ "type": "zeebe:input",
3899
+ "name": "url"
3900
+ },
3901
+ "constraints": {
3902
+ "notEmpty": true
3903
+ },
3904
+ "condition": {
3905
+ "property": "operationType",
3906
+ "oneOf": ["validateAddress"]
3907
+ }
3908
+ },
3909
+ {
3910
+ "type": "Hidden",
3911
+ "optional": false,
3912
+ "value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
3913
+ "binding": {
3914
+ "type": "zeebe:input",
3915
+ "name": "url"
3916
+ },
3917
+ "constraints": {
3918
+ "notEmpty": true
3919
+ },
3920
+ "condition": {
3921
+ "property": "operationType",
3922
+ "oneOf": ["getPlaceID"]
3923
+ }
3924
+ },
3925
+ {
3926
+ "type": "Hidden",
3927
+ "optional": false,
3928
+ "value": "https://maps.googleapis.com/maps/api/directions/json",
3929
+ "binding": {
3930
+ "type": "zeebe:input",
3931
+ "name": "url"
3932
+ },
3933
+ "constraints": {
3934
+ "notEmpty": true
3935
+ },
3936
+ "condition": {
3937
+ "property": "operationType",
3938
+ "oneOf": ["calculateDistance"]
3939
+ }
3940
+ },
3941
+ {
3942
+ "label": "Connection timeout",
3943
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
3944
+ "group": "errors",
3945
+ "type": "String",
3946
+ "value": "20",
3947
+ "binding": {
3948
+ "type": "zeebe:input",
3949
+ "name": "connectionTimeoutInSeconds"
3950
+ },
3951
+ "optional": true,
3952
+ "constraints": {
3953
+ "notEmpty": false,
3954
+ "pattern": {
3955
+ "value": "^([0-9]*$)|(secrets.*$)",
3956
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3957
+ }
3958
+ }
3959
+ },
3960
+ {
3961
+ "label": "Result variable",
3962
+ "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>",
3963
+ "group": "output",
3964
+ "type": "String",
3965
+ "binding": {
3966
+ "type": "zeebe:taskHeader",
3967
+ "key": "resultVariable"
3968
+ }
3969
+ },
3970
+ {
3971
+ "label": "Result expression",
3972
+ "id": "resultExpressionGetAddressComplete",
3973
+ "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>",
3974
+ "group": "output",
3975
+ "type": "String",
3976
+ "feel": "required",
3977
+ "value": "={\n addressComplete: if response.body.result.verdict.addressComplete = null then false else response.body.result.verdict.addressComplete, \n hasUnconfirmedComponents: if response.body.result.verdict.hasUnconfirmedComponents = null then false else true, \n formattedAddress: response.body.result.address.formattedAddress, \n postalAddress: response.body.result.address.postalAddress\n}",
3978
+ "binding": {
3979
+ "type": "zeebe:taskHeader",
3980
+ "key": "resultExpression"
3981
+ },
3982
+ "condition": {
3983
+ "property": "operationType",
3984
+ "oneOf": ["validateAddress"]
3985
+ }
3986
+ },
3987
+ {
3988
+ "label": "Result expression",
3989
+ "id": "resultExpressionGetPlaceId",
3990
+ "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>",
3991
+ "group": "output",
3992
+ "type": "String",
3993
+ "feel": "required",
3994
+ "value": "={placeId: response.body.candidates[1].place_id}",
3995
+ "binding": {
3996
+ "type": "zeebe:taskHeader",
3997
+ "key": "resultExpression"
3998
+ },
3999
+ "condition": {
4000
+ "property": "operationType",
4001
+ "oneOf": ["getPlaceID"]
4002
+ }
4003
+ },
4004
+ {
4005
+ "label": "Result expression",
4006
+ "id": "resultExpressionGetDuration",
4007
+ "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>",
4008
+ "group": "output",
4009
+ "type": "String",
4010
+ "feel": "required",
4011
+ "value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
4012
+ "binding": {
4013
+ "type": "zeebe:taskHeader",
4014
+ "key": "resultExpression"
4015
+ },
4016
+ "condition": {
4017
+ "property": "operationType",
4018
+ "oneOf": ["calculateDistance"]
4019
+ }
4020
+ },
4021
+ {
4022
+ "label": "Error expression",
4023
+ "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>",
4024
+ "group": "errors",
4025
+ "type": "Text",
4026
+ "feel": "required",
4027
+ "binding": {
4028
+ "type": "zeebe:taskHeader",
4029
+ "key": "errorExpression"
4030
+ }
3480
4031
  }
3481
4032
  ],
3482
4033
  "icon": {