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": "Compute Top Symbols",
"nodes": [
{
"parameters": {
"triggerTimes": {
"item": [
{
"hour": 1,
"minutes": 0
}
]
}
},
"id": "Cron",
"name": "Cron Trigger",
"type": "n8n-nodes-base.cron",
"typeVersion": 1
},
{
"parameters": {
"operation": "executeQuery",
"query": "DELETE FROM top_symbols WHERE as_of_date = CURRENT_DATE;"
},
"id": "Clear Today",
"name": "Clear Today",
"type": "n8n-nodes-base.postgres",
"typeVersion": 1,
"credentials": {
"postgres": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "executeQuery",
"query": "INSERT INTO top_symbols (as_of_date, sector_norm, symbol, sentiment, score, change_pct, volspike, rsi)\nSELECT\n CURRENT_DATE,\n sector,\n symbol,\n 'Bullish',\n score,\n changePct,\n volSpike,\n rsi\nFROM bullish_detail_flat\nORDER BY score DESC\nLIMIT 25;"
},
"id": "Insert Top Bullish",
"name": "Insert Top Bullish",
"type": "n8n-nodes-base.postgres",
"typeVersion": 1,
"credentials": {
"postgres": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "executeQuery",
"query": "INSERT INTO top_symbols (as_of_date, sector_norm, symbol, sentiment, score, change_pct, volspike, rsi)\nSELECT\n CURRENT_DATE,\n sector,\n symbol,\n 'Bearish',\n score,\n changePct,\n volSpike,\n rsi\nFROM bearish_detail_flat\nORDER BY score ASC\nLIMIT 25;"
},
"id": "Insert Top Bearish",
"name": "Insert Top Bearish",
"type": "n8n-nodes-base.postgres",
"typeVersion": 1,
"credentials": {
"postgres": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Clear Today": {
"main": [
[
{
"node": "Insert Top Bullish",
"type": "main",
"index": 0
},
{
"node": "Insert Top Bearish",
"type": "main",
"index": 0
}
]
]
},
"Cron Trigger": {
"main": [
[
{
"node": "Clear Today",
"type": "main",
"index": 0
}
]
]
}
}
}
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.
postgres
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Compute Top Symbols. Uses postgres. Scheduled trigger; 4 nodes.
Source: https://github.com/featherduino/micro-radar-app/blob/6fe2c8b04cdb42acb826028b9cb2b5f2fc55c8a0/n8n-workflows/calc-top-symbols.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.
Synchronize Your Google Sheets With Postgres. Uses scheduleTrigger, compareDatasets, splitOut, googleSheets. Scheduled trigger; 10 nodes.
Synchronize your Google Sheets with Postgres. Uses scheduleTrigger, compareDatasets, splitOut, googleSheets. Scheduled trigger; 10 nodes.
BTC_Poll. Uses start, httpRequest, postgres. Scheduled trigger; 5 nodes.
Recordatorio de Citas - 24 horas antes. Uses postgres, emailSend, httpRequest. Scheduled trigger; 5 nodes.