My problem is how to get access to a webhook URL from the next set node …
Take for example a webhook where in a param is added , i understand an id is automatically generated ,
what i want, is to get access to the URL or the id itself from the next node which is a set node
What is the error message (if any)?
No Error
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
i would like to add the extracted webhook url to a field in set node
what i want, is to get access to the URL or the id itself from the next node which is a set node
Hi @bbamzi, n8n does not currently provide an expression to fetch such data at runtime. However, seeing the URL/ID of a webhook does not change (unless you replace the node of course) I suggest you simply copy the actual ID from the UI rather than read it dynamically during the workflow execution.
If you absolutely need to read it during the execution you could consider using n8n’s REST API to fetch the workflow, then find the Webhook in the nodes field and finally read its ID. For example like so: