Automated summary
Wires up the Loops REST API to send transactional emails, track triggering events, and manage contacts for a SaaS product.
Strengths
- Provides ready-to-use fetch calls for the transactional, events/send, and contacts/update endpoints
- Covers the three core Loops building blocks: transactional sending, event-based automations, and contact management
- Keeps the API key in an environment variable and stays framework-agnostic
- Notes when Resend (transactional only) is a better fit than Loops (full marketing)
Limitations
- Doesn't explain how to create templates or transactional IDs, which are configured in the Loops dashboard
- Doesn't address error handling, retries, or API rate limits
- No coverage of webhooks, unsubscribe handling, or GDPR/CAN-SPAM compliance
When you need to quickly hook transactional emails or event-triggered Loops sequences into a SaaS application.
If you only need basic transactional sending, where a service like Resend is simpler.
Security analysis
SafeThe skill is documentation-only and contains code examples that call the legitimate Loops REST API using an environment variable for authentication. It does not instruct destructive commands, exfiltrate secrets, decode obfuscated payloads, or disable safety mechanisms. The only meaningful capability is sending email via a third-party service, which is consistent with the stated purpose.
No concerns found
How this analysis is madeExamples
Add a Loops transactional welcome email that fires after a user signs up, passing their first name and plan name as data variables.Track a plan_upgraded event in Loops with the plan and MRR properties so our upgrade email sequence triggers automatically.Create or update Loops contacts whenever a user changes plan, using the user group to segment pro users.name: loops description: >- Send marketing and transactional emails with Loops. Use when a user asks to set up email marketing for a SaaS, create drip campaigns, send product update emails, or use a modern alternative to Mailchimp for startups. license: Apache-2.0 compatibility: 'Any platform via REST API' metadata: author: terminal-skills version: 1.0.0 category: business tags: - loops - email - marketing - saas - campaigns
Loops
Overview
Loops is email marketing built for SaaS. Clean UI, event-based automations, transactional emails, and marketing campaigns. Designed as a modern Mailchimp alternative for startups and product teams.
Instructions
Step 1: Transactional Email
// lib/loops.ts — Send transactional email via Loops API
export async function sendTransactional(
email: string,
transactionalId: string,
data: Record<string, string>
) {
await fetch('https://app.loops.so/api/v1/transactional', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${process.env.LOOPS_API_KEY}`,
},
body: JSON.stringify({
email,
transactionalId, // template ID from Loops dashboard
dataVariables: data,
}),
})
}
// Usage: send welcome email
await sendTransactional('user@example.com', 'welcome_email', {
firstName: 'John',
planName: 'Pro',
})
Step 2: Track Events
// Track events to trigger automated sequences
await fetch('https://app.loops.so/api/v1/events/send', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${process.env.LOOPS_API_KEY}`,
},
body: JSON.stringify({
email: 'user@example.com',
eventName: 'plan_upgraded',
eventProperties: { plan: 'pro', mrr: 49 },
}),
})
Step 3: Contact Management
// Create or update contact
await fetch('https://app.loops.so/api/v1/contacts/update', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${process.env.LOOPS_API_KEY}`,
},
body: JSON.stringify({
email: 'user@example.com',
firstName: 'John',
userGroup: 'pro-users',
plan: 'pro',
}),
})
Guidelines
- Free tier: 1,000 contacts, 2,000 emails/month.
- Event-based automations: trigger email sequences from app events (signup, upgrade, churn risk).
- Built for SaaS — has concepts like user groups, event properties, and lifecycle stages.
- For transactional-only needs, Resend is simpler. For full marketing, Loops is better.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/loops-email-marketing-ms47vpaj' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/loops-email-marketing-ms47vpaj/download' --output '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md.part' && mv '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md.part' '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Environment declared by the author: Any platform via REST API
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md' && test -s '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/loops' && cp -R '.skill-downloads/loops-email-marketing-ms47vpaj' '.claude/skills/loops'Cursor
test -f '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md' && test -s '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/loops' && cp -R '.skill-downloads/loops-email-marketing-ms47vpaj' '.cursor/skills/loops'Codex
test -f '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md' && test -s '.skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/loops' && cp -R '.skill-downloads/loops-email-marketing-ms47vpaj' '.agents/skills/loops'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/loops-email-marketing-ms47vpaj'openskills read 'loops-email-marketing-ms47vpaj'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/loops-email-marketing-ms47vpaj/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Writing Fragments
Content
Mine raw writing fragments through a relentless interview, without imposing structure. Capture ideas, quotes, and leading words for later use.
UI Copywriting & Auditing
Content
Write or audit user-facing UI copy including buttons, errors, empty states, and tooltips across the monorepo, following the design system source of truth.
Music MIDI Extraction
Content
Extracts the MIDI or score from an existing music production via the CogMusic MCP tool and confirms availability.