WORKFLOW ENGINE

Connect your tools into systems that run themselves

Flows is a serverless workflow engine that lets you write code in Python or JavaScript, deploy it with a single API call, and trigger it from anywhere. Every flow runs in an isolated container, scales automatically, and tracks its own analytics. No infrastructure to manage. No servers to babysit. Just code that runs when you need it to.

WHAT FLOWS CAN DO

Multi-Language Runtime

Write flows in Python or JavaScript. Each runs in its own isolated container with full dependency support.

Version Control Built In

Every deploy creates a new version. Roll back instantly. Compare versions side by side.

Flexible Triggers

Start flows from an API call, a webhook, a schedule, or let an AI agent decide when.

Sync or Async

Get results immediately or fire and forget. Async flows deliver results when ready. You choose the mode per execution.

Encrypted Secrets

Store API keys and credentials per-user. AES-encrypted at rest, decrypted only at runtime inside the sandbox.

Built-in Analytics

Success rates, p50/p95 duration, execution counts. Per-flow and platform-wide dashboards.

HOW IT WORKS

01

Write your flow

Python or JavaScript. Import any library. Use your own packages.

02

Deploy

One API call. Automatic versioning. Zero downtime.

03

Trigger

API, webhook, schedule, or let an agent decide.

04

Monitor

Execution logs, analytics, error tracking. All built in.

Create a Flowpython
from masonry import flows
flow = flows.deploy(
name="onboard-customer",
language="python",
entrypoint="main",
source=open("onboard.py").read()
)
print(flow.version) # v3
Execute Itpython
result = flows.run(
flow_id=flow.id,
input={"customer": "Acme Inc"},
mode="sync"
)
print(result.status) # "success"
print(result.duration) # 1.2s

MARKETPLACE

Build once. Sell everywhere.

Package your flows and blocks as products. Sell them on the Masonry Marketplace with Stripe Connect payouts. Set your own pricing. Buyers get one-click installs.

Custom BlockTypes
Stripe Connect Payouts
Typed Inputs & Outputs

WORKS WITH

PythonJavaScriptStripeWebhooksREST APIMCP

Start building flows.

Deploy your first workflow in minutes. No credit card required.