DeskFerry Logo
Supabase logo
Databases integration

How to automate Supabase with AI agents

Supabase is an open source Firebase alternative.

+Supabase Templates

Workflows that run themselves

Pick a template → connect your tools → go live without code.

Supabase logoHubSpot logo
Lead enrichment

Signup row to HubSpot contact

On every insert into the users table, write a matching HubSpot contact and tag with their plan from the Supabase row.

  1. Supabase: New user added

  2. DeskFerry: Match & assign

  3. HubSpot: Create contact with plan tag

Zero manual entry
Supabase logoSlack logo
Security monitoring

Auth event to Slack

Watch the Supabase auth log for failed logins over a threshold and post a security alert to the #security Slack channel.

  1. Supabase: Failed logins threshold exceeded

  2. DeskFerry: Match & route

  3. Slack: Post security alert to channel

Instant breach detection
Supabase logoTwilio SendGrid logo
Churn prevention

Nightly cohort email

Every night, query Supabase for 7-day inactive users and enqueue a SendGrid win-back email using the stored profile fields.

  1. Supabase: Nightly cron scheduled

  2. DeskFerry: Decide the next action

  3. Supabase: Query inactive users cohort

  4. Twilio SendGrid: Send win-back email batch

Automated daily re-engagement
How it works

How AI developers work with Supabase

Step 01

Trigger event

An event occurs in Supabase or a connected app that starts your automation.

Step 02

AI agent processes

The AI agent analyzes the data, makes intelligent decisions, and determines the best actions.

Step 03

Automated action

The agent executes actions in Supabase and other tools — no manual work required.

Use cases

Give your AI developers Supabase superpowers

Supabase simplifies workflows, while DeskFerry empowers these tasks with AI developers.

01

Form → row insertion

Insert new rows into Supabase from every form submission, webhook, or email with fields mapped.

02

Scheduled archival

Archive Supabase rows older than N days to cold storage on a weekly cron.

03

Change-data-capture broadcast

Post Slack or email alerts when rows in Supabase change specific columns or cross thresholds.

04

CRM sync

Keep Supabase and your CRM in lockstep — two-way sync with conflict resolution rules.

Tools

Equip AI developers with the Supabase tools they need

Pre-built tool steps

Ready-to-use Supabase actions you can add to your agents instantly.

  • Common Supabase operations automated
  • Set up in plain English, no code
  • Error handling built-in

Supabase API tool steps

Custom API calls to Supabase with full control for advanced use cases.

  • API Key authentication
  • GET, POST, PUT, DELETE, PATCH methods
  • Custom headers and request body
Quick start

Connect Supabase to DeskFerry in minutes

01

Open DeskFerry

Sign in to your DeskFerry account and navigate to integrations or create a new AI agent.

02

Connect your Supabase account

A secure pop-up will ask you to log in. This authorizes DeskFerry to access your API using API Key.

03

Add Supabase as a step

Choose "Supabase" from the tool list, then select the action you want to perform.

04

Test and deploy

Test your automation with sample data, then deploy it to run on schedule or by event.

Security

Security & reliability

The integration uses secure API Key authentication, ensuring only authorized workflows access your Supabase data.

Your data, your control

Your data stays isolated to your workspace, and you can revoke access at any time.

Security first

We never store anything we don't need to. Inputs and outputs of your tools are never stored.

Similar

Explore more Databases integrations

Ready to supercharge Supabase with AI?

Join thousands of teams automating workflows with DeskFerry.

About

About the Supabase integration

Supabase is an open source Firebase alternative. With DeskFerry, you can connect Supabase to Airtable, Directus, Fauna and 1,500+ other apps using AI-powered workflows. No coding required — set up triggers, actions, and intelligent automation in minutes.

As a databases tool, Supabase connects with other databases apps like Airtable, Directus, Fauna, Firebase Admin through DeskFerry's integration platform. Build multi-step automations that combine Supabase with AI-powered decision making, data transformation, and cross-app orchestration.

Use cases

Supabase automation use cases

  • Insert new rows into Supabase from every form submission, webhook, or email with fields mapped.
  • Archive Supabase rows older than N days to cold storage on a weekly cron.
  • Post Slack or email alerts when rows in Supabase change specific columns or cross thresholds.
  • Keep Supabase and your CRM in lockstep — two-way sync with conflict resolution rules.
Triggers and actions

Supabase actions available to your AI agents

Every item is a real, named endpoint from Supabase's API. Your agent can watch events and run 79 actions — no glue code.

Actions

Things the agent can do

  • Create project api key

    Creates a 'publishable' or 'secret' api key for an existing supabase project, optionally with a description; 'secret' keys can have customized jwt templates.

  • Delete an API key from the project

    Permanently deletes a specific api key (identified by `id`) from a supabase project (identified by `ref`), revoking its access.

  • Get a third-party integration

    Retrieves the detailed configuration for a specific third-party authentication (tpa) provider, identified by `tpa id`, within an existing supabase project specified by `ref`.

  • List third-party auth integrations for project

    Lists all configured third-party authentication provider integrations for an existing supabase project (using its `ref`), suitable for read-only auditing or verifying current aut…

  • Delete third party auth config

    Removes a third-party authentication provider (e.g., google, github) from a supabase project's configuration; this immediately prevents users from logging in via that method.

  • Update an API key for the project

    Updates an existing supabase project api key's `description` and/or `secret jwt template` (which defines its `role`); does not regenerate the key string.

  • Beta activate custom hostname for project

    Activates a previously configured custom hostname for a supabase project, assuming dns settings are verified externally.

  • Activate vanity subdomain for project

    Activates a vanity subdomain for the specified supabase project, requiring subsequent dns configuration for the subdomain to become operational.

+ 71 more actions
  • Authorize user through OAuth

    Generates a supabase oauth 2.0 authorization url for user redirection, requiring a pre-registered `client id` and a `redirect uri` that matches one of its pre-registered uris.

  • Check vanity subdomain availability

    Checks if a specific vanity subdomain is available for a supabase project; this action does not reserve or assign the subdomain.

  • Enable project database webhooks

    Enables database webhooks for the supabase project `ref`, triggering real-time notifications for insert, update, or delete events.

  • Get project SSL enforcement configuration

    Retrieves the ssl enforcement configuration for a specified supabase project, indicating if ssl connections are mandated for its database.

  • Get current vanity subdomain config

    Fetches the current vanity subdomain configuration, including its status and custom domain name, for a supabase project identified by its reference id.

  • Beta get project's custom hostname config

    Retrieves a supabase project's custom hostname configuration, including its status, ssl certificate, and ownership verification, noting that availability may depend on the projec…

  • Retrieve network bans for project

    Retrieves the list of banned ipv4 addresses for a supabase project using its unique project reference string; this is a read-only operation.

  • Retrieve project network restrictions

    Retrieves the current network restriction settings (e.g., ip whitelists) for a supabase project using its reference id; this is a read-only operation for auditing or verifying ne…

  • Get project pgsodium config

    Retrieves the pgsodium configuration, including the root encryption key, for an existing supabase project identified by its `ref`.

  • Beta remove a read replica

    Irreversibly initiates the removal of a specified read replica from an existing supabase project, confirming only the start of the process, not its completion.

  • Remove project network bans

    Removes specified ipv4 addresses from a supabase project's network ban list, granting immediate access; ips not currently banned are ignored.

  • Execute project database query

    Executes a given sql query against the project's database; use for advanced data operations or when standard api endpoints are insufficient, ensuring queries are valid postgresql…

  • Setup read replica for project

    Provisions a read-only replica for a supabase project in a specified, supabase-supported aws region to enhance read performance and reduce latency.

  • Beta update project network restrictions

    Updates and applies network access restrictions (ipv4/ipv6 cidr lists) for a supabase project, which may terminate existing connections not matching the new rules.

  • Upgrade the project's PostgreSQL version

    Initiates an asynchronous upgrade of a supabase project's postgresql database to a specified `target version` from a selected `release channel`, returning a `tracking id` to moni…

  • Update pgsodium root key

    Critically updates or initializes a supabase project's pgsodium root encryption key for security setup or key rotation, requiring secure backup of the new key to prevent irrevers…

  • Create a database branch

    Creates a new, isolated database branch from an existing supabase project (identified by `ref`), useful for setting up separate environments like development or testing, which ca…

  • Create a function

    Creates a new serverless edge function for a supabase project (identified by `ref`), requiring valid javascript/typescript in `body` and a project-unique `slug 1` identifier.

  • Create an organization

    Creates a new supabase organization, which serves as a top-level container for projects, billing, and team access.

  • Create new project

    Creates a new supabase project, requiring a unique name (no dots) within the organization; project creation is asynchronous.

  • Create SSO provider configuration

    Creates a new saml 2.0 single sign-on (sso) provider for a supabase project, requiring either `metadata xml` or `metadata url` for saml idp configuration.

  • Create a new third-party auth integration

    Call this to add a new third-party authentication method (oidc or jwks) to a supabase project for integrating external identity providers (e.g., for sso); the api may also suppor…

  • Reverify custom hostname

    Re-verifies dns and ssl configurations for an existing custom hostname associated with a supabase project.

  • Delete branch by id

    Permanently and irreversibly deletes a specific, non-default database branch by its `branch id`, without affecting other branches.

  • Delete an edge function by slug

    Permanently deletes a specific edge function (by `function slug`) from a supabase project (by `ref`); this action is irreversible and requires prior existence of both project and…

  • Delete custom hostname config

    Deletes an active custom hostname configuration for the project identified by `ref`, reverting to the default supabase-provided hostname; this action immediately makes the projec…

  • Delete vanity subdomain for project

    Permanently and irreversibly deletes an active vanity subdomain configuration for the specified supabase project, reverting it to its default supabase url.

  • Delete project by ref

    Permanently and irreversibly deletes a supabase project, identified by its unique `ref` id, resulting in complete data loss.

  • Deploy function

    Deploys edge functions to a supabase project using multipart upload.

  • Disable project readonly mode

    Temporarily disables a supabase project's read-only mode for 15 minutes to allow write operations (e.g., for maintenance or critical updates), after which it automatically revert…

  • Disable preview branching

    Disables the preview branching feature for an existing supabase project, identified by its unique reference id (`ref`).

  • Exchange auth code for access and refresh token

    (beta) implements the oauth 2.0 token endpoint to exchange an authorization code or refresh token for access/refresh tokens, based on `grant type`.

  • Generate TypeScript types

    Generates and retrieves typescript types from a supabase project's database; any schemas specified in `included schemas` must exist in the project.

  • Get database branch config

    Retrieves the read-only configuration and status for a supabase database branch, typically for monitoring or verifying its settings.

  • Get project API keys

    Retrieves all api keys for an existing supabase project, specified by its unique reference id (`ref`); this is a read-only operation.

  • Get project PgBouncer config

    Retrieves the active pgbouncer configuration (postgresql connection pooler) for a supabase project, used for performance tuning, auditing, or getting the connection string.

  • Get Project Upgrade Eligibility

    Checks a supabase project's eligibility for an upgrade, verifying compatibility and identifying potential issues; this action does not perform the actual upgrade.

  • Get project upgrade status

    Retrieves the latest status of a supabase project's database upgrade for monitoring purposes; does not initiate or modify upgrades.

  • Get a specific SQL snippet

    Retrieves a specific sql snippet by its unique identifier.

  • Get a SSO provider by its UUID

    Retrieves the configuration details for a specific single sign-on (sso) provider (e.g., saml, google, github, azure ad), identified by its uuid, within a supabase project.

  • Get information about an organization

    Fetches comprehensive details for a specific supabase organization using its unique slug.

  • Get project's auth config

    Retrieves the project's complete read-only authentication configuration, detailing all settings (e.g., providers, mfa, email/sms, jwt, security policies) but excluding sensitive …

  • Get project postgres config

    Retrieves the current read-only postgresql database configuration for a specified supabase project's `ref`, noting that some advanced or security-sensitive details might be omitt…

  • Get project's PostgREST config

    Retrieves the postgrest configuration for a specific supabase project.

  • Get project's service health status

    Retrieves the current health status for a supabase project, for specified services or all services if the 'services' list is omitted.

  • Get project Supavisor configuration

    Retrieves the supavisor (connection pooler) configuration for a specified supabase project, identified by its reference id.

  • Get Table Schemas

    Retrieves column details, types, and constraints for multiple database tables to help debug schema issues and write accurate sql queries.

  • List all database branches

    Lists all database branches for a specified supabase project, used for isolated development and testing of schema changes; ensure the project reference id is valid.

  • List all functions

    Lists metadata for all edge functions in a supabase project (specified by 'ref'), excluding function code or logs; the project must exist.

  • List all organizations

    Lists all organizations (id and name only) associated with the supabase account, excluding project details within these organizations.

  • List all projects

    Retrieves a list of all supabase projects, including their id, name, region, and status, for the authenticated user.

  • List all secrets

    Retrieves all secrets for a supabase project using its reference id; secret values in the response may be masked.

  • List members of an organization

    Retrieves all members of a supabase organization, identified by its unique slug, including their user id, username, email, role, and mfa status.

  • List project database backups

    Lists all database backups for a supabase project, providing details on existing backups but not creating new ones or performing restores; availability may depend on plan and con…

  • List all buckets

    Retrieves a list of all storage buckets for a supabase project, without returning bucket contents or access policies.

  • List all SSO providers

    Lists all configured single sign-on (sso) providers for a supabase project, requiring the project reference id (`ref`) of an existing project.

  • List SQL snippets for the logged in user

    Retrieves a list of sql snippets for the logged-in user, optionally filtered by a specific supabase project if `project ref` is provided.

  • Remove an SSO provider

    Deletes a specific sso provider by its id (`provider id`) from a supabase project (`ref`), which disables it and returns its details; ensure this action will not inadvertently lo…

  • Reset a database branch

    Resets an existing supabase database branch, identified by `branch id`, to its initial clean state, irreversibly deleting all its current data and schema changes.

  • Restore database PITR backup

    Restores a supabase project's database to a specific unix timestamp using point-in-time recovery (pitr), overwriting the current state; requires a paid plan with pitr and physica…

  • Retrieve a function

    Retrieves detailed information, metadata, configuration, and status for a specific edge function using its project reference id and function slug.

  • Retrieve a function body

    Retrieves the source code (body) for a specified serverless edge function using its project reference and function slug; this is a read-only operation that does not execute the f…

  • Get project's read-only mode status

    Retrieves the read-only mode status for a specified supabase project to check its operational state; this action does not change the read-only state.

  • Update a function

    Updates an existing supabase edge function's properties (like name, slug, source code, jwt settings, import map) identified by project `ref` and `function slug`, supporting plain…

  • Update database branch config

    Updates the configuration of a supabase database branch, allowing modification of its name, associated git branch, reset-on-push behavior, persistence, and status.

  • Update project's custom hostname configuration

    Updates the custom hostname for a supabase project, requiring subsequent dns changes to a user-controlled domain for ssl certificate issuance and domain ownership.

  • Update an SSO provider by its UUID

    Updates an existing sso provider's saml metadata, associated email domains, or attribute mappings for a supabase project, identified by `ref` and `provider id`.

  • Update project's postgres config

    Updates specified postgresql configuration parameters for an existing supabase project (`ref`) to optimize database performance; note that unspecified parameters remain unchanged…

  • Update project's PostgREST config

    Updates postgrest configuration settings (e.g., `max rows`, `db pool`, `db schema`, `db extra search path`) for a supabase project to fine-tune api performance, data exposure, an…

  • Update database pooler config

    Updates the supavisor (database pooler) configuration, such as `default pool size`, for an existing supabase project identified by `ref`; the `pool mode` parameter in the request…

  • Update SSL enforcement config

    Updates the ssl enforcement configuration (enable/disable) for a specified supabase project's database.

Popular pairs

Apps teams connect with Supabase

Curated for Supabase's real category — not Pipedream's auto-tagged bucket.

Related workflows

Related AI agent workflows

Explore AI-powered workflows that work with Supabase.

AI agents

Pre-built AI agents for Supabase

Deploy Supabase-ready AI agents for the tasks and industries your team works in.