The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Variables Example Workflow",
"nodes": [
{
"parameters": {},
"id": "start",
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"operation": "set",
"variableName": "apiUrl",
"variableValue": "https://api.example.com",
"valueType": "string"
},
"id": "set-variable",
"name": "Set API URL",
"type": "n8n-nodes-variables-store.variablesSet",
"typeVersion": 1,
"position": [
460,
300
]
},
{
"parameters": {
"operation": "set",
"variableName": "config",
"variableValue": "{\"timeout\": 5000, \"retries\": 3}",
"valueType": "json"
},
"id": "set-config",
"name": "Set Config",
"type": "n8n-nodes-variables-store.variablesSet",
"typeVersion": 1,
"position": [
680,
300
]
},
{
"parameters": {
"operation": "get",
"variableName": "apiUrl",
"defaultValue": "https://default.api.com"
},
"id": "get-api-url",
"name": "Get API URL",
"type": "n8n-nodes-variables-store.variablesGet",
"typeVersion": 1,
"position": [
900,
300
]
},
{
"parameters": {
"operation": "getAll"
},
"id": "get-all-vars",
"name": "Get All Variables",
"type": "n8n-nodes-variables-store.variablesGet",
"typeVersion": 1,
"position": [
1120,
300
]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Set API URL",
"type": "main",
"index": 0
}
]
]
},
"Set API URL": {
"main": [
[
{
"node": "Set Config",
"type": "main",
"index": 0
}
]
]
},
"Set Config": {
"main": [
[
{
"node": "Get API URL",
"type": "main",
"index": 0
}
]
]
},
"Get API URL": {
"main": [
[
{
"node": "Get All Variables",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Variables Example Workflow. Uses start, n8n-nodes-variables-store. Manual trigger; 5 nodes.
Source: https://github.com/yingcaihuang/n8n-nodes-variables-store/blob/9a3ef58e40ffdcaa19a5a8bc72ab70b6e1227103/examples/basic-usage.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
DocuFlow Universal Extraction. Uses start, httpRequest. Manual trigger; 7 nodes.
Google Sheets Data Processing Template. Uses googleSheets, noOp. Manual trigger; 7 nodes.
Manage contacts via Autopilot. Uses autopilot. Manual trigger; 4 nodes.
Manage transfers automatically in Wise. Uses wise. Manual trigger; 4 nodes.