Working with Expressions and Dynamic Data

Introduction to Workflow Automation with n8n

James Chapman

AI Curriculum Manager, DataCamp

Static vs. dynamic values

Date_On_A_Sticky_Note.png

Static: stays the same until changed

DataCamp Diagrams.png

Dynamic: updates automatically when the workflow runs

Introduction to Workflow Automation with n8n

Expressions in n8n

 

expressions_updates.png

Introduction to Workflow Automation with n8n

Expressions in n8n

 

expression_methods.png

Introduction to Workflow Automation with n8n

Referencing and inspecting data

input_panel_0_v2.png

 

  • In the input panel, every field from a previous node is available to reference
Introduction to Workflow Automation with n8n

Referencing and inspecting data

input_panel_1_v2.png

 

  • In the input panel, every field from a previous node is available to reference
  • Drag and drop a field from Input into the expression—or type the reference
{{ $json['Target Currency'] }}
Introduction to Workflow Automation with n8n

Referencing and inspecting data

input_panel_v2.png

 

  • In the input panel, every field from a previous node is available to reference
  • Drag and drop a field from Input into the expression—or type the reference
{{ $json['Target Currency'] }}
  • Data can be nested; expand the structure in the panel to find what you need
Introduction to Workflow Automation with n8n
Introduction to Workflow Automation with n8n

Let's practice!

Introduction to Workflow Automation with n8n

Preparing Video For Download...