@camunda/connectors-element-templates 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/connectors-template.js +1 -3
- package/src/connectors.js +4 -0
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +40 -40
- package/src/element-templates/agenticai-aiagent-job-worker.json +2483 -475
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +5352 -3427
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +717 -35
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2254 -809
- package/src/element-templates/app-integrations-connector.json +1047 -0
- package/src/element-templates/asana-connector.json +1050 -216
- package/src/element-templates/automation-anywhere-outbound-connector.json +2046 -1553
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1067 -29
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +385 -4
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +441 -4
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +416 -4
- package/src/element-templates/aws-bedrock-outbound-connector.json +2274 -624
- package/src/element-templates/aws-comprehend-outbound-connector.json +1572 -0
- package/src/element-templates/aws-dynamodb-outbound-connector.json +2385 -949
- package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
- package/src/element-templates/aws-eventbridge-connector-start-event.json +20 -20
- package/src/element-templates/aws-eventbridge-outbound-connector.json +680 -266
- package/src/element-templates/aws-lambda-outbound-connector.json +462 -63
- package/src/element-templates/aws-s3-outbound-connector.json +1850 -329
- package/src/element-templates/aws-sagemaker-outbound-connector.json +680 -51
- package/src/element-templates/aws-sns-inbound-boundary.json +207 -206
- package/src/element-templates/aws-sns-inbound-intermediate.json +410 -409
- package/src/element-templates/aws-sns-inbound-message-start.json +4 -3
- package/src/element-templates/aws-sns-inbound-receive.json +4 -3
- package/src/element-templates/aws-sns-inbound-start-event.json +138 -138
- package/src/element-templates/aws-sns-outbound-connector.json +643 -186
- package/src/element-templates/aws-sqs-boundary-connector.json +1059 -540
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +1046 -527
- package/src/element-templates/aws-sqs-outbound-connector.json +596 -143
- package/src/element-templates/aws-sqs-receive-connector.json +525 -7
- package/src/element-templates/aws-sqs-start-event-connector.json +401 -401
- package/src/element-templates/aws-sqs-start-message.json +736 -185
- package/src/element-templates/aws-textract-outbound-connector.json +925 -190
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
- package/src/element-templates/azure-open-ai-connector.json +1372 -9
- package/src/element-templates/blue-prism-connector.json +655 -76
- package/src/element-templates/box-outbound-connector.json +2331 -247
- package/src/element-templates/csv-outbound-connector.json +44 -44
- package/src/element-templates/easy-post-connector.json +1178 -97
- package/src/element-templates/email-outbound-connector.json +3087 -1013
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +2160 -0
- package/src/element-templates/github-connector.json +14049 -9863
- package/src/element-templates/github-webhook-connector-boundary.json +24 -24
- package/src/element-templates/github-webhook-connector-intermediate.json +33 -33
- package/src/element-templates/github-webhook-connector-message-start.json +8 -8
- package/src/element-templates/github-webhook-connector-receive.json +8 -8
- package/src/element-templates/github-webhook-connector-start-event.json +54 -54
- package/src/element-templates/gitlab-connector.json +2110 -208
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1448 -241
- package/src/element-templates/google-drive-outbound-connector.json +2246 -694
- package/src/element-templates/google-gemini-outbound-connector.json +8 -22
- package/src/element-templates/google-maps-platform-connector.json +688 -137
- package/src/element-templates/google-sheets-outbound-connector.json +3631 -2475
- package/src/element-templates/graphql-outbound-connector.json +3346 -789
- package/src/element-templates/http-json-connector.json +5295 -2803
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +2550 -590
- package/src/element-templates/http-polling-connector.json +2886 -926
- package/src/element-templates/hubspot-outbound-connector.json +2786 -36
- package/src/element-templates/hugging-face-connector.json +44 -43
- package/src/element-templates/jdbc-outbound-connector.json +505 -8
- package/src/element-templates/kafka-inbound-connector-boundary.json +29 -32
- package/src/element-templates/kafka-inbound-connector-intermediate.json +615 -618
- package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
- package/src/element-templates/kafka-inbound-connector-start-message.json +9 -12
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +494 -498
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
- package/src/element-templates/microsoft-office365-mail-connector.json +1095 -39
- package/src/element-templates/microsoft-teams-outbound-connector.json +7335 -4894
- package/src/element-templates/openai-connector.json +596 -102
- package/src/element-templates/operate-connector.json +167 -170
- package/src/element-templates/orchestration-connector.json +1843 -0
- package/src/element-templates/power-automate-connector.json +64 -64
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +449 -451
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +770 -772
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +576 -578
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +105 -105
- package/src/element-templates/rabbitmq-outbound-connector.json +319 -319
- package/src/element-templates/rpa-connector.json +6 -6
- package/src/element-templates/salesforce-connector.json +690 -56
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +300 -0
- package/src/element-templates/send-message-connector-message-end-event.json +300 -0
- package/src/element-templates/send-message-connector-send-task.json +299 -0
- package/src/element-templates/sendgrid-outbound-connector.json +597 -597
- package/src/element-templates/servicenow-connector.json +1365 -8
- package/src/element-templates/servicenow-flow-starter-connector.json +15 -15
- package/src/element-templates/servicenow-incident-connector.json +1076 -30
- package/src/element-templates/slack-inbound-boundary.json +374 -374
- package/src/element-templates/slack-inbound-intermediate.json +766 -766
- package/src/element-templates/slack-inbound-message-start.json +145 -145
- package/src/element-templates/slack-inbound-receive.json +2 -2
- package/src/element-templates/slack-inbound-start-event.json +211 -211
- package/src/element-templates/slack-outbound-connector.json +2154 -1051
- package/src/element-templates/soap-outbound-connector.json +114 -118
- package/src/element-templates/twilio-connector.json +1181 -368
- package/src/element-templates/twilio-webhook-boundary-connector.json +29 -30
- package/src/element-templates/twilio-webhook-connector.json +56 -57
- package/src/element-templates/twilio-webhook-intermediate-connector.json +33 -34
- package/src/element-templates/twilio-webhook-message-start-connector.json +27 -28
- package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
- package/src/element-templates/uipath-connector.json +681 -63
- package/src/element-templates/webhook-connector-boundary.json +1242 -587
- package/src/element-templates/webhook-connector-intermediate.json +1339 -684
- package/src/element-templates/webhook-connector-receive.json +659 -5
- package/src/element-templates/webhook-connector-start-event.json +1736 -1175
- package/src/element-templates/webhook-connector-start-message.json +1791 -1104
- package/src/element-templates/whatsapp-connector.json +386 -16
|
@@ -1005,6 +1005,19 @@
|
|
|
1005
1005
|
},
|
|
1006
1006
|
"type": "String"
|
|
1007
1007
|
},
|
|
1008
|
+
{
|
|
1009
|
+
"id": "inbound.verificationExpression",
|
|
1010
|
+
"label": "One time verification response expression",
|
|
1011
|
+
"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>",
|
|
1012
|
+
"optional": true,
|
|
1013
|
+
"feel": "required",
|
|
1014
|
+
"group": "webhookResponse",
|
|
1015
|
+
"binding": {
|
|
1016
|
+
"name": "inbound.verificationExpression",
|
|
1017
|
+
"type": "zeebe:property"
|
|
1018
|
+
},
|
|
1019
|
+
"type": "Text"
|
|
1020
|
+
},
|
|
1008
1021
|
{
|
|
1009
1022
|
"id": "inbound.responseExpression",
|
|
1010
1023
|
"label": "Response expression",
|
|
@@ -1019,14 +1032,655 @@
|
|
|
1019
1032
|
"type": "Text"
|
|
1020
1033
|
},
|
|
1021
1034
|
{
|
|
1022
|
-
"id": "
|
|
1023
|
-
"label": "
|
|
1024
|
-
"description": "
|
|
1035
|
+
"id": "activationCondition",
|
|
1036
|
+
"label": "Activation condition",
|
|
1037
|
+
"description": "Condition under which the Connector triggers. Leave empty to catch all events",
|
|
1025
1038
|
"optional": true,
|
|
1026
1039
|
"feel": "required",
|
|
1027
|
-
"group": "
|
|
1040
|
+
"group": "activation",
|
|
1028
1041
|
"binding": {
|
|
1029
|
-
"name": "
|
|
1042
|
+
"name": "activationCondition",
|
|
1043
|
+
"type": "zeebe:property"
|
|
1044
|
+
},
|
|
1045
|
+
"type": "String"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"id": "consumeUnmatchedEvents",
|
|
1049
|
+
"label": "Consume unmatched events",
|
|
1050
|
+
"value": true,
|
|
1051
|
+
"group": "activation",
|
|
1052
|
+
"binding": {
|
|
1053
|
+
"name": "consumeUnmatchedEvents",
|
|
1054
|
+
"type": "zeebe:property"
|
|
1055
|
+
},
|
|
1056
|
+
"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",
|
|
1057
|
+
"type": "Boolean"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"id": "synchronousResponse",
|
|
1061
|
+
"label": "Response mode",
|
|
1062
|
+
"description": "Synchronous or Asynchronous <a href=\"https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#response-mode\" target=\"_blank\">response handling</a>",
|
|
1063
|
+
"value": "false",
|
|
1064
|
+
"group": "synchronousResponse",
|
|
1065
|
+
"binding": {
|
|
1066
|
+
"name": "synchronousResponse",
|
|
1067
|
+
"type": "zeebe:property"
|
|
1068
|
+
},
|
|
1069
|
+
"tooltip": "Select synchronous to wait for the result of the correlation. This is either the result of the created process or the process instance key that matched the correlated message subscription. Select asynchronous to trigger the correlation and return immediately without waiting for a result. This affects the data available in the <a href=\"https://docs.camunda.io/docs/components/connectors/connectors/protocol/http-webhook/#use-the-correlation-object\">correlation</a> object for the response expression.",
|
|
1070
|
+
"type": "Dropdown",
|
|
1071
|
+
"choices": [
|
|
1072
|
+
{
|
|
1073
|
+
"name": "Asynchronous",
|
|
1074
|
+
"value": "false"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"name": "Synchronous",
|
|
1078
|
+
"value": "true"
|
|
1079
|
+
}
|
|
1080
|
+
]
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"id": "correlationKeyProcess",
|
|
1084
|
+
"label": "Correlation key (process)",
|
|
1085
|
+
"description": "Sets up the correlation key from process variables",
|
|
1086
|
+
"constraints": {
|
|
1087
|
+
"notEmpty": true
|
|
1088
|
+
},
|
|
1089
|
+
"feel": "required",
|
|
1090
|
+
"group": "correlation",
|
|
1091
|
+
"binding": {
|
|
1092
|
+
"name": "correlationKey",
|
|
1093
|
+
"type": "bpmn:Message#zeebe:subscription#property"
|
|
1094
|
+
},
|
|
1095
|
+
"type": "String"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"id": "correlationKeyPayload",
|
|
1099
|
+
"label": "Correlation key (payload)",
|
|
1100
|
+
"description": "Extracts the correlation key from the incoming message payload",
|
|
1101
|
+
"constraints": {
|
|
1102
|
+
"notEmpty": true
|
|
1103
|
+
},
|
|
1104
|
+
"feel": "required",
|
|
1105
|
+
"group": "correlation",
|
|
1106
|
+
"binding": {
|
|
1107
|
+
"name": "correlationKeyExpression",
|
|
1108
|
+
"type": "zeebe:property"
|
|
1109
|
+
},
|
|
1110
|
+
"type": "String"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"id": "messageIdExpression",
|
|
1114
|
+
"label": "Message ID expression",
|
|
1115
|
+
"description": "Expression to extract unique identifier of a message",
|
|
1116
|
+
"optional": true,
|
|
1117
|
+
"feel": "required",
|
|
1118
|
+
"group": "correlation",
|
|
1119
|
+
"binding": {
|
|
1120
|
+
"name": "messageIdExpression",
|
|
1121
|
+
"type": "zeebe:property"
|
|
1122
|
+
},
|
|
1123
|
+
"condition": {
|
|
1124
|
+
"property": "synchronousResponse",
|
|
1125
|
+
"equals": "false",
|
|
1126
|
+
"type": "simple"
|
|
1127
|
+
},
|
|
1128
|
+
"type": "String"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"id": "messageTtl",
|
|
1132
|
+
"label": "Message TTL",
|
|
1133
|
+
"description": "Time-to-live for the message in the broker (ISO-8601 duration)",
|
|
1134
|
+
"optional": true,
|
|
1135
|
+
"constraints": {
|
|
1136
|
+
"notEmpty": false,
|
|
1137
|
+
"pattern": {
|
|
1138
|
+
"value": "^(PT.*|)$",
|
|
1139
|
+
"message": "must be an ISO-8601 duration"
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
"feel": "optional",
|
|
1143
|
+
"group": "correlation",
|
|
1144
|
+
"binding": {
|
|
1145
|
+
"name": "messageTtl",
|
|
1146
|
+
"type": "zeebe:property"
|
|
1147
|
+
},
|
|
1148
|
+
"condition": {
|
|
1149
|
+
"property": "synchronousResponse",
|
|
1150
|
+
"equals": "false",
|
|
1151
|
+
"type": "simple"
|
|
1152
|
+
},
|
|
1153
|
+
"type": "String"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"id": "messageNameUuid",
|
|
1157
|
+
"label": "Message name",
|
|
1158
|
+
"generatedValue": {
|
|
1159
|
+
"type": "uuid"
|
|
1160
|
+
},
|
|
1161
|
+
"feel": "optional",
|
|
1162
|
+
"group": "correlation",
|
|
1163
|
+
"binding": {
|
|
1164
|
+
"name": "name",
|
|
1165
|
+
"type": "bpmn:Message#property"
|
|
1166
|
+
},
|
|
1167
|
+
"tooltip": "By default, this is an auto-generated random UUID. We recommend using a unique message name for each connector element in the diagram. Override to set a custom message name. Learn more about <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-subscriptions\">message subscriptions</a> that power inbound connectors.",
|
|
1168
|
+
"type": "String"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"id": "deduplicationModeManualFlag",
|
|
1172
|
+
"label": "Manual mode",
|
|
1173
|
+
"description": "By default, similar connectors receive the same deduplication ID. Customize by activating manual mode",
|
|
1174
|
+
"value": false,
|
|
1175
|
+
"group": "deduplication",
|
|
1176
|
+
"binding": {
|
|
1177
|
+
"name": "deduplicationModeManualFlag",
|
|
1178
|
+
"type": "zeebe:property"
|
|
1179
|
+
},
|
|
1180
|
+
"type": "Boolean"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"id": "deduplicationId",
|
|
1184
|
+
"label": "Deduplication ID",
|
|
1185
|
+
"constraints": {
|
|
1186
|
+
"notEmpty": true,
|
|
1187
|
+
"pattern": {
|
|
1188
|
+
"value": "^[a-zA-Z0-9_-]+$",
|
|
1189
|
+
"message": "can only contain alphanumeric characters, dashes, and underscores"
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"group": "deduplication",
|
|
1193
|
+
"binding": {
|
|
1194
|
+
"name": "deduplicationId",
|
|
1195
|
+
"type": "zeebe:property"
|
|
1196
|
+
},
|
|
1197
|
+
"condition": {
|
|
1198
|
+
"property": "deduplicationModeManualFlag",
|
|
1199
|
+
"equals": true,
|
|
1200
|
+
"type": "simple"
|
|
1201
|
+
},
|
|
1202
|
+
"type": "String"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"id": "deduplicationModeManual",
|
|
1206
|
+
"value": "MANUAL",
|
|
1207
|
+
"group": "deduplication",
|
|
1208
|
+
"binding": {
|
|
1209
|
+
"name": "deduplicationMode",
|
|
1210
|
+
"type": "zeebe:property"
|
|
1211
|
+
},
|
|
1212
|
+
"condition": {
|
|
1213
|
+
"property": "deduplicationId",
|
|
1214
|
+
"isActive": true,
|
|
1215
|
+
"type": "simple"
|
|
1216
|
+
},
|
|
1217
|
+
"type": "Hidden"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"id": "deduplicationModeAuto",
|
|
1221
|
+
"value": "AUTO",
|
|
1222
|
+
"group": "deduplication",
|
|
1223
|
+
"binding": {
|
|
1224
|
+
"name": "deduplicationMode",
|
|
1225
|
+
"type": "zeebe:property"
|
|
1226
|
+
},
|
|
1227
|
+
"condition": {
|
|
1228
|
+
"property": "deduplicationId",
|
|
1229
|
+
"isActive": false,
|
|
1230
|
+
"type": "simple"
|
|
1231
|
+
},
|
|
1232
|
+
"type": "Hidden"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"id": "resultVariable",
|
|
1236
|
+
"label": "Result variable",
|
|
1237
|
+
"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>.",
|
|
1238
|
+
"group": "output",
|
|
1239
|
+
"binding": {
|
|
1240
|
+
"name": "resultVariable",
|
|
1241
|
+
"type": "zeebe:property"
|
|
1242
|
+
},
|
|
1243
|
+
"type": "String"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"id": "resultExpression",
|
|
1247
|
+
"label": "Result expression",
|
|
1248
|
+
"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>.",
|
|
1249
|
+
"value": "{\n myRequestBody: request.body\n // Use FEEL to extract values, e.g.,:\n // myMessage: request.body.message\n}",
|
|
1250
|
+
"feel": "required",
|
|
1251
|
+
"group": "output",
|
|
1252
|
+
"binding": {
|
|
1253
|
+
"name": "resultExpression",
|
|
1254
|
+
"type": "zeebe:property"
|
|
1255
|
+
},
|
|
1256
|
+
"type": "Text"
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"icon": {
|
|
1260
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
|
|
1261
|
+
}
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1265
|
+
"name": "Webhook Receive Task Connector",
|
|
1266
|
+
"id": "io.camunda.connectors.webhook.WebhookConnectorReceive.v1",
|
|
1267
|
+
"description": "Configure webhook to receive callbacks",
|
|
1268
|
+
"keywords": [
|
|
1269
|
+
"receive webhook",
|
|
1270
|
+
"HTTP trigger",
|
|
1271
|
+
"event received",
|
|
1272
|
+
"inbound event",
|
|
1273
|
+
"webhook trigger",
|
|
1274
|
+
"HTTP callback",
|
|
1275
|
+
"listen for event"
|
|
1276
|
+
],
|
|
1277
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/",
|
|
1278
|
+
"version": 15,
|
|
1279
|
+
"category": {
|
|
1280
|
+
"id": "connectors",
|
|
1281
|
+
"name": "Connectors"
|
|
1282
|
+
},
|
|
1283
|
+
"appliesTo": ["bpmn:ReceiveTask"],
|
|
1284
|
+
"elementType": {
|
|
1285
|
+
"value": "bpmn:ReceiveTask"
|
|
1286
|
+
},
|
|
1287
|
+
"engines": {
|
|
1288
|
+
"camunda": "^8.3"
|
|
1289
|
+
},
|
|
1290
|
+
"groups": [
|
|
1291
|
+
{
|
|
1292
|
+
"id": "endpoint",
|
|
1293
|
+
"label": "Webhook configuration"
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"id": "authentication",
|
|
1297
|
+
"label": "Authentication"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"id": "authorization",
|
|
1301
|
+
"label": "Authorization"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"id": "webhookResponse",
|
|
1305
|
+
"label": "Webhook response"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"id": "activation",
|
|
1309
|
+
"label": "Activation"
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"id": "synchronousResponse",
|
|
1313
|
+
"label": "Response mode"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"id": "correlation",
|
|
1317
|
+
"label": "Correlation",
|
|
1318
|
+
"tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"id": "deduplication",
|
|
1322
|
+
"label": "Deduplication",
|
|
1323
|
+
"tooltip": "Deduplication allows you to configure multiple inbound connector elements to reuse the same backend (consumer/thread/endpoint) by sharing the same deduplication ID."
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"id": "output",
|
|
1327
|
+
"label": "Output mapping"
|
|
1328
|
+
}
|
|
1329
|
+
],
|
|
1330
|
+
"properties": [
|
|
1331
|
+
{
|
|
1332
|
+
"value": "io.camunda:webhook:1",
|
|
1333
|
+
"binding": {
|
|
1334
|
+
"name": "inbound.type",
|
|
1335
|
+
"type": "zeebe:property"
|
|
1336
|
+
},
|
|
1337
|
+
"type": "Hidden"
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"id": "inbound.method",
|
|
1341
|
+
"label": "Webhook method",
|
|
1342
|
+
"description": "Select HTTP method",
|
|
1343
|
+
"optional": false,
|
|
1344
|
+
"value": "any",
|
|
1345
|
+
"group": "endpoint",
|
|
1346
|
+
"binding": {
|
|
1347
|
+
"name": "inbound.method",
|
|
1348
|
+
"type": "zeebe:property"
|
|
1349
|
+
},
|
|
1350
|
+
"type": "Dropdown",
|
|
1351
|
+
"choices": [
|
|
1352
|
+
{
|
|
1353
|
+
"name": "Any",
|
|
1354
|
+
"value": "any"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "GET",
|
|
1358
|
+
"value": "get"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"name": "POST",
|
|
1362
|
+
"value": "post"
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"name": "PUT",
|
|
1366
|
+
"value": "put"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "DELETE",
|
|
1370
|
+
"value": "delete"
|
|
1371
|
+
}
|
|
1372
|
+
]
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"id": "inbound.context",
|
|
1376
|
+
"label": "Webhook ID",
|
|
1377
|
+
"description": "The webhook ID is a part of the URL",
|
|
1378
|
+
"optional": false,
|
|
1379
|
+
"constraints": {
|
|
1380
|
+
"notEmpty": true,
|
|
1381
|
+
"pattern": {
|
|
1382
|
+
"value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
|
|
1383
|
+
"message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
"group": "endpoint",
|
|
1387
|
+
"binding": {
|
|
1388
|
+
"name": "inbound.context",
|
|
1389
|
+
"type": "zeebe:property"
|
|
1390
|
+
},
|
|
1391
|
+
"type": "String"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"id": "inbound.shouldValidateHmac",
|
|
1395
|
+
"label": "HMAC authentication",
|
|
1396
|
+
"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",
|
|
1397
|
+
"optional": false,
|
|
1398
|
+
"value": "disabled",
|
|
1399
|
+
"group": "authentication",
|
|
1400
|
+
"binding": {
|
|
1401
|
+
"name": "inbound.shouldValidateHmac",
|
|
1402
|
+
"type": "zeebe:property"
|
|
1403
|
+
},
|
|
1404
|
+
"type": "Dropdown",
|
|
1405
|
+
"choices": [
|
|
1406
|
+
{
|
|
1407
|
+
"name": "Enabled",
|
|
1408
|
+
"value": "enabled"
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"name": "Disabled",
|
|
1412
|
+
"value": "disabled"
|
|
1413
|
+
}
|
|
1414
|
+
]
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"id": "inbound.hmacSecret",
|
|
1418
|
+
"label": "HMAC secret key",
|
|
1419
|
+
"description": "Shared secret key",
|
|
1420
|
+
"optional": true,
|
|
1421
|
+
"feel": "optional",
|
|
1422
|
+
"group": "authentication",
|
|
1423
|
+
"binding": {
|
|
1424
|
+
"name": "inbound.hmacSecret",
|
|
1425
|
+
"type": "zeebe:property"
|
|
1426
|
+
},
|
|
1427
|
+
"condition": {
|
|
1428
|
+
"property": "inbound.shouldValidateHmac",
|
|
1429
|
+
"equals": "enabled",
|
|
1430
|
+
"type": "simple"
|
|
1431
|
+
},
|
|
1432
|
+
"type": "String"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"id": "inbound.hmacHeader",
|
|
1436
|
+
"label": "HMAC header",
|
|
1437
|
+
"description": "Name of header attribute that will contain the HMAC value",
|
|
1438
|
+
"optional": true,
|
|
1439
|
+
"feel": "optional",
|
|
1440
|
+
"group": "authentication",
|
|
1441
|
+
"binding": {
|
|
1442
|
+
"name": "inbound.hmacHeader",
|
|
1443
|
+
"type": "zeebe:property"
|
|
1444
|
+
},
|
|
1445
|
+
"condition": {
|
|
1446
|
+
"property": "inbound.shouldValidateHmac",
|
|
1447
|
+
"equals": "enabled",
|
|
1448
|
+
"type": "simple"
|
|
1449
|
+
},
|
|
1450
|
+
"type": "String"
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"id": "inbound.hmacAlgorithm",
|
|
1454
|
+
"label": "HMAC algorithm",
|
|
1455
|
+
"description": "Choose HMAC algorithm",
|
|
1456
|
+
"optional": false,
|
|
1457
|
+
"value": "sha_256",
|
|
1458
|
+
"group": "authentication",
|
|
1459
|
+
"binding": {
|
|
1460
|
+
"name": "inbound.hmacAlgorithm",
|
|
1461
|
+
"type": "zeebe:property"
|
|
1462
|
+
},
|
|
1463
|
+
"condition": {
|
|
1464
|
+
"property": "inbound.shouldValidateHmac",
|
|
1465
|
+
"equals": "enabled",
|
|
1466
|
+
"type": "simple"
|
|
1467
|
+
},
|
|
1468
|
+
"type": "Dropdown",
|
|
1469
|
+
"choices": [
|
|
1470
|
+
{
|
|
1471
|
+
"name": "SHA-1",
|
|
1472
|
+
"value": "sha_1"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "SHA-256",
|
|
1476
|
+
"value": "sha_256"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "SHA-512",
|
|
1480
|
+
"value": "sha_512"
|
|
1481
|
+
}
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"id": "inbound.hmacScopes",
|
|
1486
|
+
"label": "HMAC scopes",
|
|
1487
|
+
"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>",
|
|
1488
|
+
"optional": true,
|
|
1489
|
+
"feel": "required",
|
|
1490
|
+
"group": "authentication",
|
|
1491
|
+
"binding": {
|
|
1492
|
+
"name": "inbound.hmacScopes",
|
|
1493
|
+
"type": "zeebe:property"
|
|
1494
|
+
},
|
|
1495
|
+
"condition": {
|
|
1496
|
+
"property": "inbound.shouldValidateHmac",
|
|
1497
|
+
"equals": "enabled",
|
|
1498
|
+
"type": "simple"
|
|
1499
|
+
},
|
|
1500
|
+
"type": "String"
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"id": "inbound.auth.type",
|
|
1504
|
+
"label": "Authorization type",
|
|
1505
|
+
"description": "Choose the authorization type",
|
|
1506
|
+
"value": "NONE",
|
|
1507
|
+
"group": "authorization",
|
|
1508
|
+
"binding": {
|
|
1509
|
+
"name": "inbound.auth.type",
|
|
1510
|
+
"type": "zeebe:property"
|
|
1511
|
+
},
|
|
1512
|
+
"type": "Dropdown",
|
|
1513
|
+
"choices": [
|
|
1514
|
+
{
|
|
1515
|
+
"name": "None",
|
|
1516
|
+
"value": "NONE"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"name": "Basic",
|
|
1520
|
+
"value": "BASIC"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"name": "API key",
|
|
1524
|
+
"value": "APIKEY"
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"name": "JWT",
|
|
1528
|
+
"value": "JWT"
|
|
1529
|
+
}
|
|
1530
|
+
]
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"id": "inbound.auth.username",
|
|
1534
|
+
"label": "Username",
|
|
1535
|
+
"description": "Username for basic authentication",
|
|
1536
|
+
"optional": false,
|
|
1537
|
+
"feel": "optional",
|
|
1538
|
+
"group": "authorization",
|
|
1539
|
+
"binding": {
|
|
1540
|
+
"name": "inbound.auth.username",
|
|
1541
|
+
"type": "zeebe:property"
|
|
1542
|
+
},
|
|
1543
|
+
"condition": {
|
|
1544
|
+
"property": "inbound.auth.type",
|
|
1545
|
+
"equals": "BASIC",
|
|
1546
|
+
"type": "simple"
|
|
1547
|
+
},
|
|
1548
|
+
"type": "String"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"id": "inbound.auth.password",
|
|
1552
|
+
"label": "Password",
|
|
1553
|
+
"description": "Password for basic authentication",
|
|
1554
|
+
"optional": false,
|
|
1555
|
+
"feel": "optional",
|
|
1556
|
+
"group": "authorization",
|
|
1557
|
+
"binding": {
|
|
1558
|
+
"name": "inbound.auth.password",
|
|
1559
|
+
"type": "zeebe:property"
|
|
1560
|
+
},
|
|
1561
|
+
"condition": {
|
|
1562
|
+
"property": "inbound.auth.type",
|
|
1563
|
+
"equals": "BASIC",
|
|
1564
|
+
"type": "simple"
|
|
1565
|
+
},
|
|
1566
|
+
"type": "String"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"id": "inbound.auth.apiKey",
|
|
1570
|
+
"label": "API key",
|
|
1571
|
+
"description": "Expected API key",
|
|
1572
|
+
"optional": false,
|
|
1573
|
+
"feel": "optional",
|
|
1574
|
+
"group": "authorization",
|
|
1575
|
+
"binding": {
|
|
1576
|
+
"name": "inbound.auth.apiKey",
|
|
1577
|
+
"type": "zeebe:property"
|
|
1578
|
+
},
|
|
1579
|
+
"condition": {
|
|
1580
|
+
"property": "inbound.auth.type",
|
|
1581
|
+
"equals": "APIKEY",
|
|
1582
|
+
"type": "simple"
|
|
1583
|
+
},
|
|
1584
|
+
"type": "String"
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"id": "inbound.auth.apiKeyLocator",
|
|
1588
|
+
"label": "API key locator",
|
|
1589
|
+
"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>",
|
|
1590
|
+
"optional": false,
|
|
1591
|
+
"value": "=split(request.headers.authorization, \" \")[2]",
|
|
1592
|
+
"constraints": {
|
|
1593
|
+
"notEmpty": true
|
|
1594
|
+
},
|
|
1595
|
+
"feel": "required",
|
|
1596
|
+
"group": "authorization",
|
|
1597
|
+
"binding": {
|
|
1598
|
+
"name": "inbound.auth.apiKeyLocator",
|
|
1599
|
+
"type": "zeebe:property"
|
|
1600
|
+
},
|
|
1601
|
+
"condition": {
|
|
1602
|
+
"property": "inbound.auth.type",
|
|
1603
|
+
"equals": "APIKEY",
|
|
1604
|
+
"type": "simple"
|
|
1605
|
+
},
|
|
1606
|
+
"type": "String"
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"id": "inbound.auth.jwt.jwkUrl",
|
|
1610
|
+
"label": "JWK URL",
|
|
1611
|
+
"description": "Well-known URL of JWKs",
|
|
1612
|
+
"optional": false,
|
|
1613
|
+
"feel": "optional",
|
|
1614
|
+
"group": "authorization",
|
|
1615
|
+
"binding": {
|
|
1616
|
+
"name": "inbound.auth.jwt.jwkUrl",
|
|
1617
|
+
"type": "zeebe:property"
|
|
1618
|
+
},
|
|
1619
|
+
"condition": {
|
|
1620
|
+
"property": "inbound.auth.type",
|
|
1621
|
+
"equals": "JWT",
|
|
1622
|
+
"type": "simple"
|
|
1623
|
+
},
|
|
1624
|
+
"type": "String"
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
"id": "inbound.auth.jwt.permissionsExpression",
|
|
1628
|
+
"label": "JWT role property expression",
|
|
1629
|
+
"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>",
|
|
1630
|
+
"optional": false,
|
|
1631
|
+
"feel": "required",
|
|
1632
|
+
"group": "authorization",
|
|
1633
|
+
"binding": {
|
|
1634
|
+
"name": "inbound.auth.jwt.permissionsExpression",
|
|
1635
|
+
"type": "zeebe:property"
|
|
1636
|
+
},
|
|
1637
|
+
"condition": {
|
|
1638
|
+
"property": "inbound.auth.type",
|
|
1639
|
+
"equals": "JWT",
|
|
1640
|
+
"type": "simple"
|
|
1641
|
+
},
|
|
1642
|
+
"type": "String"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
"id": "inbound.auth.jwt.requiredPermissions",
|
|
1646
|
+
"label": "Required roles",
|
|
1647
|
+
"description": "List of roles to test JWT roles against",
|
|
1648
|
+
"optional": false,
|
|
1649
|
+
"feel": "required",
|
|
1650
|
+
"group": "authorization",
|
|
1651
|
+
"binding": {
|
|
1652
|
+
"name": "inbound.auth.jwt.requiredPermissions",
|
|
1653
|
+
"type": "zeebe:property"
|
|
1654
|
+
},
|
|
1655
|
+
"condition": {
|
|
1656
|
+
"property": "inbound.auth.type",
|
|
1657
|
+
"equals": "JWT",
|
|
1658
|
+
"type": "simple"
|
|
1659
|
+
},
|
|
1660
|
+
"type": "String"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"id": "inbound.verificationExpression",
|
|
1664
|
+
"label": "One time verification response expression",
|
|
1665
|
+
"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>",
|
|
1666
|
+
"optional": true,
|
|
1667
|
+
"feel": "required",
|
|
1668
|
+
"group": "webhookResponse",
|
|
1669
|
+
"binding": {
|
|
1670
|
+
"name": "inbound.verificationExpression",
|
|
1671
|
+
"type": "zeebe:property"
|
|
1672
|
+
},
|
|
1673
|
+
"type": "Text"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"id": "inbound.responseExpression",
|
|
1677
|
+
"label": "Response expression",
|
|
1678
|
+
"description": "Expression used to generate the HTTP response",
|
|
1679
|
+
"optional": true,
|
|
1680
|
+
"feel": "required",
|
|
1681
|
+
"group": "webhookResponse",
|
|
1682
|
+
"binding": {
|
|
1683
|
+
"name": "inbound.responseExpression",
|
|
1030
1684
|
"type": "zeebe:property"
|
|
1031
1685
|
},
|
|
1032
1686
|
"type": "Text"
|