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": "ST-01 Dashboard",
"active": true,
"nodes": [
{
"id": "5301660a",
"name": "Every 5 min",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
256,
208
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 5
}
]
}
}
},
{
"id": "ecf410f2",
"name": "Get Agent",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
480,
208
],
"parameters": {
"url": "https://api.spacetraders.io/v2/my/agent",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "httpHeaderAuth",
"options": {
"response": {
"response": {}
},
"continueOnFail": true
}
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"id": "cd733b58",
"name": "Get Ships",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
704,
208
],
"parameters": {
"url": "https://api.spacetraders.io/v2/my/ships",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "httpHeaderAuth",
"options": {
"response": {},
"continueOnFail": true
}
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"id": "a7d955d7",
"name": "Get Contracts",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
928,
208
],
"parameters": {
"url": "https://api.spacetraders.io/v2/my/contracts",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "httpHeaderAuth",
"options": {
"response": {},
"continueOnFail": true
}
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"id": "838234df",
"name": "Format",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1152,
208
],
"parameters": {
"jsCode": "\nconst staticData = $getWorkflowStaticData('global');\nconst agent = $('Get Agent').first().json.data;\nconst ships = $('Get Ships').first().json.data || [];\nconst contracts = $('Get Contracts').first().json.data || [];\n\nconst credits = agent.credits || 0;\nconst lastCredits = staticData.lastCredits;\n\n// Only send if credits changed (or first ever run)\nif (lastCredits !== undefined && lastCredits === credits) {\n return [];\n}\nstaticData.lastCredits = credits;\n\nconst active = contracts.filter(c => !c.fulfilled).length;\nconst diff = lastCredits !== undefined ? credits - lastCredits : null;\nconst diffStr = diff !== null ? (diff >= 0 ? ` (+${diff.toLocaleString()})` : ` (${diff.toLocaleString()})`) : '';\n\nconst text = `\ud83d\ude80 <b>HERMES-FLEET Dashboard</b>\n\ud83d\udcb0 Credits: ${credits.toLocaleString()}${diffStr}\n\ud83d\udea2 Ships: ${ships.length}\n\ud83d\udccb Active contracts: ${active}\n\ud83d\udccd HQ: ${agent.headquarters}`;\n\nreturn [{json: {text}}];\n"
}
},
{
"id": "177b2319",
"name": "Send Telegram",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1376,
208
],
"parameters": {
"method": "POST",
"url": "https://api.telegram.org/bot8983287190:AAGm8Zc1dC5FfLgtJKc2FfnX_AeplMqL56c/sendMessage",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({\"chat_id\":\"7603833558\",\"text\":$json.text,\"parse_mode\":\"HTML\"}) }}",
"options": {
"continueOnFail": true
}
}
}
],
"connections": {
"Every 5 min": {
"main": [
[
{
"node": "Get Agent",
"type": "main",
"index": 0
}
]
]
},
"Get Agent": {
"main": [
[
{
"node": "Get Ships",
"type": "main",
"index": 0
}
]
]
},
"Get Ships": {
"main": [
[
{
"node": "Get Contracts",
"type": "main",
"index": 0
}
]
]
},
"Get Contracts": {
"main": [
[
{
"node": "Format",
"type": "main",
"index": 0
}
]
]
},
"Format": {
"main": [
[
{
"node": "Send Telegram",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate",
"errorWorkflow": "UBBtoeMsOM2deZTM"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpHeaderAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
ST-01 Dashboard. Uses httpRequest. Scheduled trigger; 6 nodes.
Source: https://github.com/mcastae813/SpaceShipIO/blob/32d58e71d200f0f3aeb77b4eec7f968fec27ca02/workflows/01-dashboard.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.
Birthday Automation - Production (Fixed). Uses stopAndError, httpRequest, emailSend, bannerbear. Scheduled trigger; 86 nodes.
This template runs two scheduled workflows to govern Microsoft Entra ID (Azure AD) guest accounts by detecting stale users via Microsoft Graph, staging deletions in SharePoint with a 72-hour window, n
Jira-Allure-Auto-Qa. Uses httpRequest, jira. Scheduled trigger; 68 nodes.
Spotify-Sync-Surrealdb-V1. Uses httpRequest, n8n-nodes-surrealdb, spotify. Scheduled trigger; 62 nodes.
As n8n instances scale, teams often lose track of sub-workflows—who uses them, where they are referenced, and whether they can be safely updated. This leads to inefficiencies like unnecessary copies o