@camunda/connectors-element-templates 1.0.4 → 1.0.6

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 (80) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +10 -2
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +157 -0
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1521 -0
  5. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  6. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  7. package/src/element-templates/asana-connector.json +8 -8
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +837 -15
  9. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +2624 -2624
  11. package/src/element-templates/aws-eventbridge-connector-start-event.json +18 -15
  12. package/src/element-templates/aws-eventbridge-outbound-connector.json +305 -305
  13. package/src/element-templates/aws-lambda-outbound-connector.json +182 -182
  14. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  15. package/src/element-templates/aws-sns-inbound-intermediate.json +460 -460
  16. package/src/element-templates/aws-sns-inbound-message-start.json +336 -336
  17. package/src/element-templates/aws-sns-outbound-connector.json +719 -719
  18. package/src/element-templates/aws-sqs-boundary-connector.json +444 -444
  19. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +919 -919
  20. package/src/element-templates/aws-sqs-outbound-connector.json +434 -434
  21. package/src/element-templates/aws-sqs-start-event-connector.json +387 -387
  22. package/src/element-templates/aws-sqs-start-message.json +463 -463
  23. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  24. package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
  25. package/src/element-templates/azure-open-ai-connector.json +32 -32
  26. package/src/element-templates/blue-prism-connector.json +47 -47
  27. package/src/element-templates/csv-outbound-connector.json +392 -0
  28. package/src/element-templates/easy-post-connector.json +149 -149
  29. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  30. package/src/element-templates/email-outbound-connector.json +199 -199
  31. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3473 -150
  32. package/src/element-templates/github-connector.json +3711 -3711
  33. package/src/element-templates/github-webhook-connector-boundary.json +16 -16
  34. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  35. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  36. package/src/element-templates/github-webhook-connector-start-event.json +13 -10
  37. package/src/element-templates/gitlab-connector.json +3165 -3165
  38. package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
  39. package/src/element-templates/google-drive-outbound-connector.json +495 -182
  40. package/src/element-templates/google-maps-platform-connector.json +534 -45
  41. package/src/element-templates/google-sheets-outbound-connector.json +1359 -1359
  42. package/src/element-templates/graphql-outbound-connector.json +1716 -1716
  43. package/src/element-templates/http-json-connector.json +2067 -1155
  44. package/src/element-templates/http-polling-boundary-catch-event-connector.json +255 -552
  45. package/src/element-templates/http-polling-connector.json +260 -557
  46. package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
  47. package/src/element-templates/jdbc-outbound-connector.json +402 -0
  48. package/src/element-templates/kafka-inbound-connector-boundary.json +481 -481
  49. package/src/element-templates/kafka-inbound-connector-intermediate.json +555 -555
  50. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  51. package/src/element-templates/kafka-inbound-connector.json +606 -0
  52. package/src/element-templates/kafka-outbound-connector.json +434 -434
  53. package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
  54. package/src/element-templates/microsoft-teams-outbound-connector.json +2899 -2899
  55. package/src/element-templates/openai-connector.json +363 -5
  56. package/src/element-templates/operate-connector.json +525 -9
  57. package/src/element-templates/power-automate-connector.json +1724 -0
  58. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +323 -323
  59. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +458 -458
  60. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +557 -557
  61. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +351 -351
  62. package/src/element-templates/rabbitmq-outbound-connector.json +873 -873
  63. package/src/element-templates/salesforce-connector.json +10 -10
  64. package/src/element-templates/sendgrid-outbound-connector.json +536 -4
  65. package/src/element-templates/slack-inbound-boundary.json +265 -265
  66. package/src/element-templates/slack-inbound-intermediate.json +430 -430
  67. package/src/element-templates/slack-inbound-message-start.json +320 -320
  68. package/src/element-templates/slack-inbound-start-event.json +126 -123
  69. package/src/element-templates/slack-outbound-connector.json +485 -230
  70. package/src/element-templates/twilio-connector.json +59 -59
  71. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  72. package/src/element-templates/twilio-webhook-connector.json +13 -10
  73. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  74. package/src/element-templates/uipath-connector.json +44 -44
  75. package/src/element-templates/webhook-connector-boundary.json +582 -582
  76. package/src/element-templates/webhook-connector-intermediate.json +1143 -1143
  77. package/src/element-templates/webhook-connector-start-event.json +2104 -2101
  78. package/src/element-templates/webhook-connector-start-message.json +1148 -1148
  79. package/src/element-templates/whatsapp-connector.json +6 -6
  80. package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
@@ -611,7 +611,7 @@
611
611
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
612
612
  "name": "Webhook Boundary Event Connector",
613
613
  "id": "io.camunda.connectors.webhook.WebhookConnectorBoundary.v1",
614
- "version": 1,
614
+ "version": 2,
615
615
  "description": "Configure webhook to receive callbacks",
616
616
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
617
617
  "category": {
@@ -999,6 +999,18 @@
999
999
  "notEmpty": true
1000
1000
  }
1001
1001
  },
1002
+ {
1003
+ "label": "Message ID expression",
1004
+ "feel": "required",
1005
+ "type": "String",
1006
+ "optional": true,
1007
+ "group": "activation",
1008
+ "binding": {
1009
+ "type": "zeebe:property",
1010
+ "name": "messageIdExpression"
1011
+ },
1012
+ "description": "Expression to extract unique identifier of a message"
1013
+ },
1002
1014
  {
1003
1015
  "label": "Condition",
1004
1016
  "type": "String",
@@ -1034,6 +1046,18 @@
1034
1046
  },
1035
1047
  "description": "Expression to map the inbound payload to process variables"
1036
1048
  },
1049
+ {
1050
+ "label": "One time verification response expression",
1051
+ "description": "Specify condition and response. Learn more in the <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#verification-expression' target='_blank'>documentation</a>",
1052
+ "type": "Text",
1053
+ "group": "webhookResponse",
1054
+ "feel": "required",
1055
+ "optional": true,
1056
+ "binding": {
1057
+ "type": "zeebe:property",
1058
+ "name": "inbound.verificationExpression"
1059
+ }
1060
+ },
1037
1061
  {
1038
1062
  "label": "Response body expression",
1039
1063
  "type": "Text",
@@ -1051,7 +1075,7 @@
1051
1075
  "contents": "data:image/svg+xml,%3Csvg id='icon' xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M24,26a3,3,0,1,0-2.8164-4H13v1a5,5,0,1,1-5-5V16a7,7,0,1,0,6.9287,8h6.2549A2.9914,2.9914,0,0,0,24,26Z'/%3E%3Cpath d='M24,16a7.024,7.024,0,0,0-2.57.4873l-3.1656-5.5395a3.0469,3.0469,0,1,0-1.7326.9985l4.1189,7.2085.8686-.4976a5.0006,5.0006,0,1,1-1.851,6.8418L17.937,26.501A7.0005,7.0005,0,1,0,24,16Z'/%3E%3Cpath d='M8.532,20.0537a3.03,3.03,0,1,0,1.7326.9985C11.74,18.47,13.86,14.7607,13.89,14.708l.4976-.8682-.8677-.497a5,5,0,1,1,6.812-1.8438l1.7315,1.002a7.0008,7.0008,0,1,0-10.3462,2.0356c-.457.7427-1.1021,1.8716-2.0737,3.5728Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='&lt;Transparent Rectangle&gt;' class='cls-1' width='32' height='32'/%3E%3C/svg%3E"
1052
1076
  },
1053
1077
  "engines": {
1054
- "camunda": "^8.2"
1078
+ "camunda": "^8.4"
1055
1079
  }
1056
1080
  },
1057
1081
  {
@@ -1595,8 +1619,11 @@
1595
1619
  "name": "Webhook Boundary Event Connector",
1596
1620
  "id": "io.camunda.connectors.webhook.WebhookConnectorBoundary.v1",
1597
1621
  "description": "Configure webhook to receive callbacks",
1598
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
1599
- "version": 10,
1622
+ "metadata": {
1623
+ "keywords": []
1624
+ },
1625
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/",
1626
+ "version": 12,
1600
1627
  "category": {
1601
1628
  "id": "connectors",
1602
1629
  "name": "Connectors"
@@ -1629,7 +1656,8 @@
1629
1656
  },
1630
1657
  {
1631
1658
  "id": "correlation",
1632
- "label": "Correlation"
1659
+ "label": "Correlation",
1660
+ "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
1633
1661
  },
1634
1662
  {
1635
1663
  "id": "output",
@@ -1702,7 +1730,7 @@
1702
1730
  {
1703
1731
  "id": "inbound.shouldValidateHmac",
1704
1732
  "label": "HMAC authentication",
1705
- "description": "Choose whether HMAC verification is enabled. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a> and <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#example' target='_blank'>example</a> that explains how to use HMAC-related fields",
1733
+ "description": "Choose whether HMAC verification is enabled. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a> and <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#example' target='_blank'>example</a> that explains how to use HMAC-related fields",
1706
1734
  "optional": false,
1707
1735
  "value": "disabled",
1708
1736
  "group": "authentication",
@@ -1793,7 +1821,7 @@
1793
1821
  {
1794
1822
  "id": "inbound.hmacScopes",
1795
1823
  "label": "HMAC scopes",
1796
- "description": "Set HMAC scopes for calculating signature data. See <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/' target='_blank'>documentation</a>",
1824
+ "description": "Set HMAC scopes for calculating signature data. See <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/' target='_blank'>documentation</a>",
1797
1825
  "optional": true,
1798
1826
  "feel": "required",
1799
1827
  "group": "authentication",
@@ -1895,7 +1923,7 @@
1895
1923
  {
1896
1924
  "id": "inbound.auth.apiKeyLocator",
1897
1925
  "label": "API key locator",
1898
- "description": "A FEEL expression that extracts API key from the request. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-configure-api-key-authorization'>See documentation</a>",
1926
+ "description": "A FEEL expression that extracts API key from the request. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#how-to-configure-api-key-authorization'>See documentation</a>",
1899
1927
  "optional": false,
1900
1928
  "value": "=split(request.headers.authorization, \" \")[2]",
1901
1929
  "constraints": {
@@ -1935,7 +1963,7 @@
1935
1963
  {
1936
1964
  "id": "inbound.auth.jwt.permissionsExpression",
1937
1965
  "label": "JWT role property expression",
1938
- "description": "Expression to extract the roles from the JWT token. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-extract-roles-from-jwt-data'>See documentation</a>",
1966
+ "description": "Expression to extract the roles from the JWT token. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#how-to-extract-roles-from-jwt-data'>See documentation</a>",
1939
1967
  "optional": false,
1940
1968
  "feel": "required",
1941
1969
  "group": "authorization",
@@ -1969,14 +1997,14 @@
1969
1997
  "type": "String"
1970
1998
  },
1971
1999
  {
1972
- "id": "inbound.responseBodyExpression",
1973
- "label": "Response body expression",
1974
- "description": "Specify condition and response",
2000
+ "id": "inbound.responseExpression",
2001
+ "label": "Response expression",
2002
+ "description": "Expression used to generate the HTTP response",
1975
2003
  "optional": true,
1976
2004
  "feel": "required",
1977
2005
  "group": "webhookResponse",
1978
2006
  "binding": {
1979
- "name": "inbound.responseBodyExpression",
2007
+ "name": "inbound.responseExpression",
1980
2008
  "type": "zeebe:property"
1981
2009
  },
1982
2010
  "type": "Text"
@@ -2007,6 +2035,18 @@
2007
2035
  },
2008
2036
  "type": "String"
2009
2037
  },
2038
+ {
2039
+ "id": "consumeUnmatchedEvents",
2040
+ "label": "Consume unmatched events",
2041
+ "value": true,
2042
+ "group": "activation",
2043
+ "binding": {
2044
+ "name": "consumeUnmatchedEvents",
2045
+ "type": "zeebe:property"
2046
+ },
2047
+ "tooltip": "Unmatched events are rejected by default, allowing the upstream service to handle the error. Check this box to consume unmatched events and return a success response",
2048
+ "type": "Boolean"
2049
+ },
2010
2050
  {
2011
2051
  "id": "correlationKeyProcess",
2012
2052
  "label": "Correlation key (process)",
@@ -2050,6 +2090,26 @@
2050
2090
  },
2051
2091
  "type": "String"
2052
2092
  },
2093
+ {
2094
+ "id": "messageTtl",
2095
+ "label": "Message TTL",
2096
+ "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
2097
+ "optional": true,
2098
+ "constraints": {
2099
+ "notEmpty": false,
2100
+ "pattern": {
2101
+ "value": "^(PT.*|)$",
2102
+ "message": "must be an ISO-8601 duration"
2103
+ }
2104
+ },
2105
+ "feel": "optional",
2106
+ "group": "correlation",
2107
+ "binding": {
2108
+ "name": "messageTtl",
2109
+ "type": "zeebe:property"
2110
+ },
2111
+ "type": "String"
2112
+ },
2053
2113
  {
2054
2114
  "id": "messageNameUuid",
2055
2115
  "generatedValue": {
@@ -2086,18 +2146,18 @@
2086
2146
  "type": "Text"
2087
2147
  }
2088
2148
  ],
2149
+ "engines": {
2150
+ "camunda": "^8.3"
2151
+ },
2089
2152
  "icon": {
2090
2153
  "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
2091
- },
2092
- "engines": {
2093
- "camunda": "^8.5"
2094
2154
  }
2095
2155
  },
2096
2156
  {
2097
2157
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2098
2158
  "name": "Webhook Boundary Event Connector",
2099
2159
  "id": "io.camunda.connectors.webhook.WebhookConnectorBoundary.v1",
2100
- "version": 3,
2160
+ "version": 1,
2101
2161
  "description": "Configure webhook to receive callbacks",
2102
2162
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
2103
2163
  "category": {
@@ -2206,11 +2266,7 @@
2206
2266
  },
2207
2267
  "description": "The webhook ID is a part of the URL",
2208
2268
  "constraints": {
2209
- "notEmpty": true,
2210
- "pattern": {
2211
- "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
2212
- "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
2213
- }
2269
+ "notEmpty": true
2214
2270
  }
2215
2271
  },
2216
2272
  {
@@ -2489,18 +2545,6 @@
2489
2545
  "notEmpty": true
2490
2546
  }
2491
2547
  },
2492
- {
2493
- "label": "Message ID expression",
2494
- "feel": "required",
2495
- "type": "String",
2496
- "optional": true,
2497
- "group": "activation",
2498
- "binding": {
2499
- "type": "zeebe:property",
2500
- "name": "messageIdExpression"
2501
- },
2502
- "description": "Expression to extract unique identifier of a message"
2503
- },
2504
2548
  {
2505
2549
  "label": "Condition",
2506
2550
  "type": "String",
@@ -2536,18 +2580,6 @@
2536
2580
  },
2537
2581
  "description": "Expression to map the inbound payload to process variables"
2538
2582
  },
2539
- {
2540
- "label": "One time verification response expression",
2541
- "description": "Specify condition and response. Learn more in the <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#verification-expression' target='_blank'>documentation</a>",
2542
- "type": "Text",
2543
- "group": "webhookResponse",
2544
- "feel": "required",
2545
- "optional": true,
2546
- "binding": {
2547
- "type": "zeebe:property",
2548
- "name": "inbound.verificationExpression"
2549
- }
2550
- },
2551
2583
  {
2552
2584
  "label": "Response body expression",
2553
2585
  "type": "Text",
@@ -2565,16 +2597,16 @@
2565
2597
  "contents": "data:image/svg+xml,%3Csvg id='icon' xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M24,26a3,3,0,1,0-2.8164-4H13v1a5,5,0,1,1-5-5V16a7,7,0,1,0,6.9287,8h6.2549A2.9914,2.9914,0,0,0,24,26Z'/%3E%3Cpath d='M24,16a7.024,7.024,0,0,0-2.57.4873l-3.1656-5.5395a3.0469,3.0469,0,1,0-1.7326.9985l4.1189,7.2085.8686-.4976a5.0006,5.0006,0,1,1-1.851,6.8418L17.937,26.501A7.0005,7.0005,0,1,0,24,16Z'/%3E%3Cpath d='M8.532,20.0537a3.03,3.03,0,1,0,1.7326.9985C11.74,18.47,13.86,14.7607,13.89,14.708l.4976-.8682-.8677-.497a5,5,0,1,1,6.812-1.8438l1.7315,1.002a7.0008,7.0008,0,1,0-10.3462,2.0356c-.457.7427-1.1021,1.8716-2.0737,3.5728Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='&lt;Transparent Rectangle&gt;' class='cls-1' width='32' height='32'/%3E%3C/svg%3E"
2566
2598
  },
2567
2599
  "engines": {
2568
- "camunda": "^8.5"
2600
+ "camunda": "^8.2"
2569
2601
  }
2570
2602
  },
2571
2603
  {
2572
2604
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2573
2605
  "name": "Webhook Boundary Event Connector",
2574
2606
  "id": "io.camunda.connectors.webhook.WebhookConnectorBoundary.v1",
2575
- "version": 2,
2576
2607
  "description": "Configure webhook to receive callbacks",
2577
2608
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
2609
+ "version": 10,
2578
2610
  "category": {
2579
2611
  "id": "connectors",
2580
2612
  "name": "Connectors"
@@ -2597,52 +2629,43 @@
2597
2629
  "id": "authorization",
2598
2630
  "label": "Authorization"
2599
2631
  },
2632
+ {
2633
+ "id": "webhookResponse",
2634
+ "label": "Webhook response"
2635
+ },
2600
2636
  {
2601
2637
  "id": "activation",
2602
2638
  "label": "Activation"
2603
2639
  },
2604
2640
  {
2605
- "id": "variable-mapping",
2606
- "label": "Variable mapping"
2641
+ "id": "correlation",
2642
+ "label": "Correlation"
2607
2643
  },
2608
2644
  {
2609
- "id": "webhookResponse",
2610
- "label": "Webhook response"
2645
+ "id": "output",
2646
+ "label": "Output mapping"
2611
2647
  }
2612
2648
  ],
2613
2649
  "properties": [
2614
2650
  {
2615
- "type": "Hidden",
2616
2651
  "value": "io.camunda:webhook:1",
2617
2652
  "binding": {
2618
- "type": "zeebe:property",
2619
- "name": "inbound.type"
2620
- }
2621
- },
2622
- {
2623
- "type": "Hidden",
2624
- "generatedValue": {
2625
- "type": "uuid"
2653
+ "name": "inbound.type",
2654
+ "type": "zeebe:property"
2626
2655
  },
2627
- "binding": {
2628
- "type": "bpmn:Message#property",
2629
- "name": "name"
2630
- }
2631
- },
2632
- {
2633
- "type": "Hidden",
2634
- "value": "ConfigurableInboundWebhook",
2635
- "binding": {
2636
- "type": "zeebe:property",
2637
- "name": "inbound.subtype"
2638
- }
2656
+ "type": "Hidden"
2639
2657
  },
2640
2658
  {
2641
- "id": "webhookMethod",
2659
+ "id": "inbound.method",
2642
2660
  "label": "Webhook method",
2643
- "group": "endpoint",
2644
2661
  "description": "Select HTTP method",
2662
+ "optional": false,
2645
2663
  "value": "any",
2664
+ "group": "endpoint",
2665
+ "binding": {
2666
+ "name": "inbound.method",
2667
+ "type": "zeebe:property"
2668
+ },
2646
2669
  "type": "Dropdown",
2647
2670
  "choices": [
2648
2671
  {
@@ -2650,46 +2673,53 @@
2650
2673
  "value": "any"
2651
2674
  },
2652
2675
  {
2653
- "name": "Get",
2676
+ "name": "GET",
2654
2677
  "value": "get"
2655
2678
  },
2656
2679
  {
2657
- "name": "Post",
2680
+ "name": "POST",
2658
2681
  "value": "post"
2659
2682
  },
2660
2683
  {
2661
- "name": "Put",
2684
+ "name": "PUT",
2662
2685
  "value": "put"
2663
2686
  },
2664
2687
  {
2665
- "name": "Delete",
2688
+ "name": "DELETE",
2666
2689
  "value": "delete"
2667
2690
  }
2668
- ],
2669
- "binding": {
2670
- "type": "zeebe:property",
2671
- "name": "inbound.method"
2672
- }
2691
+ ]
2673
2692
  },
2674
2693
  {
2694
+ "id": "inbound.context",
2675
2695
  "label": "Webhook ID",
2676
- "type": "String",
2696
+ "description": "The webhook ID is a part of the URL",
2697
+ "optional": false,
2698
+ "constraints": {
2699
+ "notEmpty": true,
2700
+ "pattern": {
2701
+ "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
2702
+ "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
2703
+ }
2704
+ },
2677
2705
  "group": "endpoint",
2678
2706
  "binding": {
2679
- "type": "zeebe:property",
2680
- "name": "inbound.context"
2707
+ "name": "inbound.context",
2708
+ "type": "zeebe:property"
2681
2709
  },
2682
- "description": "The webhook ID is a part of the URL",
2683
- "constraints": {
2684
- "notEmpty": true
2685
- }
2710
+ "type": "String"
2686
2711
  },
2687
2712
  {
2688
- "id": "shouldValidateHmac",
2713
+ "id": "inbound.shouldValidateHmac",
2689
2714
  "label": "HMAC authentication",
2690
- "group": "authentication",
2691
2715
  "description": "Choose whether HMAC verification is enabled. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a> and <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#example' target='_blank'>example</a> that explains how to use HMAC-related fields",
2716
+ "optional": false,
2692
2717
  "value": "disabled",
2718
+ "group": "authentication",
2719
+ "binding": {
2720
+ "name": "inbound.shouldValidateHmac",
2721
+ "type": "zeebe:property"
2722
+ },
2693
2723
  "type": "Dropdown",
2694
2724
  "choices": [
2695
2725
  {
@@ -2700,47 +2730,60 @@
2700
2730
  "name": "Disabled",
2701
2731
  "value": "disabled"
2702
2732
  }
2703
- ],
2704
- "binding": {
2705
- "type": "zeebe:property",
2706
- "name": "inbound.shouldValidateHmac"
2707
- }
2733
+ ]
2708
2734
  },
2709
2735
  {
2736
+ "id": "inbound.hmacSecret",
2710
2737
  "label": "HMAC secret key",
2711
2738
  "description": "Shared secret key",
2712
- "type": "String",
2713
- "group": "authentication",
2714
2739
  "optional": true,
2740
+ "feel": "optional",
2741
+ "group": "authentication",
2715
2742
  "binding": {
2716
- "type": "zeebe:property",
2717
- "name": "inbound.hmacSecret"
2743
+ "name": "inbound.hmacSecret",
2744
+ "type": "zeebe:property"
2718
2745
  },
2719
2746
  "condition": {
2720
- "property": "shouldValidateHmac",
2721
- "equals": "enabled"
2722
- }
2747
+ "property": "inbound.shouldValidateHmac",
2748
+ "equals": "enabled",
2749
+ "type": "simple"
2750
+ },
2751
+ "type": "String"
2723
2752
  },
2724
2753
  {
2754
+ "id": "inbound.hmacHeader",
2725
2755
  "label": "HMAC header",
2726
2756
  "description": "Name of header attribute that will contain the HMAC value",
2727
- "type": "String",
2728
- "group": "authentication",
2729
2757
  "optional": true,
2758
+ "feel": "optional",
2759
+ "group": "authentication",
2730
2760
  "binding": {
2731
- "type": "zeebe:property",
2732
- "name": "inbound.hmacHeader"
2761
+ "name": "inbound.hmacHeader",
2762
+ "type": "zeebe:property"
2733
2763
  },
2734
2764
  "condition": {
2735
- "property": "shouldValidateHmac",
2736
- "equals": "enabled"
2737
- }
2765
+ "property": "inbound.shouldValidateHmac",
2766
+ "equals": "enabled",
2767
+ "type": "simple"
2768
+ },
2769
+ "type": "String"
2738
2770
  },
2739
2771
  {
2772
+ "id": "inbound.hmacAlgorithm",
2740
2773
  "label": "HMAC algorithm",
2741
- "group": "authentication",
2742
2774
  "description": "Choose HMAC algorithm",
2775
+ "optional": false,
2743
2776
  "value": "sha_256",
2777
+ "group": "authentication",
2778
+ "binding": {
2779
+ "name": "inbound.hmacAlgorithm",
2780
+ "type": "zeebe:property"
2781
+ },
2782
+ "condition": {
2783
+ "property": "inbound.shouldValidateHmac",
2784
+ "equals": "enabled",
2785
+ "type": "simple"
2786
+ },
2744
2787
  "type": "Dropdown",
2745
2788
  "choices": [
2746
2789
  {
@@ -2755,300 +2798,318 @@
2755
2798
  "name": "SHA-512",
2756
2799
  "value": "sha_512"
2757
2800
  }
2758
- ],
2759
- "binding": {
2760
- "type": "zeebe:property",
2761
- "name": "inbound.hmacAlgorithm"
2762
- },
2763
- "condition": {
2764
- "property": "shouldValidateHmac",
2765
- "equals": "enabled"
2766
- }
2801
+ ]
2767
2802
  },
2768
2803
  {
2804
+ "id": "inbound.hmacScopes",
2769
2805
  "label": "HMAC scopes",
2770
- "group": "authentication",
2771
2806
  "description": "Set HMAC scopes for calculating signature data. See <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/' target='_blank'>documentation</a>",
2772
- "feel": "required",
2773
- "type": "String",
2774
2807
  "optional": true,
2808
+ "feel": "required",
2809
+ "group": "authentication",
2775
2810
  "binding": {
2776
- "type": "zeebe:property",
2777
- "name": "inbound.hmacScopes"
2811
+ "name": "inbound.hmacScopes",
2812
+ "type": "zeebe:property"
2778
2813
  },
2779
2814
  "condition": {
2780
- "property": "shouldValidateHmac",
2781
- "equals": "enabled"
2782
- }
2815
+ "property": "inbound.shouldValidateHmac",
2816
+ "equals": "enabled",
2817
+ "type": "simple"
2818
+ },
2819
+ "type": "String"
2783
2820
  },
2784
2821
  {
2785
- "id": "authorizationType",
2822
+ "id": "inbound.auth.type",
2786
2823
  "label": "Authorization type",
2787
- "group": "authorization",
2788
- "description": "Choose the authorization type.",
2824
+ "description": "Choose the authorization type",
2789
2825
  "value": "NONE",
2826
+ "group": "authorization",
2827
+ "binding": {
2828
+ "name": "inbound.auth.type",
2829
+ "type": "zeebe:property"
2830
+ },
2790
2831
  "type": "Dropdown",
2791
2832
  "choices": [
2792
2833
  {
2793
2834
  "name": "None",
2794
2835
  "value": "NONE"
2795
2836
  },
2796
- {
2797
- "name": "JWT",
2798
- "value": "JWT"
2799
- },
2800
2837
  {
2801
2838
  "name": "Basic",
2802
2839
  "value": "BASIC"
2803
2840
  },
2804
2841
  {
2805
- "name": "API Key",
2842
+ "name": "API key",
2806
2843
  "value": "APIKEY"
2844
+ },
2845
+ {
2846
+ "name": "JWT",
2847
+ "value": "JWT"
2807
2848
  }
2808
- ],
2809
- "binding": {
2810
- "type": "zeebe:property",
2811
- "name": "inbound.auth.type"
2812
- }
2849
+ ]
2813
2850
  },
2814
2851
  {
2815
- "label": "JWK url",
2816
- "description": "Well-known url of JWKs",
2817
- "type": "String",
2818
- "group": "authorization",
2852
+ "id": "inbound.auth.username",
2853
+ "label": "Username",
2854
+ "description": "Username for basic authentication",
2855
+ "optional": false,
2819
2856
  "feel": "optional",
2820
- "optional": true,
2857
+ "group": "authorization",
2821
2858
  "binding": {
2822
- "type": "zeebe:property",
2823
- "name": "inbound.auth.jwt.jwkUrl"
2859
+ "name": "inbound.auth.username",
2860
+ "type": "zeebe:property"
2824
2861
  },
2825
2862
  "condition": {
2826
- "property": "authorizationType",
2827
- "equals": "JWT"
2828
- }
2863
+ "property": "inbound.auth.type",
2864
+ "equals": "BASIC",
2865
+ "type": "simple"
2866
+ },
2867
+ "type": "String"
2829
2868
  },
2830
2869
  {
2831
- "label": "JWT role property expression",
2832
- "description": "Expression to extract the roles from the JWT token. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-extract-roles-from-jwt-data'>See documentation</a>",
2833
- "type": "String",
2870
+ "id": "inbound.auth.password",
2871
+ "label": "Password",
2872
+ "description": "Password for basic authentication",
2873
+ "optional": false,
2874
+ "feel": "optional",
2834
2875
  "group": "authorization",
2835
- "feel": "required",
2836
- "optional": true,
2837
2876
  "binding": {
2838
- "type": "zeebe:property",
2839
- "name": "inbound.auth.jwt.permissionsExpression"
2877
+ "name": "inbound.auth.password",
2878
+ "type": "zeebe:property"
2840
2879
  },
2841
2880
  "condition": {
2842
- "property": "authorizationType",
2843
- "equals": "JWT"
2844
- }
2881
+ "property": "inbound.auth.type",
2882
+ "equals": "BASIC",
2883
+ "type": "simple"
2884
+ },
2885
+ "type": "String"
2845
2886
  },
2846
2887
  {
2847
- "label": "Required roles",
2848
- "description": "List of roles to test JWT roles against",
2849
- "type": "String",
2888
+ "id": "inbound.auth.apiKey",
2889
+ "label": "API key",
2890
+ "description": "Expected API key",
2891
+ "optional": false,
2892
+ "feel": "optional",
2850
2893
  "group": "authorization",
2851
- "feel": "required",
2852
- "optional": true,
2853
2894
  "binding": {
2854
- "type": "zeebe:property",
2855
- "name": "inbound.auth.jwt.requiredPermissions"
2895
+ "name": "inbound.auth.apiKey",
2896
+ "type": "zeebe:property"
2856
2897
  },
2857
2898
  "condition": {
2858
- "property": "authorizationType",
2859
- "equals": "JWT"
2860
- }
2899
+ "property": "inbound.auth.type",
2900
+ "equals": "APIKEY",
2901
+ "type": "simple"
2902
+ },
2903
+ "type": "String"
2861
2904
  },
2862
2905
  {
2863
- "label": "Username",
2864
- "description": "Username for basic authentication",
2865
- "type": "String",
2906
+ "id": "inbound.auth.apiKeyLocator",
2907
+ "label": "API key locator",
2908
+ "description": "A FEEL expression that extracts API key from the request. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-configure-api-key-authorization'>See documentation</a>",
2909
+ "optional": false,
2910
+ "value": "=split(request.headers.authorization, \" \")[2]",
2911
+ "constraints": {
2912
+ "notEmpty": true
2913
+ },
2914
+ "feel": "required",
2866
2915
  "group": "authorization",
2867
- "feel": "optional",
2868
2916
  "binding": {
2869
- "type": "zeebe:property",
2870
- "name": "inbound.auth.username"
2917
+ "name": "inbound.auth.apiKeyLocator",
2918
+ "type": "zeebe:property"
2871
2919
  },
2872
2920
  "condition": {
2873
- "property": "authorizationType",
2874
- "equals": "BASIC"
2921
+ "property": "inbound.auth.type",
2922
+ "equals": "APIKEY",
2923
+ "type": "simple"
2875
2924
  },
2876
- "constraints": {
2877
- "notEmpty": true
2878
- }
2925
+ "type": "String"
2879
2926
  },
2880
2927
  {
2881
- "label": "Password",
2882
- "description": "Password for basic authentication",
2883
- "type": "String",
2884
- "group": "authorization",
2928
+ "id": "inbound.auth.jwt.jwkUrl",
2929
+ "label": "JWK URL",
2930
+ "description": "Well-known URL of JWKs",
2931
+ "optional": false,
2885
2932
  "feel": "optional",
2933
+ "group": "authorization",
2886
2934
  "binding": {
2887
- "type": "zeebe:property",
2888
- "name": "inbound.auth.password"
2935
+ "name": "inbound.auth.jwt.jwkUrl",
2936
+ "type": "zeebe:property"
2889
2937
  },
2890
2938
  "condition": {
2891
- "property": "authorizationType",
2892
- "equals": "BASIC"
2939
+ "property": "inbound.auth.type",
2940
+ "equals": "JWT",
2941
+ "type": "simple"
2893
2942
  },
2894
- "constraints": {
2895
- "notEmpty": true
2896
- }
2943
+ "type": "String"
2897
2944
  },
2898
2945
  {
2899
- "label": "API Key",
2900
- "description": "Expected API key",
2901
- "type": "String",
2946
+ "id": "inbound.auth.jwt.permissionsExpression",
2947
+ "label": "JWT role property expression",
2948
+ "description": "Expression to extract the roles from the JWT token. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-extract-roles-from-jwt-data'>See documentation</a>",
2949
+ "optional": false,
2950
+ "feel": "required",
2902
2951
  "group": "authorization",
2903
- "feel": "optional",
2904
2952
  "binding": {
2905
- "type": "zeebe:property",
2906
- "name": "inbound.auth.apiKey"
2953
+ "name": "inbound.auth.jwt.permissionsExpression",
2954
+ "type": "zeebe:property"
2907
2955
  },
2908
2956
  "condition": {
2909
- "property": "authorizationType",
2910
- "equals": "APIKEY"
2957
+ "property": "inbound.auth.type",
2958
+ "equals": "JWT",
2959
+ "type": "simple"
2911
2960
  },
2912
- "constraints": {
2913
- "notEmpty": true
2914
- }
2961
+ "type": "String"
2915
2962
  },
2916
2963
  {
2917
- "label": "API Key locator",
2918
- "description": "A FEEL expression that extracts API key from the request. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-configure-api-key-authorization'>See documentation</a>",
2919
- "type": "String",
2920
- "group": "authorization",
2964
+ "id": "inbound.auth.jwt.requiredPermissions",
2965
+ "label": "Required roles",
2966
+ "description": "List of roles to test JWT roles against",
2967
+ "optional": false,
2921
2968
  "feel": "required",
2969
+ "group": "authorization",
2922
2970
  "binding": {
2923
- "type": "zeebe:property",
2924
- "name": "inbound.auth.apiKeyLocator"
2971
+ "name": "inbound.auth.jwt.requiredPermissions",
2972
+ "type": "zeebe:property"
2925
2973
  },
2926
2974
  "condition": {
2927
- "property": "authorizationType",
2928
- "equals": "APIKEY"
2929
- },
2930
- "constraints": {
2931
- "notEmpty": true
2975
+ "property": "inbound.auth.type",
2976
+ "equals": "JWT",
2977
+ "type": "simple"
2932
2978
  },
2933
- "value": "=split(request.headers.authorization, \" \")[2]"
2979
+ "type": "String"
2934
2980
  },
2935
2981
  {
2936
- "label": "Correlation key (process)",
2937
- "type": "String",
2938
- "group": "activation",
2982
+ "id": "inbound.responseBodyExpression",
2983
+ "label": "Response body expression",
2984
+ "description": "Specify condition and response",
2985
+ "optional": true,
2939
2986
  "feel": "required",
2940
- "description": "Sets up the correlation key from process variables",
2987
+ "group": "webhookResponse",
2941
2988
  "binding": {
2942
- "type": "bpmn:Message#zeebe:subscription#property",
2943
- "name": "correlationKey"
2989
+ "name": "inbound.responseBodyExpression",
2990
+ "type": "zeebe:property"
2944
2991
  },
2945
- "constraints": {
2946
- "notEmpty": true
2947
- }
2992
+ "type": "Text"
2948
2993
  },
2949
2994
  {
2950
- "label": "Correlation key (payload)",
2951
- "type": "String",
2952
- "group": "activation",
2995
+ "id": "inbound.verificationExpression",
2996
+ "label": "One time verification response expression",
2997
+ "description": "Specify condition and response. Learn more in the <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#verification-expression' target='_blank'>documentation</a>",
2998
+ "optional": true,
2953
2999
  "feel": "required",
3000
+ "group": "webhookResponse",
2954
3001
  "binding": {
2955
- "type": "zeebe:property",
2956
- "name": "correlationKeyExpression"
3002
+ "name": "inbound.verificationExpression",
3003
+ "type": "zeebe:property"
2957
3004
  },
2958
- "description": "Extracts the correlation key from the incoming message payload",
2959
- "constraints": {
2960
- "notEmpty": true
2961
- }
3005
+ "type": "Text"
2962
3006
  },
2963
3007
  {
2964
- "label": "Message ID expression",
2965
- "feel": "required",
2966
- "type": "String",
3008
+ "id": "activationCondition",
3009
+ "label": "Activation condition",
3010
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
2967
3011
  "optional": true,
3012
+ "feel": "required",
2968
3013
  "group": "activation",
2969
3014
  "binding": {
2970
- "type": "zeebe:property",
2971
- "name": "messageIdExpression"
3015
+ "name": "activationCondition",
3016
+ "type": "zeebe:property"
2972
3017
  },
2973
- "description": "Expression to extract unique identifier of a message"
3018
+ "type": "String"
2974
3019
  },
2975
3020
  {
2976
- "label": "Condition",
2977
- "type": "String",
2978
- "group": "activation",
3021
+ "id": "correlationKeyProcess",
3022
+ "label": "Correlation key (process)",
3023
+ "description": "Sets up the correlation key from process variables",
3024
+ "constraints": {
3025
+ "notEmpty": true
3026
+ },
2979
3027
  "feel": "required",
2980
- "optional": true,
3028
+ "group": "correlation",
2981
3029
  "binding": {
2982
- "type": "zeebe:property",
2983
- "name": "activationCondition"
3030
+ "name": "correlationKey",
3031
+ "type": "bpmn:Message#zeebe:subscription#property"
2984
3032
  },
2985
- "description": "Condition under which the connector triggers. Leave empty to catch all events. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a>"
3033
+ "type": "String"
2986
3034
  },
2987
3035
  {
2988
- "label": "Result variable",
2989
- "type": "String",
2990
- "group": "variable-mapping",
2991
- "optional": true,
3036
+ "id": "correlationKeyPayload",
3037
+ "label": "Correlation key (payload)",
3038
+ "description": "Extracts the correlation key from the incoming message payload",
3039
+ "constraints": {
3040
+ "notEmpty": true
3041
+ },
3042
+ "feel": "required",
3043
+ "group": "correlation",
2992
3044
  "binding": {
2993
- "type": "zeebe:property",
2994
- "name": "resultVariable"
3045
+ "name": "correlationKeyExpression",
3046
+ "type": "zeebe:property"
2995
3047
  },
2996
- "description": "Name of variable to store the result of the connector in"
3048
+ "type": "String"
2997
3049
  },
2998
3050
  {
2999
- "label": "Result expression",
3000
- "type": "String",
3001
- "group": "variable-mapping",
3002
- "feel": "required",
3051
+ "id": "messageIdExpression",
3052
+ "label": "Message ID expression",
3053
+ "description": "Expression to extract unique identifier of a message",
3003
3054
  "optional": true,
3055
+ "feel": "required",
3056
+ "group": "correlation",
3004
3057
  "binding": {
3005
- "type": "zeebe:property",
3006
- "name": "resultExpression"
3058
+ "name": "messageIdExpression",
3059
+ "type": "zeebe:property"
3007
3060
  },
3008
- "description": "Expression to map the inbound payload to process variables"
3061
+ "type": "String"
3009
3062
  },
3010
3063
  {
3011
- "label": "One time verification response expression",
3012
- "description": "Specify condition and response. Learn more in the <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#verification-expression' target='_blank'>documentation</a>",
3013
- "type": "Text",
3014
- "group": "webhookResponse",
3015
- "feel": "required",
3016
- "optional": true,
3064
+ "id": "messageNameUuid",
3065
+ "generatedValue": {
3066
+ "type": "uuid"
3067
+ },
3068
+ "group": "correlation",
3017
3069
  "binding": {
3018
- "type": "zeebe:property",
3019
- "name": "inbound.verificationExpression"
3020
- }
3070
+ "name": "name",
3071
+ "type": "bpmn:Message#property"
3072
+ },
3073
+ "type": "Hidden"
3021
3074
  },
3022
3075
  {
3023
- "label": "Response body expression",
3024
- "type": "Text",
3025
- "group": "webhookResponse",
3076
+ "id": "resultVariable",
3077
+ "label": "Result variable",
3078
+ "description": "Name of variable to store the response in",
3079
+ "group": "output",
3080
+ "binding": {
3081
+ "name": "resultVariable",
3082
+ "type": "zeebe:property"
3083
+ },
3084
+ "type": "String"
3085
+ },
3086
+ {
3087
+ "id": "resultExpression",
3088
+ "label": "Result expression",
3089
+ "description": "Expression to map the response into process variables",
3026
3090
  "feel": "required",
3027
- "optional": true,
3091
+ "group": "output",
3028
3092
  "binding": {
3029
- "type": "zeebe:property",
3030
- "name": "inbound.responseBodyExpression"
3093
+ "name": "resultExpression",
3094
+ "type": "zeebe:property"
3031
3095
  },
3032
- "description": "Specify condition and response"
3096
+ "type": "Text"
3033
3097
  }
3034
3098
  ],
3035
3099
  "icon": {
3036
- "contents": "data:image/svg+xml,%3Csvg id='icon' xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M24,26a3,3,0,1,0-2.8164-4H13v1a5,5,0,1,1-5-5V16a7,7,0,1,0,6.9287,8h6.2549A2.9914,2.9914,0,0,0,24,26Z'/%3E%3Cpath d='M24,16a7.024,7.024,0,0,0-2.57.4873l-3.1656-5.5395a3.0469,3.0469,0,1,0-1.7326.9985l4.1189,7.2085.8686-.4976a5.0006,5.0006,0,1,1-1.851,6.8418L17.937,26.501A7.0005,7.0005,0,1,0,24,16Z'/%3E%3Cpath d='M8.532,20.0537a3.03,3.03,0,1,0,1.7326.9985C11.74,18.47,13.86,14.7607,13.89,14.708l.4976-.8682-.8677-.497a5,5,0,1,1,6.812-1.8438l1.7315,1.002a7.0008,7.0008,0,1,0-10.3462,2.0356c-.457.7427-1.1021,1.8716-2.0737,3.5728Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='&lt;Transparent Rectangle&gt;' class='cls-1' width='32' height='32'/%3E%3C/svg%3E"
3100
+ "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
3037
3101
  },
3038
3102
  "engines": {
3039
- "camunda": "^8.4"
3103
+ "camunda": "^8.5"
3040
3104
  }
3041
3105
  },
3042
3106
  {
3043
3107
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3044
3108
  "name": "Webhook Boundary Event Connector",
3045
3109
  "id": "io.camunda.connectors.webhook.WebhookConnectorBoundary.v1",
3110
+ "version": 3,
3046
3111
  "description": "Configure webhook to receive callbacks",
3047
- "metadata": {
3048
- "keywords": []
3049
- },
3050
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/",
3051
- "version": 12,
3112
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
3052
3113
  "category": {
3053
3114
  "id": "connectors",
3054
3115
  "name": "Connectors"
@@ -3071,44 +3132,52 @@
3071
3132
  "id": "authorization",
3072
3133
  "label": "Authorization"
3073
3134
  },
3074
- {
3075
- "id": "webhookResponse",
3076
- "label": "Webhook response"
3077
- },
3078
3135
  {
3079
3136
  "id": "activation",
3080
3137
  "label": "Activation"
3081
3138
  },
3082
3139
  {
3083
- "id": "correlation",
3084
- "label": "Correlation",
3085
- "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
3140
+ "id": "variable-mapping",
3141
+ "label": "Variable mapping"
3086
3142
  },
3087
3143
  {
3088
- "id": "output",
3089
- "label": "Output mapping"
3144
+ "id": "webhookResponse",
3145
+ "label": "Webhook response"
3090
3146
  }
3091
3147
  ],
3092
3148
  "properties": [
3093
3149
  {
3150
+ "type": "Hidden",
3094
3151
  "value": "io.camunda:webhook:1",
3095
3152
  "binding": {
3096
- "name": "inbound.type",
3097
- "type": "zeebe:property"
3153
+ "type": "zeebe:property",
3154
+ "name": "inbound.type"
3155
+ }
3156
+ },
3157
+ {
3158
+ "type": "Hidden",
3159
+ "generatedValue": {
3160
+ "type": "uuid"
3098
3161
  },
3099
- "type": "Hidden"
3162
+ "binding": {
3163
+ "type": "bpmn:Message#property",
3164
+ "name": "name"
3165
+ }
3100
3166
  },
3101
3167
  {
3102
- "id": "inbound.method",
3168
+ "type": "Hidden",
3169
+ "value": "ConfigurableInboundWebhook",
3170
+ "binding": {
3171
+ "type": "zeebe:property",
3172
+ "name": "inbound.subtype"
3173
+ }
3174
+ },
3175
+ {
3176
+ "id": "webhookMethod",
3103
3177
  "label": "Webhook method",
3178
+ "group": "endpoint",
3104
3179
  "description": "Select HTTP method",
3105
- "optional": false,
3106
3180
  "value": "any",
3107
- "group": "endpoint",
3108
- "binding": {
3109
- "name": "inbound.method",
3110
- "type": "zeebe:property"
3111
- },
3112
3181
  "type": "Dropdown",
3113
3182
  "choices": [
3114
3183
  {
@@ -3116,53 +3185,50 @@
3116
3185
  "value": "any"
3117
3186
  },
3118
3187
  {
3119
- "name": "GET",
3188
+ "name": "Get",
3120
3189
  "value": "get"
3121
3190
  },
3122
3191
  {
3123
- "name": "POST",
3192
+ "name": "Post",
3124
3193
  "value": "post"
3125
3194
  },
3126
3195
  {
3127
- "name": "PUT",
3196
+ "name": "Put",
3128
3197
  "value": "put"
3129
3198
  },
3130
3199
  {
3131
- "name": "DELETE",
3200
+ "name": "Delete",
3132
3201
  "value": "delete"
3133
3202
  }
3134
- ]
3203
+ ],
3204
+ "binding": {
3205
+ "type": "zeebe:property",
3206
+ "name": "inbound.method"
3207
+ }
3135
3208
  },
3136
3209
  {
3137
- "id": "inbound.context",
3138
3210
  "label": "Webhook ID",
3211
+ "type": "String",
3212
+ "group": "endpoint",
3213
+ "binding": {
3214
+ "type": "zeebe:property",
3215
+ "name": "inbound.context"
3216
+ },
3139
3217
  "description": "The webhook ID is a part of the URL",
3140
- "optional": false,
3141
3218
  "constraints": {
3142
3219
  "notEmpty": true,
3143
3220
  "pattern": {
3144
3221
  "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
3145
3222
  "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
3146
3223
  }
3147
- },
3148
- "group": "endpoint",
3149
- "binding": {
3150
- "name": "inbound.context",
3151
- "type": "zeebe:property"
3152
- },
3153
- "type": "String"
3224
+ }
3154
3225
  },
3155
3226
  {
3156
- "id": "inbound.shouldValidateHmac",
3227
+ "id": "shouldValidateHmac",
3157
3228
  "label": "HMAC authentication",
3158
- "description": "Choose whether HMAC verification is enabled. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a> and <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#example' target='_blank'>example</a> that explains how to use HMAC-related fields",
3159
- "optional": false,
3160
- "value": "disabled",
3161
3229
  "group": "authentication",
3162
- "binding": {
3163
- "name": "inbound.shouldValidateHmac",
3164
- "type": "zeebe:property"
3165
- },
3230
+ "description": "Choose whether HMAC verification is enabled. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a> and <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#example' target='_blank'>example</a> that explains how to use HMAC-related fields",
3231
+ "value": "disabled",
3166
3232
  "type": "Dropdown",
3167
3233
  "choices": [
3168
3234
  {
@@ -3173,60 +3239,47 @@
3173
3239
  "name": "Disabled",
3174
3240
  "value": "disabled"
3175
3241
  }
3176
- ]
3242
+ ],
3243
+ "binding": {
3244
+ "type": "zeebe:property",
3245
+ "name": "inbound.shouldValidateHmac"
3246
+ }
3177
3247
  },
3178
3248
  {
3179
- "id": "inbound.hmacSecret",
3180
3249
  "label": "HMAC secret key",
3181
3250
  "description": "Shared secret key",
3182
- "optional": true,
3183
- "feel": "optional",
3251
+ "type": "String",
3184
3252
  "group": "authentication",
3253
+ "optional": true,
3185
3254
  "binding": {
3186
- "name": "inbound.hmacSecret",
3187
- "type": "zeebe:property"
3255
+ "type": "zeebe:property",
3256
+ "name": "inbound.hmacSecret"
3188
3257
  },
3189
3258
  "condition": {
3190
- "property": "inbound.shouldValidateHmac",
3191
- "equals": "enabled",
3192
- "type": "simple"
3193
- },
3194
- "type": "String"
3259
+ "property": "shouldValidateHmac",
3260
+ "equals": "enabled"
3261
+ }
3195
3262
  },
3196
3263
  {
3197
- "id": "inbound.hmacHeader",
3198
3264
  "label": "HMAC header",
3199
3265
  "description": "Name of header attribute that will contain the HMAC value",
3200
- "optional": true,
3201
- "feel": "optional",
3266
+ "type": "String",
3202
3267
  "group": "authentication",
3268
+ "optional": true,
3203
3269
  "binding": {
3204
- "name": "inbound.hmacHeader",
3205
- "type": "zeebe:property"
3270
+ "type": "zeebe:property",
3271
+ "name": "inbound.hmacHeader"
3206
3272
  },
3207
3273
  "condition": {
3208
- "property": "inbound.shouldValidateHmac",
3209
- "equals": "enabled",
3210
- "type": "simple"
3211
- },
3212
- "type": "String"
3274
+ "property": "shouldValidateHmac",
3275
+ "equals": "enabled"
3276
+ }
3213
3277
  },
3214
3278
  {
3215
- "id": "inbound.hmacAlgorithm",
3216
3279
  "label": "HMAC algorithm",
3280
+ "group": "authentication",
3217
3281
  "description": "Choose HMAC algorithm",
3218
- "optional": false,
3219
3282
  "value": "sha_256",
3220
- "group": "authentication",
3221
- "binding": {
3222
- "name": "inbound.hmacAlgorithm",
3223
- "type": "zeebe:property"
3224
- },
3225
- "condition": {
3226
- "property": "inbound.shouldValidateHmac",
3227
- "equals": "enabled",
3228
- "type": "simple"
3229
- },
3230
3283
  "type": "Dropdown",
3231
3284
  "choices": [
3232
3285
  {
@@ -3241,341 +3294,288 @@
3241
3294
  "name": "SHA-512",
3242
3295
  "value": "sha_512"
3243
3296
  }
3244
- ]
3297
+ ],
3298
+ "binding": {
3299
+ "type": "zeebe:property",
3300
+ "name": "inbound.hmacAlgorithm"
3301
+ },
3302
+ "condition": {
3303
+ "property": "shouldValidateHmac",
3304
+ "equals": "enabled"
3305
+ }
3245
3306
  },
3246
3307
  {
3247
- "id": "inbound.hmacScopes",
3248
3308
  "label": "HMAC scopes",
3249
- "description": "Set HMAC scopes for calculating signature data. See <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/' target='_blank'>documentation</a>",
3250
- "optional": true,
3251
- "feel": "required",
3252
3309
  "group": "authentication",
3310
+ "description": "Set HMAC scopes for calculating signature data. See <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/' target='_blank'>documentation</a>",
3311
+ "feel": "required",
3312
+ "type": "String",
3313
+ "optional": true,
3253
3314
  "binding": {
3254
- "name": "inbound.hmacScopes",
3255
- "type": "zeebe:property"
3315
+ "type": "zeebe:property",
3316
+ "name": "inbound.hmacScopes"
3256
3317
  },
3257
3318
  "condition": {
3258
- "property": "inbound.shouldValidateHmac",
3259
- "equals": "enabled",
3260
- "type": "simple"
3261
- },
3262
- "type": "String"
3319
+ "property": "shouldValidateHmac",
3320
+ "equals": "enabled"
3321
+ }
3263
3322
  },
3264
3323
  {
3265
- "id": "inbound.auth.type",
3324
+ "id": "authorizationType",
3266
3325
  "label": "Authorization type",
3267
- "description": "Choose the authorization type",
3268
- "value": "NONE",
3269
3326
  "group": "authorization",
3270
- "binding": {
3271
- "name": "inbound.auth.type",
3272
- "type": "zeebe:property"
3273
- },
3327
+ "description": "Choose the authorization type.",
3328
+ "value": "NONE",
3274
3329
  "type": "Dropdown",
3275
3330
  "choices": [
3276
3331
  {
3277
3332
  "name": "None",
3278
3333
  "value": "NONE"
3279
3334
  },
3335
+ {
3336
+ "name": "JWT",
3337
+ "value": "JWT"
3338
+ },
3280
3339
  {
3281
3340
  "name": "Basic",
3282
3341
  "value": "BASIC"
3283
3342
  },
3284
3343
  {
3285
- "name": "API key",
3344
+ "name": "API Key",
3286
3345
  "value": "APIKEY"
3287
- },
3288
- {
3289
- "name": "JWT",
3290
- "value": "JWT"
3291
3346
  }
3292
- ]
3347
+ ],
3348
+ "binding": {
3349
+ "type": "zeebe:property",
3350
+ "name": "inbound.auth.type"
3351
+ }
3293
3352
  },
3294
3353
  {
3295
- "id": "inbound.auth.username",
3296
- "label": "Username",
3297
- "description": "Username for basic authentication",
3298
- "optional": false,
3299
- "feel": "optional",
3354
+ "label": "JWK url",
3355
+ "description": "Well-known url of JWKs",
3356
+ "type": "String",
3300
3357
  "group": "authorization",
3358
+ "feel": "optional",
3359
+ "optional": true,
3301
3360
  "binding": {
3302
- "name": "inbound.auth.username",
3303
- "type": "zeebe:property"
3361
+ "type": "zeebe:property",
3362
+ "name": "inbound.auth.jwt.jwkUrl"
3304
3363
  },
3305
3364
  "condition": {
3306
- "property": "inbound.auth.type",
3307
- "equals": "BASIC",
3308
- "type": "simple"
3309
- },
3310
- "type": "String"
3365
+ "property": "authorizationType",
3366
+ "equals": "JWT"
3367
+ }
3311
3368
  },
3312
3369
  {
3313
- "id": "inbound.auth.password",
3314
- "label": "Password",
3315
- "description": "Password for basic authentication",
3316
- "optional": false,
3317
- "feel": "optional",
3370
+ "label": "JWT role property expression",
3371
+ "description": "Expression to extract the roles from the JWT token. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-extract-roles-from-jwt-data'>See documentation</a>",
3372
+ "type": "String",
3318
3373
  "group": "authorization",
3374
+ "feel": "required",
3375
+ "optional": true,
3319
3376
  "binding": {
3320
- "name": "inbound.auth.password",
3321
- "type": "zeebe:property"
3377
+ "type": "zeebe:property",
3378
+ "name": "inbound.auth.jwt.permissionsExpression"
3322
3379
  },
3323
3380
  "condition": {
3324
- "property": "inbound.auth.type",
3325
- "equals": "BASIC",
3326
- "type": "simple"
3327
- },
3328
- "type": "String"
3381
+ "property": "authorizationType",
3382
+ "equals": "JWT"
3383
+ }
3329
3384
  },
3330
3385
  {
3331
- "id": "inbound.auth.apiKey",
3332
- "label": "API key",
3333
- "description": "Expected API key",
3334
- "optional": false,
3335
- "feel": "optional",
3386
+ "label": "Required roles",
3387
+ "description": "List of roles to test JWT roles against",
3388
+ "type": "String",
3336
3389
  "group": "authorization",
3390
+ "feel": "required",
3391
+ "optional": true,
3337
3392
  "binding": {
3338
- "name": "inbound.auth.apiKey",
3339
- "type": "zeebe:property"
3393
+ "type": "zeebe:property",
3394
+ "name": "inbound.auth.jwt.requiredPermissions"
3340
3395
  },
3341
3396
  "condition": {
3342
- "property": "inbound.auth.type",
3343
- "equals": "APIKEY",
3344
- "type": "simple"
3345
- },
3346
- "type": "String"
3397
+ "property": "authorizationType",
3398
+ "equals": "JWT"
3399
+ }
3347
3400
  },
3348
3401
  {
3349
- "id": "inbound.auth.apiKeyLocator",
3350
- "label": "API key locator",
3351
- "description": "A FEEL expression that extracts API key from the request. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#how-to-configure-api-key-authorization'>See documentation</a>",
3352
- "optional": false,
3353
- "value": "=split(request.headers.authorization, \" \")[2]",
3354
- "constraints": {
3355
- "notEmpty": true
3356
- },
3357
- "feel": "required",
3402
+ "label": "Username",
3403
+ "description": "Username for basic authentication",
3404
+ "type": "String",
3358
3405
  "group": "authorization",
3406
+ "feel": "optional",
3359
3407
  "binding": {
3360
- "name": "inbound.auth.apiKeyLocator",
3361
- "type": "zeebe:property"
3408
+ "type": "zeebe:property",
3409
+ "name": "inbound.auth.username"
3362
3410
  },
3363
3411
  "condition": {
3364
- "property": "inbound.auth.type",
3365
- "equals": "APIKEY",
3366
- "type": "simple"
3412
+ "property": "authorizationType",
3413
+ "equals": "BASIC"
3367
3414
  },
3368
- "type": "String"
3415
+ "constraints": {
3416
+ "notEmpty": true
3417
+ }
3369
3418
  },
3370
3419
  {
3371
- "id": "inbound.auth.jwt.jwkUrl",
3372
- "label": "JWK URL",
3373
- "description": "Well-known URL of JWKs",
3374
- "optional": false,
3375
- "feel": "optional",
3420
+ "label": "Password",
3421
+ "description": "Password for basic authentication",
3422
+ "type": "String",
3376
3423
  "group": "authorization",
3424
+ "feel": "optional",
3377
3425
  "binding": {
3378
- "name": "inbound.auth.jwt.jwkUrl",
3379
- "type": "zeebe:property"
3426
+ "type": "zeebe:property",
3427
+ "name": "inbound.auth.password"
3380
3428
  },
3381
3429
  "condition": {
3382
- "property": "inbound.auth.type",
3383
- "equals": "JWT",
3384
- "type": "simple"
3430
+ "property": "authorizationType",
3431
+ "equals": "BASIC"
3385
3432
  },
3386
- "type": "String"
3433
+ "constraints": {
3434
+ "notEmpty": true
3435
+ }
3387
3436
  },
3388
3437
  {
3389
- "id": "inbound.auth.jwt.permissionsExpression",
3390
- "label": "JWT role property expression",
3391
- "description": "Expression to extract the roles from the JWT token. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#how-to-extract-roles-from-jwt-data'>See documentation</a>",
3392
- "optional": false,
3393
- "feel": "required",
3438
+ "label": "API Key",
3439
+ "description": "Expected API key",
3440
+ "type": "String",
3394
3441
  "group": "authorization",
3442
+ "feel": "optional",
3395
3443
  "binding": {
3396
- "name": "inbound.auth.jwt.permissionsExpression",
3397
- "type": "zeebe:property"
3444
+ "type": "zeebe:property",
3445
+ "name": "inbound.auth.apiKey"
3398
3446
  },
3399
3447
  "condition": {
3400
- "property": "inbound.auth.type",
3401
- "equals": "JWT",
3402
- "type": "simple"
3448
+ "property": "authorizationType",
3449
+ "equals": "APIKEY"
3403
3450
  },
3404
- "type": "String"
3451
+ "constraints": {
3452
+ "notEmpty": true
3453
+ }
3405
3454
  },
3406
3455
  {
3407
- "id": "inbound.auth.jwt.requiredPermissions",
3408
- "label": "Required roles",
3409
- "description": "List of roles to test JWT roles against",
3410
- "optional": false,
3411
- "feel": "required",
3456
+ "label": "API Key locator",
3457
+ "description": "A FEEL expression that extracts API key from the request. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#how-to-configure-api-key-authorization'>See documentation</a>",
3458
+ "type": "String",
3412
3459
  "group": "authorization",
3460
+ "feel": "required",
3413
3461
  "binding": {
3414
- "name": "inbound.auth.jwt.requiredPermissions",
3415
- "type": "zeebe:property"
3462
+ "type": "zeebe:property",
3463
+ "name": "inbound.auth.apiKeyLocator"
3416
3464
  },
3417
3465
  "condition": {
3418
- "property": "inbound.auth.type",
3419
- "equals": "JWT",
3420
- "type": "simple"
3421
- },
3422
- "type": "String"
3423
- },
3424
- {
3425
- "id": "inbound.responseExpression",
3426
- "label": "Response expression",
3427
- "description": "Expression used to generate the HTTP response",
3428
- "optional": true,
3429
- "feel": "required",
3430
- "group": "webhookResponse",
3431
- "binding": {
3432
- "name": "inbound.responseExpression",
3433
- "type": "zeebe:property"
3466
+ "property": "authorizationType",
3467
+ "equals": "APIKEY"
3434
3468
  },
3435
- "type": "Text"
3436
- },
3437
- {
3438
- "id": "inbound.verificationExpression",
3439
- "label": "One time verification response expression",
3440
- "description": "Specify condition and response. Learn more in the <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#verification-expression' target='_blank'>documentation</a>",
3441
- "optional": true,
3442
- "feel": "required",
3443
- "group": "webhookResponse",
3444
- "binding": {
3445
- "name": "inbound.verificationExpression",
3446
- "type": "zeebe:property"
3469
+ "constraints": {
3470
+ "notEmpty": true
3447
3471
  },
3448
- "type": "Text"
3472
+ "value": "=split(request.headers.authorization, \" \")[2]"
3449
3473
  },
3450
3474
  {
3451
- "id": "activationCondition",
3452
- "label": "Activation condition",
3453
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
3454
- "optional": true,
3455
- "feel": "required",
3475
+ "label": "Correlation key (process)",
3476
+ "type": "String",
3456
3477
  "group": "activation",
3478
+ "feel": "required",
3479
+ "description": "Sets up the correlation key from process variables",
3457
3480
  "binding": {
3458
- "name": "activationCondition",
3459
- "type": "zeebe:property"
3481
+ "type": "bpmn:Message#zeebe:subscription#property",
3482
+ "name": "correlationKey"
3460
3483
  },
3461
- "type": "String"
3484
+ "constraints": {
3485
+ "notEmpty": true
3486
+ }
3462
3487
  },
3463
3488
  {
3464
- "id": "consumeUnmatchedEvents",
3465
- "label": "Consume unmatched events",
3466
- "value": true,
3489
+ "label": "Correlation key (payload)",
3490
+ "type": "String",
3467
3491
  "group": "activation",
3468
- "binding": {
3469
- "name": "consumeUnmatchedEvents",
3470
- "type": "zeebe:property"
3471
- },
3472
- "tooltip": "Unmatched events are rejected by default, allowing the upstream service to handle the error. Check this box to consume unmatched events and return a success response",
3473
- "type": "Boolean"
3474
- },
3475
- {
3476
- "id": "correlationKeyProcess",
3477
- "label": "Correlation key (process)",
3478
- "description": "Sets up the correlation key from process variables",
3479
- "constraints": {
3480
- "notEmpty": true
3481
- },
3482
3492
  "feel": "required",
3483
- "group": "correlation",
3484
3493
  "binding": {
3485
- "name": "correlationKey",
3486
- "type": "bpmn:Message#zeebe:subscription#property"
3494
+ "type": "zeebe:property",
3495
+ "name": "correlationKeyExpression"
3487
3496
  },
3488
- "type": "String"
3489
- },
3490
- {
3491
- "id": "correlationKeyPayload",
3492
- "label": "Correlation key (payload)",
3493
3497
  "description": "Extracts the correlation key from the incoming message payload",
3494
3498
  "constraints": {
3495
3499
  "notEmpty": true
3496
- },
3500
+ }
3501
+ },
3502
+ {
3503
+ "label": "Message ID expression",
3497
3504
  "feel": "required",
3498
- "group": "correlation",
3505
+ "type": "String",
3506
+ "optional": true,
3507
+ "group": "activation",
3499
3508
  "binding": {
3500
- "name": "correlationKeyExpression",
3501
- "type": "zeebe:property"
3509
+ "type": "zeebe:property",
3510
+ "name": "messageIdExpression"
3502
3511
  },
3503
- "type": "String"
3512
+ "description": "Expression to extract unique identifier of a message"
3504
3513
  },
3505
3514
  {
3506
- "id": "messageIdExpression",
3507
- "label": "Message ID expression",
3508
- "description": "Expression to extract unique identifier of a message",
3509
- "optional": true,
3515
+ "label": "Condition",
3516
+ "type": "String",
3517
+ "group": "activation",
3510
3518
  "feel": "required",
3511
- "group": "correlation",
3519
+ "optional": true,
3512
3520
  "binding": {
3513
- "name": "messageIdExpression",
3514
- "type": "zeebe:property"
3521
+ "type": "zeebe:property",
3522
+ "name": "activationCondition"
3515
3523
  },
3516
- "type": "String"
3524
+ "description": "Condition under which the connector triggers. Leave empty to catch all events. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a>"
3517
3525
  },
3518
3526
  {
3519
- "id": "messageTtl",
3520
- "label": "Message TTL",
3521
- "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
3527
+ "label": "Result variable",
3528
+ "type": "String",
3529
+ "group": "variable-mapping",
3522
3530
  "optional": true,
3523
- "constraints": {
3524
- "notEmpty": false,
3525
- "pattern": {
3526
- "value": "^(PT.*|)$",
3527
- "message": "must be an ISO-8601 duration"
3528
- }
3529
- },
3530
- "feel": "optional",
3531
- "group": "correlation",
3532
3531
  "binding": {
3533
- "name": "messageTtl",
3534
- "type": "zeebe:property"
3532
+ "type": "zeebe:property",
3533
+ "name": "resultVariable"
3535
3534
  },
3536
- "type": "String"
3535
+ "description": "Name of variable to store the result of the connector in"
3537
3536
  },
3538
3537
  {
3539
- "id": "messageNameUuid",
3540
- "generatedValue": {
3541
- "type": "uuid"
3542
- },
3543
- "group": "correlation",
3538
+ "label": "Result expression",
3539
+ "type": "String",
3540
+ "group": "variable-mapping",
3541
+ "feel": "required",
3542
+ "optional": true,
3544
3543
  "binding": {
3545
- "name": "name",
3546
- "type": "bpmn:Message#property"
3544
+ "type": "zeebe:property",
3545
+ "name": "resultExpression"
3547
3546
  },
3548
- "type": "Hidden"
3547
+ "description": "Expression to map the inbound payload to process variables"
3549
3548
  },
3550
3549
  {
3551
- "id": "resultVariable",
3552
- "label": "Result variable",
3553
- "description": "Name of variable to store the response in",
3554
- "group": "output",
3550
+ "label": "One time verification response expression",
3551
+ "description": "Specify condition and response. Learn more in the <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#verification-expression' target='_blank'>documentation</a>",
3552
+ "type": "Text",
3553
+ "group": "webhookResponse",
3554
+ "feel": "required",
3555
+ "optional": true,
3555
3556
  "binding": {
3556
- "name": "resultVariable",
3557
- "type": "zeebe:property"
3558
- },
3559
- "type": "String"
3557
+ "type": "zeebe:property",
3558
+ "name": "inbound.verificationExpression"
3559
+ }
3560
3560
  },
3561
3561
  {
3562
- "id": "resultExpression",
3563
- "label": "Result expression",
3564
- "description": "Expression to map the response into process variables",
3562
+ "label": "Response body expression",
3563
+ "type": "Text",
3564
+ "group": "webhookResponse",
3565
3565
  "feel": "required",
3566
- "group": "output",
3566
+ "optional": true,
3567
3567
  "binding": {
3568
- "name": "resultExpression",
3569
- "type": "zeebe:property"
3568
+ "type": "zeebe:property",
3569
+ "name": "inbound.responseBodyExpression"
3570
3570
  },
3571
- "type": "Text"
3571
+ "description": "Specify condition and response"
3572
3572
  }
3573
3573
  ],
3574
- "engines": {
3575
- "camunda": "^8.3"
3576
- },
3577
3574
  "icon": {
3578
- "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
3575
+ "contents": "data:image/svg+xml,%3Csvg id='icon' xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M24,26a3,3,0,1,0-2.8164-4H13v1a5,5,0,1,1-5-5V16a7,7,0,1,0,6.9287,8h6.2549A2.9914,2.9914,0,0,0,24,26Z'/%3E%3Cpath d='M24,16a7.024,7.024,0,0,0-2.57.4873l-3.1656-5.5395a3.0469,3.0469,0,1,0-1.7326.9985l4.1189,7.2085.8686-.4976a5.0006,5.0006,0,1,1-1.851,6.8418L17.937,26.501A7.0005,7.0005,0,1,0,24,16Z'/%3E%3Cpath d='M8.532,20.0537a3.03,3.03,0,1,0,1.7326.9985C11.74,18.47,13.86,14.7607,13.89,14.708l.4976-.8682-.8677-.497a5,5,0,1,1,6.812-1.8438l1.7315,1.002a7.0008,7.0008,0,1,0-10.3462,2.0356c-.457.7427-1.1021,1.8716-2.0737,3.5728Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='&lt;Transparent Rectangle&gt;' class='cls-1' width='32' height='32'/%3E%3C/svg%3E"
3576
+ },
3577
+ "engines": {
3578
+ "camunda": "^8.5"
3579
3579
  }
3580
3580
  }
3581
3581
  ]