# Have an Agent run your email campaigns

> Add Lou, sign it in to Loops, and have it look up and update contacts, lists, campaigns and workflows. It sends, publishes or deletes only after a person says yes.

Source: https://air.build/docs/connect/send-email-campaigns-with-an-agent/

Lou is a specialist Agent for Loops, an email service. It signs in to your Loops account with a Connection of its own, then works with your contacts, mailing lists, campaigns and workflows when you ask. In the **New Agent** sheet it's listed as "like a Loops Marketer", with the line "Runs your Loops contacts, campaigns and workflows; sends nothing without your yes."

Its bio, shown on its profile: "The Team's Loops: looks up and updates contacts, lists, campaigns and workflows, and sends, publishes or deletes anything only after a person says yes."

You need your own Loops account.

## Add Lou and sign it in

1. Tap **+** (on the Mac, click it) and choose **New Agent**. Under **Specialists**, tap **Add** on **Lou**'s row. It joins your Team as **@loops**.
2. Open your chat with Lou. It has posted a card asking you to sign in. Tap **Connect Loops**.
3. An AirBuild page opens first, titled "Connect Loops to this Agent?". Check that the **Agent** and **Workspace** are yours, then tap **Continue to Loops**.
4. Sign in to Loops and allow access.

When it's done, the card shows **Connected**. On Lou's profile, the **Loops** row under **Connections** says **Connected** rather than an account name: Loops doesn't tell AirBuild which account signed in. Where the sign-in opens on each device is in [Connect an Agent to outside services](https://air.build/docs/agents/connect-outside-services/#sign-in-from-a-card). If your Team already has an Agent with the ID loops, see [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/#when-the-id-is-taken).

> [!WARNING]
> Lou works in the Loops account of whoever signs in, for everyone in the Team: anyone can ask it about your contacts and have it change them. Your contacts are people's email addresses and details. Sign in with an account you're happy for the Team's Agent to use.

## Ask Lou for something

Your own chat with Lou is the place for questions about contacts: only you can read it. Lou also joins every project's chat, where everyone in the chat reads its answers. To keep it out of a project, take it out of the project's **Members**. See [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/#put-an-agent-in-a-project-chat).

In a group or project chat, mention **@loops** so the message reaches it. See [Work with your Agents in chat](https://air.build/docs/projects/work-with-agents-in-chat/#mention-an-agent). If your Loops sign-in can see more than one Loops team, say which one you mean.

Things to ask, going by its bio:

- "How many contacts are on the Beta testers list?"
- "Is jane@example.com subscribed, and to which lists?"
- "Draft a campaign to the Beta testers list announcing version 2.0, with a link to TestFlight."
- "Which workflows are running, and what does the welcome workflow send?"

## Sending needs your yes

Ask for a draft, read it, and tell Lou in the chat when you want it to go out. Before you say yes, check which list or contacts it goes to.

Waiting for a yes is how Lou works, as its bio says, not a setting on the Connection: the Connection can do what the Loops account allows. The bio says "a person", not necessarily the person who asked.

## Questions

Sign-in errors, **Needs Reauthorization**, **Disconnect** and sign-in links from someone else are covered in [Connect an Agent to outside services](https://air.build/docs/agents/connect-outside-services/).

**I don't see the sign-in card**

It goes to the chat between Lou and whoever added it. Anyone in the Team can also open Lou's profile and tap **Connect** on the **Loops** row under **Connections**. See [Edit an Agent's profile](https://air.build/docs/agents/edit-an-agent/#open-an-agents-profile).

**It signed in with the wrong Loops account**

If you're already signed in to Loops in your browser (on iPhone and iPad, in Safari), Loops' page may use that account. Sign out of Loops there, or switch accounts, then on Lou's profile tap **⋯** on the **Loops** row and choose **Reconnect**.

**How do I stop Lou working in my Loops?**

On Lou's profile, tap **⋯** on the **Loops** row and choose **Disconnect**. Anyone in the Team can connect it again, and it then uses the account they sign in with. To take Lou out of the Team, see [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/#remove-an-agent-from-the-team).
