CSV to JSON Converter
Parse messy CSV text into clean JSON rows with the Converter node, then rebuild a tidy CSV with the columns you actually want.
The full canvas, before you import it
Click any node to see its config.
Click a node to select it — same as the Heym editor; the panel shows its settings.
4 nodes · Free & source-available
CSV to JSON Converter
Turn a raw CSV export into structured JSON rows, then write a clean CSV back out. Both steps use the Converter node, so there is no Python to write and no LLM in the loop. The parsing is deterministic, which means the same input always produces the same output.
What this workflow does
- rawCsv holds a messy export: padded header names, padded cell values, and a customer name that contains a comma inside quotes
- parseCsv runs
csvToJsonand returns an array of row objects, keyed by the header - rebuildCsv runs
jsonToCsvover those rows and uses an explicit column order to reorder and drop columns - conversionResult returns both the parsed rows and the cleaned CSV text
Why the Converter node
Splitting CSV on commas breaks the moment a field contains a comma, a quote, or a newline. The Converter node follows RFC 4180, so "Grace Hopper, PhD" stays one value instead of becoming two. It also strips a leading UTF-8 BOM, which is what makes Excel exports show up as \ufeffheader in other tools.
Things worth knowing
- trimValues is on by default and strips whitespace from header names and cell values, including inside quoted fields. Turn it off when the padding is real data.
- hasHeader off gives you arrays of cell values instead of objects.
- converterColumns on the
jsonToCsvside sets the exact column order. Columns you leave out are dropped, so it doubles as a column filter. - Set delimiter to
\tto read or write tab-separated files.
Use cases
- Normalizing a vendor or CRM export before it reaches a database node
- Feeding parsed rows into a Loop node to process records one at a time
- Reordering and trimming columns before handing a file to another team
Setup
No credentials needed. Paste your own CSV into rawCsv, run the workflow, and adjust converterColumns on rebuildCsv to match the columns you want to keep.
How to import this template
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3PressCmd+V/Ctrl+V— nodes appear instantly.
- 4Add your API keys in the node config panels and click Run.
Discover more automations
- Data & AnalyticsJSONPlaceholder User ProfileLoad a sample user record from JSONPlaceholder — handy for prototyping Set/Mapper nodes and mock APIs.
- Data & AnalyticsEvent Analytics to ClickHouseInsert events into ClickHouse and run a scheduled aggregate report — CRUD plus raw SQL over OLAP tables.
- Data & AnalyticsSet — Field RemapMap incoming text into named fields with the Set node before handing off to webhooks or databases.
- Data & AnalyticsSlack + Postgres MCP Answer AgentAnswer Slack channel questions by letting an Agent query Postgres through MCP, then post the answer back to Slack.
- Data & AnalyticsGoogle Sheets AI EnricherRead new rows from Google Sheets, classify or enrich them with an LLM, and write the results back automatically.
- Data & AnalyticsGrist to BigQuery Sync LogRead qualified rows from Grist, stream them into BigQuery, and log the sync outcome in a Heym DataTable.
- Data & AnalyticsKPI Anomaly Slack WatchRead operational KPI rows from Google Sheets, detect unusual changes with AI, and notify Slack when action is needed.
- Data & AnalyticsCSV Stats Analyzer (Agent Skill)An agent runs a bundled Python skill that parses CSV text and returns per-column summary statistics — no API keys needed.
- Data & AnalyticsDeterministic MCP Catalog LookupCall one known MCP search tool directly from a workflow without an LLM choosing the tool.
- Data & AnalyticsInventory Allocation Conflict AgentCompare warehouse, marketplace, and preorder inventory feeds, then route allocation conflicts before oversells hit customers.
- Customer SupportHITL Support Reply AgentDraft a customer-facing support response, pause for human approval, then continue with the reviewed reply.
- Dev & IT OpsCodex PR Fix AgentSend a coding task to Codex, open a draft PR when it succeeds, and notify Slack when Codex needs follow-up input.