brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
sequenzy-email-marketingOperate Sequenzy email marketing from an AI agent. Use when a user asks to manage SaaS email campaigns, subscribers, lists, segments, templates, lifecycle sequences, transactional email, delivery stats, or AI-generated email copy with Sequenzy. Prefer the Sequenzy CLI or API, inspect before mutation, and surface dashboard review URLs for created campaigns o…
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill to help an AI agent operate Sequenzy for SaaS email marketing and lifecycle automation. It covers safe workflows for inspecting accounts, managing subscribers and segments, drafting or updating campaigns and sequences, sending transactional email, and checking delivery stats.
The CLI is the scoped package @sequenzy/cli (the unscoped sequenzy npm package is only a TypeScript API client, not the CLI):
npm install -g @sequenzy/cli
# or run it without installing:
npx @sequenzy/cli --help
sequenzy login # opens a browser with an approval code; works headless
sequenzy account # confirms the credential actually reaches Sequenzy
sequenzy whoami # checks the stored credential locally only
For automation set SEQUENZY_API_KEY (and SEQUENZY_WORKSPACE_ID to pick a workspace):
export SEQUENZY_API_KEY=seq_user_51f6c2a8d9b347e0912a
export SEQUENZY_WORKSPACE_ID=comp_7f2e1a9c
Keys are sent as Authorization: Bearer ... to https://api.sequenzy.com/api/v1. Personal keys start with seq_user_ and need the target workspace in the x-company-id header (or --company on the CLI); workspace keys start with seq_live_. Key permissions are presets (read-only, safer agent access, AI drafting, data ingest, transactional sender) — sending needs explicit permissions such as campaigns:send or sequences:activate; the default "safer agent access" preset can draft but not send or delete. An MCP server is also available: codex mcp add sequenzy --env SEQUENZY_API_KEY=seq_user_51f6c2a8d9b347e0912a -- npx -y @sequenzy/mcp, or the remote URL https://api.sequenzy.com/v1/mcp for cloud clients.
Before creating, updating, scheduling, or deleting anything:
sequenzy companies list).campaigns get, sequences get, lists, segments count, subscribers list, templates list.--json when parsing output.--yes in scripts and agents; they fail without it. Treat that flag as the point where you must have user approval.Verified CLI groups (run sequenzy <group> --help for flags):
subscribers list|add|update|remove|event|import|import-status|attributes, subscribers tags add. remove archives; --hard deletes permanently. Cursor paging with --limit and --cursor.lists create|update|add-subscribers|remove-subscribers|delete.segments list|count|create|update|delete (filters via --filter-json, --match any|all).templates list|create|update|render|share, components list|create|update.campaigns create|list|get|update|schedule|unschedule|pause|resume|cancel|test|render|share|delete. Create from --html-file, --blocks-file or --prompt; target with --segment. A/B tests: campaigns duplicate --mode ab_test, ab-tests create, ab-tests select-winner.sequences create (triggers contact_added, event_received, tag_added), update, enable|disable, enroll, enroll-audience, enrollments, cancel-enrollments, pause-enrollments, archive. Enrollment commands that change data take --apply; without it they preview.sequenzy send user@host --template NAME --var key=value, or --subject with --html-file/--html; --idempotency-key prevents double sends.stats [--period 30d] [--campaign ID | --sequence ID | --emails | --clients].blocks (email block types).For cold outreach or lifecycle campaigns:
When creating or editing campaigns, sequences, templates, or companies, return the dashboard URL if the response includes url, previewUrl, or appUrls. For a visual check use campaigns render ID --out preview.html or campaigns share ID, and send a test with campaigns test ID --to ADDRESS.
Do not promise a workflow is supported unless the CLI/API exposes it. If a requested flow is missing, say whether the next-best path is the Sequenzy dashboard, direct API usage, or a manual step.
User request: "Create a welcome campaign for trial users who signed up yesterday."
Agent workflow:
sequenzy account.sequenzy campaigns create "Trial welcome" --subject "Welcome aboard" --html-file ./welcome.html --segment seg_abc123.Output: A draft campaign in Sequenzy plus a dashboard review link.
User request: "Add alex@northstarrobotics.com to the SaaS Founders list and make sure they match the onboarding segment."
Agent workflow:
SaaS Founders.sequenzy subscribers add alex@northstarrobotics.com --first-name Alex --tag founder, then sequenzy lists add-subscribers list_123 --email alex@northstarrobotics.com.sequenzy segments count seg_abc123 and sequenzy subscribers list --segment onboarding --json to confirm membership.Output: Subscriber status, list membership, and segment match result.
seq_user_ keys are account-wide: always pass the workspace explicitly.