CRM Lifecycle Ops
v0.5.6Pre-send QA for Braze, Klaviyo and Iterable: email, SMS, push and in-app checks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_email Check an email
QA one email before it sends, using the team's house rules: HTML structure, Outlook conditionals, Gmail clipping, alt text, links (non-production hosts, unsubscribe, UTMs, approved domains), personalization rendered for several synthetic personas, subject line, sender, brand terms, spelling variant and required footer text. Pass HTML or a local file path. Read-only; sends nothing.
| Parameter | Type | Description |
|---|---|---|
platform * | string | Which platform's template language the email uses. |
check_links_live | boolean | Also check each link over the network (HEAD requests only; unsubscribe and click-tracking links are never requested). |
file | string | Absolute path to a local .html file, used when html is not given. |
from | string | Sender email address. |
html | string | The email HTML, including template tags. |
name | string | |
personas | array | Synthetic test profiles. Leave empty to use the team's personas or auto-generated ones. |
preheader | string | |
subject | string | |
transactional | boolean | Receipts, password resets and other transactional mail: skips the unsubscribe requirement. |
check_message Check a push, SMS, in-app, content card or webhook
QA one push notification, SMS/MMS, in-app message, content card or webhook using the team's house rules: renders personalization for several synthetic personas, then checks length against lock-screen / segment / in-app / card limits, SMS encoding and billed segments, opt-out wording and sender name, deep links and other links (non-production hosts, malformed URIs), buttons, webhook URL, secrets in URLs and JSON bodies that break on quotes, brand terms and spelling. Read-only; sends nothing.
| Parameter | Type | Description |
|---|---|---|
body * | string | Push body/alert, SMS text, or in-app message body (text or HTML). |
channel * | string | |
platform * | string | Which platform's template language the message uses. |
buttons | array | In-app buttons. |
deep_link | string | Tap-through destination: deep link or URL. |
image_url | string | |
name | string | |
opt_out_appended | boolean | True when the platform adds the SMS opt-out wording itself, so the text doesn't need its own. |
personas | array | |
platform_channel | string | The platform's own channel name when it matters, e.g. "android_push" (Braze Android pushes need a title). |
title | string | Push title or in-app header. |
webhook_method | string | Webhook HTTP method (POST, GET…). |
webhook_url | string | Webhook destination URL. |
check_campaign Check a campaign or journey
QA every message in a campaign or journey (Canvas/flow): emails with content blocks expanded, push, SMS and in-app, plus its settings: audience, conversion events, naming and journey structure (dead ends, unreachable steps).
| Parameter | Type | Description |
|---|---|---|
name_or_id * | string | |
platform * | string | Which platform. |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
save_sign_off_report Save a QA sign-off report
Re-run the campaign check and save the result as a Markdown QA sign-off report (verdict, findings per message, what wasn't verified, reviewer sign-off) under ~/.crm-lifecycle-ops/reports/. Returns the path and the Markdown. Use after check_campaign when someone wants a record for a launch ticket.
| Parameter | Type | Description |
|---|---|---|
name_or_id * | string | |
platform * | string | Which platform. |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
list_checks List all checks
Every check, with its id, default severity and what it catches, plus which ones are locked (can't be turned off). Use to explain a finding or fill in a problem report.
get_house_rules Show house rules
The team's rulebook (what counts as right for them) and where it's stored. Returns defaults if /setup hasn't run.
save_house_rules Save house rules
Replace the team's rulebook. Always show the person the changes and get a yes first. Locked checks can't be overridden. Schema: locale, brand, links, compliance, senders, personalization, style, naming, severity, exceptions.
| Parameter | Type | Description |
|---|---|---|
rules * | object | The full rulebook object (get it with get_house_rules, edit, save). |
add_exception Mark a finding as fine for us
Record that a finding is acceptable for this team (not a tool bug), with a reason. Optionally scoped by `match` text. Locked checks can't be waived. For tool bugs use /report-problem instead.
| Parameter | Type | Description |
|---|---|---|
check_id * | string | |
reason * | string | |
match | string | Only waive findings whose message/evidence contains this text. |
learn_from_email Learn conventions from a good email
Read an email the team considers correct and propose house rules from it: link domains, UTM params and values, sender, name fallback, US/GB spelling, subject style, footer and postal address. Proposals only; confirm with the person before saving.
| Parameter | Type | Description |
|---|---|---|
file | string | |
from | string | |
html | string | |
subject | string |
connection_status Connection status
Which platforms have keys set (keys themselves are never shown), test each connection, and list the environment variables each platform needs.
| Parameter | Type | Description |
|---|---|---|
test | boolean | Also make one read-only call per connected platform. |
refresh_account Refresh account snapshot
Pull the latest campaigns, journeys, segments, templates and content blocks into a local snapshot (read-only API calls), then report what changed since the previous one. Set demo: true to load the fictional Fernbrook Market demo account instead.
| Parameter | Type | Description |
|---|---|---|
platform * | string | Which platform. |
demo | boolean |
list_items Find campaigns, journeys, segments or blocks
Search the latest snapshot by name. Use it to resolve what the person means before checking, mapping or analysing impact.
| Parameter | Type | Description |
|---|---|---|
platform * | string | Which platform. |
active_only | boolean | |
kind | string | |
limit | integer | Max results per kind (default 50). |
query | string | |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
record_audience Record an audience seen on screen
Fill an API gap: record which segment/list a campaign or journey targets, as read from the platform's dashboard (e.g. via Claude in Chrome). Stored as 'seen-on-screen' with today's date on the latest snapshot.
| Parameter | Type | Description |
|---|---|---|
item * | string | Campaign or journey name or id. |
platform * | string | Which platform. |
segment * | string | Segment or list name or id. |
mode | string | |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
what_breaks What breaks if I change this
Everything that depends on an attribute, segment/list, content block, event, message or piece of text, live items first, each with how we know (api-verified, parsed from template, seen on screen…) and a list of live items we can't rule out.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
platform * | string | Which platform. |
value * | string | Name or id, e.g. loyalty_tier, VIP members, footer_v2, Order Placed, or a phrase/URL. |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
what_changed What changed in the account
Differences between the latest snapshot and the previous one (or the newest one taken before `since`): added, removed, status changes, content, audience and structure edits. Live items first.
| Parameter | Type | Description |
|---|---|---|
platform * | string | Which platform. |
since | string | ISO date, e.g. 2026-11-01 |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
show_journey Show a journey
A Mermaid diagram of a live journey (Canvas/flow) with subject lines, plus structural problems (dead ends, unreachable steps, empty message steps).
| Parameter | Type | Description |
|---|---|---|
name_or_id * | string | |
platform * | string | Which platform. |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
find_overlaps Find overlaps with live programs
For a planned journey or campaign: which live campaigns/journeys already target the same segments or lists, trigger on the same events, or use the same attributes, and which live items can't be ruled out.
| Parameter | Type | Description |
|---|---|---|
platform * | string | Which platform. |
attributes | array | |
events | array | |
lists | array | |
segments | array | |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
bulk_edit_preview Preview a bulk edit
Find text (or a regex) across every subject, preheader, body and content block and preview the replacement, live items first. Preview only; nothing is written.
| Parameter | Type | Description |
|---|---|---|
find * | string | |
platform * | string | Which platform. |
replace * | string | |
active_only | boolean | |
regex | boolean | |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
how_to Platform-specific build or edit instructions
Step-by-step instructions for a build or edit task in Braze, Klaviyo or Iterable, in that platform's own terms, from a procedure library verified against the vendors' docs (with links). Filled in with the team's house rules (naming, sender, UTMs, fallback syntax, footer, channel limits) and, when a snapshot exists, the account: segments and blocks to reuse, whether the target is live, and shared content that would change other live programs. The plugin never edits the account; a person follows the steps. Tasks: create-campaign (Create a one-off or scheduled campaign); create-journey (Create a…
| Parameter | Type | Description |
|---|---|---|
platform * | string | Which platform. |
task * | string | |
attributes | array | Personalization attributes the copy will use. |
audience | string | Who it's for, in plain words, to find segments to reuse. |
channels | array | |
target | string | Existing campaign or journey being changed (edit tasks). |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
launch_health Launch health
Recent delivery numbers for a campaign or journey (sent, delivered, bounces, unsubscribes, spam complaints, opens, clicks) judged against stated thresholds. Needs a connected account.
| Parameter | Type | Description |
|---|---|---|
name_or_id * | string | |
platform * | string | Which platform. |
workspace | string | Workspace label. Defaults to the connected one, or "demo" when nothing is connected. |
ops_report Ops report
From the usage log: messages and campaigns checked, blocking problems caught, most common findings, weekly trend and estimated hours saved (assumption stated). With team: true, totals every operator's log in the shared team folder and breaks it down per operator.
| Parameter | Type | Description |
|---|---|---|
days | integer | |
minutes_per_manual_check | number | |
team | boolean | Report across the whole team (needs the team report folder set in plugin settings). |