Expressions in n8n

What are expressions in n8n and why do I need them

problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

espressions let’s you use dynamic data between nodes using {}

For example : { {$node ( “HTTP Request”).json(“user”) (“email”)}}

this pulls the email from a previous node’s output, super useful for making your workflows flexible and data driven

1 Like

Expressions in n8n

"Expressions are a powerful feature implemented in all n8n nodes. They allow node parameters to be set dynamically based on data from:

  • Previous node executions
  • The workflow
  • Your n8n environment

You can also execute JavaScript within an expression, making this a convenient and easy way to manipulate data into useful parameter values without writing extensive extra code."

A quick tip with expressions is if you first map your input and switch to the “Expressions” tab the expression will already be correctly populated, a good way to learn how Expressions are formatted.