I have inspected this issue further and was able to solve it by creating an encoded URL from the Workflow JSON.
For anyone facing the same issue, you can use the n8n workflow below to transform the data and use it in the preview web component in the same way you would use the Workflow JSON.