Execute Set node based on Function output — n8n Workflow
Overview
Companion workflow for Switch node docs
Nodes used
On clicking 'execute'FunctionSet2SwitchNoOp
Workflow Preview
⚡
O
On clicking 'execute'
F
Function
S
Set
S
Set1
S
Switch
S
Set2
N
NoOp
7 nodes6 edges
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 7 nodes, connecting function, manualtrigger, set.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (7)
ON#1
On clicking 'execute'
manualTrigger
FU#2
Function
function
SE#3
Set2
set
SW#4
Switch
switch
NO#5
NoOp
noOp
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
execute-set-node-based-on-function-outputfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
{ "name": "Execute Set node based on Function output", "nodes": [...], ...}
Integrations
functionmanualtriggersetswitch
Created by
amudhan
@sm-amudhan
Tags
functionmanualtriggersetswitch
⚡
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →