All tools
LoopsL

by Loops

Create a campaign

Creates a draft marketing campaign with an empty email message, optionally aimed at a mailing list, segment or filter and scheduled.

View on GitHub
Updated Sep 27, 2026Available asMCPCLIAPI

Description

Write the email's subject, sender, preview text and LMX content through the returned `emailMessageId` (`loops email-messages update` on the CLI). `scheduling` (`--schedule-at` or `--schedule-now`) sets when the campaign sends once it is published. On the MCP server, `search`, `describe` and `execute` find, inspect and run this operation.

create-campaign.md

Create a campaign

Creates a draft marketing campaign with an empty email message, optionally aimed at a mailing list, segment or filter and scheduled.

Write the email's subject, sender, preview text and LMX content through the returned emailMessageId (loops email-messages update on the CLI). scheduling (--schedule-at or --schedule-now) sets when the campaign sends once it is published. On the MCP server, search, describe and execute find, inspect and run this operation.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "loops": { "url": "https://mcp.loops.so" } } }

Call the MCP tool execute.

Server URL: https://mcp.loops.so

CLI (official)

Install the command, then confirm it runs.

brew install loops-so/tap/loops
loops --version

Run loops campaigns create.

Set $LOOPS_API_KEY in your environment first (get a key: https://app.loops.so/settings?page=api).

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remoteexecuteOAuthDocs
CLIOfficialloops campaigns createAPI key in $LOOPS_API_KEYDocs
APIOfficialPOST /v1/campaignsAPI key in $LOOPS_API_KEYDocs

Workflows using Create a campaign

No workflows yet
No published workflow uses Create a campaign yet.