AutomationFlowsAI & RAG › The Spot: Ttl Cleaner (drops & Storage)

The Spot: Ttl Cleaner (drops & Storage)

The Spot: TTL Cleaner (Drops & Storage). Uses supabase, supabaseStorage. Scheduled trigger; 4 nodes.

Cron / scheduled trigger★★☆☆☆ complexity4 nodesSupabaseSupabase Storage
AI & RAG Trigger: Cron / scheduled Nodes: 4 Complexity: ★★☆☆☆ Added:

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": "The Spot: TTL Cleaner (Drops & Storage)",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 5
            }
          ]
        }
      },
      "id": "1",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "position": [
        400,
        300
      ]
    },
    {
      "parameters": {
        "operation": "select",
        "schema": "public",
        "table": "drops",
        "returnAll": true,
        "whereClause": "expires_at < NOW()"
      },
      "id": "2",
      "name": "Get Expired Drops",
      "type": "n8n-nodes-base.supabase",
      "typeVersion": 1,
      "position": [
        600,
        300
      ],
      "credentials": {
        "supabaseApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "delete",
        "bucketId": "drops",
        "fileId": "={{$node[\"Get Expired Drops\"].json[\"audio_url\"].split('/').pop()}}"
      },
      "id": "3",
      "name": "Delete Physical Audio",
      "type": "n8n-nodes-base.supabaseStorage",
      "typeVersion": 1,
      "position": [
        850,
        200
      ],
      "credentials": {
        "supabaseApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "delete",
        "schema": "public",
        "table": "drops",
        "filters": {
          "id": "={{$node[\"Get Expired Drops\"].json[\"id\"]}}"
        }
      },
      "id": "4",
      "name": "Delete DB Record",
      "type": "n8n-nodes-base.supabase",
      "typeVersion": 1,
      "position": [
        850,
        400
      ],
      "credentials": {
        "supabaseApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Expired Drops",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Expired Drops": {
      "main": [
        [
          {
            "node": "Delete Physical Audio",
            "type": "main",
            "index": 0
          },
          {
            "node": "Delete DB Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

The Spot: TTL Cleaner (Drops & Storage). Uses supabase, supabaseStorage. Scheduled trigger; 4 nodes.

Source: https://github.com/momentumcoachescontent-wq/thespot/blob/de6a409ec32536be04c0e056fde824e05272df12/n8n/n8n_ttl_cleaner_v2.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

The Spot: TTL Cleaner (Drops & Storage). Uses supabase, supabaseStorage. Scheduled trigger; 4 nodes.

Supabase, Supabase Storage
AI & RAG

This workflow runs monthly, checks Supabase for up-to-date real estate market records for a configured ZIP code, and either reports existing month-over-month rent and sale trends or fetches fresh mark

HTTP Request, Supabase, Slack
AI & RAG

Sales Team V2. Uses supabase, httpRequest, crypto, openAi. Scheduled trigger; 25 nodes.

Supabase, HTTP Request, Crypto +2
AI & RAG

It tracks discussions across target subreddits, surfaces what users love, dislike, want changed, and highlights how they compare you to competitors.

Gmail, OpenAI, Reddit +1
AI & RAG

This workflow automatically fetches active deals from Zoho CRM, retrieves real-time market signals, calculates AI-enhanced forecast metrics, evaluates deal-market alignment, stores data in a database,

HTTP Request, Zoho Crm, Slack +2