ZelaxyDocs
Tool Integrations
Tool

Supabase

Query and manage data in Supabase (PostgreSQL)

Supabase

Execute queries, insert data, and manage records in Supabase — the open-source Firebase alternative backed by PostgreSQL. Supports SQL queries and Supabase client operations.

Overview

PropertyValue
Typesupabase
CategoryTool — Database
AuthAPI Key (Supabase URL + Anon/Service Key)

Operations

OperationDescription
SelectQuery data from a table
InsertInsert new rows
UpdateUpdate existing rows
DeleteDelete rows
SQL QueryExecute raw SQL

Configuration

SettingTypeDescription
Supabase URLShort inputProject URL
API KeyPasswordService role or anon key
TableShort inputTable name
QueryCode editorSQL query or filter
DataCode editorJSON data for insert/update

Outputs

FieldTypeDescription
datajsonQuery results
contentstringFormatted results
countnumberRow count

Example: Database Chatbot

Workflow:

[Starter] → [Agent] → [Response]

        [Supabase] (connected as tool)

Connect Supabase as a tool to an Agent. The Agent writes SQL queries to answer natural-language questions about your data.

Agent Prompt:

You have access to a Supabase database. The 'users' table has columns:
id, name, email, plan, created_at. The 'orders' table has: id, user_id,
amount, status, created_at. Answer the user's questions by querying the database.

Tips

  • Service role key bypasses Row Level Security — use carefully
  • Anon key respects RLS policies — safer for user-facing workflows
  • Agent tool mode is powerful — let AI write queries based on natural language