Workflows

Automation with
an LLM inside.

A visual flow builder where any node can be a database read, an HTTP call, or an LLM step with tool access. Trigger on any event in your store, branch on any field, run in milliseconds. Replaces Zapier, Klaviyo Flows, and most of n8n — and unlike them, the LLM can write the flow for you.

create-product.tswebhook-handler.tsmcp-tool.ts
"hl-k">import { Mercentia } "hl-k">from '@mercentia/sdk'

"hl-k">const sf = "hl-k">new Mercentia({ apiKey: "hl-k">process.env.SF_KEY })

"hl-k">const product = "hl-k">await sf.products.create({
  title: 'Single-origin · Ethiopia Yirgacheffe',
  vendor: 'Ember Roastery',
  variants: [
    { sku: 'EMB-ETH-12OZ', price: 22.00, weight: 0.34 },
    { sku: 'EMB-ETH-2LB',  price: 60.00, weight: 0.91 },
  ],
  tags: ['single-origin', 'light-roast'],
})

"hl-k">console.log(product.id) "hl-c">// "prd_2WJ..."

Visual flow builder

Drag nodes, connect arrows. Triggers, branches, delays, parallel paths, LLM steps. No code, full power.

LLM steps with tools

Drop in an LLM node. It can call your tools (search products, refund order, send email) on confirmation.

AI writes the workflow

Describe the outcome in English. The agent assembles the nodes, you review the diagram before saving.

How it works

From signed up to shipping in minutes.

  1. 01

    Pick a trigger

    Order placed, product back in stock, customer joins segment, chargeback raised, abandoned cart — anything.

  2. 02

    Add steps

    Read data, branch on conditions, call an external API, prompt an LLM, send via any channel. Test in-line.

  3. 03

    Ship and watch

    Every run is logged with full input/output diff. Replay failures with one click. Cost tracked per workflow.

In the box

Everything you'd expect, nothing you'd have to bolt on.

  • Visual flow builder with live diagram
  • Triggers on any store event (50+ event types)
  • Branches, delays, parallel paths, retries
  • HTTP nodes with auth presets (Slack, Notion, Stripe…)
  • LLM nodes with tool-call protocol
  • Describe in English → generated flow draft
  • In-line test with sample data
  • Per-run log with input/output + diff
  • One-click replay of failed runs
  • Cost tracking per workflow per month
  • Version history with rollback
  • Templates for common flows (refund, restock, win-back)

Stop paying Zapier per task.

Mercentia workflows run on your data, with no per-task pricing. Unlimited runs on every plan above Starter.