Expense Approval Chain

Team offsite travel

$1,240.00

  • Smiling man in a floral shirt

    Leonard Cohen

    Team lead

    ReviewingApproved
  • Woman holding a coffee cup

    Joni Mitchell

    Budget owner

    ReviewingApproved
  • Laughing woman in a white top

    Aretha Franklin

    Finance

    ReviewingPaid outApprove
About this piece

Expense Approval Chain

An expense moves through three approvers in turn. Each one reviews and signs off with a soft check, then a labeled cursor clicks Approve on the last step and it closes on paid out before the chain starts over.

Usage

The import and the props worth knowing about, in one place.

import { Automation22 } from "@/components/beste/piece/automation22";

<Automation22
  title="Team offsite travel"
  amount="$1,240.00"
  approvers={[
    {
      "name": "Leonard Cohen",
      "role": "Team lead",
      "avatar": {
        "src": "https://images.unsplash.com/photo-1656337789708-cdf37b07112d?q=80&w=200&h=200&auto=format&fit=crop",
        "alt": "Smiling man in a floral shirt"
      },
      "doneLabel": "Approved"
    },
    {
      "name": "Joni Mitchell",
      "role": "Budget owner",
      "avatar": {
        "src": "https://images.unsplash.com/photo-1605993439219-9d09d2020fa5?q=80&w=200&h=200&auto=format&fit=crop",
        "alt": "Woman holding a coffee cup"
      },
      "doneLabel": "Approved"
    },
    {
      "name": "Aretha Franklin",
      "role": "Finance",
      "avatar": {
        "src": "https://images.unsplash.com/photo-1578412004177-21321e29f735?q=80&w=200&h=200&auto=format&fit=crop",
        "alt": "Laughing woman in a white top"
      },
      "doneLabel": "Paid out"
    }
  ]}
  activeLabel="Reviewing"
  approveLabel="Approve"
  cursorLabel="Aretha"
  framed={true}
  stepMs={900}
/>

More Automation pieces

View all Automation
Send refund to Atlas LabsNils Frahm
$2,840.00
Webhook
Filter
Enrich
Notify
Home routine learned
Tariff imported
Reading 7-day weather
Wait 15 minutesThen continue to the next step

Reorder run

Waiting for a triggerRunningDone in 2.4s

Stock checked

18 units left in Bay 4

Purchase order sent

200 units from Northwind

Warehouse told

Posted in #floor

For each item
3 / 28