Skip to main content

Supabase

Supabase is a powerful open-source backend-as-a-service platform that provides developers with a suite of tools to build, scale, and manage modern applications. Supabase offers a fully managed PostgreSQL database, robust authentication, instant RESTful and GraphQL APIs, real-time subscriptions, file storage, and edge functionsβ€”all accessible through a unified and developer-friendly interface. Its open-source nature and compatibility with popular frameworks make it a compelling alternative to Firebase, with the added benefit of SQL flexibility and transparency.

Why Supabase?

  • Instant APIs: Every table and view in your database is instantly available via REST and GraphQL endpoints, making it easy to build data-driven applications without writing custom backend code.
  • Real-time Data: Supabase enables real-time subscriptions, allowing your apps to react instantly to changes in your database.
  • Authentication & Authorization: Built-in user management with support for email, OAuth, SSO, and more, plus row-level security for granular access control.
  • Storage: Securely upload, serve, and manage files with built-in storage that integrates seamlessly with your database.
  • Edge Functions: Deploy serverless functions close to your users for low-latency custom logic.

Using Supabase in Klyntos

Klyntos’s Supabase integration makes it effortless to connect your agentic workflows to your Supabase projects. With just a few configuration fieldsβ€”your Project ID, Table name, and Service Role Secretβ€”you can securely interact with your database directly from your Klyntos blocks. The integration abstracts away the complexity of API calls, letting you focus on building logic and automations.

Key benefits of using Supabase in Klyntos:

  • No-code/low-code database operations: Query, insert, update, and delete rows in your Supabase tables without writing SQL or backend code.
  • Flexible querying: Use PostgREST filter syntax to perform advanced queries, including filtering, ordering, and limiting results.
  • Seamless integration: Easily connect Supabase to other tools and services in your workflow, enabling powerful automations such as syncing data, triggering notifications, or enriching records.
  • Secure and scalable: All operations use your Supabase Service Role Secret, ensuring secure access to your data with the scalability of a managed cloud platform.

Whether you’re building internal tools, automating business processes, or powering production applications, Supabase in Klyntos provides a fast, reliable, and developer-friendly way to manage your data and backend logicβ€”no infrastructure management required. Simply configure your block, select the operation you need, and let Klyntos handle the rest.

Usage Instructions​

Integrate Supabase into the workflow. Can get many rows, get, create, update, delete, and upsert a row.

Tools​

supabase_query​

Query data from a Supabase table

Input​

ParameterTypeRequiredDescription
projectIdstringYesYour Supabase project ID (e.g., jdrkgepadsdopsntdlom)
tablestringYesThe name of the Supabase table to query
filterstringNoPostgREST filter (e.g., "id=eq.123")
orderBystringNoColumn to order by (add DESC for descending)
limitnumberNoMaximum number of rows to return
apiKeystringYesYour Supabase service role secret key

Output​

ParameterTypeDescription
messagestringOperation status message
resultsarrayArray of records returned from the query

supabase_insert​

Insert data into a Supabase table

Input​

ParameterTypeRequiredDescription
projectIdstringYesYour Supabase project ID (e.g., jdrkgepadsdopsntdlom)
tablestringYesThe name of the Supabase table to insert data into
dataanyYesThe data to insert
apiKeystringYesYour Supabase service role secret key

Output​

ParameterTypeDescription
messagestringOperation status message
resultsarrayArray of inserted records

supabase_get_row​

Get a single row from a Supabase table based on filter criteria

Input​

ParameterTypeRequiredDescription
projectIdstringYesYour Supabase project ID (e.g., jdrkgepadsdopsntdlom)
tablestringYesThe name of the Supabase table to query
filterstringYesPostgREST filter to find the specific row (e.g., "id=eq.123")
apiKeystringYesYour Supabase service role secret key

Output​

ParameterTypeDescription
messagestringOperation status message
resultsarrayArray containing the row data if found, empty array if not found

supabase_update​

Update rows in a Supabase table based on filter criteria

Input​

ParameterTypeRequiredDescription
projectIdstringYesYour Supabase project ID (e.g., jdrkgepadsdopsntdlom)
tablestringYesThe name of the Supabase table to update
filterstringYesPostgREST filter to identify rows to update (e.g., "id=eq.123")
dataobjectYesData to update in the matching rows
apiKeystringYesYour Supabase service role secret key

Output​

ParameterTypeDescription
messagestringOperation status message
resultsarrayArray of updated records

supabase_delete​

Delete rows from a Supabase table based on filter criteria

Input​

ParameterTypeRequiredDescription
projectIdstringYesYour Supabase project ID (e.g., jdrkgepadsdopsntdlom)
tablestringYesThe name of the Supabase table to delete from
filterstringYesPostgREST filter to identify rows to delete (e.g., "id=eq.123")
apiKeystringYesYour Supabase service role secret key

Output​

ParameterTypeDescription
messagestringOperation status message
resultsarrayArray of deleted records

supabase_upsert​

Insert or update data in a Supabase table (upsert operation)

Input​

ParameterTypeRequiredDescription
projectIdstringYesYour Supabase project ID (e.g., jdrkgepadsdopsntdlom)
tablestringYesThe name of the Supabase table to upsert data into
dataanyYesThe data to upsert (insert or update)
apiKeystringYesYour Supabase service role secret key

Output​

ParameterTypeDescription
messagestringOperation status message
resultsarrayArray of upserted records

Notes​

  • Category: tools
  • Type: supabase