Automate your backend on a canvas

Start workflows from a webhook, email or data change, then chain AI agents, HTTP calls, code and conditions.

Triggers, steps and a record of every run

Three ways to start

A webhook that queues the run and answers right away, an IMAP mailbox that Blocks checks for new mail, or an insert, update or delete on a Data collection.

Steps that reach your stack

HTTP requests with Blocks auth or client credentials, email from your Blocks templates, and reads and writes on your Data schemas.

An AI agent as a step

Hand a step to one of your Blocks agents and pass its answer to the next node.

Code and conditions

Run sandboxed JavaScript where the nodes stop, branch with If nodes on strings, numbers, dates, arrays and booleans, and use {{ }} expressions to read earlier outputs.

Versions and run history

Publish a version when it's ready and keep editing a draft. Every run keeps the input and output of each node, and workflows can be exported and imported.

Build it on the canvas, start it from anywhere

Logic is set up in the console. Your app, or any other service, starts a workflow by posting JSON to its webhook URL.

  1. Pick a trigger

    Add a webhook, email or data trigger. Turn on webhook authentication when the caller should prove who it is.

  2. Chain the steps

    Connect HTTP, email, AI agent, code, If and data nodes, and pass values between them with expressions.

  3. Publish and watch runs

    Publish the workflow, then open any run to see what each node received and returned.

{
  "orderId": "A-1042",
  "email": "jane@example.com",
  "total": 129.5
}

Connects to

  • Webhooks
  • IMAP mailboxes
  • Any HTTP API
  • Blocks email templates
  • Blocks Agents
  • Blocks Data

Questions about Logic

How does my app start a workflow?

It sends a POST with a JSON body to the workflow's webhook URL. Blocks queues the run and answers 200 straight away, so your app doesn't wait for the workflow to finish.

Can a workflow use AI?

Yes. The AI Agent node runs one of your Blocks agents with input from earlier steps and passes the answer on.

Which language does the Code node run?

JavaScript, in a sandbox without file system or network access. Use the HTTP Request node for network calls.

Is there a CLI or SDK for Logic?

No. Workflows are built and published in the console, and apps start them through webhooks.

Start with a free project

Sign up at os.seliseblocks.com and create a project, or paste one prompt into Claude Code, Codex or Cursor and let your agent set it up through the Blocks CLI.