I am currently in the process of creating a Webhook and the app I am accessing uses immediate confirmation which requires me to return a 200 code to confirm I want to receive Webhook notifications. How do i go about returning this 200 code? The app I am using sent a POST request to me with a random secret included in the header. It then wants me to return this secret as a header in a 200 code response.
I do not understand how I return this 200 response code, do I need to use a HTTP request?
You need the webhook node using Response Mode: Last Entry. Connect the webhook node to a set node and return the secret in the format needed. You can also use a function node but the set node should be just fine.
Yes, you can respond with a header but cannot reference the header dynamically, which is what you need to do. If the header were a fixed value, this would work.
Is there a way for me to send back the header in a different node? The webhook is open for 72 hours before becoming inactive so I wouldn’t need to send a response immediately.