Skip to content
api logo

Loops API and SDK Skill

api

Use this skill whenever the user wants to integrate Loops from application code, backend services, webhook handlers, or server-side automation. This includes the Loops HTTP API and official SDKs for server-side contact, contact-property, mailing-list, event, API-key-validation, transactional-email, content editing (campaigns, campaign groups, transactional groups, audience segments, email messages, themes, and components), and workflow inspection. Trigger on phrases like "Loops API", "Loops SDK", "create a campaign via API", "update email message LMX", "send a Loops event from my app", "add a contact to Loops in a webhook", "send a transactional email from backend code", or any time the user wants to integrate Loops into their app, backend, webhook, or automation. Do not trigger for CLI or shell-only requests.

loops-so/skills141installs12starsBackend & APIs

SKILL.md

Full skill instructions

Loops API and SDK Skill

This skill helps with Loops implementation workflows from application code. Use it for backend integrations, exact request guidance, and SDK or HTTP decisions.

When To Use

Use this skill when the user needs to:

  • integrate Loops into an app, backend, webhook, or automation
  • decide between official SDKs and raw HTTP
  • manage contacts, contact properties, mailing lists, events, or transactional email
  • send transactional emails or create, edit, and publish transactional email templates via API
  • manage contact suppression status/​removal
  • create draft campaigns with audience targeting (mailing list, segment, or filter), groups, and scheduling
  • organize campaigns and transactional emails into groups
  • list audience segments for campaign targeting
  • update email-message content (subject, sender, CC/​BCC, format, fallbacks, LMX) and send previews
  • list/​get themes and components to build LMX payloads
  • upload images for email content
  • list workflows and inspect workflow graphs and node details from code
  • validate credentials or troubleshoot Loops request behavior from code

This skill is for implementation and operational usage, not broad email strategy or deliverability review.

Working Style

When this skill is active:

  1. Choose the right interface first: SDK or raw HTTP.
  2. Prefer official SDKs for application code when the language has one.
  3. Prefer raw HTTP only when no SDK is available or the user needs exact payload control.
  4. Keep Loops requests server-side.
  5. Verify exact behavior against the official docs or OpenAPI spec when details matter.
  6. For LMX email design or brand work, use the theme/​component endpoints in references/​http-api.md; the LMX design policy lives in the loops-lmx skill.
  7. If the task is primarily about Loops CLI install, auth, shell usage, or command help, use the separate loops-cli skill.

Official references:

  • Docs: https://loops.so/​docs
  • API reference: https://loops.so/​docs/​api-reference/​intro
  • Campaign examples: https://loops.so/​docs/​api-reference/​examples/​campaigns
  • JavaScript SDK: https://loops.so/​docs/​sdks/​javascript
  • OpenAPI spec: https://app.loops.so/​openapi.json

Choose The Interface

  • SDK or HTTP API:
    • application code
    • backend services
    • webhook handlers
    • repeatable integrations Read references/​http-api.md

If the user is working from the terminal instead of writing application code, use the loops-cli skill.

Category Routing

  • Auth, base URL, rate limits, contacts, suppression, properties, lists, events, uploads, SDK examples, and HTTP errors: Read references/​http-api.md
  • Campaigns, campaign groups, transactional groups, audience segments, workflows, transactional emails, email messages, themes, components, and revision-safe email-message updates: Read references/​http-api.md. For LMX markup itself, also use the loops-lmx skill.

Output Checklist

Aim to leave the user with:

  • the right API interface choice for the task
  • exact payload shapes or SDK usage
  • any Loops-specific caveats that affect behavior
  • the next validation step, such as a small test request or API-key check

More Backend & APIs skills

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

2.7K 431.1K
View
prisma-database-setup logo
Backend & APIs

prisma-database-setup

Step-by-step configuration guides for Prisma ORM across PostgreSQL, MySQL, SQLite, MongoDB, SQL Server, CockroachDB, and Prisma Postgres.

67 336.1K
View
prisma-client-api logo
Backend & APIs

prisma-client-api

Complete Prisma Client API reference for model queries, CRUD operations, filtering, relations, and transactions.

67 336.1K
View
prisma-cli logo
Backend & APIs

prisma-cli

Complete reference for Prisma CLI commands, options, and workflows across setup, migrations, and database operations.

67 333.6K
View
supabase logo
Backend & APIs

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View
neon-postgres logo
Backend & APIs

neon-postgres

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View
firebase-auth-basics logo
Backend & APIs

firebase-auth-basics

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View