I am in the process of having a dump of all webhooks into a postgresql db.
Exploring queuing options to slow the drip of actions on 3rd party systems along with auditing and the like.
How can I expose the workflow ID so that I can add them into my sql insert?
or would it just be a matter of setting it manually?
It all depends on how you are getting the workflows now, The workflow ID is in the JSON export, In the URL when you access the instance or with the expression {{ $workflow.id }} if you checking in a workfow you are currently in.