Weavz
Lago

Lago

Manage Lago customers, subscriptions, invoices, usage event ingestion, and open-source billing lifecycle actions.

9 tools
1 trigger

Tools

Name
list_customers

List Lago customers with bounded pagination.

get_customer

Get a Lago customer by external customer ID.

upsert_customer

Create or update a Lago customer by external customer ID.

delete_customer

Delete a Lago customer by external customer ID.

list_subscriptions

List Lago subscriptions with optional external customer filter.

create_subscription

Create a Lago subscription for an existing customer and plan.

terminate_subscription

Terminate a Lago subscription by external subscription ID.

list_invoices

List Lago invoices for reconciliation without exporting all account history by default.

ingest_usage_event

Send a metering event to Lago with an idempotent transaction ID.

Triggers

Name
new_invoice

Poll Lago invoices after the trigger is enabled.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('lago', 'list_customers', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'lago',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Lago to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Lago support?

Lago supports 9 tools including List Customers, Get Customer, Upsert Customer, Delete Customer, List Subscriptions, and more.

Can I use Lago with AI agents?

Yes. Add Lago to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

Can Lago be used in stateful agent workflows?

Yes. Agents can combine Lago tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Lago use?

Lago uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Lago integration cost?

The Lago integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Lago support?

Lago supports 1 triggers including New Invoice.

Connect Lago in minutes

Get 20,000 free action executions every month. No credit card required.