Thank you @samaritan for the swift reply and for the solution to my problem.
To answer your question, I manually typed the $json.headers.* expressions. I’m still getting used to the UI and I’m struggling to get drag&drop working. The only way I have found of making d&d available when working with Webhooks is to copy the output of the Webhook (Executions tab) into a Code node that returns the JSON immediately. Then I temporarily replace the Webhook with the Code node at the input to the Set node and trigger manually in Edit mode. Is this the standard approach for Webhooks?
You can call test URL of your webhook to help you for developing your workflow. After your first time, you can pin the data for further development. It will help you to save your time.