AutomationFlowsData & Sheets › Bitcoin Price Polling to Postgres

Bitcoin Price Polling to Postgres

Original n8n title: Btc Poll

BTC_Poll. Uses start, httpRequest, postgres. Scheduled trigger; 5 nodes.

Cron / scheduled trigger★★☆☆☆ complexity5 nodesStartHTTP RequestPostgres
Data & Sheets Trigger: Cron / scheduled Nodes: 5 Complexity: ★★☆☆☆ Added:

This workflow follows the HTTP Request → Postgres recipe pattern — see all workflows that pair these two integrations.

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 →

Download .json
{
  "name": "BTC_Poll",
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "url": "https://api.coincap.io/v2/assets/bitcoin",
        "allowUnauthorizedCerts": true,
        "options": {}
      },
      "name": "$BTC",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        550,
        300
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "symbol",
              "value": "={{$node[\"$BTC\"].json[\"data\"][\"symbol\"]}}"
            },
            {
              "name": "price",
              "value": "={{$node[\"$BTC\"].json[\"data\"][\"priceUsd\"]}}"
            },
            {
              "name": "meta",
              "value": "={{$json[\"data\"]}}"
            }
          ]
        },
        "options": {}
      },
      "name": "ResBTC",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        740,
        300
      ]
    },
    {
      "parameters": {
        "table": "=equities",
        "columns": "symbol,price,meta",
        "additionalFields": {}
      },
      "name": "Postgres",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 1,
      "position": [
        900,
        300
      ],
      "credentials": {
        "postgres": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "triggerTimes": {
          "item": [
            {
              "mode": "custom",
              "cronExpression": "*/5 * * * *"
            }
          ]
        }
      },
      "name": "Every 5 minutes",
      "type": "n8n-nodes-base.cron",
      "position": [
        400,
        300
      ],
      "typeVersion": 1
    }
  ],
  "connections": {
    "$BTC": {
      "main": [
        [
          {
            "node": "ResBTC",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ResBTC": {
      "main": [
        [
          {
            "node": "Postgres",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every 5 minutes": {
      "main": [
        [
          {
            "node": "$BTC",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "id": 1
}

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.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

BTC_Poll. Uses start, httpRequest, postgres. Scheduled trigger; 5 nodes.

Source: https://github.com/mashiox/analytics-engine/blob/a8c89cea33ff5a379b8dbd45690d3632359f2ac2/n8n/BTC_Poll.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

Recordatorio de Citas - 24 horas antes. Uses postgres, emailSend, httpRequest. Scheduled trigger; 5 nodes.

Postgres, Email Send, HTTP Request
Data & Sheets

Disparador 1.8. Uses itemLists, postgres, emailSend, httpRequest. Scheduled trigger; 85 nodes.

Item Lists, Postgres, Email Send +1
Data & Sheets

공유회_알림톡_크론. Uses postgres, httpRequest, n8n-nodes-solapi. Scheduled trigger; 39 nodes.

Postgres, HTTP Request, N8N Nodes Solapi
Data & Sheets

QuepasaAutomatic. Uses postgres, postgresTrigger, httpRequest. Scheduled trigger; 39 nodes.

Postgres, Postgres Trigger, HTTP Request
Data & Sheets

공유회_알림톡_크론. Uses postgres, httpRequest, n8n-nodes-solapi. Scheduled trigger; 35 nodes.

Postgres, HTTP Request, N8N Nodes Solapi