Back to all integrations

Automation

Lineman and Activepieces

Read spend, savings and alerts from an Activepieces flow, on cloud or self-hosted.

What this gets you

Activepieces flows can read your AI-coding spend, savings, allowance and cost alerts from Lineman, on Activepieces Cloud or a self-hosted instance. The Lineman piece is built but not yet published, so today a flow calls the Lineman API with Activepieces' built-in HTTP piece. Fourteen reports are available and every one of them is read-only, so a misconfigured flow costs you a wasted call rather than a changed budget or a dismissed alert. What a flow can see follows the role of the person whose API key it uses, not the flow itself.

What people use it for

  • Weekly spend digest

    A flow reads the spend summary and passes the figure to the next step, so nobody has to open the dashboard to find out what the week cost. The days value accepts 1 to 92 and uses 7 if you leave it out. Anything longer than 92 days is refused rather than quietly truncated, so a bigger export has to be fetched in chunks.

  • Cost alerts routed onward

    A flow reads the alerts report and passes each alert to the next step. The key has to belong to an administrator or an auditor, because the alerts report returns an error to any other key rather than narrowing to one person's figures. An alert's detail arrives as text containing JSON, so parse it before reading inside it.

  • Monthly savings for finance

    A flow reads the savings summary for a calendar month, written as YYYY-MM, and passes the figure on. Every amount comes back twice: a _usd field for display and a _micro field that is a whole number of millionths of a dollar. Add up the _micro field and convert once at the end, because summing display values across a long list drifts as the rounding accumulates.

More in Automation

Set up Activepieces

The documentation walks through connecting it, what Lineman reads and writes, and the settings worth knowing about.

Read the setup guide

Looking for something else?

Every integration in one place, searchable by name and filterable by what it does.

View all integrations