@camunda/connectors-element-templates 1.0.19 → 1.0.20

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 (96) hide show
  1. package/package.json +2 -2
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +31 -31
  4. package/src/element-templates/agenticai-aiagent-job-worker.json +180 -180
  5. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3080 -3080
  6. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  7. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
  8. package/src/element-templates/asana-connector.json +107 -107
  9. package/src/element-templates/automation-anywhere-outbound-connector.json +575 -575
  10. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
  11. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
  12. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
  13. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
  14. package/src/element-templates/aws-bedrock-outbound-connector.json +1 -1
  15. package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
  16. package/src/element-templates/aws-dynamodb-outbound-connector.json +3079 -1727
  17. package/src/element-templates/aws-eventbridge-connector-boundary.json +33 -33
  18. package/src/element-templates/aws-eventbridge-connector-intermediate.json +28 -28
  19. package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
  20. package/src/element-templates/aws-eventbridge-outbound-connector.json +289 -289
  21. package/src/element-templates/aws-lambda-outbound-connector.json +45 -45
  22. package/src/element-templates/aws-s3-outbound-connector.json +705 -32
  23. package/src/element-templates/aws-sagemaker-outbound-connector.json +1 -1
  24. package/src/element-templates/aws-sns-inbound-boundary.json +203 -203
  25. package/src/element-templates/aws-sns-inbound-intermediate.json +217 -217
  26. package/src/element-templates/aws-sns-inbound-message-start.json +237 -237
  27. package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
  28. package/src/element-templates/aws-sns-outbound-connector.json +68 -68
  29. package/src/element-templates/aws-sqs-boundary-connector.json +415 -415
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +500 -500
  31. package/src/element-templates/aws-sqs-outbound-connector.json +390 -390
  32. package/src/element-templates/aws-sqs-start-event-connector.json +409 -409
  33. package/src/element-templates/aws-textract-outbound-connector.json +124 -124
  34. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  35. package/src/element-templates/azure-open-ai-connector.json +1 -1
  36. package/src/element-templates/blue-prism-connector.json +52 -52
  37. package/src/element-templates/box-outbound-connector.json +49 -49
  38. package/src/element-templates/csv-outbound-connector.json +452 -3
  39. package/src/element-templates/easy-post-connector.json +262 -262
  40. package/src/element-templates/email-outbound-connector.json +1 -1
  41. package/src/element-templates/embeddings-vector-database-outbound-connector.json +1 -1
  42. package/src/element-templates/github-connector.json +10051 -10051
  43. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  44. package/src/element-templates/github-webhook-connector-start-event.json +26 -26
  45. package/src/element-templates/gitlab-connector.json +1081 -1081
  46. package/src/element-templates/google-cloud-storage-outbound-connector.json +1 -1
  47. package/src/element-templates/google-drive-outbound-connector.json +361 -361
  48. package/src/element-templates/google-gemini-outbound-connector.json +33 -33
  49. package/src/element-templates/google-maps-platform-connector.json +81 -81
  50. package/src/element-templates/google-sheets-outbound-connector.json +1124 -1124
  51. package/src/element-templates/graphql-outbound-connector.json +1813 -1706
  52. package/src/element-templates/http-json-connector.json +3412 -1814
  53. package/src/element-templates/http-polling-boundary-catch-event-connector.json +102 -0
  54. package/src/element-templates/http-polling-connector.json +825 -723
  55. package/src/element-templates/hubspot-outbound-connector.json +59 -59
  56. package/src/element-templates/hugging-face-connector.json +75 -75
  57. package/src/element-templates/jdbc-outbound-connector.json +1 -1
  58. package/src/element-templates/kafka-inbound-connector-boundary.json +976 -976
  59. package/src/element-templates/kafka-inbound-connector-intermediate.json +501 -501
  60. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  61. package/src/element-templates/kafka-outbound-connector.json +177 -177
  62. package/src/element-templates/microsoft-office365-mail-connector.json +1059 -73
  63. package/src/element-templates/microsoft-teams-outbound-connector.json +4489 -4489
  64. package/src/element-templates/openai-connector.json +238 -238
  65. package/src/element-templates/operate-connector.json +136 -136
  66. package/src/element-templates/power-automate-connector.json +19 -19
  67. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +443 -443
  68. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +765 -765
  69. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +352 -352
  70. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +337 -337
  71. package/src/element-templates/rabbitmq-outbound-connector.json +326 -326
  72. package/src/element-templates/salesforce-connector.json +59 -59
  73. package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
  74. package/src/element-templates/send-message-connector-message-end-event.json +1 -1
  75. package/src/element-templates/send-message-connector-send-task.json +1 -1
  76. package/src/element-templates/sendgrid-outbound-connector.json +636 -636
  77. package/src/element-templates/servicenow-connector.json +1 -1
  78. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  79. package/src/element-templates/servicenow-incident-connector.json +1 -1
  80. package/src/element-templates/slack-inbound-boundary.json +266 -266
  81. package/src/element-templates/slack-inbound-intermediate.json +557 -557
  82. package/src/element-templates/slack-inbound-message-start.json +334 -334
  83. package/src/element-templates/slack-inbound-start-event.json +128 -128
  84. package/src/element-templates/slack-outbound-connector.json +1415 -1415
  85. package/src/element-templates/soap-outbound-connector.json +1 -1
  86. package/src/element-templates/twilio-connector.json +354 -354
  87. package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
  88. package/src/element-templates/twilio-webhook-connector.json +29 -29
  89. package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
  90. package/src/element-templates/twilio-webhook-message-start-connector.json +17 -17
  91. package/src/element-templates/uipath-connector.json +56 -56
  92. package/src/element-templates/webhook-connector-boundary.json +114 -114
  93. package/src/element-templates/webhook-connector-intermediate.json +1129 -1129
  94. package/src/element-templates/webhook-connector-start-event.json +1293 -1293
  95. package/src/element-templates/webhook-connector-start-message.json +537 -537
  96. package/src/element-templates/whatsapp-connector.json +51 -51
@@ -1,9 +1,9 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Webhook connector",
4
+ "name": "Webhook Start Event Connector",
5
5
  "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
6
- "version": 5,
6
+ "version": 8,
7
7
  "description": "Configure webhook to receive callbacks",
8
8
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
9
9
  "category": {
@@ -34,6 +34,10 @@
34
34
  {
35
35
  "id": "variable-mapping",
36
36
  "label": "Variable mapping"
37
+ },
38
+ {
39
+ "id": "webhookResponse",
40
+ "label": "Webhook response"
37
41
  }
38
42
  ],
39
43
  "properties": [
@@ -371,6 +375,213 @@
371
375
  },
372
376
  "description": "Name of variable to store the result of the connector in"
373
377
  },
378
+ {
379
+ "label": "Result expression",
380
+ "type": "String",
381
+ "group": "variable-mapping",
382
+ "feel": "required",
383
+ "optional": true,
384
+ "binding": {
385
+ "type": "zeebe:property",
386
+ "name": "resultExpression"
387
+ },
388
+ "description": "Expression to map the inbound payload to process variables"
389
+ },
390
+ {
391
+ "label": "One time verification response expression",
392
+ "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>",
393
+ "type": "Text",
394
+ "group": "webhookResponse",
395
+ "feel": "required",
396
+ "optional": true,
397
+ "binding": {
398
+ "type": "zeebe:property",
399
+ "name": "inbound.verificationExpression"
400
+ }
401
+ },
402
+ {
403
+ "label": "Response body expression",
404
+ "type": "Text",
405
+ "group": "webhookResponse",
406
+ "feel": "required",
407
+ "optional": true,
408
+ "binding": {
409
+ "type": "zeebe:property",
410
+ "name": "inbound.responseBodyExpression"
411
+ },
412
+ "description": "Specify condition and response"
413
+ }
414
+ ],
415
+ "icon": {
416
+ "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"
417
+ },
418
+ "engines": {
419
+ "camunda": "^8.4"
420
+ }
421
+ },
422
+ {
423
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
424
+ "name": "Webhook Connector",
425
+ "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
426
+ "version": 2,
427
+ "description": "Configure webhook to receive callbacks",
428
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
429
+ "category": {
430
+ "id": "connectors",
431
+ "name": "Connectors"
432
+ },
433
+ "appliesTo": ["bpmn:StartEvent"],
434
+ "elementType": {
435
+ "value": "bpmn:StartEvent"
436
+ },
437
+ "groups": [
438
+ {
439
+ "id": "endpoint",
440
+ "label": "Webhook Configuration"
441
+ },
442
+ {
443
+ "id": "activation",
444
+ "label": "Activation"
445
+ },
446
+ {
447
+ "id": "variable-mapping",
448
+ "label": "Variable Mapping"
449
+ }
450
+ ],
451
+ "properties": [
452
+ {
453
+ "type": "Hidden",
454
+ "value": "io.camunda:webhook:1",
455
+ "binding": {
456
+ "type": "zeebe:property",
457
+ "name": "inbound.type"
458
+ }
459
+ },
460
+ {
461
+ "type": "Hidden",
462
+ "value": "ConfigurableInboundWebhook",
463
+ "binding": {
464
+ "type": "zeebe:property",
465
+ "name": "inbound.subtype"
466
+ }
467
+ },
468
+ {
469
+ "label": "Webhook ID",
470
+ "type": "String",
471
+ "group": "endpoint",
472
+ "binding": {
473
+ "type": "zeebe:property",
474
+ "name": "inbound.context"
475
+ },
476
+ "description": "The webhook ID is a part of the URL",
477
+ "constraints": {
478
+ "notEmpty": true
479
+ }
480
+ },
481
+ {
482
+ "id": "shouldValidateHmac",
483
+ "label": "HMAC authentication",
484
+ "group": "endpoint",
485
+ "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",
486
+ "value": "disabled",
487
+ "type": "Dropdown",
488
+ "choices": [
489
+ {
490
+ "name": "Enabled",
491
+ "value": "enabled"
492
+ },
493
+ {
494
+ "name": "Disabled",
495
+ "value": "disabled"
496
+ }
497
+ ],
498
+ "binding": {
499
+ "type": "zeebe:property",
500
+ "name": "inbound.shouldValidateHmac"
501
+ }
502
+ },
503
+ {
504
+ "label": "HMAC secret key",
505
+ "description": "Shared secret key",
506
+ "type": "String",
507
+ "group": "endpoint",
508
+ "optional": true,
509
+ "binding": {
510
+ "type": "zeebe:property",
511
+ "name": "inbound.hmacSecret"
512
+ },
513
+ "condition": {
514
+ "property": "shouldValidateHmac",
515
+ "equals": "enabled"
516
+ }
517
+ },
518
+ {
519
+ "label": "HMAC header",
520
+ "description": "Name of header attribute that will contain the HMAC value",
521
+ "type": "String",
522
+ "group": "endpoint",
523
+ "optional": true,
524
+ "binding": {
525
+ "type": "zeebe:property",
526
+ "name": "inbound.hmacHeader"
527
+ },
528
+ "condition": {
529
+ "property": "shouldValidateHmac",
530
+ "equals": "enabled"
531
+ }
532
+ },
533
+ {
534
+ "label": "HMAC algorithm",
535
+ "group": "endpoint",
536
+ "description": "Choose HMAC algorithm",
537
+ "value": "sha_256",
538
+ "type": "Dropdown",
539
+ "choices": [
540
+ {
541
+ "name": "SHA-1",
542
+ "value": "sha_1"
543
+ },
544
+ {
545
+ "name": "SHA-256",
546
+ "value": "sha_256"
547
+ },
548
+ {
549
+ "name": "SHA-512",
550
+ "value": "sha_512"
551
+ }
552
+ ],
553
+ "binding": {
554
+ "type": "zeebe:property",
555
+ "name": "inbound.hmacAlgorithm"
556
+ },
557
+ "condition": {
558
+ "property": "shouldValidateHmac",
559
+ "equals": "enabled"
560
+ }
561
+ },
562
+ {
563
+ "label": "Condition",
564
+ "type": "String",
565
+ "group": "activation",
566
+ "feel": "required",
567
+ "optional": true,
568
+ "binding": {
569
+ "type": "zeebe:property",
570
+ "name": "inbound.activationCondition"
571
+ },
572
+ "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>"
573
+ },
574
+ {
575
+ "label": "Result variable",
576
+ "type": "String",
577
+ "group": "variable-mapping",
578
+ "optional": true,
579
+ "binding": {
580
+ "type": "zeebe:property",
581
+ "name": "resultVariable"
582
+ },
583
+ "description": "Name of variable to store the result of the Connector in"
584
+ },
374
585
  {
375
586
  "label": "Result expression",
376
587
  "type": "String",
@@ -395,7 +606,7 @@
395
606
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
396
607
  "name": "Webhook Start Event Connector",
397
608
  "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
398
- "version": 8,
609
+ "version": 9,
399
610
  "description": "Configure webhook to receive callbacks",
400
611
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
401
612
  "category": {
@@ -493,7 +704,11 @@
493
704
  },
494
705
  "description": "The webhook ID is a part of the URL",
495
706
  "constraints": {
496
- "notEmpty": true
707
+ "notEmpty": true,
708
+ "pattern": {
709
+ "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
710
+ "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
711
+ }
497
712
  }
498
713
  },
499
714
  {
@@ -808,16 +1023,16 @@
808
1023
  "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"
809
1024
  },
810
1025
  "engines": {
811
- "camunda": "^8.4"
1026
+ "camunda": "^8.5"
812
1027
  }
813
1028
  },
814
1029
  {
815
1030
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
816
1031
  "name": "Webhook Start Event Connector",
817
1032
  "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
1033
+ "version": 7,
818
1034
  "description": "Configure webhook to receive callbacks",
819
1035
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
820
- "version": 10,
821
1036
  "category": {
822
1037
  "id": "connectors",
823
1038
  "name": "Connectors"
@@ -839,39 +1054,42 @@
839
1054
  "id": "authorization",
840
1055
  "label": "Authorization"
841
1056
  },
842
- {
843
- "id": "webhookResponse",
844
- "label": "Webhook response"
845
- },
846
1057
  {
847
1058
  "id": "activation",
848
1059
  "label": "Activation"
849
1060
  },
850
1061
  {
851
- "id": "output",
852
- "label": "Output mapping"
1062
+ "id": "variable-mapping",
1063
+ "label": "Variable mapping"
1064
+ },
1065
+ {
1066
+ "id": "webhookResponse",
1067
+ "label": "Webhook response"
853
1068
  }
854
1069
  ],
855
1070
  "properties": [
856
1071
  {
1072
+ "type": "Hidden",
857
1073
  "value": "io.camunda:webhook:1",
858
1074
  "binding": {
859
- "name": "inbound.type",
860
- "type": "zeebe:property"
861
- },
862
- "type": "Hidden"
1075
+ "type": "zeebe:property",
1076
+ "name": "inbound.type"
1077
+ }
863
1078
  },
864
1079
  {
865
- "id": "inbound.method",
866
- "label": "Webhook method",
867
- "description": "Select HTTP method",
868
- "optional": false,
869
- "value": "any",
870
- "group": "endpoint",
1080
+ "type": "Hidden",
1081
+ "value": "ConfigurableInboundWebhook",
871
1082
  "binding": {
872
- "name": "inbound.method",
873
- "type": "zeebe:property"
874
- },
1083
+ "type": "zeebe:property",
1084
+ "name": "inbound.subtype"
1085
+ }
1086
+ },
1087
+ {
1088
+ "id": "webhookMethod",
1089
+ "label": "Webhook method",
1090
+ "group": "endpoint",
1091
+ "description": "Select HTTP method",
1092
+ "value": "any",
875
1093
  "type": "Dropdown",
876
1094
  "choices": [
877
1095
  {
@@ -879,53 +1097,46 @@
879
1097
  "value": "any"
880
1098
  },
881
1099
  {
882
- "name": "GET",
1100
+ "name": "Get",
883
1101
  "value": "get"
884
1102
  },
885
1103
  {
886
- "name": "POST",
1104
+ "name": "Post",
887
1105
  "value": "post"
888
1106
  },
889
1107
  {
890
- "name": "PUT",
1108
+ "name": "Put",
891
1109
  "value": "put"
892
1110
  },
893
1111
  {
894
- "name": "DELETE",
1112
+ "name": "Delete",
895
1113
  "value": "delete"
896
1114
  }
897
- ]
1115
+ ],
1116
+ "binding": {
1117
+ "type": "zeebe:property",
1118
+ "name": "inbound.method"
1119
+ }
898
1120
  },
899
1121
  {
900
- "id": "inbound.context",
901
1122
  "label": "Webhook ID",
902
- "description": "The webhook ID is a part of the URL",
903
- "optional": false,
904
- "constraints": {
905
- "notEmpty": true,
906
- "pattern": {
907
- "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
908
- "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
909
- }
910
- },
1123
+ "type": "String",
911
1124
  "group": "endpoint",
912
1125
  "binding": {
913
- "name": "inbound.context",
914
- "type": "zeebe:property"
1126
+ "type": "zeebe:property",
1127
+ "name": "inbound.context"
915
1128
  },
916
- "type": "String"
1129
+ "description": "The webhook ID is a part of the URL",
1130
+ "constraints": {
1131
+ "notEmpty": true
1132
+ }
917
1133
  },
918
1134
  {
919
- "id": "inbound.shouldValidateHmac",
1135
+ "id": "shouldValidateHmac",
920
1136
  "label": "HMAC authentication",
1137
+ "group": "authentication",
921
1138
  "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",
922
- "optional": false,
923
1139
  "value": "disabled",
924
- "group": "authentication",
925
- "binding": {
926
- "name": "inbound.shouldValidateHmac",
927
- "type": "zeebe:property"
928
- },
929
1140
  "type": "Dropdown",
930
1141
  "choices": [
931
1142
  {
@@ -936,60 +1147,47 @@
936
1147
  "name": "Disabled",
937
1148
  "value": "disabled"
938
1149
  }
939
- ]
1150
+ ],
1151
+ "binding": {
1152
+ "type": "zeebe:property",
1153
+ "name": "inbound.shouldValidateHmac"
1154
+ }
940
1155
  },
941
1156
  {
942
- "id": "inbound.hmacSecret",
943
1157
  "label": "HMAC secret key",
944
1158
  "description": "Shared secret key",
945
- "optional": true,
946
- "feel": "optional",
1159
+ "type": "String",
947
1160
  "group": "authentication",
1161
+ "optional": true,
948
1162
  "binding": {
949
- "name": "inbound.hmacSecret",
950
- "type": "zeebe:property"
1163
+ "type": "zeebe:property",
1164
+ "name": "inbound.hmacSecret"
951
1165
  },
952
1166
  "condition": {
953
- "property": "inbound.shouldValidateHmac",
954
- "equals": "enabled",
955
- "type": "simple"
956
- },
957
- "type": "String"
1167
+ "property": "shouldValidateHmac",
1168
+ "equals": "enabled"
1169
+ }
958
1170
  },
959
1171
  {
960
- "id": "inbound.hmacHeader",
961
1172
  "label": "HMAC header",
962
1173
  "description": "Name of header attribute that will contain the HMAC value",
963
- "optional": true,
964
- "feel": "optional",
1174
+ "type": "String",
965
1175
  "group": "authentication",
1176
+ "optional": true,
966
1177
  "binding": {
967
- "name": "inbound.hmacHeader",
968
- "type": "zeebe:property"
1178
+ "type": "zeebe:property",
1179
+ "name": "inbound.hmacHeader"
969
1180
  },
970
1181
  "condition": {
971
- "property": "inbound.shouldValidateHmac",
972
- "equals": "enabled",
973
- "type": "simple"
974
- },
975
- "type": "String"
1182
+ "property": "shouldValidateHmac",
1183
+ "equals": "enabled"
1184
+ }
976
1185
  },
977
1186
  {
978
- "id": "inbound.hmacAlgorithm",
979
1187
  "label": "HMAC algorithm",
1188
+ "group": "authentication",
980
1189
  "description": "Choose HMAC algorithm",
981
- "optional": false,
982
1190
  "value": "sha_256",
983
- "group": "authentication",
984
- "binding": {
985
- "name": "inbound.hmacAlgorithm",
986
- "type": "zeebe:property"
987
- },
988
- "condition": {
989
- "property": "inbound.shouldValidateHmac",
990
- "equals": "enabled",
991
- "type": "simple"
992
- },
993
1191
  "type": "Dropdown",
994
1192
  "choices": [
995
1193
  {
@@ -1004,263 +1202,245 @@
1004
1202
  "name": "SHA-512",
1005
1203
  "value": "sha_512"
1006
1204
  }
1007
- ]
1205
+ ],
1206
+ "binding": {
1207
+ "type": "zeebe:property",
1208
+ "name": "inbound.hmacAlgorithm"
1209
+ },
1210
+ "condition": {
1211
+ "property": "shouldValidateHmac",
1212
+ "equals": "enabled"
1213
+ }
1008
1214
  },
1009
1215
  {
1010
- "id": "inbound.hmacScopes",
1011
1216
  "label": "HMAC scopes",
1217
+ "group": "authentication",
1012
1218
  "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>",
1013
- "optional": true,
1014
1219
  "feel": "required",
1015
- "group": "authentication",
1220
+ "type": "String",
1221
+ "optional": true,
1016
1222
  "binding": {
1017
- "name": "inbound.hmacScopes",
1018
- "type": "zeebe:property"
1223
+ "type": "zeebe:property",
1224
+ "name": "inbound.hmacScopes"
1019
1225
  },
1020
1226
  "condition": {
1021
- "property": "inbound.shouldValidateHmac",
1022
- "equals": "enabled",
1023
- "type": "simple"
1024
- },
1025
- "type": "String"
1227
+ "property": "shouldValidateHmac",
1228
+ "equals": "enabled"
1229
+ }
1026
1230
  },
1027
1231
  {
1028
- "id": "inbound.auth.type",
1232
+ "id": "authorizationType",
1029
1233
  "label": "Authorization type",
1030
- "description": "Choose the authorization type",
1031
- "value": "NONE",
1032
1234
  "group": "authorization",
1033
- "binding": {
1034
- "name": "inbound.auth.type",
1035
- "type": "zeebe:property"
1036
- },
1235
+ "description": "Choose the authorization type.",
1236
+ "value": "NONE",
1037
1237
  "type": "Dropdown",
1038
1238
  "choices": [
1039
1239
  {
1040
1240
  "name": "None",
1041
1241
  "value": "NONE"
1042
1242
  },
1243
+ {
1244
+ "name": "JWT",
1245
+ "value": "JWT"
1246
+ },
1043
1247
  {
1044
1248
  "name": "Basic",
1045
1249
  "value": "BASIC"
1046
1250
  },
1047
1251
  {
1048
- "name": "API key",
1252
+ "name": "API Key",
1049
1253
  "value": "APIKEY"
1050
- },
1051
- {
1052
- "name": "JWT",
1053
- "value": "JWT"
1054
1254
  }
1055
- ]
1255
+ ],
1256
+ "binding": {
1257
+ "type": "zeebe:property",
1258
+ "name": "inbound.auth.type"
1259
+ }
1056
1260
  },
1057
1261
  {
1058
- "id": "inbound.auth.username",
1059
- "label": "Username",
1060
- "description": "Username for basic authentication",
1061
- "optional": false,
1062
- "feel": "optional",
1262
+ "label": "JWK url",
1263
+ "description": "Well-known url of JWKs",
1264
+ "type": "String",
1063
1265
  "group": "authorization",
1266
+ "feel": "optional",
1267
+ "optional": true,
1064
1268
  "binding": {
1065
- "name": "inbound.auth.username",
1066
- "type": "zeebe:property"
1269
+ "type": "zeebe:property",
1270
+ "name": "inbound.auth.jwt.jwkUrl"
1067
1271
  },
1068
1272
  "condition": {
1069
- "property": "inbound.auth.type",
1070
- "equals": "BASIC",
1071
- "type": "simple"
1072
- },
1073
- "type": "String"
1273
+ "property": "authorizationType",
1274
+ "equals": "JWT"
1275
+ }
1074
1276
  },
1075
1277
  {
1076
- "id": "inbound.auth.password",
1077
- "label": "Password",
1078
- "description": "Password for basic authentication",
1079
- "optional": false,
1080
- "feel": "optional",
1278
+ "label": "JWT role property expression",
1279
+ "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>",
1280
+ "type": "String",
1081
1281
  "group": "authorization",
1282
+ "feel": "required",
1283
+ "optional": true,
1082
1284
  "binding": {
1083
- "name": "inbound.auth.password",
1084
- "type": "zeebe:property"
1285
+ "type": "zeebe:property",
1286
+ "name": "inbound.auth.jwt.permissionsExpression"
1085
1287
  },
1086
1288
  "condition": {
1087
- "property": "inbound.auth.type",
1088
- "equals": "BASIC",
1089
- "type": "simple"
1090
- },
1091
- "type": "String"
1289
+ "property": "authorizationType",
1290
+ "equals": "JWT"
1291
+ }
1092
1292
  },
1093
1293
  {
1094
- "id": "inbound.auth.apiKey",
1095
- "label": "API key",
1096
- "description": "Expected API key",
1097
- "optional": false,
1098
- "feel": "optional",
1294
+ "label": "Required roles",
1295
+ "description": "List of roles to test JWT roles against",
1296
+ "type": "String",
1099
1297
  "group": "authorization",
1298
+ "feel": "required",
1299
+ "optional": true,
1100
1300
  "binding": {
1101
- "name": "inbound.auth.apiKey",
1102
- "type": "zeebe:property"
1301
+ "type": "zeebe:property",
1302
+ "name": "inbound.auth.jwt.requiredPermissions"
1103
1303
  },
1104
1304
  "condition": {
1105
- "property": "inbound.auth.type",
1106
- "equals": "APIKEY",
1107
- "type": "simple"
1108
- },
1109
- "type": "String"
1305
+ "property": "authorizationType",
1306
+ "equals": "JWT"
1307
+ }
1110
1308
  },
1111
1309
  {
1112
- "id": "inbound.auth.apiKeyLocator",
1113
- "label": "API key locator",
1114
- "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>",
1115
- "optional": false,
1116
- "value": "=split(request.headers.authorization, \" \")[2]",
1117
- "constraints": {
1118
- "notEmpty": true
1119
- },
1120
- "feel": "required",
1310
+ "label": "Username",
1311
+ "description": "Username for basic authentication",
1312
+ "type": "String",
1121
1313
  "group": "authorization",
1314
+ "feel": "optional",
1122
1315
  "binding": {
1123
- "name": "inbound.auth.apiKeyLocator",
1124
- "type": "zeebe:property"
1316
+ "type": "zeebe:property",
1317
+ "name": "inbound.auth.username"
1125
1318
  },
1126
1319
  "condition": {
1127
- "property": "inbound.auth.type",
1128
- "equals": "APIKEY",
1129
- "type": "simple"
1320
+ "property": "authorizationType",
1321
+ "equals": "BASIC"
1130
1322
  },
1131
- "type": "String"
1323
+ "constraints": {
1324
+ "notEmpty": true
1325
+ }
1132
1326
  },
1133
1327
  {
1134
- "id": "inbound.auth.jwt.jwkUrl",
1135
- "label": "JWK URL",
1136
- "description": "Well-known URL of JWKs",
1137
- "optional": false,
1138
- "feel": "optional",
1328
+ "label": "Password",
1329
+ "description": "Password for basic authentication",
1330
+ "type": "String",
1139
1331
  "group": "authorization",
1332
+ "feel": "optional",
1140
1333
  "binding": {
1141
- "name": "inbound.auth.jwt.jwkUrl",
1142
- "type": "zeebe:property"
1334
+ "type": "zeebe:property",
1335
+ "name": "inbound.auth.password"
1143
1336
  },
1144
1337
  "condition": {
1145
- "property": "inbound.auth.type",
1146
- "equals": "JWT",
1147
- "type": "simple"
1338
+ "property": "authorizationType",
1339
+ "equals": "BASIC"
1148
1340
  },
1149
- "type": "String"
1341
+ "constraints": {
1342
+ "notEmpty": true
1343
+ }
1150
1344
  },
1151
1345
  {
1152
- "id": "inbound.auth.jwt.permissionsExpression",
1153
- "label": "JWT role property expression",
1154
- "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>",
1155
- "optional": false,
1156
- "feel": "required",
1346
+ "label": "API Key",
1347
+ "description": "Expected API key",
1348
+ "type": "String",
1157
1349
  "group": "authorization",
1350
+ "feel": "optional",
1158
1351
  "binding": {
1159
- "name": "inbound.auth.jwt.permissionsExpression",
1160
- "type": "zeebe:property"
1352
+ "type": "zeebe:property",
1353
+ "name": "inbound.auth.apiKey"
1161
1354
  },
1162
1355
  "condition": {
1163
- "property": "inbound.auth.type",
1164
- "equals": "JWT",
1165
- "type": "simple"
1356
+ "property": "authorizationType",
1357
+ "equals": "APIKEY"
1166
1358
  },
1167
- "type": "String"
1359
+ "constraints": {
1360
+ "notEmpty": true
1361
+ }
1168
1362
  },
1169
1363
  {
1170
- "id": "inbound.auth.jwt.requiredPermissions",
1171
- "label": "Required roles",
1172
- "description": "List of roles to test JWT roles against",
1173
- "optional": false,
1174
- "feel": "required",
1364
+ "label": "API Key locator",
1365
+ "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>",
1366
+ "type": "String",
1175
1367
  "group": "authorization",
1368
+ "feel": "required",
1176
1369
  "binding": {
1177
- "name": "inbound.auth.jwt.requiredPermissions",
1178
- "type": "zeebe:property"
1370
+ "type": "zeebe:property",
1371
+ "name": "inbound.auth.apiKeyLocator"
1179
1372
  },
1180
1373
  "condition": {
1181
- "property": "inbound.auth.type",
1182
- "equals": "JWT",
1183
- "type": "simple"
1374
+ "property": "authorizationType",
1375
+ "equals": "APIKEY"
1184
1376
  },
1185
- "type": "String"
1186
- },
1187
- {
1188
- "id": "inbound.responseBodyExpression",
1189
- "label": "Response body expression",
1190
- "description": "Specify condition and response",
1191
- "optional": true,
1192
- "feel": "required",
1193
- "group": "webhookResponse",
1194
- "binding": {
1195
- "name": "inbound.responseBodyExpression",
1196
- "type": "zeebe:property"
1377
+ "constraints": {
1378
+ "notEmpty": true
1197
1379
  },
1198
- "type": "Text"
1380
+ "value": "=split(request.headers.authorization, \" \")[2]"
1199
1381
  },
1200
1382
  {
1201
- "id": "inbound.verificationExpression",
1202
- "label": "One time verification response expression",
1203
- "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>",
1204
- "optional": true,
1383
+ "label": "Condition",
1384
+ "type": "String",
1385
+ "group": "activation",
1205
1386
  "feel": "required",
1206
- "group": "webhookResponse",
1387
+ "optional": true,
1207
1388
  "binding": {
1208
- "name": "inbound.verificationExpression",
1209
- "type": "zeebe:property"
1389
+ "type": "zeebe:property",
1390
+ "name": "activationCondition"
1210
1391
  },
1211
- "type": "Text"
1392
+ "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>"
1212
1393
  },
1213
1394
  {
1214
- "id": "activationCondition",
1215
- "label": "Activation condition",
1216
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
1395
+ "label": "Result variable",
1396
+ "type": "String",
1397
+ "group": "variable-mapping",
1217
1398
  "optional": true,
1218
- "feel": "required",
1219
- "group": "activation",
1220
1399
  "binding": {
1221
- "name": "activationCondition",
1222
- "type": "zeebe:property"
1400
+ "type": "zeebe:property",
1401
+ "name": "resultVariable"
1223
1402
  },
1224
- "type": "String"
1403
+ "description": "Name of variable to store the result of the connector in"
1225
1404
  },
1226
1405
  {
1227
- "id": "resultVariable",
1228
- "label": "Result variable",
1229
- "description": "Name of variable to store the response in",
1230
- "group": "output",
1406
+ "label": "Result expression",
1407
+ "type": "String",
1408
+ "group": "variable-mapping",
1409
+ "feel": "required",
1410
+ "optional": true,
1231
1411
  "binding": {
1232
- "name": "resultVariable",
1233
- "type": "zeebe:property"
1412
+ "type": "zeebe:property",
1413
+ "name": "resultExpression"
1234
1414
  },
1235
- "type": "String"
1415
+ "description": "Expression to map the inbound payload to process variables"
1236
1416
  },
1237
1417
  {
1238
- "id": "resultExpression",
1239
- "label": "Result expression",
1240
- "description": "Expression to map the response into process variables",
1418
+ "label": "Response body expression",
1419
+ "type": "Text",
1420
+ "group": "webhookResponse",
1241
1421
  "feel": "required",
1242
- "group": "output",
1422
+ "optional": true,
1243
1423
  "binding": {
1244
- "name": "resultExpression",
1245
- "type": "zeebe:property"
1424
+ "type": "zeebe:property",
1425
+ "name": "inbound.responseBodyExpression"
1246
1426
  },
1247
- "type": "Text"
1427
+ "description": "Specify condition and response"
1248
1428
  }
1249
1429
  ],
1250
1430
  "icon": {
1251
- "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
1431
+ "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"
1252
1432
  },
1253
1433
  "engines": {
1254
- "camunda": "^8.5"
1434
+ "camunda": "^8.2"
1255
1435
  }
1256
1436
  },
1257
1437
  {
1258
1438
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1259
1439
  "name": "Webhook Start Event Connector",
1260
1440
  "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
1261
- "version": 9,
1262
1441
  "description": "Configure webhook to receive callbacks",
1263
1442
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
1443
+ "version": 10,
1264
1444
  "category": {
1265
1445
  "id": "connectors",
1266
1446
  "name": "Connectors"
@@ -1283,41 +1463,38 @@
1283
1463
  "label": "Authorization"
1284
1464
  },
1285
1465
  {
1286
- "id": "activation",
1287
- "label": "Activation"
1466
+ "id": "webhookResponse",
1467
+ "label": "Webhook response"
1288
1468
  },
1289
1469
  {
1290
- "id": "variable-mapping",
1291
- "label": "Variable mapping"
1470
+ "id": "activation",
1471
+ "label": "Activation"
1292
1472
  },
1293
1473
  {
1294
- "id": "webhookResponse",
1295
- "label": "Webhook response"
1474
+ "id": "output",
1475
+ "label": "Output mapping"
1296
1476
  }
1297
1477
  ],
1298
1478
  "properties": [
1299
1479
  {
1300
- "type": "Hidden",
1301
1480
  "value": "io.camunda:webhook:1",
1302
1481
  "binding": {
1303
- "type": "zeebe:property",
1304
- "name": "inbound.type"
1305
- }
1306
- },
1307
- {
1308
- "type": "Hidden",
1309
- "value": "ConfigurableInboundWebhook",
1310
- "binding": {
1311
- "type": "zeebe:property",
1312
- "name": "inbound.subtype"
1313
- }
1482
+ "name": "inbound.type",
1483
+ "type": "zeebe:property"
1484
+ },
1485
+ "type": "Hidden"
1314
1486
  },
1315
1487
  {
1316
- "id": "webhookMethod",
1488
+ "id": "inbound.method",
1317
1489
  "label": "Webhook method",
1318
- "group": "endpoint",
1319
1490
  "description": "Select HTTP method",
1491
+ "optional": false,
1320
1492
  "value": "any",
1493
+ "group": "endpoint",
1494
+ "binding": {
1495
+ "name": "inbound.method",
1496
+ "type": "zeebe:property"
1497
+ },
1321
1498
  "type": "Dropdown",
1322
1499
  "choices": [
1323
1500
  {
@@ -1325,50 +1502,53 @@
1325
1502
  "value": "any"
1326
1503
  },
1327
1504
  {
1328
- "name": "Get",
1505
+ "name": "GET",
1329
1506
  "value": "get"
1330
1507
  },
1331
1508
  {
1332
- "name": "Post",
1509
+ "name": "POST",
1333
1510
  "value": "post"
1334
1511
  },
1335
1512
  {
1336
- "name": "Put",
1513
+ "name": "PUT",
1337
1514
  "value": "put"
1338
1515
  },
1339
1516
  {
1340
- "name": "Delete",
1517
+ "name": "DELETE",
1341
1518
  "value": "delete"
1342
1519
  }
1343
- ],
1344
- "binding": {
1345
- "type": "zeebe:property",
1346
- "name": "inbound.method"
1347
- }
1520
+ ]
1348
1521
  },
1349
1522
  {
1523
+ "id": "inbound.context",
1350
1524
  "label": "Webhook ID",
1351
- "type": "String",
1352
- "group": "endpoint",
1353
- "binding": {
1354
- "type": "zeebe:property",
1355
- "name": "inbound.context"
1356
- },
1357
1525
  "description": "The webhook ID is a part of the URL",
1526
+ "optional": false,
1358
1527
  "constraints": {
1359
1528
  "notEmpty": true,
1360
1529
  "pattern": {
1361
1530
  "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
1362
1531
  "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
1363
1532
  }
1364
- }
1533
+ },
1534
+ "group": "endpoint",
1535
+ "binding": {
1536
+ "name": "inbound.context",
1537
+ "type": "zeebe:property"
1538
+ },
1539
+ "type": "String"
1365
1540
  },
1366
1541
  {
1367
- "id": "shouldValidateHmac",
1542
+ "id": "inbound.shouldValidateHmac",
1368
1543
  "label": "HMAC authentication",
1369
- "group": "authentication",
1370
1544
  "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",
1545
+ "optional": false,
1371
1546
  "value": "disabled",
1547
+ "group": "authentication",
1548
+ "binding": {
1549
+ "name": "inbound.shouldValidateHmac",
1550
+ "type": "zeebe:property"
1551
+ },
1372
1552
  "type": "Dropdown",
1373
1553
  "choices": [
1374
1554
  {
@@ -1379,47 +1559,60 @@
1379
1559
  "name": "Disabled",
1380
1560
  "value": "disabled"
1381
1561
  }
1382
- ],
1383
- "binding": {
1384
- "type": "zeebe:property",
1385
- "name": "inbound.shouldValidateHmac"
1386
- }
1562
+ ]
1387
1563
  },
1388
1564
  {
1565
+ "id": "inbound.hmacSecret",
1389
1566
  "label": "HMAC secret key",
1390
1567
  "description": "Shared secret key",
1391
- "type": "String",
1392
- "group": "authentication",
1393
1568
  "optional": true,
1569
+ "feel": "optional",
1570
+ "group": "authentication",
1394
1571
  "binding": {
1395
- "type": "zeebe:property",
1396
- "name": "inbound.hmacSecret"
1572
+ "name": "inbound.hmacSecret",
1573
+ "type": "zeebe:property"
1397
1574
  },
1398
1575
  "condition": {
1399
- "property": "shouldValidateHmac",
1400
- "equals": "enabled"
1401
- }
1576
+ "property": "inbound.shouldValidateHmac",
1577
+ "equals": "enabled",
1578
+ "type": "simple"
1579
+ },
1580
+ "type": "String"
1402
1581
  },
1403
1582
  {
1583
+ "id": "inbound.hmacHeader",
1404
1584
  "label": "HMAC header",
1405
1585
  "description": "Name of header attribute that will contain the HMAC value",
1406
- "type": "String",
1407
- "group": "authentication",
1408
1586
  "optional": true,
1587
+ "feel": "optional",
1588
+ "group": "authentication",
1409
1589
  "binding": {
1410
- "type": "zeebe:property",
1411
- "name": "inbound.hmacHeader"
1590
+ "name": "inbound.hmacHeader",
1591
+ "type": "zeebe:property"
1412
1592
  },
1413
1593
  "condition": {
1414
- "property": "shouldValidateHmac",
1415
- "equals": "enabled"
1416
- }
1594
+ "property": "inbound.shouldValidateHmac",
1595
+ "equals": "enabled",
1596
+ "type": "simple"
1597
+ },
1598
+ "type": "String"
1417
1599
  },
1418
1600
  {
1601
+ "id": "inbound.hmacAlgorithm",
1419
1602
  "label": "HMAC algorithm",
1420
- "group": "authentication",
1421
1603
  "description": "Choose HMAC algorithm",
1604
+ "optional": false,
1422
1605
  "value": "sha_256",
1606
+ "group": "authentication",
1607
+ "binding": {
1608
+ "name": "inbound.hmacAlgorithm",
1609
+ "type": "zeebe:property"
1610
+ },
1611
+ "condition": {
1612
+ "property": "inbound.shouldValidateHmac",
1613
+ "equals": "enabled",
1614
+ "type": "simple"
1615
+ },
1423
1616
  "type": "Dropdown",
1424
1617
  "choices": [
1425
1618
  {
@@ -1434,248 +1627,425 @@
1434
1627
  "name": "SHA-512",
1435
1628
  "value": "sha_512"
1436
1629
  }
1437
- ],
1438
- "binding": {
1439
- "type": "zeebe:property",
1440
- "name": "inbound.hmacAlgorithm"
1441
- },
1442
- "condition": {
1443
- "property": "shouldValidateHmac",
1444
- "equals": "enabled"
1445
- }
1630
+ ]
1446
1631
  },
1447
1632
  {
1633
+ "id": "inbound.hmacScopes",
1448
1634
  "label": "HMAC scopes",
1449
- "group": "authentication",
1450
1635
  "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>",
1451
- "feel": "required",
1452
- "type": "String",
1453
1636
  "optional": true,
1637
+ "feel": "required",
1638
+ "group": "authentication",
1454
1639
  "binding": {
1455
- "type": "zeebe:property",
1456
- "name": "inbound.hmacScopes"
1640
+ "name": "inbound.hmacScopes",
1641
+ "type": "zeebe:property"
1457
1642
  },
1458
1643
  "condition": {
1459
- "property": "shouldValidateHmac",
1460
- "equals": "enabled"
1461
- }
1644
+ "property": "inbound.shouldValidateHmac",
1645
+ "equals": "enabled",
1646
+ "type": "simple"
1647
+ },
1648
+ "type": "String"
1462
1649
  },
1463
1650
  {
1464
- "id": "authorizationType",
1651
+ "id": "inbound.auth.type",
1465
1652
  "label": "Authorization type",
1466
- "group": "authorization",
1467
- "description": "Choose the authorization type.",
1653
+ "description": "Choose the authorization type",
1468
1654
  "value": "NONE",
1655
+ "group": "authorization",
1656
+ "binding": {
1657
+ "name": "inbound.auth.type",
1658
+ "type": "zeebe:property"
1659
+ },
1469
1660
  "type": "Dropdown",
1470
1661
  "choices": [
1471
1662
  {
1472
1663
  "name": "None",
1473
1664
  "value": "NONE"
1474
1665
  },
1475
- {
1476
- "name": "JWT",
1477
- "value": "JWT"
1478
- },
1479
1666
  {
1480
1667
  "name": "Basic",
1481
1668
  "value": "BASIC"
1482
1669
  },
1483
1670
  {
1484
- "name": "API Key",
1671
+ "name": "API key",
1485
1672
  "value": "APIKEY"
1673
+ },
1674
+ {
1675
+ "name": "JWT",
1676
+ "value": "JWT"
1486
1677
  }
1487
- ],
1488
- "binding": {
1489
- "type": "zeebe:property",
1490
- "name": "inbound.auth.type"
1491
- }
1678
+ ]
1492
1679
  },
1493
1680
  {
1494
- "label": "JWK url",
1495
- "description": "Well-known url of JWKs",
1496
- "type": "String",
1497
- "group": "authorization",
1681
+ "id": "inbound.auth.username",
1682
+ "label": "Username",
1683
+ "description": "Username for basic authentication",
1684
+ "optional": false,
1498
1685
  "feel": "optional",
1499
- "optional": true,
1686
+ "group": "authorization",
1500
1687
  "binding": {
1501
- "type": "zeebe:property",
1502
- "name": "inbound.auth.jwt.jwkUrl"
1688
+ "name": "inbound.auth.username",
1689
+ "type": "zeebe:property"
1503
1690
  },
1504
1691
  "condition": {
1505
- "property": "authorizationType",
1506
- "equals": "JWT"
1507
- }
1692
+ "property": "inbound.auth.type",
1693
+ "equals": "BASIC",
1694
+ "type": "simple"
1695
+ },
1696
+ "type": "String"
1508
1697
  },
1509
1698
  {
1510
- "label": "JWT role property expression",
1511
- "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>",
1512
- "type": "String",
1699
+ "id": "inbound.auth.password",
1700
+ "label": "Password",
1701
+ "description": "Password for basic authentication",
1702
+ "optional": false,
1703
+ "feel": "optional",
1513
1704
  "group": "authorization",
1514
- "feel": "required",
1515
- "optional": true,
1516
1705
  "binding": {
1517
- "type": "zeebe:property",
1518
- "name": "inbound.auth.jwt.permissionsExpression"
1706
+ "name": "inbound.auth.password",
1707
+ "type": "zeebe:property"
1519
1708
  },
1520
1709
  "condition": {
1521
- "property": "authorizationType",
1522
- "equals": "JWT"
1523
- }
1710
+ "property": "inbound.auth.type",
1711
+ "equals": "BASIC",
1712
+ "type": "simple"
1713
+ },
1714
+ "type": "String"
1524
1715
  },
1525
1716
  {
1526
- "label": "Required roles",
1527
- "description": "List of roles to test JWT roles against",
1528
- "type": "String",
1717
+ "id": "inbound.auth.apiKey",
1718
+ "label": "API key",
1719
+ "description": "Expected API key",
1720
+ "optional": false,
1721
+ "feel": "optional",
1529
1722
  "group": "authorization",
1530
- "feel": "required",
1531
- "optional": true,
1532
1723
  "binding": {
1533
- "type": "zeebe:property",
1534
- "name": "inbound.auth.jwt.requiredPermissions"
1724
+ "name": "inbound.auth.apiKey",
1725
+ "type": "zeebe:property"
1535
1726
  },
1536
1727
  "condition": {
1537
- "property": "authorizationType",
1538
- "equals": "JWT"
1539
- }
1728
+ "property": "inbound.auth.type",
1729
+ "equals": "APIKEY",
1730
+ "type": "simple"
1731
+ },
1732
+ "type": "String"
1540
1733
  },
1541
1734
  {
1542
- "label": "Username",
1543
- "description": "Username for basic authentication",
1544
- "type": "String",
1735
+ "id": "inbound.auth.apiKeyLocator",
1736
+ "label": "API key locator",
1737
+ "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>",
1738
+ "optional": false,
1739
+ "value": "=split(request.headers.authorization, \" \")[2]",
1740
+ "constraints": {
1741
+ "notEmpty": true
1742
+ },
1743
+ "feel": "required",
1545
1744
  "group": "authorization",
1546
- "feel": "optional",
1547
1745
  "binding": {
1548
- "type": "zeebe:property",
1549
- "name": "inbound.auth.username"
1746
+ "name": "inbound.auth.apiKeyLocator",
1747
+ "type": "zeebe:property"
1550
1748
  },
1551
1749
  "condition": {
1552
- "property": "authorizationType",
1553
- "equals": "BASIC"
1750
+ "property": "inbound.auth.type",
1751
+ "equals": "APIKEY",
1752
+ "type": "simple"
1554
1753
  },
1555
- "constraints": {
1556
- "notEmpty": true
1557
- }
1754
+ "type": "String"
1558
1755
  },
1559
1756
  {
1560
- "label": "Password",
1561
- "description": "Password for basic authentication",
1562
- "type": "String",
1563
- "group": "authorization",
1757
+ "id": "inbound.auth.jwt.jwkUrl",
1758
+ "label": "JWK URL",
1759
+ "description": "Well-known URL of JWKs",
1760
+ "optional": false,
1564
1761
  "feel": "optional",
1762
+ "group": "authorization",
1565
1763
  "binding": {
1566
- "type": "zeebe:property",
1567
- "name": "inbound.auth.password"
1764
+ "name": "inbound.auth.jwt.jwkUrl",
1765
+ "type": "zeebe:property"
1568
1766
  },
1569
1767
  "condition": {
1570
- "property": "authorizationType",
1571
- "equals": "BASIC"
1768
+ "property": "inbound.auth.type",
1769
+ "equals": "JWT",
1770
+ "type": "simple"
1572
1771
  },
1573
- "constraints": {
1574
- "notEmpty": true
1575
- }
1772
+ "type": "String"
1576
1773
  },
1577
1774
  {
1578
- "label": "API Key",
1579
- "description": "Expected API key",
1580
- "type": "String",
1775
+ "id": "inbound.auth.jwt.permissionsExpression",
1776
+ "label": "JWT role property expression",
1777
+ "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>",
1778
+ "optional": false,
1779
+ "feel": "required",
1581
1780
  "group": "authorization",
1582
- "feel": "optional",
1583
1781
  "binding": {
1584
- "type": "zeebe:property",
1585
- "name": "inbound.auth.apiKey"
1782
+ "name": "inbound.auth.jwt.permissionsExpression",
1783
+ "type": "zeebe:property"
1586
1784
  },
1587
1785
  "condition": {
1588
- "property": "authorizationType",
1589
- "equals": "APIKEY"
1786
+ "property": "inbound.auth.type",
1787
+ "equals": "JWT",
1788
+ "type": "simple"
1590
1789
  },
1591
- "constraints": {
1592
- "notEmpty": true
1593
- }
1790
+ "type": "String"
1594
1791
  },
1595
1792
  {
1596
- "label": "API Key locator",
1597
- "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>",
1598
- "type": "String",
1599
- "group": "authorization",
1793
+ "id": "inbound.auth.jwt.requiredPermissions",
1794
+ "label": "Required roles",
1795
+ "description": "List of roles to test JWT roles against",
1796
+ "optional": false,
1600
1797
  "feel": "required",
1798
+ "group": "authorization",
1601
1799
  "binding": {
1602
- "type": "zeebe:property",
1603
- "name": "inbound.auth.apiKeyLocator"
1800
+ "name": "inbound.auth.jwt.requiredPermissions",
1801
+ "type": "zeebe:property"
1604
1802
  },
1605
1803
  "condition": {
1606
- "property": "authorizationType",
1607
- "equals": "APIKEY"
1608
- },
1609
- "constraints": {
1610
- "notEmpty": true
1804
+ "property": "inbound.auth.type",
1805
+ "equals": "JWT",
1806
+ "type": "simple"
1611
1807
  },
1612
- "value": "=split(request.headers.authorization, \" \")[2]"
1808
+ "type": "String"
1613
1809
  },
1614
1810
  {
1615
- "label": "Condition",
1616
- "type": "String",
1617
- "group": "activation",
1618
- "feel": "required",
1811
+ "id": "inbound.responseBodyExpression",
1812
+ "label": "Response body expression",
1813
+ "description": "Specify condition and response",
1619
1814
  "optional": true,
1815
+ "feel": "required",
1816
+ "group": "webhookResponse",
1620
1817
  "binding": {
1621
- "type": "zeebe:property",
1622
- "name": "activationCondition"
1818
+ "name": "inbound.responseBodyExpression",
1819
+ "type": "zeebe:property"
1623
1820
  },
1624
- "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>"
1821
+ "type": "Text"
1625
1822
  },
1626
1823
  {
1627
- "label": "Result variable",
1628
- "type": "String",
1629
- "group": "variable-mapping",
1824
+ "id": "inbound.verificationExpression",
1825
+ "label": "One time verification response expression",
1826
+ "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>",
1630
1827
  "optional": true,
1828
+ "feel": "required",
1829
+ "group": "webhookResponse",
1631
1830
  "binding": {
1632
- "type": "zeebe:property",
1633
- "name": "resultVariable"
1831
+ "name": "inbound.verificationExpression",
1832
+ "type": "zeebe:property"
1634
1833
  },
1635
- "description": "Name of variable to store the result of the connector in"
1834
+ "type": "Text"
1636
1835
  },
1637
1836
  {
1638
- "label": "Result expression",
1639
- "type": "String",
1640
- "group": "variable-mapping",
1837
+ "id": "activationCondition",
1838
+ "label": "Activation condition",
1839
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
1840
+ "optional": true,
1841
+ "feel": "required",
1842
+ "group": "activation",
1843
+ "binding": {
1844
+ "name": "activationCondition",
1845
+ "type": "zeebe:property"
1846
+ },
1847
+ "type": "String"
1848
+ },
1849
+ {
1850
+ "id": "resultVariable",
1851
+ "label": "Result variable",
1852
+ "description": "Name of variable to store the response in",
1853
+ "group": "output",
1854
+ "binding": {
1855
+ "name": "resultVariable",
1856
+ "type": "zeebe:property"
1857
+ },
1858
+ "type": "String"
1859
+ },
1860
+ {
1861
+ "id": "resultExpression",
1862
+ "label": "Result expression",
1863
+ "description": "Expression to map the response into process variables",
1641
1864
  "feel": "required",
1865
+ "group": "output",
1866
+ "binding": {
1867
+ "name": "resultExpression",
1868
+ "type": "zeebe:property"
1869
+ },
1870
+ "type": "Text"
1871
+ }
1872
+ ],
1873
+ "icon": {
1874
+ "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
1875
+ },
1876
+ "engines": {
1877
+ "camunda": "^8.5"
1878
+ }
1879
+ },
1880
+ {
1881
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1882
+ "name": "Webhook Connector",
1883
+ "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
1884
+ "version": 1,
1885
+ "description": "Configure webhook to receive callbacks",
1886
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
1887
+ "category": {
1888
+ "id": "connectors",
1889
+ "name": "Connectors"
1890
+ },
1891
+ "appliesTo": ["bpmn:StartEvent"],
1892
+ "elementType": {
1893
+ "value": "bpmn:StartEvent"
1894
+ },
1895
+ "groups": [
1896
+ {
1897
+ "id": "endpoint",
1898
+ "label": "Webhook Configuration"
1899
+ },
1900
+ {
1901
+ "id": "activation",
1902
+ "label": "Activation"
1903
+ },
1904
+ {
1905
+ "id": "variable-mapping",
1906
+ "label": "Variable Mapping"
1907
+ }
1908
+ ],
1909
+ "properties": [
1910
+ {
1911
+ "type": "Hidden",
1912
+ "value": "io.camunda:webhook:1",
1913
+ "binding": {
1914
+ "type": "zeebe:property",
1915
+ "name": "inbound.type"
1916
+ }
1917
+ },
1918
+ {
1919
+ "type": "Hidden",
1920
+ "value": "ConfigurableInboundWebhook",
1921
+ "binding": {
1922
+ "type": "zeebe:property",
1923
+ "name": "inbound.subtype"
1924
+ }
1925
+ },
1926
+ {
1927
+ "label": "Webhook ID",
1928
+ "type": "String",
1929
+ "group": "endpoint",
1930
+ "binding": {
1931
+ "type": "zeebe:property",
1932
+ "name": "inbound.context"
1933
+ },
1934
+ "constraints": {
1935
+ "notEmpty": true
1936
+ },
1937
+ "description": "The webhook ID is a part of the URL"
1938
+ },
1939
+ {
1940
+ "id": "shouldValidateHmac",
1941
+ "label": "HMAC authentication",
1942
+ "group": "endpoint",
1943
+ "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",
1944
+ "value": "disabled",
1945
+ "type": "Dropdown",
1946
+ "choices": [
1947
+ {
1948
+ "name": "Enabled",
1949
+ "value": "enabled"
1950
+ },
1951
+ {
1952
+ "name": "Disabled",
1953
+ "value": "disabled"
1954
+ }
1955
+ ],
1956
+ "binding": {
1957
+ "type": "zeebe:property",
1958
+ "name": "inbound.shouldValidateHmac"
1959
+ }
1960
+ },
1961
+ {
1962
+ "label": "HMAC secret key",
1963
+ "description": "Shared secret key",
1964
+ "type": "String",
1965
+ "group": "endpoint",
1642
1966
  "optional": true,
1643
1967
  "binding": {
1644
1968
  "type": "zeebe:property",
1645
- "name": "resultExpression"
1969
+ "name": "inbound.hmacSecret"
1646
1970
  },
1647
- "description": "Expression to map the inbound payload to process variables"
1971
+ "condition": {
1972
+ "property": "shouldValidateHmac",
1973
+ "equals": "enabled"
1974
+ }
1648
1975
  },
1649
1976
  {
1650
- "label": "One time verification response expression",
1651
- "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>",
1652
- "type": "Text",
1653
- "group": "webhookResponse",
1654
- "feel": "required",
1977
+ "label": "HMAC header",
1978
+ "description": "Name of header attribute that will contain the HMAC value",
1979
+ "type": "String",
1980
+ "group": "endpoint",
1655
1981
  "optional": true,
1656
1982
  "binding": {
1657
1983
  "type": "zeebe:property",
1658
- "name": "inbound.verificationExpression"
1984
+ "name": "inbound.hmacHeader"
1985
+ },
1986
+ "condition": {
1987
+ "property": "shouldValidateHmac",
1988
+ "equals": "enabled"
1659
1989
  }
1660
1990
  },
1661
1991
  {
1662
- "label": "Response body expression",
1663
- "type": "Text",
1664
- "group": "webhookResponse",
1992
+ "label": "HMAC algorithm",
1993
+ "group": "endpoint",
1994
+ "description": "Choose HMAC algorithm",
1995
+ "value": "sha_256",
1996
+ "type": "Dropdown",
1997
+ "choices": [
1998
+ {
1999
+ "name": "SHA-1",
2000
+ "value": "sha_1"
2001
+ },
2002
+ {
2003
+ "name": "SHA-256",
2004
+ "value": "sha_256"
2005
+ },
2006
+ {
2007
+ "name": "SHA-512",
2008
+ "value": "sha_512"
2009
+ }
2010
+ ],
2011
+ "binding": {
2012
+ "type": "zeebe:property",
2013
+ "name": "inbound.hmacAlgorithm"
2014
+ },
2015
+ "condition": {
2016
+ "property": "shouldValidateHmac",
2017
+ "equals": "enabled"
2018
+ }
2019
+ },
2020
+ {
2021
+ "label": "Condition",
2022
+ "type": "String",
2023
+ "group": "activation",
1665
2024
  "feel": "required",
1666
2025
  "optional": true,
1667
2026
  "binding": {
1668
2027
  "type": "zeebe:property",
1669
- "name": "inbound.responseBodyExpression"
2028
+ "name": "inbound.activationCondition"
1670
2029
  },
1671
- "description": "Specify condition and response"
2030
+ "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>"
2031
+ },
2032
+ {
2033
+ "label": "Variables",
2034
+ "type": "String",
2035
+ "group": "variable-mapping",
2036
+ "feel": "required",
2037
+ "binding": {
2038
+ "type": "zeebe:property",
2039
+ "name": "inbound.variableMapping"
2040
+ },
2041
+ "description": "Map variables from the webhook payload (request) to start the process with. When blank, entire payload is copied over. <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>"
1672
2042
  }
1673
2043
  ],
1674
2044
  "icon": {
1675
2045
  "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"
1676
2046
  },
1677
2047
  "engines": {
1678
- "camunda": "^8.5"
2048
+ "camunda": "^8.2"
1679
2049
  }
1680
2050
  },
1681
2051
  {
@@ -2088,11 +2458,14 @@
2088
2458
  },
2089
2459
  {
2090
2460
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2091
- "name": "Webhook connector",
2461
+ "name": "Webhook Start Event Connector",
2092
2462
  "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
2093
- "version": 3,
2094
2463
  "description": "Configure webhook to receive callbacks",
2095
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
2464
+ "metadata": {
2465
+ "keywords": []
2466
+ },
2467
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/",
2468
+ "version": 12,
2096
2469
  "category": {
2097
2470
  "id": "connectors",
2098
2471
  "name": "Connectors"
@@ -2106,233 +2479,47 @@
2106
2479
  "id": "endpoint",
2107
2480
  "label": "Webhook configuration"
2108
2481
  },
2482
+ {
2483
+ "id": "authentication",
2484
+ "label": "Authentication"
2485
+ },
2486
+ {
2487
+ "id": "authorization",
2488
+ "label": "Authorization"
2489
+ },
2490
+ {
2491
+ "id": "webhookResponse",
2492
+ "label": "Webhook response"
2493
+ },
2109
2494
  {
2110
2495
  "id": "activation",
2111
2496
  "label": "Activation"
2112
2497
  },
2113
2498
  {
2114
- "id": "variable-mapping",
2115
- "label": "Variable mapping"
2499
+ "id": "output",
2500
+ "label": "Output mapping"
2116
2501
  }
2117
2502
  ],
2118
2503
  "properties": [
2119
2504
  {
2120
- "type": "Hidden",
2121
2505
  "value": "io.camunda:webhook:1",
2122
2506
  "binding": {
2123
- "type": "zeebe:property",
2124
- "name": "inbound.type"
2125
- }
2126
- },
2127
- {
2128
- "type": "Hidden",
2129
- "value": "ConfigurableInboundWebhook",
2130
- "binding": {
2131
- "type": "zeebe:property",
2132
- "name": "inbound.subtype"
2133
- }
2507
+ "name": "inbound.type",
2508
+ "type": "zeebe:property"
2509
+ },
2510
+ "type": "Hidden"
2134
2511
  },
2135
2512
  {
2136
- "label": "Webhook ID",
2137
- "type": "String",
2513
+ "id": "inbound.method",
2514
+ "label": "Webhook method",
2515
+ "description": "Select HTTP method",
2516
+ "optional": false,
2517
+ "value": "any",
2138
2518
  "group": "endpoint",
2139
2519
  "binding": {
2140
- "type": "zeebe:property",
2141
- "name": "inbound.context"
2520
+ "name": "inbound.method",
2521
+ "type": "zeebe:property"
2142
2522
  },
2143
- "description": "The webhook ID is a part of the URL",
2144
- "constraints": {
2145
- "notEmpty": true
2146
- }
2147
- },
2148
- {
2149
- "id": "shouldValidateHmac",
2150
- "label": "HMAC authentication",
2151
- "group": "endpoint",
2152
- "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",
2153
- "value": "disabled",
2154
- "type": "Dropdown",
2155
- "choices": [
2156
- {
2157
- "name": "Enabled",
2158
- "value": "enabled"
2159
- },
2160
- {
2161
- "name": "Disabled",
2162
- "value": "disabled"
2163
- }
2164
- ],
2165
- "binding": {
2166
- "type": "zeebe:property",
2167
- "name": "inbound.shouldValidateHmac"
2168
- }
2169
- },
2170
- {
2171
- "label": "HMAC secret key",
2172
- "description": "Shared secret key",
2173
- "type": "String",
2174
- "group": "endpoint",
2175
- "optional": true,
2176
- "binding": {
2177
- "type": "zeebe:property",
2178
- "name": "inbound.hmacSecret"
2179
- },
2180
- "condition": {
2181
- "property": "shouldValidateHmac",
2182
- "equals": "enabled"
2183
- }
2184
- },
2185
- {
2186
- "label": "HMAC header",
2187
- "description": "Name of header attribute that will contain the HMAC value",
2188
- "type": "String",
2189
- "group": "endpoint",
2190
- "optional": true,
2191
- "binding": {
2192
- "type": "zeebe:property",
2193
- "name": "inbound.hmacHeader"
2194
- },
2195
- "condition": {
2196
- "property": "shouldValidateHmac",
2197
- "equals": "enabled"
2198
- }
2199
- },
2200
- {
2201
- "label": "HMAC algorithm",
2202
- "group": "endpoint",
2203
- "description": "Choose HMAC algorithm",
2204
- "value": "sha_256",
2205
- "type": "Dropdown",
2206
- "choices": [
2207
- {
2208
- "name": "SHA-1",
2209
- "value": "sha_1"
2210
- },
2211
- {
2212
- "name": "SHA-256",
2213
- "value": "sha_256"
2214
- },
2215
- {
2216
- "name": "SHA-512",
2217
- "value": "sha_512"
2218
- }
2219
- ],
2220
- "binding": {
2221
- "type": "zeebe:property",
2222
- "name": "inbound.hmacAlgorithm"
2223
- },
2224
- "condition": {
2225
- "property": "shouldValidateHmac",
2226
- "equals": "enabled"
2227
- }
2228
- },
2229
- {
2230
- "label": "Condition",
2231
- "type": "String",
2232
- "group": "activation",
2233
- "feel": "required",
2234
- "optional": true,
2235
- "binding": {
2236
- "type": "zeebe:property",
2237
- "name": "activationCondition"
2238
- },
2239
- "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>"
2240
- },
2241
- {
2242
- "label": "Result variable",
2243
- "type": "String",
2244
- "group": "variable-mapping",
2245
- "optional": true,
2246
- "binding": {
2247
- "type": "zeebe:property",
2248
- "name": "resultVariable"
2249
- },
2250
- "description": "Name of variable to store the result of the connector in"
2251
- },
2252
- {
2253
- "label": "Result expression",
2254
- "type": "String",
2255
- "group": "variable-mapping",
2256
- "feel": "required",
2257
- "optional": true,
2258
- "binding": {
2259
- "type": "zeebe:property",
2260
- "name": "resultExpression"
2261
- },
2262
- "description": "Expression to map the inbound payload to process variables"
2263
- }
2264
- ],
2265
- "icon": {
2266
- "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"
2267
- },
2268
- "engines": {
2269
- "camunda": "^8.2"
2270
- }
2271
- },
2272
- {
2273
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2274
- "name": "Webhook Start Event Connector",
2275
- "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
2276
- "version": 7,
2277
- "description": "Configure webhook to receive callbacks",
2278
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
2279
- "category": {
2280
- "id": "connectors",
2281
- "name": "Connectors"
2282
- },
2283
- "appliesTo": ["bpmn:StartEvent"],
2284
- "elementType": {
2285
- "value": "bpmn:StartEvent"
2286
- },
2287
- "groups": [
2288
- {
2289
- "id": "endpoint",
2290
- "label": "Webhook configuration"
2291
- },
2292
- {
2293
- "id": "authentication",
2294
- "label": "Authentication"
2295
- },
2296
- {
2297
- "id": "authorization",
2298
- "label": "Authorization"
2299
- },
2300
- {
2301
- "id": "activation",
2302
- "label": "Activation"
2303
- },
2304
- {
2305
- "id": "variable-mapping",
2306
- "label": "Variable mapping"
2307
- },
2308
- {
2309
- "id": "webhookResponse",
2310
- "label": "Webhook response"
2311
- }
2312
- ],
2313
- "properties": [
2314
- {
2315
- "type": "Hidden",
2316
- "value": "io.camunda:webhook:1",
2317
- "binding": {
2318
- "type": "zeebe:property",
2319
- "name": "inbound.type"
2320
- }
2321
- },
2322
- {
2323
- "type": "Hidden",
2324
- "value": "ConfigurableInboundWebhook",
2325
- "binding": {
2326
- "type": "zeebe:property",
2327
- "name": "inbound.subtype"
2328
- }
2329
- },
2330
- {
2331
- "id": "webhookMethod",
2332
- "label": "Webhook method",
2333
- "group": "endpoint",
2334
- "description": "Select HTTP method",
2335
- "value": "any",
2336
2523
  "type": "Dropdown",
2337
2524
  "choices": [
2338
2525
  {
@@ -2340,46 +2527,53 @@
2340
2527
  "value": "any"
2341
2528
  },
2342
2529
  {
2343
- "name": "Get",
2530
+ "name": "GET",
2344
2531
  "value": "get"
2345
2532
  },
2346
2533
  {
2347
- "name": "Post",
2534
+ "name": "POST",
2348
2535
  "value": "post"
2349
2536
  },
2350
2537
  {
2351
- "name": "Put",
2538
+ "name": "PUT",
2352
2539
  "value": "put"
2353
2540
  },
2354
2541
  {
2355
- "name": "Delete",
2542
+ "name": "DELETE",
2356
2543
  "value": "delete"
2357
2544
  }
2358
- ],
2359
- "binding": {
2360
- "type": "zeebe:property",
2361
- "name": "inbound.method"
2362
- }
2545
+ ]
2363
2546
  },
2364
2547
  {
2548
+ "id": "inbound.context",
2365
2549
  "label": "Webhook ID",
2366
- "type": "String",
2550
+ "description": "The webhook ID is a part of the URL",
2551
+ "optional": false,
2552
+ "constraints": {
2553
+ "notEmpty": true,
2554
+ "pattern": {
2555
+ "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
2556
+ "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
2557
+ }
2558
+ },
2367
2559
  "group": "endpoint",
2368
2560
  "binding": {
2369
- "type": "zeebe:property",
2370
- "name": "inbound.context"
2561
+ "name": "inbound.context",
2562
+ "type": "zeebe:property"
2371
2563
  },
2372
- "description": "The webhook ID is a part of the URL",
2373
- "constraints": {
2374
- "notEmpty": true
2375
- }
2564
+ "type": "String"
2376
2565
  },
2377
2566
  {
2378
- "id": "shouldValidateHmac",
2567
+ "id": "inbound.shouldValidateHmac",
2379
2568
  "label": "HMAC authentication",
2380
- "group": "authentication",
2381
- "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",
2569
+ "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",
2570
+ "optional": false,
2382
2571
  "value": "disabled",
2572
+ "group": "authentication",
2573
+ "binding": {
2574
+ "name": "inbound.shouldValidateHmac",
2575
+ "type": "zeebe:property"
2576
+ },
2383
2577
  "type": "Dropdown",
2384
2578
  "choices": [
2385
2579
  {
@@ -2390,47 +2584,60 @@
2390
2584
  "name": "Disabled",
2391
2585
  "value": "disabled"
2392
2586
  }
2393
- ],
2394
- "binding": {
2395
- "type": "zeebe:property",
2396
- "name": "inbound.shouldValidateHmac"
2397
- }
2587
+ ]
2398
2588
  },
2399
2589
  {
2590
+ "id": "inbound.hmacSecret",
2400
2591
  "label": "HMAC secret key",
2401
2592
  "description": "Shared secret key",
2402
- "type": "String",
2403
- "group": "authentication",
2404
2593
  "optional": true,
2594
+ "feel": "optional",
2595
+ "group": "authentication",
2405
2596
  "binding": {
2406
- "type": "zeebe:property",
2407
- "name": "inbound.hmacSecret"
2597
+ "name": "inbound.hmacSecret",
2598
+ "type": "zeebe:property"
2408
2599
  },
2409
2600
  "condition": {
2410
- "property": "shouldValidateHmac",
2411
- "equals": "enabled"
2412
- }
2601
+ "property": "inbound.shouldValidateHmac",
2602
+ "equals": "enabled",
2603
+ "type": "simple"
2604
+ },
2605
+ "type": "String"
2413
2606
  },
2414
2607
  {
2608
+ "id": "inbound.hmacHeader",
2415
2609
  "label": "HMAC header",
2416
2610
  "description": "Name of header attribute that will contain the HMAC value",
2417
- "type": "String",
2418
- "group": "authentication",
2419
2611
  "optional": true,
2612
+ "feel": "optional",
2613
+ "group": "authentication",
2420
2614
  "binding": {
2421
- "type": "zeebe:property",
2422
- "name": "inbound.hmacHeader"
2615
+ "name": "inbound.hmacHeader",
2616
+ "type": "zeebe:property"
2423
2617
  },
2424
2618
  "condition": {
2425
- "property": "shouldValidateHmac",
2426
- "equals": "enabled"
2427
- }
2619
+ "property": "inbound.shouldValidateHmac",
2620
+ "equals": "enabled",
2621
+ "type": "simple"
2622
+ },
2623
+ "type": "String"
2428
2624
  },
2429
2625
  {
2626
+ "id": "inbound.hmacAlgorithm",
2430
2627
  "label": "HMAC algorithm",
2431
- "group": "authentication",
2432
2628
  "description": "Choose HMAC algorithm",
2629
+ "optional": false,
2433
2630
  "value": "sha_256",
2631
+ "group": "authentication",
2632
+ "binding": {
2633
+ "name": "inbound.hmacAlgorithm",
2634
+ "type": "zeebe:property"
2635
+ },
2636
+ "condition": {
2637
+ "property": "inbound.shouldValidateHmac",
2638
+ "equals": "enabled",
2639
+ "type": "simple"
2640
+ },
2434
2641
  "type": "Dropdown",
2435
2642
  "choices": [
2436
2643
  {
@@ -2445,236 +2652,266 @@
2445
2652
  "name": "SHA-512",
2446
2653
  "value": "sha_512"
2447
2654
  }
2448
- ],
2449
- "binding": {
2450
- "type": "zeebe:property",
2451
- "name": "inbound.hmacAlgorithm"
2452
- },
2453
- "condition": {
2454
- "property": "shouldValidateHmac",
2455
- "equals": "enabled"
2456
- }
2655
+ ]
2457
2656
  },
2458
2657
  {
2658
+ "id": "inbound.hmacScopes",
2459
2659
  "label": "HMAC scopes",
2460
- "group": "authentication",
2461
- "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>",
2462
- "feel": "required",
2463
- "type": "String",
2660
+ "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>",
2464
2661
  "optional": true,
2662
+ "feel": "required",
2663
+ "group": "authentication",
2465
2664
  "binding": {
2466
- "type": "zeebe:property",
2467
- "name": "inbound.hmacScopes"
2665
+ "name": "inbound.hmacScopes",
2666
+ "type": "zeebe:property"
2468
2667
  },
2469
2668
  "condition": {
2470
- "property": "shouldValidateHmac",
2471
- "equals": "enabled"
2472
- }
2669
+ "property": "inbound.shouldValidateHmac",
2670
+ "equals": "enabled",
2671
+ "type": "simple"
2672
+ },
2673
+ "type": "String"
2473
2674
  },
2474
2675
  {
2475
- "id": "authorizationType",
2676
+ "id": "inbound.auth.type",
2476
2677
  "label": "Authorization type",
2477
- "group": "authorization",
2478
- "description": "Choose the authorization type.",
2678
+ "description": "Choose the authorization type",
2479
2679
  "value": "NONE",
2680
+ "group": "authorization",
2681
+ "binding": {
2682
+ "name": "inbound.auth.type",
2683
+ "type": "zeebe:property"
2684
+ },
2480
2685
  "type": "Dropdown",
2481
2686
  "choices": [
2482
2687
  {
2483
2688
  "name": "None",
2484
2689
  "value": "NONE"
2485
2690
  },
2486
- {
2487
- "name": "JWT",
2488
- "value": "JWT"
2489
- },
2490
2691
  {
2491
2692
  "name": "Basic",
2492
2693
  "value": "BASIC"
2493
2694
  },
2494
2695
  {
2495
- "name": "API Key",
2696
+ "name": "API key",
2496
2697
  "value": "APIKEY"
2698
+ },
2699
+ {
2700
+ "name": "JWT",
2701
+ "value": "JWT"
2497
2702
  }
2498
- ],
2499
- "binding": {
2500
- "type": "zeebe:property",
2501
- "name": "inbound.auth.type"
2502
- }
2703
+ ]
2503
2704
  },
2504
2705
  {
2505
- "label": "JWK url",
2506
- "description": "Well-known url of JWKs",
2507
- "type": "String",
2508
- "group": "authorization",
2706
+ "id": "inbound.auth.username",
2707
+ "label": "Username",
2708
+ "description": "Username for basic authentication",
2709
+ "optional": false,
2509
2710
  "feel": "optional",
2510
- "optional": true,
2711
+ "group": "authorization",
2511
2712
  "binding": {
2512
- "type": "zeebe:property",
2513
- "name": "inbound.auth.jwt.jwkUrl"
2713
+ "name": "inbound.auth.username",
2714
+ "type": "zeebe:property"
2514
2715
  },
2515
2716
  "condition": {
2516
- "property": "authorizationType",
2517
- "equals": "JWT"
2518
- }
2717
+ "property": "inbound.auth.type",
2718
+ "equals": "BASIC",
2719
+ "type": "simple"
2720
+ },
2721
+ "type": "String"
2519
2722
  },
2520
2723
  {
2521
- "label": "JWT role property expression",
2522
- "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>",
2523
- "type": "String",
2724
+ "id": "inbound.auth.password",
2725
+ "label": "Password",
2726
+ "description": "Password for basic authentication",
2727
+ "optional": false,
2728
+ "feel": "optional",
2524
2729
  "group": "authorization",
2525
- "feel": "required",
2526
- "optional": true,
2527
2730
  "binding": {
2528
- "type": "zeebe:property",
2529
- "name": "inbound.auth.jwt.permissionsExpression"
2731
+ "name": "inbound.auth.password",
2732
+ "type": "zeebe:property"
2530
2733
  },
2531
2734
  "condition": {
2532
- "property": "authorizationType",
2533
- "equals": "JWT"
2534
- }
2735
+ "property": "inbound.auth.type",
2736
+ "equals": "BASIC",
2737
+ "type": "simple"
2738
+ },
2739
+ "type": "String"
2535
2740
  },
2536
2741
  {
2537
- "label": "Required roles",
2538
- "description": "List of roles to test JWT roles against",
2539
- "type": "String",
2742
+ "id": "inbound.auth.apiKey",
2743
+ "label": "API key",
2744
+ "description": "Expected API key",
2745
+ "optional": false,
2746
+ "feel": "optional",
2540
2747
  "group": "authorization",
2541
- "feel": "required",
2542
- "optional": true,
2543
2748
  "binding": {
2544
- "type": "zeebe:property",
2545
- "name": "inbound.auth.jwt.requiredPermissions"
2749
+ "name": "inbound.auth.apiKey",
2750
+ "type": "zeebe:property"
2546
2751
  },
2547
2752
  "condition": {
2548
- "property": "authorizationType",
2549
- "equals": "JWT"
2550
- }
2753
+ "property": "inbound.auth.type",
2754
+ "equals": "APIKEY",
2755
+ "type": "simple"
2756
+ },
2757
+ "type": "String"
2551
2758
  },
2552
2759
  {
2553
- "label": "Username",
2554
- "description": "Username for basic authentication",
2555
- "type": "String",
2760
+ "id": "inbound.auth.apiKeyLocator",
2761
+ "label": "API key locator",
2762
+ "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>",
2763
+ "optional": false,
2764
+ "value": "=split(request.headers.authorization, \" \")[2]",
2765
+ "constraints": {
2766
+ "notEmpty": true
2767
+ },
2768
+ "feel": "required",
2556
2769
  "group": "authorization",
2557
- "feel": "optional",
2558
2770
  "binding": {
2559
- "type": "zeebe:property",
2560
- "name": "inbound.auth.username"
2771
+ "name": "inbound.auth.apiKeyLocator",
2772
+ "type": "zeebe:property"
2561
2773
  },
2562
2774
  "condition": {
2563
- "property": "authorizationType",
2564
- "equals": "BASIC"
2775
+ "property": "inbound.auth.type",
2776
+ "equals": "APIKEY",
2777
+ "type": "simple"
2565
2778
  },
2566
- "constraints": {
2567
- "notEmpty": true
2568
- }
2779
+ "type": "String"
2569
2780
  },
2570
2781
  {
2571
- "label": "Password",
2572
- "description": "Password for basic authentication",
2573
- "type": "String",
2574
- "group": "authorization",
2782
+ "id": "inbound.auth.jwt.jwkUrl",
2783
+ "label": "JWK URL",
2784
+ "description": "Well-known URL of JWKs",
2785
+ "optional": false,
2575
2786
  "feel": "optional",
2787
+ "group": "authorization",
2576
2788
  "binding": {
2577
- "type": "zeebe:property",
2578
- "name": "inbound.auth.password"
2789
+ "name": "inbound.auth.jwt.jwkUrl",
2790
+ "type": "zeebe:property"
2579
2791
  },
2580
2792
  "condition": {
2581
- "property": "authorizationType",
2582
- "equals": "BASIC"
2793
+ "property": "inbound.auth.type",
2794
+ "equals": "JWT",
2795
+ "type": "simple"
2583
2796
  },
2584
- "constraints": {
2585
- "notEmpty": true
2586
- }
2797
+ "type": "String"
2587
2798
  },
2588
2799
  {
2589
- "label": "API Key",
2590
- "description": "Expected API key",
2591
- "type": "String",
2800
+ "id": "inbound.auth.jwt.permissionsExpression",
2801
+ "label": "JWT role property expression",
2802
+ "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>",
2803
+ "optional": false,
2804
+ "feel": "required",
2592
2805
  "group": "authorization",
2593
- "feel": "optional",
2594
2806
  "binding": {
2595
- "type": "zeebe:property",
2596
- "name": "inbound.auth.apiKey"
2807
+ "name": "inbound.auth.jwt.permissionsExpression",
2808
+ "type": "zeebe:property"
2597
2809
  },
2598
2810
  "condition": {
2599
- "property": "authorizationType",
2600
- "equals": "APIKEY"
2811
+ "property": "inbound.auth.type",
2812
+ "equals": "JWT",
2813
+ "type": "simple"
2601
2814
  },
2602
- "constraints": {
2603
- "notEmpty": true
2604
- }
2815
+ "type": "String"
2605
2816
  },
2606
2817
  {
2607
- "label": "API Key locator",
2608
- "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>",
2609
- "type": "String",
2610
- "group": "authorization",
2818
+ "id": "inbound.auth.jwt.requiredPermissions",
2819
+ "label": "Required roles",
2820
+ "description": "List of roles to test JWT roles against",
2821
+ "optional": false,
2611
2822
  "feel": "required",
2823
+ "group": "authorization",
2612
2824
  "binding": {
2613
- "type": "zeebe:property",
2614
- "name": "inbound.auth.apiKeyLocator"
2825
+ "name": "inbound.auth.jwt.requiredPermissions",
2826
+ "type": "zeebe:property"
2615
2827
  },
2616
2828
  "condition": {
2617
- "property": "authorizationType",
2618
- "equals": "APIKEY"
2829
+ "property": "inbound.auth.type",
2830
+ "equals": "JWT",
2831
+ "type": "simple"
2619
2832
  },
2620
- "constraints": {
2621
- "notEmpty": true
2833
+ "type": "String"
2834
+ },
2835
+ {
2836
+ "id": "inbound.responseExpression",
2837
+ "label": "Response expression",
2838
+ "description": "Expression used to generate the HTTP response",
2839
+ "optional": true,
2840
+ "feel": "required",
2841
+ "group": "webhookResponse",
2842
+ "binding": {
2843
+ "name": "inbound.responseExpression",
2844
+ "type": "zeebe:property"
2845
+ },
2846
+ "type": "Text"
2847
+ },
2848
+ {
2849
+ "id": "inbound.verificationExpression",
2850
+ "label": "One time verification response expression",
2851
+ "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>",
2852
+ "optional": true,
2853
+ "feel": "required",
2854
+ "group": "webhookResponse",
2855
+ "binding": {
2856
+ "name": "inbound.verificationExpression",
2857
+ "type": "zeebe:property"
2858
+ },
2859
+ "type": "Text"
2860
+ },
2861
+ {
2862
+ "id": "activationCondition",
2863
+ "label": "Activation condition",
2864
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
2865
+ "optional": true,
2866
+ "feel": "required",
2867
+ "group": "activation",
2868
+ "binding": {
2869
+ "name": "activationCondition",
2870
+ "type": "zeebe:property"
2622
2871
  },
2623
- "value": "=split(request.headers.authorization, \" \")[2]"
2872
+ "type": "String"
2624
2873
  },
2625
2874
  {
2626
- "label": "Condition",
2627
- "type": "String",
2875
+ "id": "consumeUnmatchedEvents",
2876
+ "label": "Consume unmatched events",
2877
+ "value": true,
2628
2878
  "group": "activation",
2629
- "feel": "required",
2630
- "optional": true,
2631
2879
  "binding": {
2632
- "type": "zeebe:property",
2633
- "name": "activationCondition"
2880
+ "name": "consumeUnmatchedEvents",
2881
+ "type": "zeebe:property"
2634
2882
  },
2635
- "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>"
2883
+ "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",
2884
+ "type": "Boolean"
2636
2885
  },
2637
2886
  {
2887
+ "id": "resultVariable",
2638
2888
  "label": "Result variable",
2639
- "type": "String",
2640
- "group": "variable-mapping",
2641
- "optional": true,
2889
+ "description": "Name of variable to store the response in",
2890
+ "group": "output",
2642
2891
  "binding": {
2643
- "type": "zeebe:property",
2644
- "name": "resultVariable"
2892
+ "name": "resultVariable",
2893
+ "type": "zeebe:property"
2645
2894
  },
2646
- "description": "Name of variable to store the result of the connector in"
2895
+ "type": "String"
2647
2896
  },
2648
2897
  {
2898
+ "id": "resultExpression",
2649
2899
  "label": "Result expression",
2650
- "type": "String",
2651
- "group": "variable-mapping",
2652
- "feel": "required",
2653
- "optional": true,
2654
- "binding": {
2655
- "type": "zeebe:property",
2656
- "name": "resultExpression"
2657
- },
2658
- "description": "Expression to map the inbound payload to process variables"
2659
- },
2660
- {
2661
- "label": "Response body expression",
2662
- "type": "Text",
2663
- "group": "webhookResponse",
2900
+ "description": "Expression to map the response into process variables",
2664
2901
  "feel": "required",
2665
- "optional": true,
2902
+ "group": "output",
2666
2903
  "binding": {
2667
- "type": "zeebe:property",
2668
- "name": "inbound.responseBodyExpression"
2904
+ "name": "resultExpression",
2905
+ "type": "zeebe:property"
2669
2906
  },
2670
- "description": "Specify condition and response"
2907
+ "type": "Text"
2671
2908
  }
2672
2909
  ],
2673
- "icon": {
2674
- "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"
2675
- },
2676
2910
  "engines": {
2677
- "camunda": "^8.2"
2911
+ "camunda": "^8.3"
2912
+ },
2913
+ "icon": {
2914
+ "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
2678
2915
  }
2679
2916
  },
2680
2917
  {
@@ -3601,248 +3838,74 @@
3601
3838
  "feel": "required",
3602
3839
  "group": "webhookResponse",
3603
3840
  "binding": {
3604
- "name": "inbound.verificationExpression",
3605
- "type": "zeebe:property"
3606
- },
3607
- "type": "Text"
3608
- },
3609
- {
3610
- "id": "activationCondition",
3611
- "label": "Activation condition",
3612
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
3613
- "optional": true,
3614
- "feel": "required",
3615
- "group": "activation",
3616
- "binding": {
3617
- "name": "activationCondition",
3618
- "type": "zeebe:property"
3619
- },
3620
- "type": "String"
3621
- },
3622
- {
3623
- "id": "consumeUnmatchedEvents",
3624
- "label": "Consume unmatched events",
3625
- "value": true,
3626
- "group": "activation",
3627
- "binding": {
3628
- "name": "consumeUnmatchedEvents",
3629
- "type": "zeebe:property"
3630
- },
3631
- "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",
3632
- "type": "Boolean"
3633
- },
3634
- {
3635
- "id": "resultVariable",
3636
- "label": "Result variable",
3637
- "description": "Name of variable to store the response in",
3638
- "group": "output",
3639
- "binding": {
3640
- "name": "resultVariable",
3641
- "type": "zeebe:property"
3642
- },
3643
- "type": "String"
3644
- },
3645
- {
3646
- "id": "resultExpression",
3647
- "label": "Result expression",
3648
- "description": "Expression to map the response into process variables",
3649
- "feel": "required",
3650
- "group": "output",
3651
- "binding": {
3652
- "name": "resultExpression",
3653
- "type": "zeebe:property"
3654
- },
3655
- "type": "Text"
3656
- }
3657
- ],
3658
- "icon": {
3659
- "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
3660
- },
3661
- "engines": {
3662
- "camunda": "^8.6"
3663
- }
3664
- },
3665
- {
3666
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3667
- "name": "Webhook Connector",
3668
- "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
3669
- "version": 1,
3670
- "description": "Configure webhook to receive callbacks",
3671
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
3672
- "category": {
3673
- "id": "connectors",
3674
- "name": "Connectors"
3675
- },
3676
- "appliesTo": ["bpmn:StartEvent"],
3677
- "elementType": {
3678
- "value": "bpmn:StartEvent"
3679
- },
3680
- "groups": [
3681
- {
3682
- "id": "endpoint",
3683
- "label": "Webhook Configuration"
3684
- },
3685
- {
3686
- "id": "activation",
3687
- "label": "Activation"
3688
- },
3689
- {
3690
- "id": "variable-mapping",
3691
- "label": "Variable Mapping"
3692
- }
3693
- ],
3694
- "properties": [
3695
- {
3696
- "type": "Hidden",
3697
- "value": "io.camunda:webhook:1",
3698
- "binding": {
3699
- "type": "zeebe:property",
3700
- "name": "inbound.type"
3701
- }
3702
- },
3703
- {
3704
- "type": "Hidden",
3705
- "value": "ConfigurableInboundWebhook",
3706
- "binding": {
3707
- "type": "zeebe:property",
3708
- "name": "inbound.subtype"
3709
- }
3710
- },
3711
- {
3712
- "label": "Webhook ID",
3713
- "type": "String",
3714
- "group": "endpoint",
3715
- "binding": {
3716
- "type": "zeebe:property",
3717
- "name": "inbound.context"
3718
- },
3719
- "constraints": {
3720
- "notEmpty": true
3721
- },
3722
- "description": "The webhook ID is a part of the URL"
3723
- },
3724
- {
3725
- "id": "shouldValidateHmac",
3726
- "label": "HMAC authentication",
3727
- "group": "endpoint",
3728
- "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",
3729
- "value": "disabled",
3730
- "type": "Dropdown",
3731
- "choices": [
3732
- {
3733
- "name": "Enabled",
3734
- "value": "enabled"
3735
- },
3736
- {
3737
- "name": "Disabled",
3738
- "value": "disabled"
3739
- }
3740
- ],
3741
- "binding": {
3742
- "type": "zeebe:property",
3743
- "name": "inbound.shouldValidateHmac"
3744
- }
3745
- },
3746
- {
3747
- "label": "HMAC secret key",
3748
- "description": "Shared secret key",
3749
- "type": "String",
3750
- "group": "endpoint",
3751
- "optional": true,
3752
- "binding": {
3753
- "type": "zeebe:property",
3754
- "name": "inbound.hmacSecret"
3755
- },
3756
- "condition": {
3757
- "property": "shouldValidateHmac",
3758
- "equals": "enabled"
3759
- }
3760
- },
3761
- {
3762
- "label": "HMAC header",
3763
- "description": "Name of header attribute that will contain the HMAC value",
3764
- "type": "String",
3765
- "group": "endpoint",
3766
- "optional": true,
3767
- "binding": {
3768
- "type": "zeebe:property",
3769
- "name": "inbound.hmacHeader"
3770
- },
3771
- "condition": {
3772
- "property": "shouldValidateHmac",
3773
- "equals": "enabled"
3774
- }
3775
- },
3776
- {
3777
- "label": "HMAC algorithm",
3778
- "group": "endpoint",
3779
- "description": "Choose HMAC algorithm",
3780
- "value": "sha_256",
3781
- "type": "Dropdown",
3782
- "choices": [
3783
- {
3784
- "name": "SHA-1",
3785
- "value": "sha_1"
3786
- },
3787
- {
3788
- "name": "SHA-256",
3789
- "value": "sha_256"
3790
- },
3791
- {
3792
- "name": "SHA-512",
3793
- "value": "sha_512"
3794
- }
3795
- ],
3796
- "binding": {
3797
- "type": "zeebe:property",
3798
- "name": "inbound.hmacAlgorithm"
3841
+ "name": "inbound.verificationExpression",
3842
+ "type": "zeebe:property"
3799
3843
  },
3800
- "condition": {
3801
- "property": "shouldValidateHmac",
3802
- "equals": "enabled"
3803
- }
3844
+ "type": "Text"
3804
3845
  },
3805
3846
  {
3806
- "label": "Condition",
3807
- "type": "String",
3808
- "group": "activation",
3809
- "feel": "required",
3847
+ "id": "activationCondition",
3848
+ "label": "Activation condition",
3849
+ "description": "Condition under which the Connector triggers. Leave empty to catch all events",
3810
3850
  "optional": true,
3851
+ "feel": "required",
3852
+ "group": "activation",
3811
3853
  "binding": {
3812
- "type": "zeebe:property",
3813
- "name": "inbound.activationCondition"
3854
+ "name": "activationCondition",
3855
+ "type": "zeebe:property"
3814
3856
  },
3815
- "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>"
3857
+ "type": "String"
3816
3858
  },
3817
3859
  {
3818
- "label": "Variables",
3819
- "type": "String",
3820
- "group": "variable-mapping",
3860
+ "id": "consumeUnmatchedEvents",
3861
+ "label": "Consume unmatched events",
3862
+ "value": true,
3863
+ "group": "activation",
3864
+ "binding": {
3865
+ "name": "consumeUnmatchedEvents",
3866
+ "type": "zeebe:property"
3867
+ },
3868
+ "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",
3869
+ "type": "Boolean"
3870
+ },
3871
+ {
3872
+ "id": "resultVariable",
3873
+ "label": "Result variable",
3874
+ "description": "Name of variable to store the response in",
3875
+ "group": "output",
3876
+ "binding": {
3877
+ "name": "resultVariable",
3878
+ "type": "zeebe:property"
3879
+ },
3880
+ "type": "String"
3881
+ },
3882
+ {
3883
+ "id": "resultExpression",
3884
+ "label": "Result expression",
3885
+ "description": "Expression to map the response into process variables",
3821
3886
  "feel": "required",
3887
+ "group": "output",
3822
3888
  "binding": {
3823
- "type": "zeebe:property",
3824
- "name": "inbound.variableMapping"
3889
+ "name": "resultExpression",
3890
+ "type": "zeebe:property"
3825
3891
  },
3826
- "description": "Map variables from the webhook payload (request) to start the process with. When blank, entire payload is copied over. <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>"
3892
+ "type": "Text"
3827
3893
  }
3828
3894
  ],
3829
3895
  "icon": {
3830
- "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"
3896
+ "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
3831
3897
  },
3832
3898
  "engines": {
3833
- "camunda": "^8.2"
3899
+ "camunda": "^8.6"
3834
3900
  }
3835
3901
  },
3836
3902
  {
3837
3903
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3838
- "name": "Webhook Start Event Connector",
3904
+ "name": "Webhook connector",
3839
3905
  "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
3906
+ "version": 5,
3840
3907
  "description": "Configure webhook to receive callbacks",
3841
- "metadata": {
3842
- "keywords": []
3843
- },
3844
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/",
3845
- "version": 12,
3908
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
3846
3909
  "category": {
3847
3910
  "id": "connectors",
3848
3911
  "name": "Connectors"
@@ -3864,39 +3927,38 @@
3864
3927
  "id": "authorization",
3865
3928
  "label": "Authorization"
3866
3929
  },
3867
- {
3868
- "id": "webhookResponse",
3869
- "label": "Webhook response"
3870
- },
3871
3930
  {
3872
3931
  "id": "activation",
3873
3932
  "label": "Activation"
3874
3933
  },
3875
3934
  {
3876
- "id": "output",
3877
- "label": "Output mapping"
3935
+ "id": "variable-mapping",
3936
+ "label": "Variable mapping"
3878
3937
  }
3879
3938
  ],
3880
3939
  "properties": [
3881
3940
  {
3941
+ "type": "Hidden",
3882
3942
  "value": "io.camunda:webhook:1",
3883
3943
  "binding": {
3884
- "name": "inbound.type",
3885
- "type": "zeebe:property"
3886
- },
3887
- "type": "Hidden"
3944
+ "type": "zeebe:property",
3945
+ "name": "inbound.type"
3946
+ }
3888
3947
  },
3889
3948
  {
3890
- "id": "inbound.method",
3949
+ "type": "Hidden",
3950
+ "value": "ConfigurableInboundWebhook",
3951
+ "binding": {
3952
+ "type": "zeebe:property",
3953
+ "name": "inbound.subtype"
3954
+ }
3955
+ },
3956
+ {
3957
+ "id": "webhookMethod",
3891
3958
  "label": "Webhook method",
3959
+ "group": "endpoint",
3892
3960
  "description": "Select HTTP method",
3893
- "optional": false,
3894
3961
  "value": "any",
3895
- "group": "endpoint",
3896
- "binding": {
3897
- "name": "inbound.method",
3898
- "type": "zeebe:property"
3899
- },
3900
3962
  "type": "Dropdown",
3901
3963
  "choices": [
3902
3964
  {
@@ -3904,53 +3966,46 @@
3904
3966
  "value": "any"
3905
3967
  },
3906
3968
  {
3907
- "name": "GET",
3969
+ "name": "Get",
3908
3970
  "value": "get"
3909
3971
  },
3910
3972
  {
3911
- "name": "POST",
3973
+ "name": "Post",
3912
3974
  "value": "post"
3913
3975
  },
3914
3976
  {
3915
- "name": "PUT",
3977
+ "name": "Put",
3916
3978
  "value": "put"
3917
3979
  },
3918
3980
  {
3919
- "name": "DELETE",
3981
+ "name": "Delete",
3920
3982
  "value": "delete"
3921
3983
  }
3922
- ]
3984
+ ],
3985
+ "binding": {
3986
+ "type": "zeebe:property",
3987
+ "name": "inbound.method"
3988
+ }
3923
3989
  },
3924
3990
  {
3925
- "id": "inbound.context",
3926
3991
  "label": "Webhook ID",
3927
- "description": "The webhook ID is a part of the URL",
3928
- "optional": false,
3929
- "constraints": {
3930
- "notEmpty": true,
3931
- "pattern": {
3932
- "value": "^[a-zA-Z0-9]+([-_][a-zA-Z0-9]+)*$",
3933
- "message": "can only contain letters, numbers, or single underscores/hyphens and cannot begin or end with an underscore/hyphen"
3934
- }
3935
- },
3992
+ "type": "String",
3936
3993
  "group": "endpoint",
3937
3994
  "binding": {
3938
- "name": "inbound.context",
3939
- "type": "zeebe:property"
3995
+ "type": "zeebe:property",
3996
+ "name": "inbound.context"
3940
3997
  },
3941
- "type": "String"
3998
+ "description": "The webhook ID is a part of the URL",
3999
+ "constraints": {
4000
+ "notEmpty": true
4001
+ }
3942
4002
  },
3943
4003
  {
3944
- "id": "inbound.shouldValidateHmac",
4004
+ "id": "shouldValidateHmac",
3945
4005
  "label": "HMAC authentication",
3946
- "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",
3947
- "optional": false,
3948
- "value": "disabled",
3949
4006
  "group": "authentication",
3950
- "binding": {
3951
- "name": "inbound.shouldValidateHmac",
3952
- "type": "zeebe:property"
3953
- },
4007
+ "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",
4008
+ "value": "disabled",
3954
4009
  "type": "Dropdown",
3955
4010
  "choices": [
3956
4011
  {
@@ -3961,60 +4016,47 @@
3961
4016
  "name": "Disabled",
3962
4017
  "value": "disabled"
3963
4018
  }
3964
- ]
4019
+ ],
4020
+ "binding": {
4021
+ "type": "zeebe:property",
4022
+ "name": "inbound.shouldValidateHmac"
4023
+ }
3965
4024
  },
3966
4025
  {
3967
- "id": "inbound.hmacSecret",
3968
4026
  "label": "HMAC secret key",
3969
4027
  "description": "Shared secret key",
3970
- "optional": true,
3971
- "feel": "optional",
4028
+ "type": "String",
3972
4029
  "group": "authentication",
4030
+ "optional": true,
3973
4031
  "binding": {
3974
- "name": "inbound.hmacSecret",
3975
- "type": "zeebe:property"
4032
+ "type": "zeebe:property",
4033
+ "name": "inbound.hmacSecret"
3976
4034
  },
3977
4035
  "condition": {
3978
- "property": "inbound.shouldValidateHmac",
3979
- "equals": "enabled",
3980
- "type": "simple"
3981
- },
3982
- "type": "String"
4036
+ "property": "shouldValidateHmac",
4037
+ "equals": "enabled"
4038
+ }
3983
4039
  },
3984
4040
  {
3985
- "id": "inbound.hmacHeader",
3986
4041
  "label": "HMAC header",
3987
4042
  "description": "Name of header attribute that will contain the HMAC value",
3988
- "optional": true,
3989
- "feel": "optional",
4043
+ "type": "String",
3990
4044
  "group": "authentication",
4045
+ "optional": true,
3991
4046
  "binding": {
3992
- "name": "inbound.hmacHeader",
3993
- "type": "zeebe:property"
4047
+ "type": "zeebe:property",
4048
+ "name": "inbound.hmacHeader"
3994
4049
  },
3995
4050
  "condition": {
3996
- "property": "inbound.shouldValidateHmac",
3997
- "equals": "enabled",
3998
- "type": "simple"
3999
- },
4000
- "type": "String"
4051
+ "property": "shouldValidateHmac",
4052
+ "equals": "enabled"
4053
+ }
4001
4054
  },
4002
4055
  {
4003
- "id": "inbound.hmacAlgorithm",
4004
4056
  "label": "HMAC algorithm",
4057
+ "group": "authentication",
4005
4058
  "description": "Choose HMAC algorithm",
4006
- "optional": false,
4007
4059
  "value": "sha_256",
4008
- "group": "authentication",
4009
- "binding": {
4010
- "name": "inbound.hmacAlgorithm",
4011
- "type": "zeebe:property"
4012
- },
4013
- "condition": {
4014
- "property": "inbound.shouldValidateHmac",
4015
- "equals": "enabled",
4016
- "type": "simple"
4017
- },
4018
4060
  "type": "Dropdown",
4019
4061
  "choices": [
4020
4062
  {
@@ -4029,273 +4071,231 @@
4029
4071
  "name": "SHA-512",
4030
4072
  "value": "sha_512"
4031
4073
  }
4032
- ]
4074
+ ],
4075
+ "binding": {
4076
+ "type": "zeebe:property",
4077
+ "name": "inbound.hmacAlgorithm"
4078
+ },
4079
+ "condition": {
4080
+ "property": "shouldValidateHmac",
4081
+ "equals": "enabled"
4082
+ }
4033
4083
  },
4034
4084
  {
4035
- "id": "inbound.hmacScopes",
4036
4085
  "label": "HMAC scopes",
4037
- "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>",
4038
- "optional": true,
4039
- "feel": "required",
4040
4086
  "group": "authentication",
4087
+ "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>",
4088
+ "feel": "required",
4089
+ "type": "String",
4090
+ "optional": true,
4041
4091
  "binding": {
4042
- "name": "inbound.hmacScopes",
4043
- "type": "zeebe:property"
4092
+ "type": "zeebe:property",
4093
+ "name": "inbound.hmacScopes"
4044
4094
  },
4045
4095
  "condition": {
4046
- "property": "inbound.shouldValidateHmac",
4047
- "equals": "enabled",
4048
- "type": "simple"
4049
- },
4050
- "type": "String"
4096
+ "property": "shouldValidateHmac",
4097
+ "equals": "enabled"
4098
+ }
4051
4099
  },
4052
4100
  {
4053
- "id": "inbound.auth.type",
4101
+ "id": "authorizationType",
4054
4102
  "label": "Authorization type",
4055
- "description": "Choose the authorization type",
4056
- "value": "NONE",
4057
4103
  "group": "authorization",
4058
- "binding": {
4059
- "name": "inbound.auth.type",
4060
- "type": "zeebe:property"
4061
- },
4104
+ "description": "Choose the authorization type.",
4105
+ "value": "NONE",
4062
4106
  "type": "Dropdown",
4063
4107
  "choices": [
4064
4108
  {
4065
4109
  "name": "None",
4066
4110
  "value": "NONE"
4067
4111
  },
4112
+ {
4113
+ "name": "JWT",
4114
+ "value": "JWT"
4115
+ },
4068
4116
  {
4069
4117
  "name": "Basic",
4070
4118
  "value": "BASIC"
4071
4119
  },
4072
4120
  {
4073
- "name": "API key",
4121
+ "name": "API Key",
4074
4122
  "value": "APIKEY"
4075
- },
4076
- {
4077
- "name": "JWT",
4078
- "value": "JWT"
4079
4123
  }
4080
- ]
4124
+ ],
4125
+ "binding": {
4126
+ "type": "zeebe:property",
4127
+ "name": "inbound.auth.type"
4128
+ }
4081
4129
  },
4082
4130
  {
4083
- "id": "inbound.auth.username",
4084
- "label": "Username",
4085
- "description": "Username for basic authentication",
4086
- "optional": false,
4087
- "feel": "optional",
4131
+ "label": "JWK url",
4132
+ "description": "Well-known url of JWKs",
4133
+ "type": "String",
4088
4134
  "group": "authorization",
4135
+ "feel": "optional",
4136
+ "optional": true,
4089
4137
  "binding": {
4090
- "name": "inbound.auth.username",
4091
- "type": "zeebe:property"
4138
+ "type": "zeebe:property",
4139
+ "name": "inbound.auth.jwt.jwkUrl"
4092
4140
  },
4093
4141
  "condition": {
4094
- "property": "inbound.auth.type",
4095
- "equals": "BASIC",
4096
- "type": "simple"
4097
- },
4098
- "type": "String"
4142
+ "property": "authorizationType",
4143
+ "equals": "JWT"
4144
+ }
4099
4145
  },
4100
4146
  {
4101
- "id": "inbound.auth.password",
4102
- "label": "Password",
4103
- "description": "Password for basic authentication",
4104
- "optional": false,
4105
- "feel": "optional",
4147
+ "label": "JWT role property expression",
4148
+ "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>",
4149
+ "type": "String",
4106
4150
  "group": "authorization",
4151
+ "feel": "required",
4152
+ "optional": true,
4107
4153
  "binding": {
4108
- "name": "inbound.auth.password",
4109
- "type": "zeebe:property"
4154
+ "type": "zeebe:property",
4155
+ "name": "inbound.auth.jwt.permissionsExpression"
4110
4156
  },
4111
4157
  "condition": {
4112
- "property": "inbound.auth.type",
4113
- "equals": "BASIC",
4114
- "type": "simple"
4115
- },
4116
- "type": "String"
4158
+ "property": "authorizationType",
4159
+ "equals": "JWT"
4160
+ }
4117
4161
  },
4118
4162
  {
4119
- "id": "inbound.auth.apiKey",
4120
- "label": "API key",
4121
- "description": "Expected API key",
4122
- "optional": false,
4123
- "feel": "optional",
4163
+ "label": "Required roles",
4164
+ "description": "List of roles to test JWT roles against",
4165
+ "type": "String",
4124
4166
  "group": "authorization",
4167
+ "feel": "required",
4168
+ "optional": true,
4125
4169
  "binding": {
4126
- "name": "inbound.auth.apiKey",
4127
- "type": "zeebe:property"
4170
+ "type": "zeebe:property",
4171
+ "name": "inbound.auth.jwt.requiredPermissions"
4128
4172
  },
4129
4173
  "condition": {
4130
- "property": "inbound.auth.type",
4131
- "equals": "APIKEY",
4132
- "type": "simple"
4133
- },
4134
- "type": "String"
4174
+ "property": "authorizationType",
4175
+ "equals": "JWT"
4176
+ }
4135
4177
  },
4136
4178
  {
4137
- "id": "inbound.auth.apiKeyLocator",
4138
- "label": "API key locator",
4139
- "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>",
4140
- "optional": false,
4141
- "value": "=split(request.headers.authorization, \" \")[2]",
4142
- "constraints": {
4143
- "notEmpty": true
4144
- },
4145
- "feel": "required",
4179
+ "label": "Username",
4180
+ "description": "Username for basic authentication",
4181
+ "type": "String",
4146
4182
  "group": "authorization",
4183
+ "feel": "optional",
4147
4184
  "binding": {
4148
- "name": "inbound.auth.apiKeyLocator",
4149
- "type": "zeebe:property"
4185
+ "type": "zeebe:property",
4186
+ "name": "inbound.auth.username"
4150
4187
  },
4151
4188
  "condition": {
4152
- "property": "inbound.auth.type",
4153
- "equals": "APIKEY",
4154
- "type": "simple"
4189
+ "property": "authorizationType",
4190
+ "equals": "BASIC"
4155
4191
  },
4156
- "type": "String"
4192
+ "constraints": {
4193
+ "notEmpty": true
4194
+ }
4157
4195
  },
4158
4196
  {
4159
- "id": "inbound.auth.jwt.jwkUrl",
4160
- "label": "JWK URL",
4161
- "description": "Well-known URL of JWKs",
4162
- "optional": false,
4163
- "feel": "optional",
4197
+ "label": "Password",
4198
+ "description": "Password for basic authentication",
4199
+ "type": "String",
4164
4200
  "group": "authorization",
4201
+ "feel": "optional",
4165
4202
  "binding": {
4166
- "name": "inbound.auth.jwt.jwkUrl",
4167
- "type": "zeebe:property"
4203
+ "type": "zeebe:property",
4204
+ "name": "inbound.auth.password"
4168
4205
  },
4169
4206
  "condition": {
4170
- "property": "inbound.auth.type",
4171
- "equals": "JWT",
4172
- "type": "simple"
4207
+ "property": "authorizationType",
4208
+ "equals": "BASIC"
4173
4209
  },
4174
- "type": "String"
4210
+ "constraints": {
4211
+ "notEmpty": true
4212
+ }
4175
4213
  },
4176
4214
  {
4177
- "id": "inbound.auth.jwt.permissionsExpression",
4178
- "label": "JWT role property expression",
4179
- "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>",
4180
- "optional": false,
4181
- "feel": "required",
4215
+ "label": "API Key",
4216
+ "description": "Expected API key",
4217
+ "type": "String",
4182
4218
  "group": "authorization",
4219
+ "feel": "optional",
4183
4220
  "binding": {
4184
- "name": "inbound.auth.jwt.permissionsExpression",
4185
- "type": "zeebe:property"
4221
+ "type": "zeebe:property",
4222
+ "name": "inbound.auth.apiKey"
4186
4223
  },
4187
4224
  "condition": {
4188
- "property": "inbound.auth.type",
4189
- "equals": "JWT",
4190
- "type": "simple"
4225
+ "property": "authorizationType",
4226
+ "equals": "APIKEY"
4191
4227
  },
4192
- "type": "String"
4228
+ "constraints": {
4229
+ "notEmpty": true
4230
+ }
4193
4231
  },
4194
4232
  {
4195
- "id": "inbound.auth.jwt.requiredPermissions",
4196
- "label": "Required roles",
4197
- "description": "List of roles to test JWT roles against",
4198
- "optional": false,
4199
- "feel": "required",
4233
+ "label": "API Key locator",
4234
+ "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>",
4235
+ "type": "String",
4200
4236
  "group": "authorization",
4237
+ "feel": "required",
4201
4238
  "binding": {
4202
- "name": "inbound.auth.jwt.requiredPermissions",
4203
- "type": "zeebe:property"
4239
+ "type": "zeebe:property",
4240
+ "name": "inbound.auth.apiKeyLocator"
4204
4241
  },
4205
4242
  "condition": {
4206
- "property": "inbound.auth.type",
4207
- "equals": "JWT",
4208
- "type": "simple"
4243
+ "property": "authorizationType",
4244
+ "equals": "APIKEY"
4209
4245
  },
4210
- "type": "String"
4211
- },
4212
- {
4213
- "id": "inbound.responseExpression",
4214
- "label": "Response expression",
4215
- "description": "Expression used to generate the HTTP response",
4216
- "optional": true,
4217
- "feel": "required",
4218
- "group": "webhookResponse",
4219
- "binding": {
4220
- "name": "inbound.responseExpression",
4221
- "type": "zeebe:property"
4246
+ "constraints": {
4247
+ "notEmpty": true
4222
4248
  },
4223
- "type": "Text"
4249
+ "value": "=split(request.headers.authorization, \" \")[2]"
4224
4250
  },
4225
4251
  {
4226
- "id": "inbound.verificationExpression",
4227
- "label": "One time verification response expression",
4228
- "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>",
4229
- "optional": true,
4252
+ "label": "Condition",
4253
+ "type": "String",
4254
+ "group": "activation",
4230
4255
  "feel": "required",
4231
- "group": "webhookResponse",
4232
- "binding": {
4233
- "name": "inbound.verificationExpression",
4234
- "type": "zeebe:property"
4235
- },
4236
- "type": "Text"
4237
- },
4238
- {
4239
- "id": "activationCondition",
4240
- "label": "Activation condition",
4241
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
4242
4256
  "optional": true,
4243
- "feel": "required",
4244
- "group": "activation",
4245
- "binding": {
4246
- "name": "activationCondition",
4247
- "type": "zeebe:property"
4248
- },
4249
- "type": "String"
4250
- },
4251
- {
4252
- "id": "consumeUnmatchedEvents",
4253
- "label": "Consume unmatched events",
4254
- "value": true,
4255
- "group": "activation",
4256
4257
  "binding": {
4257
- "name": "consumeUnmatchedEvents",
4258
- "type": "zeebe:property"
4258
+ "type": "zeebe:property",
4259
+ "name": "activationCondition"
4259
4260
  },
4260
- "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",
4261
- "type": "Boolean"
4261
+ "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>"
4262
4262
  },
4263
4263
  {
4264
- "id": "resultVariable",
4265
4264
  "label": "Result variable",
4266
- "description": "Name of variable to store the response in",
4267
- "group": "output",
4265
+ "type": "String",
4266
+ "group": "variable-mapping",
4267
+ "optional": true,
4268
4268
  "binding": {
4269
- "name": "resultVariable",
4270
- "type": "zeebe:property"
4269
+ "type": "zeebe:property",
4270
+ "name": "resultVariable"
4271
4271
  },
4272
- "type": "String"
4272
+ "description": "Name of variable to store the result of the connector in"
4273
4273
  },
4274
4274
  {
4275
- "id": "resultExpression",
4276
4275
  "label": "Result expression",
4277
- "description": "Expression to map the response into process variables",
4276
+ "type": "String",
4277
+ "group": "variable-mapping",
4278
4278
  "feel": "required",
4279
- "group": "output",
4279
+ "optional": true,
4280
4280
  "binding": {
4281
- "name": "resultExpression",
4282
- "type": "zeebe:property"
4281
+ "type": "zeebe:property",
4282
+ "name": "resultExpression"
4283
4283
  },
4284
- "type": "Text"
4284
+ "description": "Expression to map the inbound payload to process variables"
4285
4285
  }
4286
4286
  ],
4287
- "engines": {
4288
- "camunda": "^8.3"
4289
- },
4290
4287
  "icon": {
4291
- "contents": "data:image/svg+xml;base64,PHN2ZyBpZD0naWNvbicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nMTgnIGhlaWdodD0nMTgnIHZpZXdCb3g9JzAgMCAzMiAzMic+CiAgPGRlZnM+CiAgICA8c3R5bGU+LmNscy0xIHsgZmlsbDogbm9uZTsgfTwvc3R5bGU+CiAgPC9kZWZzPgogIDxwYXRoCiAgICBkPSdNMjQsMjZhMywzLDAsMSwwLTIuODE2NC00SDEzdjFhNSw1LDAsMSwxLTUtNVYxNmE3LDcsMCwxLDAsNi45Mjg3LDhoNi4yNTQ5QTIuOTkxNCwyLjk5MTQsMCwwLDAsMjQsMjZaJy8+CiAgPHBhdGgKICAgIGQ9J00yNCwxNmE3LjAyNCw3LjAyNCwwLDAsMC0yLjU3LjQ4NzNsLTMuMTY1Ni01LjUzOTVhMy4wNDY5LDMuMDQ2OSwwLDEsMC0xLjczMjYuOTk4NWw0LjExODksNy4yMDg1Ljg2ODYtLjQ5NzZhNS4wMDA2LDUuMDAwNiwwLDEsMS0xLjg1MSw2Ljg0MThMMTcuOTM3LDI2LjUwMUE3LjAwMDUsNy4wMDA1LDAsMSwwLDI0LDE2WicvPgogIDxwYXRoCiAgICBkPSdNOC41MzIsMjAuMDUzN2EzLjAzLDMuMDMsMCwxLDAsMS43MzI2Ljk5ODVDMTEuNzQsMTguNDcsMTMuODYsMTQuNzYwNywxMy44OSwxNC43MDhsLjQ5NzYtLjg2ODItLjg2NzctLjQ5N2E1LDUsMCwxLDEsNi44MTItMS44NDM4bDEuNzMxNSwxLjAwMmE3LjAwMDgsNy4wMDA4LDAsMSwwLTEwLjM0NjIsMi4wMzU2Yy0uNDU3Ljc0MjctMS4xMDIxLDEuODcxNi0yLjA3MzcsMy41NzI4WicvPgogIDxyZWN0IGlkPSdfVHJhbnNwYXJlbnRfUmVjdGFuZ2xlXycgZGF0YS1uYW1lPScmbHQ7VHJhbnNwYXJlbnQgUmVjdGFuZ2xlJmd0OycgY2xhc3M9J2Nscy0xJwogICAgd2lkdGg9JzMyJyBoZWlnaHQ9JzMyJy8+Cjwvc3ZnPg=="
4288
+ "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"
4289
+ },
4290
+ "engines": {
4291
+ "camunda": "^8.2"
4292
4292
  }
4293
4293
  },
4294
4294
  {
4295
4295
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4296
- "name": "Webhook Connector",
4296
+ "name": "Webhook connector",
4297
4297
  "id": "io.camunda.connectors.webhook.WebhookConnector.v1",
4298
- "version": 2,
4298
+ "version": 3,
4299
4299
  "description": "Configure webhook to receive callbacks",
4300
4300
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/http-webhook/",
4301
4301
  "category": {
@@ -4309,7 +4309,7 @@
4309
4309
  "groups": [
4310
4310
  {
4311
4311
  "id": "endpoint",
4312
- "label": "Webhook Configuration"
4312
+ "label": "Webhook configuration"
4313
4313
  },
4314
4314
  {
4315
4315
  "id": "activation",
@@ -4317,7 +4317,7 @@
4317
4317
  },
4318
4318
  {
4319
4319
  "id": "variable-mapping",
4320
- "label": "Variable Mapping"
4320
+ "label": "Variable mapping"
4321
4321
  }
4322
4322
  ],
4323
4323
  "properties": [
@@ -4439,7 +4439,7 @@
4439
4439
  "optional": true,
4440
4440
  "binding": {
4441
4441
  "type": "zeebe:property",
4442
- "name": "inbound.activationCondition"
4442
+ "name": "activationCondition"
4443
4443
  },
4444
4444
  "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>"
4445
4445
  },
@@ -4452,7 +4452,7 @@
4452
4452
  "type": "zeebe:property",
4453
4453
  "name": "resultVariable"
4454
4454
  },
4455
- "description": "Name of variable to store the result of the Connector in"
4455
+ "description": "Name of variable to store the result of the connector in"
4456
4456
  },
4457
4457
  {
4458
4458
  "label": "Result expression",