How it works
This workflow is an interactive, hands-on tutorial designed to teach you the absolute basics of JSON (JavaScript Object Notation) and, more importantly, how to use it within n8n. It's perfect for beginners who are new to automation and data structures.
The tutorial is structured as a series of simple steps. Each node introduces a new, fundamental concept of JSON:
- Key/Value Pairs: The basic building block of all JSON.
- Data Types: It then walks you through the most common data types one by one:
- String (text)
- Number (integers and decimals)
- Boolean (
true
or false
)
- Null (representing "nothing")
- Array (an ordered list of items)
- Object (a collection of key/value pairs)
- Using JSON with Expressions: The most important step! It shows you how to dynamically pull data from a previous node into a new one using n8n's expressions (
{{ }}
).
- Final Exam: A final node puts everything together, building a complete JSON object by referencing data from all the previous steps.
Each node has a detailed sticky note explaining the concept in simple terms.
Set up steps
Setup time: 0 minutes!
This is a tutorial workflow, so there is no setup required.
- Simply click the "Execute Workflow" button to run it.
- Follow the instructions in the main sticky note: click on each node in order, from top to bottom.
- For each node, observe the output in the right-hand panel and read the sticky note next to it to understand what you're seeing.
By the end, you'll have a solid understanding of what JSON is and how to work with it in your own n8n workflows.