Go to example tasks

Upsert Leads Into a Supabase or Postgres Table (Dry Run First)

Upsert a lead list into a Postgres table (Supabase, Neon, RDS or self-hosted) matched on email, creating the table with inferred column types on the first run and updating rows on every later run. Ships as a dry run so you can press Try without a database: it prints the exact CREATE TABLE and INSERT ... ON CONFLICT statements. Add your connection string and turn Dry run off to write for real.

Try for free
Dataset to Postgres, Supabase & MySQL (Database Push)
Dataset to Postgres, Supabase & MySQL (Database Push)nerolabs/dataset-to-database
Table
Database
Mode
Dry run
+9 fields
Text
Number
Boolean
List
Object

Input

Data (inline)
email:ana@example.com+2
name:Ana Silva+2
company:Silva Ltd+2
plan:Pro+2
mrr:49+2
active:true+2
signedUpAt:2026-08-01T09:30:00Z+2
address
tags
Database type:postgres
Table name:leads
Write mode:upsert
Key field(s) for upsert:email
Add _synced_at and _apify_run_id columns:true
Dry run (plan only, write nothing):true

Output fields

Table
Database
Mode
Dry run
Rows in
Rows written
Not written
Table created
Columns added
Unique index created
Batches
Duration (ms)
Warnings

How it works

Sign up on Apify01

Create your Apify account to access the Dataset to Postgres, Supabase & MySQL (Database Push).

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay