Lago
Manage Lago customers, subscriptions, invoices, usage event ingestion, and open-source billing lifecycle actions.
Tools
| Name | Description |
|---|---|
list_customersList Lago customers with bounded pagination. | List Lago customers with bounded pagination. |
get_customerGet a Lago customer by external customer ID. | Get a Lago customer by external customer ID. |
upsert_customerCreate or update a Lago customer by external customer ID. | Create or update a Lago customer by external customer ID. |
delete_customerDelete a Lago customer by external customer ID. | Delete a Lago customer by external customer ID. |
list_subscriptionsList Lago subscriptions with optional external customer filter. | List Lago subscriptions with optional external customer filter. |
create_subscriptionCreate a Lago subscription for an existing customer and plan. | Create a Lago subscription for an existing customer and plan. |
terminate_subscriptionTerminate a Lago subscription by external subscription ID. | Terminate a Lago subscription by external subscription ID. |
list_invoicesList Lago invoices for reconciliation without exporting all account history by default. | List Lago invoices for reconciliation without exporting all account history by default. |
ingest_usage_eventSend a metering event to Lago with an idempotent transaction ID. | Send a metering event to Lago with an idempotent transaction ID. |
Triggers
| Name | Description |
|---|---|
new_invoicePoll Lago invoices after the trigger is enabled. | Poll Lago invoices after the trigger is enabled. |
Quick Start
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.