Parse Json N8n - Set variables in n8n Tutorial!

How to Parse JSON in Make.com vs. n8n


Parsing JSON files in automation platforms can be tricky. Here's how to do it in both Make.com and n8n.



Make.com JSON Parsing


In Make.com, parsing JSON is straightforward:


  • Add the "Parse JSON" module to your workflow
  • Input your JSON code in the field
  • Run the module with your mock data

  • For example, you can input a simple value like "2025" as test data.


    Once you run this, Make.com will process your JSON. It will make all the data available as variables for subsequent modules.



    n8n JSON Parsing


    In n8n, there's no dedicated "Parse JSON" module. But you have several options:


    Others are having the same issue: https://community.n8n.io/t/json-parser-node/43525/5


    Option 1: Use Mock Data


    You can use the Mock Data node:


  • Search for "mock data" in the nodes panel
  • Copy a mock data template from the n8n community
  • Paste it into your workflow
  • Run the node to generate structured data


  • This is closest to Make.com's approach:


  • Add the "Edit Fields" node
  • Paste your JSON code directly into the field
  • Connect this node to your workflow
  • Run to parse the JSON and make data available

  • You can simply copy JSON from Make.com and paste it directly into the Edit Fields node in n8n.



    FAQ


    Q: Can I use code nodes in n8n for JSON parsing?


  • A: Yes, though it's more complex and requires JavaScript knowledge.

  • Q: Which method is better for large JSON files?


  • A: The Edit Fields node handles most JSON parsing needs efficiently.

  • Q: Do I need to format my JSON differently between platforms?


  • A: Generally no, but Make.com might handle malformed JSON more gracefully than n8n.
  • More educational blogs: