Assign Values to Variables Using n8n Set Node

Simple workflow demonstrating the Set node to assign number, string, and boolean values. Ideal for beginners learning data manipulation in n8n.

n8n
Assign Values to Variables Using n8n Set Node

This workflow showcases the fundamental use of n8n's Set node to assign static values to variables, including a number (20), a string ('From n8n with love'), and a boolean (true). Triggered manually, it processes these assignments in a single step, outputting structured data ready for further automation.

Benefits include effortless data initialization and transformation without coding, saving time on repetitive setup tasks. It's perfect for beginners or as a building block in complex workflows, ensuring clean data flow to downstream nodes like HTTP requests or database inserts.

Use cases span development tools, such as prototyping automations, testing integrations, or preparing payloads for APIs. In IT & Development, it aids in debugging and standardizing inputs; adaptable to Travel & Hospitality for setting itinerary defaults like dates or statuses in planning tools.

$2.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Travel & Hospitality workflows

More from Timo Salim

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.