Blocks

PlanetScale

Serverless MySQL with branching workflow

Integrate with PlanetScale MySQL to manage databases, create branches for schema changes, handle deploy requests, and scale horizontally. Features Git-like branching for databases with OAuth 2.0 authentication.

Back to Catalog
Toolsplanetscale

Block Preview

PlanetScale

Serverless MySQL with branching workflow

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Connect the required credentials or OAuth provider before running.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the planetscale block with monitoring enabled in production.

Inputs (UI)

PlanetScale Account

oauth-input

Placeholder: Select PlanetScale account

Layout: full

Provider: planetscale

Operation

dropdown

Layout: full

Options: List Databases, Get Database, Create Database, List Branches

Organization

short-input

Placeholder: Enter organization name

Layout: full

Database Name

short-input

Placeholder: Enter database name

Layout: full

Condition: operation = ["get_database","list_branches","create_branch","create_deploy_request","list_deploy_requests","get_connection_strings"]

Branch Name

short-input

Placeholder: dev, staging, feature-schema

Layout: full

Condition: operation = "create_branch"

Inputs (API)

credential

string

Required

operation

string

Required

organization

string

Optional

database

string

Optional

branchName

string

Optional

Outputs

Primary response type:

{
  "data": "json"
}

Tool Access

planetscale_api
PlanetScale | NowFlow Blocks