Workflow automation

Automations that can read, decide and act.

Rules-based automation breaks on the first exception. Cairn workflows pair the steps you define with agents that handle the judgment calls — and pause for a person when they should.

Lumenpay

/

Workflows / Refund handling

Search runs, agents…

⌘K

RN

JW

WORKSPACE

Home

Agents

Workflows

Runs

Approvals

3

Evals

Analytics

Integrations

AGENTS

Support Resolver

live

Ticket Triage

live

Refund QA

shadow

Refund handling

Published · v7

100%

Test

Publish

TRIGGER

Ticket tagged refund

AGENT

Support Resolver

CONDITION

Amount over $150?

YES

APPROVAL

Ask #finance-ops

NO

ACTION

Issue refund

RESULT

Reply and solve ticket

Condition

FIELD

refund.amount

OPERATOR

is greater than

VALUE

$150.00

IF TRUE

Request approval

IF FALSE

Issue refund

Notify on escalation

Lumenpay

RN

JW

Refund handling

Published · v7

Publish

TRIGGER

Ticket tagged refund

AGENT

Support Resolver

CONDITION

Amount over $150?

YES

NO

ACTION

Issue refund

RESULT

Reply and solve ticket

01 — ANATOMY OF A RUN

Six steps, one trail you can audit.

Every workflow run follows the same shape. You decide which steps are fixed, which are left to the agent and where a person signs off.

01

Trigger

A ticket, email, record change, webhook or schedule starts the run with its payload attached.

02

Agent

The assigned agent reads the input, loads its instructions and plans the steps it needs.

03

Research

It gathers context from your tools and knowledge — orders, accounts, policies, past tickets.

04

Decision

It decides what to do and records why, with the evidence and a confidence score.

05

Action

It acts through scoped tools, or pauses for approval when a threshold says it should.

06

Result

The outcome is posted back to your tools, and the full trace is saved for review and evals.

RUN #48213 · SUPPORT RESOLVER

RESOLVED

TRIGGER

Zendesk ticket #48213

0.0s

AGENT

Support Resolver v14 picks it up

0.2s

RESEARCH

Checks the order and delivery

1.2s

DECISION

Eligible for a refund

0.4s

ACTION

Refund issued in Stripe

1.6s

RESULT

Ticket solved, customer replied

41.2s end to end · trace saved for audit

0.7s

Elapsed

41.2s / 6 steps

02

/

Building blocks

Deterministic where it matters. Flexible where it helps.

Mix fixed steps with agent steps in the same workflow, and change either without redeploying anything.

02

/

Building blocks

Deterministic where it matters. Flexible where it helps.

Mix fixed steps with agent steps in the same workflow, and change either without redeploying anything.

Triggers

App events, webhooks, inbound email, form submissions and schedules — with filters before a run starts.

Triggers

App events, webhooks, inbound email, form submissions and schedules — with filters before a run starts.

Logic

Branches, loops, delays and conditions on any field the run has collected so far.

Logic

Branches, loops, delays and conditions on any field the run has collected so far.

Agent steps

Hand a step to an agent with instructions, tools and a schema for the answer you expect back.

Agent steps

Hand a step to an agent with instructions, tools and a schema for the answer you expect back.

Actions

Write back to 120+ apps with scoped credentials, or call any API with a custom tool.

Actions

Write back to 120+ apps with scoped credentials, or call any API with a custom tool.

People

Ask for approval or input in Slack, Teams or email and resume when someone responds.

People

Ask for approval or input in Slack, Teams or email and resume when someone responds.

Guardrails

Limits, approval thresholds and fallbacks that apply to every run, whoever built the workflow.

Guardrails

Limits, approval thresholds and fallbacks that apply to every run, whoever built the workflow.

03

/

Why agents

Rules handle the expected. Agents handle the rest.

Keep the deterministic steps you trust, and let agents take the exceptions that used to land in someone’s inbox.

03

/

Why agents

Rules handle the expected. Agents handle the rest.

Keep the deterministic steps you trust, and let agents take the exceptions that used to land in someone’s inbox.

CAPABILITY

CAPABILITY

RULES-BASED AUTOMATION

CAIRN WORKFLOWS

Reads emails, tickets, PDFs and chat

Reads emails, tickets, PDFs and chat

No

Yes

Makes judgment calls and records the evidence

Makes judgment calls and records the evidence

No

Yes

Explains every decision in plain language

Explains every decision in plain language

No

Yes

Pauses mid-run for approval and resumes

Pauses mid-run for approval and resumes

No

Yes

Runs deterministic steps exactly as defined

Runs deterministic steps exactly as defined

Yes

Yes

Recovers from API failures without duplicate work

Recovers from API failures without duplicate work

No

Yes

04

/

Templates

Start from a workflow that already runs in production.

04

/

Templates

Start from a workflow that already runs in production.

Start building

Automate the work your rules can’t reach.

Start from a template or a blank canvas, run it in shadow mode against real work and switch on autonomy when you trust the results.

Free 14-day trial · No credit card · SOC 2 Type II

Start building

Automate the work your rules can’t reach.

Start from a template or a blank canvas, run it in shadow mode against real work and switch on autonomy when you trust the results.

Free 14-day trial · No credit card · SOC 2 Type II

Create a free website with Framer, the website builder loved by startups, designers and agencies.