251
All tools
LoopsL

by Loops

Create an audience segment

Saves a named segment of the contacts that match an audience filter, for targeting campaigns and filtering workflows.

Updated Sep 27, 2026

create-audience-segment.md

Create an audience segment

Saves a named segment of the contacts that match an audience filter, for targeting campaigns and filtering workflows.

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 with POST /v1/audience-segments.

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

Note: Every operation runs through three tools: search finds it, describe shows its inputs, execute runs it.

CLI (official)

Install the command, then confirm it runs.

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

Run loops audience-segments create.

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

API (official)

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
  • Never print API keys.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remoteexecuteOAuthDocs
CLIOfficialloops audience-segments createAPI key in $LOOPS_API_KEYDocs
APIOfficialPOST /v1/audience-segmentsAPI key in $LOOPS_API_KEYDocs

Workflows using Create an audience segment

No workflows yet
No published workflow uses Create an audience segment yet.