Skip to main content
Step 11 of 11

Continue RUNNING imports with cron

How to run server-side continuation for CSV imports, safely and deterministically.

Prerequisites

  • Environment variables: CRON_SECRET, SUPABASE_SERVICE_ROLE_KEY, NEXT_PUBLIC_SUPABASE_URL
  • Supabase Storage bucket: imports

Endpoint

  • Method: GET
  • Path: /api/cron/imports/continue
  • Header: Authorization: Bearer <CRON_SECRET>

Stall Detection

  • If an ImportRun stays RUNNING with no new row receipts, confirm cron is firing and auth is correct.
  • If storage is missing or credentials are invalid, the run will not progress; fix env vars/bucket and retry.

Runbook

See docs/runbooks/imports-continuation.md for the full checklist.

Ready to put this into action?

Start your free trial and configure your first pipeline in under 2 minutes.