0% found this document useful (0 votes)
1K views1 page

n8n Cheat Sheet

The n8n Cheat Sheet provides essential commands and shortcuts for using n8n, a workflow automation tool. It includes instructions for installing n8n, creating and managing workflows, and utilizing various nodes and triggers. Additionally, it offers keyboard shortcuts and configuration options for SMTP and other integrations.

Uploaded by

metodosimplles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views1 page

n8n Cheat Sheet

The n8n Cheat Sheet provides essential commands and shortcuts for using n8n, a workflow automation tool. It includes instructions for installing n8n, creating and managing workflows, and utilizing various nodes and triggers. Additionally, it offers keyboard shortcuts and configuration options for SMTP and other integrations.

Uploaded by

metodosimplles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

n8n Cheat Sheet do e

D ck o er se f hosting l -
e ory
K yb e oard short c t
e i
- u
or / Ges re
More Information Follow data.popcorn
Cat g D ta l Sh tcut tu
# Install n8n ck r

git clone https://github.com/n8n-io/self-hosted-ai-starter-kit.git


Create Ne Workflow

w Ctrl + lt + N

A
cd self-hosted-ai-starter-kit Open Workflow
Ctrl + O

Save Current Workflow


Ctrl + S

@data.popcorn d e e er io
# Up at Lat st v s n
o o ie
# St p C nta n r
#R m v e oe o ie C nta n r

W or o on ro
kfl w C t l
Undo
Ctrl + Z

Redo
Ctrl + Shift + Z

https://linktr.ee/datapopcorn
sudo docker pull docker.n8n.io/n8nio/n8n sudo docker stop n8n sudo docker rm n8n

Run Workflo w Ctrl + Enter


#D o er n ove Node iew
Ctrl + Left ouse + Drag

© Data Popcorn. CC BY 4.0 | v2025.04


ck Ru

sudo docker run -it \ n er i e o e


M V M
# I t act v m d
n s ove Node iew
Ctrl + iddle ouse + Drag

--restart unless-stopped \ o res r po i y


M V M M
# Aut - ta t l c Ca va

i ion ove Node iew


Space + Drag

--name n8n \ on iner n e


M V

ove Node iew


iddle ouse + Drag

Getting Started with Triggers


Nav gat
# C ta am

-p 5678:5678 \ or ppin
M V M M
# P t ma g M ove Node ie V w T o Fingers on Touchscreen
w
-v n8n_data:/home/node/.n8n \ #P ersis en o e
t t v lum
Zoom In
=+ or =

Zoom Out
- or _

-e WEBHOOK_URL="https://n8n.e ample.com/" \ x i e oo
# Publ c w bh k URL
n s Zoo Reset Zoom
0

Trigger Node
Node
-e N8N_S TP_HOST="smtp.gmail.com" \
M # SM P T por
t
Ca va m

Fit Workflo to iew


1

(Start) (Input > Function > Output) -e N8N_S TP_PORT=465 \ T por


w V
M # SM P t
Zoom In/Out Ctrl + ouse Wheel
-e N8N_S TP_USER="YOUR_E IL" \ T ser e i
M
# SM P u
Select ll Nodes
Ctrl +
M MA ma l

-e N8N_S TP_P SS=" cmj yyyl u uc syyf" \


M A w w # SM P a T pp p ss or
a w d
n s o es
A

Paste Node
Ctrl +
A

-e N8N_S TP_SENDER="YOUR_E IL" \


M MA # Ema l i sen er
d
Ca va N d

dd Note Shift + S
V

-e N8N_S TP_SECURE="true" \
M # E abl n e se re T
cu SM P
A

-e N8N_S TP_SSL="true" \
M n e or T
# E abl SSL f SM P Select Node Below

Select Node to the Left


-e GENERIC_TI EZONE=" sia/Seoul" \ #S e i ezone Select Node to the Right


Select Node bove

M A ttm

-e N8N_DI GNOSTICS_EN BLED=false \ #D is e i nos i s A ↑

Data Transfer
Copy
Ctrl +
A A abl d ag tc

1/ Items Count
-e N8N_ ERSION_NOTIFIC TIONS_EN BLED=false \ #D is e ersion e C

Cut
Ctrl +
V A A abl v ch ck

2/ Data Type -e UE_ PP_URL_B SE_ PI=https://n8n.e ample.com/ \


V A A A x #F ron en se P U
t d ba A I R L en

Wh
Disable

N d o e is e e e
S l ct d
Delete

Delete

-e N8N_ENCRYPTION_KEY=<SO E R NDO STRING> \ n ryp ion ey

Expressions -e N8N_TE PL TES_EN BLED="false" \


M A M #E c

is e e p es
t k
Open
Ente r

Rename
F
M A A #D abl t m lat

-e N8N_USER_FOLDER=/home/jim/n8n \ #U ser o er pf ld ath


Pin Data
P

Select ll Left-side Nodes


Shift +
-e EXECUTIONS_TI EOUT=36 \ xe ion i eo s
A ←

Type expression
M 00 # E cut tm ut ( )
Select ll Right-side Nodes Shift +
-e EXECUTIONS_TI EOUT_ X=72 x exe ion i e s
A →
\ # Ma
Open Node Panel
Ta
M MA 00 cut tm ( )

basic {{ $json["key"] }}
b

-e N8N_ ETRICS=true \ # n e Pro e e s e ri s


N d o e P nea l Insert Node
Ente r

node nomination {{ $node["nodeName"].json["value"] }} M

-e N8N_CUSTO _EXTENSIONS="/home/jim/n8n/custom-nodes /data/n8n/nodes" \


E abl m th u m t c
Close Node Panel Escape
date formatting {{ $no .format( yyyy- -dd ) }}
M ;
w ' MM ' # s o no es p Cu t m d ath Insert / E pand Node

x Ente r

Condition {{ $json["price"] > 1 }} -e NODE_FUNCTION_ LLOW_BUILTIN= \ A # o i -in o es


* All w bu lt m dul o e P ne
N d a l Cat ge ory xE pand Category

00
Collapse Category
ternary operator {{ $json["price"] > 1 "e pensive" : "cheap" }}

00 ? x
-d docker.n8n.io/n8nio/n8n:latest # Ru n es n n in ro n nsi e o e Toggle E pression ode
built-in methods $jmespath() $from I() $ma () $min( =
lat t 8 backg u d I d N d x M
, A , x , )

https://docs.n8n.io/code/builtin/data-transformation-functions/

gent odes Co on Setting


meatdata $e ecution $itemInde $input $parameter $prevNode
$runinde $today $vars $ orkflo $node ersion $no
x , x, , , ,
x, , , w w, V , w

AI A N mm

Bu l - i t in nodes user’s inp or req es ut u t Cat g e ory e in


S tt

l ays Output
g es rip ion
D c

Returns an empty item even hen


there’s no data. Be careful as this
t

e ory
Cat g S tte in g D es rip ion
c t
Aw
Data may cause infinite loops ith IF
nodes.
w

n
Ma ual trigger that can be e ecuted by the user manually.
A x
defines the AI’s behavior or role

P r ona o
es : R le
o e

N d

e e E ecutes orkflo at specified time intervals. a o e in s Processes only the first item
Sch dul x w w AI m d l o e (*required)
e ory

M m Tool
T sk : T do

Cont t ct v
ex : Obje i e

S tt g
Ex ecute Once and ignores the rest.

For m Uses form data submitted by the user as a trigger.


(1:1) (1:N) (1:N)
or at tp t
F m : Ou u
Retries until successful upon
Tri e Triggers based on chat input or messages. etry On Fail
R
failure.
oe
gg r
Chat
N d
e oo
W bh E ternal system sends an HTTP request to trigger the orkflo .
k x w w
On Error: Stop Stops the entire orkflo hen
Workflo an error occurs.
w ww

W or o kfl w E ecuted hen called from other orkflo s.


x w w w w

i ie s e Can set or modify field values. rror


Continues to the ne t node even if
On Error: Continue there’s an error using the last
Ed t F ld (S t) x
E

e o e p i e Removes duplicated data. H n in valid data.


,
R m v Du l cat a dl g

IF Branches flo using conditions. w On Error: Continue Passes the error info to the ne t
) node and continues the orkflo .
x

re e Groups multiple data and summarizes.

TTP Req est(


(using error output w w
Agg gat

pi o Split the set into individual elements Notes llo s you to add a memo to the
H P) node.
S lt ut A w

i er Filters only data that meets conditions. u A I o


When enabled displays the
F lt N de

Summa rize Summarizes data counts averages etc. , , N t o es Display note in flo memo like a subtitle inside the
,

orkflo .
w

oe
C d Can process data ith JavaScript code. w N d o e ersion e
V Ch ck w w

er e Combines t o data streams.

Co nity & Reso rces


M g w

Sor t Sorts data by specified criteria.


Li i Limits the amount of data to output.
Loop
mt

E ecutes nodes repeatedly.


mmu u
or x

oe i Waits for a specified time period.


e n n comm nit i acti e and rowin . ec o t
C e

N d Wa t HTTP Request O ne i Cl ck oi
- Aut f ll

on er o i e Converts data to file format.


Th 8 u y s v g g Ch k u :
C v tt Fl

x r ro i e E tracts data from files.


E t act f mFl x Official Docs: docs.n8n.i
o pression
C m Performs file compression or decompression. Community Forum: community.n8n.i
Stop n rror Stops the orkflo or generates errors.
a dE w w Discord Chat: discord.gg/n8
HTTP eq es R Sends HTTP requests to e ternal PIs.
u t x A GitHub (Issues, PRs, source code): n8n-io/n8n Thx to u/MixConception

You might also like