Skip to content

Start building

Integration · Marketing

AI agents for Lob

Send real postcards and letters by mail and verify US addresses with Lob.

Actions
10
Read
6
Write
4

Actions

What your agents can do in Lob

Send real postcards and letters by mail and verify US addresses with Lob: check that an address is deliverable, mail a postcard or letter from HTML, a template or a PDF link, follow its USPS tracking, and cancel a scheduled piece before it prints.

Read 6

Look things up. Nothing changes.

  • Verify a US address

    Checks a US or US-territory address against USPS data and returns it corrected and standardized, with deliverability.

  • List saved addresses

    Lists the addresses saved in the Lob account, newest first, each with its id (adr_…), name, company and address lines.

  • Get a postcard

    Reads one postcard by its ID (psc_…): addresses, proof url, send_date, expected_delivery_date and its USPS tracking_events.

  • Get a letter

    Reads one letter by its ID (ltr_…): addresses, proof url, send_date, expected_delivery_date, tracking_number for certified mail and its USPS tracking_events, oldest first.

  • List postcards

    Lists postcards, newest first, optionally only scheduled ones or those of one send date, with each one's id, addresses, send_date and expected_delivery_date.

  • List letters

    Lists letters, newest first, optionally only scheduled ones, with each one's id, addresses, send_date and expected_delivery_date.

Write 4

Create, change or send.

  • Send a postcard

    Prints and mails a postcard through USPS.

  • Send a letter

    Prints a letter, puts it in an envelope and mails it through USPS.

  • Cancel a postcardDeletes data

    Cancels a scheduled postcard before its send_date, so it is not printed, mailed or charged.

  • Cancel a letterDeletes data

    Cancels a scheduled letter before its send_date, so it is not printed, mailed or charged.

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. Actions that delete data ask first by default.

Connection

How it connects

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

Username and key

Enter the API credentials from your Lob account.

What you enter

  • API key

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 Lob data

    Ask a question in plain words. The agent can verify a US address, list saved addresses or get a postcard in Lob, then answers with what it found.

  • 02

    Let an agent update Lob

    Have the agent send a postcard or send a letter in Lob 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 Lob and Slack: it can verify a US address in Lob and post a summary to a Slack channel in the same run.

FAQ

Lob and MyDeepAgents

Can MyDeepAgents connect to Lob?

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

How do I connect Lob?

Enter the API credentials from your Lob account. You'll need: API key. 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 Lob without asking?

Only if you let it. Each of the 4 actions that change data can be set to wait for a person's approval before it runs, and the 2 that delete data ask first by default.

Can I use Lob in workflows as well as agents?

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

Early access

Put Lob to work

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