How to link job triggered by queue item to queue item via Webhooks

Hello,

I am trying to determine the best-practice for associating jobs with the queue items that triggered them via webhooks. Here is what I am trying to do:

--> Create queue item, create a reference to that job along with a unique identifier in my database
--> Listen for job.completed webhooks, and mark the job complete in my database

It seems that one way to do this is:
-> Pass a unique ID as part of the SpecificContent property when creating the QueueItem
-> Pass it through the job as a an In/Out argument, so that it appears in the OutputArguments object that shows up in the job.completed webhook.

Best this feels like a hack, not best practice. Are there better practices out there?