सामग्री पर जाएँ

लेसन 25 · Projects and Reference

n8n Glossary and Cheat Sheet

Keep this n8n cheat sheet nearby: key terms, expression patterns, node choices, a pre-publish checklist, CLI commands and a review of the ideas in this course.

Use this page as a quick reference. It collects the terms, expressions and habits from the course. Details such as menu labels and limits change between versions, so confirm them in the official documentation.

Glossary

Term Meaning
Workflow Connected nodes that automate a task
Node One step in a workflow
Trigger The node that starts a run
Execution One run of a workflow, with its data
Item One record passed between nodes, data under json
Expression JavaScript inside {{ }} in a parameter
Credential A stored, encrypted login or key
Publish Make a version live for automatic triggers
Pinned data Saved node output reused during development
Item linking How outputs connect back to input items
Sub-workflow A workflow called by another
Queue mode Main instance sends runs to workers via Redis
Cluster node A root node with sub-nodes, used for AI
Idempotent Safe to repeat without extra effect

Expression cheat sheet

TEXT
{{ $json.field }}                      current item
{{ $json['field with space'] }}        awkward names
{{ $json.a?.b ?? 'default' }}          safe fallback
{{ $('Node name').item.json.id }}      linked item of a node
{{ $('Node name').first().json.id }}   first item
{{ $('Node name').all().length }}      number of items
{{ $now.toFormat('yyyy-MM-dd') }}      today as text
{{ $now.minus({ days: 1 }).toISO() }}  one day ago
{{ ($json.s ?? '').trim().toLowerCase() }}
{{ $json.n > 10 ? 'big' : 'small' }}
{{ $execution.resumeUrl }}             Wait node resume link
{{ $fromAI('key', 'hint', 'string') }} AI-filled tool parameter

Which node?

Shape data

Edit Fields Change fields
Split Out List to items
Aggregate Items to list
Summarize Totals by group
1 / 3

Cron quick reference

Rule Meaning
*/5 * * * * every 5 minutes
0 * * * * every hour
0 8 * * 1-5 08:00 weekdays
0 0 1 * * midnight on the 1st of the month

n8n also accepts an optional seconds field at the front.

CLI commands

Terminal
n8n export:workflow --backup --output=backups/latest/
n8n export:credentials --backup --output=backups/creds/
n8n import:workflow --separate --input=backups/latest/
n8n audit
n8n worker --concurrency=5

Before you publish

Python Stand-in: a pre-publish checklist

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Troubleshooting shortcuts

Symptom First things to check
Nothing runs automatically Is it published? Is the trigger configured?
Webhook fails Test or production URL? Authentication? Proxy URL?
undefined in output Field path, data from an earlier node
Too many messages Item count; Aggregate or Execute Once
Branch skipped Did it receive any items?
Expression fails on .item Item linking; try .first() only if correct
Schedule at odd time Workflow and instance time zone
429 errors Batching, waits, pagination

A final self-test

JS Stand-in: guess the number of messages

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Where to learn more

Read the official n8n documentation for exact node options. To deepen your skills, try prompt engineering, AI agents, generative AI, Python and SQL.

A design checklist for new ideas

Use these questions before you open the canvas.

  1. What starts it? A schedule, an app event, a web request or a person.
  2. What data arrives? Write down its shape and which fields may be missing.
  3. What must it do, and what must it never do? List actions that need approval.
  4. What happens twice? Decide how duplicates are detected.
  5. What happens when a step fails? Choose retries, an error output or a stop, and name an alert owner.
  6. Who can see the data? Check the services involved, execution history and retention.
  7. How will you know it still works? Plan counts, heartbeats and a person who reviews them.

If you can answer all seven in a few sentences each, building the workflow becomes much easier. Keep the answers in a sticky note or your project documentation, and update them when the process changes. A workflow is software: it needs an owner, tests, backups and occasional review, even when no code was written by hand.

Self-review exercise

Pick the lead intake or digest project and explain it aloud in under two minutes, as if to a colleague who has never used n8n. Name the trigger, the shape of the data, each decision, every place where data leaves your system and what happens on failure. Where you hesitate, open the matching lesson again. Then change one requirement, for example "send the digest to two teams with different filters", and sketch the new design before touching the canvas. Notice which parts you can reuse as a sub-workflow and which parts must stay separate. If your explanation stays short and clear after the change, your design is likely easy to maintain.

Check your understanding

Quick check · 3 questions

of 3 answered You scored / 3 · perfect!

  1. 1. Your workflow works in the editor but never runs by itself. What do you check first?

    Automatic triggers run the published version.
  2. 2. Which node turns one item with a list into many items?

    Split Out creates one item per list element.
  3. 3. Which habit best protects against double processing?

    A stable key makes repeated events harmless.

Summary

  • Workflows pass items through nodes; expressions use their data.
  • Publish to go live, and test with safe data first.
  • Protect credentials, handle errors and duplicates, and approve risky actions.
  • Check the official docs whenever a detail depends on your version.

Next: Back to the n8n tutorial

आपकी प्रगति इसी ब्राउज़र में सेव होती है। खाते की ज़रूरत नहीं है।