AutomationFlowsData & Sheets › Vibe Stream Refresh

Vibe Stream Refresh

03 - Vibe Stream Refresh. Uses postgres, httpRequest. Scheduled trigger; 5 nodes.

Cron / scheduled trigger★★★★☆ complexity5 nodesPostgresHTTP Request
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": "03 - Vibe Stream Refresh",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 15
            }
          ]
        }
      },
      "name": "Cron: Every 15 Min",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        250,
        300
      ],
      "id": "node-cron"
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "SELECT id, name, vibe_profile FROM vibe_streams ORDER BY last_refreshed ASC LIMIT 10"
      },
      "name": "Neon: Get Stale Streams",
      "type": "n8n-nodes-base.postgres",
      "position": [
        500,
        300
      ],
      "id": "node-get-streams"
    },
    {
      "parameters": {
        "batchSize": 1,
        "options": {}
      },
      "name": "Split Streams",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        750,
        300
      ],
      "id": "node-split"
    },
    {
      "parameters": {
        "url": "={{ $env.VIBE_ENGINE_URL }}/stream_queue",
        "method": "POST",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "stream_id",
              "value": "={{ $json.id }}"
            },
            {
              "name": "vibe_profile",
              "value": "={{ $json.vibe_profile }}"
            },
            {
              "name": "queue_size",
              "value": 50
            }
          ]
        }
      },
      "name": "Vibe Engine: Build Queue",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        300
      ],
      "id": "node-build-queue"
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "UPDATE vibe_streams SET track_queue = '{{ JSON.stringify($json.track_queue) }}'::jsonb, last_refreshed = NOW() WHERE id = '{{ $json.stream_id }}'"
      },
      "name": "Neon: Update Queue",
      "type": "n8n-nodes-base.postgres",
      "position": [
        1250,
        300
      ],
      "id": "node-update-queue"
    }
  ],
  "connections": {
    "Cron: Every 15 Min": {
      "main": [
        [
          {
            "node": "Neon: Get Stale Streams",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Neon: Get Stale Streams": {
      "main": [
        [
          {
            "node": "Split Streams",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Streams": {
      "main": [
        [
          {
            "node": "Vibe Engine: Build Queue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vibe Engine: Build Queue": {
      "main": [
        [
          {
            "node": "Neon: Update Queue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "tags": [
    "disco-bass",
    "vibe",
    "streams"
  ]
}
Pro

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

About this workflow

03 - Vibe Stream Refresh. Uses postgres, httpRequest. Scheduled trigger; 5 nodes.

Source: https://github.com/think-zone/creator-os/blob/main/n8n-workflows/03-vibe-stream-refresh.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

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

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

Postgres, Postgres Trigger, HTTP Request
Data & Sheets

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

Postgres, Postgres Trigger, HTTP Request