Skip to content

Start building

Integration · Payments and finance

AI agents for Mercury

Read Mercury bank account balances, transactions, statements and recipients, note and categorise transactions, and find, create and invoice receivables customers, in production or the Mercury sandbox.

Actions
13
Read
10
Write
3

Actions

What your agents can do in Mercury

13 actions. Each one is a tool your agents can call and a step your workflows can run.

Read 10

Look things up. Nothing changes.

  • Get the organization

    Reads the Mercury organization the token belongs to.

  • List accounts and balances

    Lists the organization's Mercury bank accounts (checking and savings) with balances in dollars.

  • List treasury accounts

    Lists the organization's Mercury Treasury accounts with their balances.

  • Find transactions

    Lists transactions across Mercury accounts and cards, optionally only some accounts or cards, a status, a created or posted date range, or a search over descriptions, notes.

  • Get a transaction

    Reads one Mercury transaction by ID.

  • List account statements

    Lists the monthly statements of one Mercury account, optionally between two dates.

  • List payment recipients

    Lists the people and companies the organization pays from Mercury.

  • List invoicing customers

    Lists the customers in Mercury invoicing (accounts receivable).

  • List invoices

    Lists invoices sent from Mercury invoicing, newest first.

  • Get an invoice

    Reads one Mercury invoice by ID.

Write 3

Create, change or send.

  • Note or categorise a transaction

    Sets the internal note and, optionally, the custom category of a Mercury transaction.

  • Create an invoicing customer

    Adds a customer to Mercury invoicing with a name and email, and optionally a mailing address (all of name, street, city, region, postal code and country).

  • Create an invoice

    Creates a Mercury invoice for an invoicing customer, paid into one of your Mercury checking or savings accounts, with line items.

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

API key

Paste an API key from your Mercury account.

What you enter

  • API token

Settings

  • Environment

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Mercury data

    Ask a question in plain words. The agent can get the organization, list accounts and balances or list treasury accounts in Mercury, then answers with what it found.

  • 02

    Let an agent update Mercury

    Have the agent create an invoicing customer or create an invoice in Mercury as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Mercury and Slack: it can get the organization in Mercury and post a summary to a Slack channel in the same run.

FAQ

Mercury and MyDeepAgents

Can MyDeepAgents connect to Mercury?

Yes. The Mercury connector has 13 actions: 10 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Mercury?

Paste an API key from your Mercury account. You'll need: API token. The connection also asks for: Environment. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Mercury without asking?

Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs.

Can I use Mercury in workflows as well as agents?

Yes. Every Mercury action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Mercury to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.