---
title: "Connect DoiT to Modern Treasury - APIANT.ai"
description: "When \"New Alert Notification\" fires in DoiT, your agent runs \"Add invoice\" in Modern Treasury."
canonical: "https://apiant.ai/connect/doit-to-modern-treasury"
---

# Connect DoiT to Modern Treasury

When **New Alert Notification** fires in [DoiT](https://apiant.ai/connections/doit), your agent runs **Add invoice** in [Modern Treasury](https://apiant.ai/connections/modern-treasury). Describe the whole flow and it is built, tested on every scenario and kept running.

DoiT **7** triggers DoiT **27** actions Modern Treasury **14** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want DoiT and Modern Treasury to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Example flows

## What DoiT can start in Modern Treasury

- When **New Alert Notification** in DoiT then **Add invoice** in Modern Treasury
- When **New Cloud Incident** in DoiT then **Add payment order** in Modern Treasury

Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.

Everything your agent can do with DoiT and Modern Treasury

## Triggers and actions 7 triggers · 41 actions

- Trigger

**Budget Threshold Surpassed**

Triggered when a budget's current spend passes one of its alert thresholds. Fires once per threshold in each budget period.

- Trigger

**New Alert Notification**

Triggers when a DoiT cost alert sends a notification (its last-alerted time advances).

- Trigger

**New Cloud Incident**

Triggered when a new cloud incident is reported for Google Cloud, Amazon Web Services or Microsoft Azure.

- Trigger

**New Cost Anomaly**

Triggers when DoiT detects a new cloud cost anomaly, newest first, optionally narrowed by service, billing account, platform or severity.

- Trigger

**New Invoice**

Triggered when a new invoice is created in your DoiT organization.

- Trigger

**New Service**

Triggers when a new cloud service (support product) becomes available in DoiT, optionally for one platform.

- Trigger

**New Service (For Doers)**

Triggers when a new support product (service) becomes available in DoiT, optionally limited to one cloud platform.

- Action

**Add alert**

Creates a cost or usage alert in DoiT Cloud Analytics that notifies email or Slack recipients when a metric crosses the threshold you set.

- Action

**Add allocation**

Creates a new DoiT allocation, either a single allocation defined by one rule or a group allocation made of several rules.

- Action

**Add annotation**

Creates a new annotation on a date in DoiT Cloud Analytics, optionally linked to reports and labels.

- Action

**Add budget**

Creates a new DoiT budget that tracks cloud spend for the selected scope against a fixed or recurring amount.

- Action

**Add comment**

Adds a comment to an existing DoiT support request and returns the new comment.

- Action

**Add label**

Creates a new label in DoiT Cloud Analytics with a name and color, ready to assign to reports, budgets and other objects.

- Action

**Add support ticket**

Creates a new DoiT support request and returns its id, status and a link to view it in the DoiT console.

- Action

**Delete alert**

Deletes an alert from your DoiT account.

- Action

**Get alert**

Returns a Cloud Analytics alert by its ID, including its name, recipients, timestamps and evaluation configuration.

- Action

**Get anomaly**

Returns one cost anomaly, including its cost impact, severity, affected service, contributing SKUs and resources, and review status.

- Action

**Get budget**

Returns a budget's configuration and its current and forecasted utilization. An error occurs if the budget is not found.

- Action

**Get invoice**

Returns the full details of an invoice by its invoice number, including status, amounts, due date and line items. A cancelled invoice or credit memo is returned with status CANCELED.

- Action

**List alerts**

Returns the alerts your DoiT account has access to, optionally filtered by owner or name and sorted.

- Action

**List allocations**

Returns the cost allocations your DoiT account has access to, optionally filtered by type, owner, name or folder.

- Action

**List annotations**

Returns the Cloud Analytics annotations your DoiT account has access to, with their content, date, associated reports and labels.

- Action

**List anomalies**

Returns the cloud cost anomalies DoiT detected, optionally filtered by time window, service, billing account, platform or severity.

- Action

**List assets**

Returns the customer's assets in DoiT, such as Google Cloud billing accounts, Workspace subscriptions and AWS accounts, optionally filtered by a filter expression.

- Action

**List budgets**

Returns the budgets your DoiT account can access, each with its amount, utilization and risk status.

- Action

**List CloudFlows**

Returns the CloudFlows in the DoiT account, with each flow's name, published state, trigger type and last run status.

- Action

**List invoices**

Returns the current and historical invoices for your organization, newest first, optionally filtered by platform, due date, status or creation time.

- Action

**List labels**

Returns the Cloud Analytics labels your DoiT account can access, optionally filtered by name or type and sorted.

- Action

**List reports**

Returns the Cloud Analytics reports your DoiT account can access, newest first, with optional filtering by name, owner, type, folder or creation time.

- Action

**Query Cloud Analytics**

Runs a one-off Cloud Analytics query with the configuration you supply and returns the result columns and rows, without saving a report.

- Action

**Run CloudFlow**

Starts a run of a published CloudFlow and returns the new run, which begins in pending status.

- Action

**Run Report**

Runs a saved Cloud Analytics report and returns its results: the column schema and the result rows, plus the report's name, owner and labels.

- Action

**Update alert**

Updates an existing DoiT alert's name, threshold settings or notification recipients. Only the values you fill in are changed.

- Action

**Update budget**

Updates an existing DoiT budget. Only the values you supply are changed; everything else on the budget is kept.

- Action

**Add counterparty**

Creates a counterparty — a person or business you send payments to or receive payments from — optionally with its bank accounts and legal entity.

- Action

**Add expected payment**

Creates an expected payment in Modern Treasury so an incoming or outgoing payment can be reconciled automatically when it arrives.

- Action

**Add external account**

Creates an external bank account for a counterparty in Modern Treasury, with its account numbers, routing details and owner information.

- Action

**Add invoice**

Creates an invoice for a counterparty, payable to one of your internal accounts.

- Action

**Add ledger transaction**

Creates a ledger transaction made of balanced debit and credit entries against your ledger accounts.

- Action

**Add payment order**

Creates a payment order that moves money between one of your internal accounts and a counterparty's or another internal account.

- Action

**Delete counterparty**

Deletes a counterparty from your Modern Treasury organization.

- Action

**Get counterparty**

Returns a single counterparty, including its accounts, contact details and metadata.

- Action

**Get invoice**

Returns a single invoice by its ID, including its amounts, status, counterparty and line-item details.

- Action

**Get ledger transaction**

Returns one ledger transaction, including its ledger entries, status and metadata.

- Action

**Get payment order**

Returns the details of a single payment order, including its amount, status, direction and accounts.

- Action

**List internal accounts**

Returns the organization's internal (bank) accounts, optionally filtered by counterparty, legal entity, currency, status or payment capability.

- Action

**Update counterparty**

Updates an existing counterparty's name, email, external ID, legal entity, metadata, remittance-advice setting or taxpayer identifier. Returns the updated counterparty.

- Action

**Update payment order**

Updates an existing payment order, for example changing its amount, description, metadata or status (such as cancelling or approving it). Returns the updated payment order.

## Each app on its own

- [ **DoiT** DoiT ensures your cloud spend generates value for your business and eliminates wasted time for your teams.](https://apiant.ai/connections/doit)
- [ **Modern Treasury** API platform for money movement and ledgering, including payment orchestration, bank connectivity, and...](https://apiant.ai/connections/modern-treasury)

Reviews

## What our customers say

## More from DoiT

- [ **DoiT to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/doit-to-hubspot)
- [ **DoiT to Salesforce** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/doit-to-salesforce)
- [ **DoiT to Slack** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/doit-to-slack)
- [ **DoiT to Google Sheets** Google Sheets is Google's online spreadsheet app for creating, editing and sharing spreadsheets.](https://apiant.ai/connect/doit-to-google-sheets)
- [ **DoiT to Gmail** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/doit-to-gmail)
- [ **DoiT to Google Calendar** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/doit-to-google-calendar)

## More into Modern Treasury

- [ **HubSpot to Modern Treasury** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/hubspot-to-modern-treasury)
- [ **Salesforce to Modern Treasury** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/salesforce-to-modern-treasury)
- [ **Slack to Modern Treasury** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-modern-treasury)
- [ **Google Sheets to Modern Treasury** Google Sheets is Google's online spreadsheet app for creating, editing and sharing spreadsheets.](https://apiant.ai/connect/google-sheets-to-modern-treasury)
- [ **Gmail to Modern Treasury** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/gmail-to-modern-treasury)
- [ **Google Calendar to Modern Treasury** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-calendar-to-modern-treasury)

Questions

## DoiT and Modern Treasury, answered

###

### What can start an automation from DoiT?

Any of DoiT's 7 triggers in the catalog, including New Alert Notification, New Cloud Incident, New Cost Anomaly and New Invoice. Describe the moment in plain language and your agent picks the right one.

###

### What can your agent do in Modern Treasury when something happens in DoiT?

Any of Modern Treasury's 14 actions, including Update counterparty, Update payment order, Add counterparty and Add expected payment. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Modern Treasury to DoiT?

Modern Treasury has no triggers in the catalog today, so automations start in DoiT. If you need the other direction, ask: your agent reads Modern Treasury's API documentation and adds it.

###

### Do I have to build a connector for DoiT or Modern Treasury?

No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.

###

### Can my AI client use DoiT and Modern Treasury without building an automation?

Yes. With your AI client connected to APIANT, ask it to do something in either app once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running. One connection covers both.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
