opencode

Connect OpenCode to Notion and Supabase

Give OpenCode both Notion and Supabase and it can turn your workspace records into real user-account actions. Notion is where the team tracks people and requests, and Supabase is where the accounts actually live. The agent reads a database item, creates or updates the matching Supabase user, sends a reset or magic link, and writes the outcome back onto the Notion page. Onboarding and offboarding stop being two disconnected checklists.

Loading preview…
Opens a workflow with 53 tools ready to use.

Tools OpenCode gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

Notion

19 tools
Search Pages and Databases

Search pages and databases by title

Query Notion Database

Query a database to retrieve pages

Fetch Database Metadata

Retrieve a database's metadata and schema

Create Page Database

Create a new database as a child of a page

Update Database Metadata

Update a database's title, description, or properties

Fetch Page Properties

Retrieve a page's properties

Create Notion Page

Create a new page in a database or as a child of another page

Update Page Properties

Update a page's properties, icon, or cover

Fetch Notion Block

Retrieve a block

Fetch Block Children

Retrieve a block's children

Append Children to Block

Append new children blocks to a parent block

Update Block Content

Update a block's content

Delete Notion Block

Delete (archive) a block

List Workspace Users

List all users in the workspace

Fetch Workspace User

Retrieve a user by ID

Fetch Bot Integration User

Retrieve the bot user for the current integration

Create Page Comment

Create a comment on a page or in an existing discussion thread

Fetch Page Comment

Retrieve a comment by its ID

List Block Comments

List comments on a block or page

Supabase

34 tools
Select Table Rows

Select/query rows from a table with filtering, ordering, and pagination

Insert Table Rows

Insert one or more rows into a table

Update Table Rows

Update rows matching filter conditions

Delete Table Rows

Delete rows matching filter conditions

Upsert Table Rows

Insert rows or update if they already exist (based on primary key or unique constraint)

Call Database Function

Call a database function (RPC)

Sign Up User

Sign up a new user with email and password

Sign in with Password

Sign in with email and password

Send Magic Link Signin

Send a magic link to user's email for passwordless signin

Sign Out User

Sign out the current user (requires user's access token)

Get Current User

Get current user details (requires user's access token)

Update Current User

Update current user's email, password, or metadata

Send Password Reset Email

Send password reset email to user

Verify Otp Code

Verify OTP code sent via email or SMS

Refresh Access Token

Refresh an expired access token using refresh token

Admin List Users

List all users (requires service_role API key)

Admin Create User

Create a new user (admin operation, requires service_role API key)

Admin Delete User

Delete a user by ID (admin operation, requires service_role API key)

Admin Update User

Update a user by ID (admin operation, requires service_role API key)

Create Storage Bucket

Create a new storage bucket

List Storage Buckets

List all storage buckets

Get Storage Bucket

Get bucket details

Delete Storage Bucket

Delete a storage bucket

Empty Storage Bucket

Empty a storage bucket (delete all files)

Upload Storage File

Upload a file to storage

Download Storage File

Download a file from storage

List Bucket Files

List files in a storage bucket folder

Delete Storage File

Delete a file from storage

Move Storage File

Move a file within or between buckets

Copy Storage File

Copy a file within or between buckets

Create File Signed Url

Create a signed URL for temporary file access

Get File Public Url

Get public URL for a file in a public bucket

Broadcast Realtime Message

Send broadcast messages to a Realtime channel

Invoke Edge Function

Invoke a Supabase Edge Function

What you can build

When a new-hire row appears in a Notion database, create the matching Supabase user and comment the confirmation on the page.
Pull your Supabase user list with Admin List Users and write the roster into a Notion database.
When a Notion item flags a locked-out person, send a Supabase password reset email and note the action on the page.
When a Notion offboarding item is checked off, delete the user in Supabase and append the action to the audit page.

About OpenCode

OpenCode is an open, model-agnostic command-line coding agent. In NoClick it runs hosted and gains your apps as tools, so it can act on real systems rather than just edit files. Wire an integration into the agent and OpenCode can use that app’s operations directly while it works. It is a flexible choice when you want an open agent with broad model support and real tool access.

Open and model-agnostic
Flexible across many underlying models
Good general-purpose tool use
Lightweight to point at a focused task

Frequently asked questions

Open your OpenCode agent in one click

NoClick runs OpenCode for you with Notion and Supabase wired in as tools. Connect your account and run.