Agents

Email for agents

Give Claude Code, Codex, Cursor and your own agents the tools to install Loops, migrate your stack, send events, and test transactional email.

Read the quickstart
CodexClaude CodeCursorAny compatible client

Example workflows

What it looks like in practice

Install Loops

Install Loops in my Next.js app

Detected Next.js. I installed the JavaScript SDK, wired LOOPS_API_KEY from .env, set up a contact sync route with a transactional send example, and wrote you a testing checklist.

Migrate your stack

Audit my email setup and map it to Loops

I scanned your codebase and found every send, template, and webhook. Each one maps to a Loops equivalent, so I swapped the API calls and rebuilt your templates in LMX through the content API.

Send events

Send a cancellation event into Loops

Your Stripe webhook handler now calls the Loops events API when a subscription is canceled. I set the event name, mapped plan, reason, and date, and created the contact properties it needs.

Draft campaigns

Draft a product update campaign

I wrote the email in LMX and created a draft campaign with the subject, sender, and full content in one content API request. Tell me what to change and I'll revise the copy.

Test transactional email

Test this transactional email from the terminal

Sent a test through the CLI with your transactional ID and sample data variables. The send came back confirmed, so check your inbox for the rendered email.

Build and run email workflows with agents

Build and run email workflows with agents

The API, CLI, and SDKs are ready today.