Operations & Internal Tools
Connect Retool and Supabase
Screens in Retool, data in a Postgres database you own and can expose safely.
- Data flows
- 4 automated, two-way where safe
- Built with
- Retool, Supabase Postgres, Supabase Row Level Security
- Timeline
- Live in 2 to 8 weeks from scope
- Owned by
- You, with accounts, credentials and code in your name.
Connecting Retool to Supabase puts your operational data in a Postgres database you own, with Retool as the screens on top. SBD uses Supabase to publish only what outside services need, as in a WhatsApp catalogue build, and as the landing point when a system outgrows Retool and moves to custom code.
What runs between Retool and Supabase
Each line is one automated workflow, with the same checks, logs and alerts on all of them.
-
Public catalogue without exposing internal data
WhenThe team edits a product in the Retool app
ThenCopy only the public fields to a Supabase catalogue table
-
WhatsApp catalogue kept current
WhenThe Supabase catalogue table changes
ThenSync the Meta commerce catalogue from Supabase, never from the Retool database
-
Copy the Retool data before moving
WhenA move off Retool is approved
ThenRun a one-way sync that copies the Retool database into Supabase on demand, while the old app keeps working
-
A cut-over with the old app kept read-only
WhenCut-over day
ThenFinal sync, the Retool app set to read-only, and users switched to the new app in one step
Where the simple setup breaks down
A one-step Zap connects Retool and Supabase in an afternoon. This is what goes wrong once volume grows.
The direct connection string does not reach Retool
Supabase direct connections map to an IPv6 address, and Supabase lists Retool among services that only accept IPv4. The shared pooler is IPv4, so the connection has to go through it, in the right mode, or the resource never connects.
Poolers and prepared statements collide
Retool turns Postgres queries into prepared statements by default. Retool advises disabling that only for setups such as a transaction-mode pooler, and doing so removes its SQL injection protection. Retool also warns that a pooler can break access policy enforcement. Choosing the mode is a design decision.
The secret key ignores your row rules
A Supabase secret key, or the legacy service_role key, bypasses Row Level Security. Pasting it into a Retool resource gives every app on that resource full access. Publishable keys follow RLS, which Supabase says should be on for every table before you deploy.
Outside services should never see the internal tables
In the WhatsApp product promotion build, the Meta catalogue reads from a Supabase database so the internal Retool database is never exposed. Pointing an outside service at the working tables leaks fields that were never meant to leave.
The problem, from both sides
In the team
- Outside services need data the team does not want exposed
- Business rules live in queries nobody can review
- A workflow stopped and nobody was told
- Per-user cost climbs as more people need access
- Fear of losing data blocks any move
Under the hood
- IPv6 direct connections versus IPv4-only Retool
- Prepared statements and pooler modes
- Secret keys bypass Row Level Security
- Default 1,000-row cap on Data API reads
- Keys written into queries in plain text
Used for
- Public catalogue without exposing internal data
- WhatsApp catalogue kept current
- Copy the Retool data before moving
- A cut-over with the old app kept read-only
- Retool on a database you own
- Supabase as a Retool resource
- Moving off Retool to custom code
- Row Level Security for outside access
- Audit log on every table
- Demo database seeded for reviewers
Built with
Retool- SPSupabase Postgres
- SRSupabase Row Level Security
- RWRetool Workflows
- MCMeta commerce catalogue
Which fields map to which
Agreed in the blueprint and written into the runbook. Two-way rows carry loop protection, so a write from the sync never sets it off again.
- Products, categories and prices in Retool one-way→ Supabase catalogue table, public fields only Product ID
- Recipient lists in Retool one-way→ Kept internal, not published List ID
- Retool database tables one-way→ Supabase schema with keys and RLS Primary key per table
- Retool app actions after cut-over two-way⇄ Supabase tables with an audit log Row ID
Standards on every build
Validation, retries, reconciliation, audit logs and alerts come as standard, with credentials and accounts in your name. Read the integration standards
Where we have done this
What people ask about this pair
Can we keep using Retool Database instead?
Yes. Retool Database is Postgres, and Retool gives admins a connection string to reach it from outside. We still put anything outside services read into a separate Supabase database, so the working data and the published data never share credentials.
Why Supabase rather than any Postgres host?
Any Postgres works for Retool. Supabase adds Row Level Security tied to its keys, an API for outside services, scheduled jobs and storage, which is what the catalogue and migration builds needed. The data stays in standard Postgres either way.
Does moving to Supabase mean leaving Retool?
No. Plenty of teams should stay on Retool. Putting the data in Supabase first means a later move is a rebuild of screens rather than a data rescue, which is what made our three moves off Retool in 2026 practical. Internal tools start from $3,000.
Do Supabase reads have a row limit?
The Supabase Data API returns at most 1,000 rows per request by default, and the limit is set in project settings. Anything that reads a whole table, such as a catalogue sync, pages through it rather than trusting one read.
Related pairs
-

Airtable and Retool
Airtable is a good database with a limited interface. Retool adds the screens and permissions it lacks.
-

Supabase and Resend
Each email sent once from your own domain, with the delivery record stored.
-

WhatsApp Business API and Zoho Books
The invoice is raised in Books, where the accountant expects it, and everyone who moves the order hears about it on WhatsApp.
- Solution
IT
The workflows we automate for this kind of team.
Retool screens on a Supabase database you own
Retool connected to Supabase with the right pooler settings, safe publishing to outside services, and a path off Retool when the system outgrows it, live in 2 to 8 weeks.
Start with a discovery call











