Hi everyone,
I’m facing a strange issue with my n8n setup (self-hosted on Railway).
I have two workflows. In the first workflow, I generate a long text output (thousands of characters of Markdown from an LLM) and successfully process it inside a Code node.
However, when I pass these data to another workflow to save it into a PostgreSQL database, the text arriving at the Postgres node becomes truncated, broken, and messed up. The data seems to get corrupted or cut off during the transfer between workflows or during the SQL parameter mapping.
The PostgreSQL column is already set to TEXT, but the result is still broken. Has anyone experienced this, or is there a specific way to handle and pass long multi-line text strings between workflows safely?
Thanks for any help!


