View as Markdown
Supabase icon

Supabase ACTION

Select Row

Selects row(s) in a database. See the docs here
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Supabase account once, then configure and run Select Row from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "supabase-select-row",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    supabase: { authProvisionId: "apn_xxxxxxx" },
    table: "Table",
    column: "Column",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Select Row inputs
Property Type Description
table Table string
Name of the table to search
Required
column Column string
Column name to search by
Optional
filter Filter string
Filter type for the query
Optional
value Value string
Value of the column specified to search for
Optional
orderBy Order By string
Column name to order by
Required
sortOrder Sort Order string
Sort ascending or descending
Optional
max Max integer
Maximum number of rows to return
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
supabase-select-row
Version
0.1.7
App
Supabase
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes