Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
JavaScript agent-skillsai-agentsai-seoclaudeclaude-codeclaude-code-pluginclaude-skillscodexcontent-marketingconversion-rate-optimizationcopywritingcursoremail-marketinggenerative-engine-optimizationgrowth-marketingmarketingmarketing-automationsaas-marketingseoskill-md
feat(sms): fold in WhatsApp marketing from #516
Corey Haines6ed6f50a8159
diff --git a/skills/sms/SKILL.md b/skills/sms/SKILL.mdindex e921ae4..4cd82a2 100644--- a/skills/sms/SKILL.md+++ b/skills/sms/SKILL.md@@ -1,6 +1,6 @@---name: sms-description: When the user wants to plan, build, or optimize SMS or MMS marketing — including welcome flows, abandoned cart texts, post-purchase, win-back, promotional sends, or transactional/auth SMS. Also use when the user mentions "SMS marketing," "text message campaigns," "SMS sequence," "SMS automation," "abandoned cart text," "post-purchase SMS," "Klaviyo SMS," "Postscript," "Attentive," "Twilio," "A2P 10DLC," "TCPA," "SMS compliance," "short code," "toll-free SMS," "MMS campaign," "should I do SMS," or "SMS vs email." For email sequences, see emails. For SMS copy framing, see copywriting. For opt-in popups that capture phone numbers, see popups.+description: When the user wants to plan, build, or optimize SMS, MMS, or WhatsApp marketing — including welcome flows, abandoned cart texts, post-purchase, win-back, promotional sends, or transactional/auth SMS. Also use when the user mentions "SMS marketing," "text message campaigns," "SMS sequence," "SMS automation," "abandoned cart text," "post-purchase SMS," "Klaviyo SMS," "Postscript," "Attentive," "Twilio," "A2P 10DLC," "TCPA," "SMS compliance," "short code," "toll-free SMS," "MMS campaign," "should I do SMS," "SMS vs email," "WhatsApp marketing," "WhatsApp Business API," "WhatsApp templates," or "click-to-WhatsApp." For email sequences, see emails. For SMS copy framing, see copywriting. For opt-in popups that capture phone numbers, see popups.metadata:version: 1.0.1---@@ -58,6 +58,20 @@ SMS is not "another email." Use it where the channel's properties win:---++If most customers are outside the US (LATAM, Europe, Africa, Middle East, India, Southeast Asia), WhatsApp often beats SMS for the same flows. It runs on different rules:++- **24-hour window**: free-form messages only within 24 hours of the customer's last message. Outside it, send a Meta-approved template.+- **Template categories**: marketing, utility, authentication. Cart reminders and anything promotional are marketing.+- **Per-message pricing** (since July 2025): every marketing template is charged. From October 2026, service replies and in-window utility messages are charged too.+- **Quality rating and messaging limits**: blocks and reports lower your rating and can shrink how many people you can message per day.+- **US caveat**: Meta currently doesn't deliver marketing templates to US numbers. Keep SMS for US marketing.++**For the 24-hour window, templates, opt-in, quality and tiers, pricing, click-to-WhatsApp ads, and WhatsApp playbooks**: see [references/whatsapp.md](references/whatsapp.md).++---+## Compliance — Read First**Compliance is the foundation, not an afterthought.** A single TCPA class-action settlement runs $5M–$40M. The basics:diff --git a/skills/sms/evals/evals.json b/skills/sms/evals/evals.jsonindex 1bdaf62..620f63b 100644--- a/skills/sms/evals/evals.json+++ b/skills/sms/evals/evals.json@@ -95,6 +95,24 @@"Calculates cost impact at scale"],"files": []+ },+ {+ "id": 7,+ "prompt": "We sell fashion accessories in Brazil and Mexico and get about 1,500 abandoned carts a week. Most customers use WhatsApp, not SMS. Can we send cart reminders on WhatsApp an hour after they leave, and what will it cost?",+ "expected_output": "Should check for product-marketing.md first. Should confirm WhatsApp fits better than SMS for Brazil and Mexico and reference references/whatsapp.md. Should explain that a reminder 1 hour after abandonment falls outside the 24-hour customer service window, so it must be a Meta-approved template, and that cart reminders are classified as marketing templates (submitting as utility gets recategorized). Should require WhatsApp-specific opt-in that names the business, captured at checkout or in chat, plus an opt-out button or STOP footer on every marketing template. Should explain current per-message pricing (since July 1, 2025): every delivered marketing template is charged at a per-country rate, with no free window for these reminders, and recommend modeling cost per recovered order using current Meta or BSP rate cards rather than old per-conversation pricing. Should warn that blocks and reports lower the quality rating, can flag the number and cut the messaging limit, and recommend warming up a new number, business verification, and limiting to 1-2 cart touches with exit on purchase or opt-out. Should design the template with name, product, and checkout URL button, holding any discount for a later touch.",+ "assertions": [+ "Checks for product-marketing.md",+ "States the reminder falls outside the 24-hour window and needs an approved template",+ "Classifies cart reminders as marketing templates",+ "Requires WhatsApp opt-in naming the business",+ "Includes an opt-out button or STOP footer",+ "Explains per-message pricing with marketing templates charged per delivery",+ "Does not quote per-conversation pricing as current",+ "Warns about quality rating, flagging, and messaging limit risk from blocks",+ "Recommends number warm-up or business verification",+ "References references/whatsapp.md"+ ],+ "files": []}]}diff --git a/skills/sms/references/whatsapp.md b/skills/sms/references/whatsapp.mdnew file mode 100644index 0000000..192073e--- /dev/null+++ b/skills/sms/references/whatsapp.md@@ -0,0 +1,264 @@+# WhatsApp Business Platform Reference++Adapted from a contribution by @Inflimity (PR #516).++> Platform facts below are **as of 2026-10** and sourced from Meta's developer docs (links in [Sources](#sources)). Meta changes pricing and limits often. Check the pricing page before quoting costs to a client.++---++## When WhatsApp Fits vs SMS++WhatsApp is the default messaging app in most of Latin America, Europe, Africa, the Middle East, and South and Southeast Asia. In the US and Canada, SMS still reaches more people.++| Situation | Better fit | Why |+|-----------|-----------|-----|+| Customers mostly in LATAM, EMEA, India, SEA | **WhatsApp** | It's where conversations already happen |+| Customers mostly in the US | **SMS** | Meta does not currently deliver marketing templates to US (+1) numbers |+| Rich product messages (images, buttons, lists) | **WhatsApp** | Native interactive formats, no MMS surcharge |+| Two-way sales or support conversations | **WhatsApp** | Threaded chat, reply buttons, human handoff |+| Paid social is a major acquisition channel | **WhatsApp** | Click-to-WhatsApp ads open a free 72-hour window |+| Simple one-way alerts, auth codes, US-heavy list | **SMS** | Simpler setup, universal reach |+| Multi-country program | **Both** | WhatsApp where adoption is high, SMS as fallback |++**Ask first**: where are the customers? If more than half are in the US, WhatsApp marketing is a support or transactional layer at best until Meta lifts the US marketing restriction.++---++## App vs Platform++- **WhatsApp Business app**: free, manual, one phone or a few linked devices. Fine for a solo operator answering chats. Not built for automation or large broadcasts.+- **WhatsApp Business Platform (Cloud API)**: programmatic sending, templates, webhooks, automation. You access it directly through Meta or through a Business Solution Provider (BSP).++BSPs include messaging APIs (Twilio, Infobip, Sinch, MessageBird/Bird), WhatsApp-focused tools (Wati, Interakt, AiSensy), chat automation tools (ManyChat, respond.io), and lifecycle platforms that added WhatsApp (Klaviyo, Brevo, Customer.io). Pick based on your existing stack, the markets you send to, and whether you need a no-code flow builder. All of them pass through Meta's per-message fees; most add a markup or platform fee on top.++---++## The 24-Hour Customer Service Window++- **Window opens** when the customer messages you. It lasts 24 hours from their latest message. Each new customer message resets it.+- **Inside the window**: you can send free-form messages (text, media, interactive buttons and lists) without pre-approval.+- **Outside the window**: you can only send a **pre-approved template**. Free-form sends fail (error 131047, "Re-engagement message").++Design flows around this. A cart recovery message 1 hour after abandonment is almost always outside a window, so it must be an approved template.++---++## Template Categories++Every template is one of three categories. Meta checks the category you pick.++| Category | What qualifies | Examples |+|----------|---------------|----------|+| **Marketing** | Anything promotional, awareness, or retargeting | Offers, launches, back-in-stock, **abandoned cart reminders**, re-engagement |+| **Utility** | Non-promotional AND specific to the user's request or account (or critical to them) | Order confirmation, shipping update, appointment reminder, billing notice |+| **Authentication** | One-time passcodes only, using Meta's pre-built formats | Login codes, verification codes |++Rules that trip people up:++- **Cart reminders are marketing**, even when the user asked to be reminded. Meta's guidelines list "You left {{items}} in your cart" as a retargeting example.+- **Mixed content becomes marketing.** An order update with a promo code, or a feedback survey with a discount, is a marketing template.+- **Auto-recategorization.** Since April 9, 2025, a template submitted as utility that Meta judges to be marketing is approved as marketing. Meta also re-reviews approved templates and recategorizes them (usually with 1 day's notice, none for repeat misuse).+- **Appeals**: you have 60 days from creation or a category change to request review.+- **Authentication templates** can't contain URLs, media, or emojis.++**Template anatomy**: optional header (text, image, video, document), body with variables like `{{1}}`, optional footer (often the opt-out line), and optional buttons (quick reply, URL, phone, copy-code). Submit realistic sample values for every variable. Vague samples are a common rejection cause.++---++## Opt-In and Opt-Out++Meta requires opt-in before you message someone. The opt-in must:++1. Clearly state the person is opting in to receive messages **on WhatsApp**+2. Clearly name **your business**+3. Comply with local law (GDPR, LGPD, India's DPDP Act, TCPA, and so on)++You can collect it through a website form, checkout checkbox, SMS, IVR, in person, or inside a WhatsApp chat. Meta recommends separate opt-ins (or one opt-in that names the categories) for order updates vs offers.++Sample checkout opt-in (unchecked by default):++> [ ] Send me order updates and offers from Acme on WhatsApp. You can opt out anytime.++**Opt-out handling:**++- Add a quick reply button like `Stop promotions` to every marketing template, or a footer like "Reply STOP to opt out"+- When someone opts out, flag them in your CRM immediately and stop all marketing templates+- Send one confirmation: "You're unsubscribed from Acme offers. Reply START to rejoin."+- Keep sending utility messages they still need (order updates) if they opted in to those separately++An easy opt-out protects you. If the only way to stop your messages is the Block button, people will block, and blocks drive your quality rating down.++---++## Quality Rating and Messaging Limits++### Quality rating++Each phone number has a quality rating based on how recipients responded to your messages over the **past 7 days**: blocks, reports, and the reasons given ("Didn't sign up," "Spam," "No longer needed").++| Rating | Meaning |+|--------|---------|+| **Green (High)** | Healthy, eligible to scale |+| **Yellow (Medium)** | Warning, negative feedback rising |+| **Red (Low)** | Number goes to **Flagged** status |++If a Flagged number recovers to medium or high within 7 days, nothing changes. If it doesn't, your **messaging limit drops one level**.++Templates have their own quality ratings too. New or low-quality marketing and utility templates get **paced** (Meta holds part of a send to collect feedback first). Bad feedback **pauses** the template, and held messages fail.++### Messaging limits++The messaging limit is how many **unique users** you can reach with template messages **outside** a service window in a rolling 24 hours. The limit is now shared across your whole **business portfolio**, not set per phone number, so one busy number can use up the allowance for all of them.++| Tier | Unique users per 24h |+|------|---------------------|+| Starting default | 250 |+| After verification or scaling | 2,000 |+| Next levels | 10,000 → 100,000 → Unlimited |++- **250 to 2,000**: complete business verification, or deliver 2,000 high-quality template messages to unique users within 30 days+- **Above 2,000**: automatic when you've used at least half your current limit in the last 7 days with high-quality messages across all numbers and templates. Upgrades land within about 6 hours.+- Replies inside a service window don't count toward the limit++### Per-user marketing limits++Meta also caps how many marketing templates **one person** receives from all businesses, based on their recent read rate. Blocked sends return error 131049. Wait at least 24 hours before retrying. A marketing message sent inside an open service window doesn't count toward this cap.++### Warming up a new number++1. Get business verification done first so you start at 2,000+2. Send your first templates to recent, high-intent opt-ins (buyers from the last 30 days, people who messaged you)+3. Scale volume over 1-2 weeks as the number stays green+4. Spread big sends over hours instead of firing everything at once+5. Watch block reasons in WhatsApp Manager after every campaign++---++## Message Formats++| Format | Limits | Best for |+|--------|--------|----------|+| **Reply buttons** | Up to 3 buttons, 20 chars each | Yes/no, pick a path, opt-out |+| **List message** | Up to 10 rows across up to 10 sections, row titles 24 chars | Product categories, booking slots, qualification |+| **URL / call buttons** (templates) | Opens a link or starts a call | Checkout, tracking, support line |+| **Media header** | Image, video, or document | Product shots, drops, receipts |+| **Catalog / product messages** | Pulls from a Meta commerce catalog | Browsing and buying in chat |++Copy guidelines:++- Keep each bubble to 1-3 short sentences (roughly under 60 words)+- Use buttons instead of pasting raw URLs+- WhatsApp formatting works: `*bold*`, `_italic_`, line breaks+- One or two emojis are fine. Unlike SMS, they don't change cost+- Name your brand in the first line of templates, since many users won't have your number saved++---++## Pricing (as of 2026-10)++Meta moved from conversation-based pricing to **per-message pricing on July 1, 2025**. You pay per delivered message, at a rate set by message category and the recipient's country code.++| Message type | How it's charged |+|--------------|-----------------|+| **Marketing template** | Charged on every delivery, inside or outside a service window |+| **Utility template** | Charged outside a window. Inside an open window it was free from July 1, 2025 until **October 1, 2026**, when Meta began charging for it |+| **Authentication template** | Charged outside a window |+| **Service message** (free-form reply) | Free from November 1, 2024. Charged per message from **October 1, 2026**, at the same rate as utility/authentication in that market, no volume tiers |+| **Meta Business Agent** (Meta's AI agent) | Charged per token from August 1, 2026, about $2 per 1M tokens. Never free |+| **Anything in a free entry point window** | Free (see below) |++**Volume tiers**: utility and authentication rates drop as monthly volume grows, measured across your whole portfolio per market. Tiers reset each calendar month. Marketing has no volume tiers, but the Marketing Messages API lets you set a max price per delivery.++**Practical math**: rates differ a lot by country. Marketing is the most expensive category in every market, often several times the utility rate. Pull current rates from Meta's rate cards (or your BSP's, which include their markup) and model cost per recovered order before launching a flow.++The October 2026 changes mean support conversations and in-window order updates now cost money. If your old business case assumed "replies are free," redo it.++---++## Click-to-WhatsApp Ads++Click-to-WhatsApp (CTWA) ads run on Facebook and Instagram and open a WhatsApp chat with your business when tapped.++**Free entry point window**: when someone messages you from a CTWA ad or a Facebook Page call-to-action button, and you reply within 24 hours, a **72-hour free window** opens. Inside it, Meta doesn't charge for marketing, utility, authentication, or service messages (Meta Business Agent messages are still charged). Meta confirmed this window is unchanged by the October 2026 pricing update.++How to use it:++1. **Hook the ad on a reason to chat**: a quiz, sizing help, a quote, a code to claim+2. **Pre-fill the user's first message**: "Hi! I'd like my 15% welcome code."+3. **Reply fast with buttons**: 2-3 qualifying questions as reply buttons+4. **Convert or hand off inside 72 hours**: checkout link, booking link, or a live rep+5. **Ask for marketing opt-in in the chat** so you can follow up with templates later++---++## Playbooks++### 1. Abandoned cart recovery++- **Trigger**: 45-60 minutes after abandonment, only for contacts with WhatsApp marketing opt-in+- **Type**: marketing template (outside the window, and cart reminders are marketing by definition)+- **Exit**: stop on purchase, opt-out, or 48 hours+- **Second touch** (optional, 24 hours): only if the first wasn't read or clicked, and hold any discount until here++```text+Header: [product image]+Body: Hi {{1}}, it's Acme. You left {{2}} in your cart. We're holding it for you, but stock is limited.+Footer: Reply STOP to opt out+Buttons: [URL: Finish checkout] [Quick reply: I have a question]+```++"I have a question" opens a service window. Route it to the support handoff below.++### 2. Welcome (after opt-in or CTWA)++- **Trigger**: immediately after opt-in, or the first inbound message from an ad+- **Type**: free-form if they just messaged you (window open), otherwise a marketing template++```text+Hi {{1}}, welcome to Acme! Here's your code: WELCOME15. What are you shopping for today?+Buttons: [Skincare] [Haircare] [Just browsing]+```++Each button routes to 2-3 product picks with a checkout link. Ask for marketing opt-in here if they came from an ad.++### 3. Re-engagement / win-back++- **Audience**: opted-in customers with no purchase in 60-90 days+- **Type**: marketing template+- **Frequency**: 1-2 marketing sends per month to this segment. More gets you blocks and per-user limit errors++```text+Hi {{1}}, it's Acme. Your {{2}} usually runs out around now. Want us to set aside a refill?+Buttons: [Yes, reorder] [Not now] [Stop promotions]+```++"Not now" suppresses them for 30 days. "Stop promotions" opts them out.++### 4. Support handoff++- **Trigger**: a help button, a keyword like "agent," or the bot failing to match twice+- **Type**: service messages (window open). These are charged from October 1, 2026, so resolve in as few messages as you can++```text+Got it. Connecting you with someone from our team. Typical reply time is under 10 minutes between 9am and 6pm.+```++Pass the cart or order context to the agent so the customer doesn't repeat themselves. Outside staffed hours, say when a person will reply and offer an FAQ list. If the reply goes past 24 hours, you'll need a utility template to answer.++---++## Sources++All accessed 2026-10.++- Pricing: https://developers.facebook.com/documentation/business-messaging/whatsapp/pricing+- Pricing updates for service and utility messages (Oct 2026): https://developers.facebook.com/documentation/business-messaging/whatsapp/pricing/non-template-messages+- Messaging limits: https://developers.facebook.com/documentation/business-messaging/whatsapp/messaging-limits+- Phone number quality rating: https://www.facebook.com/business/help/896873687365001+- Template categorization: https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/template-categorization+- Template pacing: https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/template-pacing+- Per-user marketing limits (incl. US restriction): https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/marketing-templates/per-user-limits/+- Opt-in: https://developers.facebook.com/documentation/business-messaging/whatsapp/getting-opt-in+- Reply buttons: https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/interactive-reply-buttons-messages+- List messages: https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/interactive-list-messages+- Click-to-WhatsApp ads: https://developers.facebook.com/documentation/ads-commerce/marketing-api/ad-creative/messaging-ads/click-to-whatsappdiff --git a/skills/whatsapp-marketing/SKILL.md b/skills/whatsapp-marketing/SKILL.mddeleted file mode 100644index b0c9cb8..0000000--- a/skills/whatsapp-marketing/SKILL.md+++ /dev/null@@ -1,159 +0,0 @@-----name: whatsapp-marketing-description: When the user wants to plan, build, or optimize WhatsApp marketing campaigns — including Click-to-WhatsApp ads, automated abandoned cart recovery, customer onboarding, VIP broadcast drops, interactive chatbot flows, or Meta Cloud API templates. Also use when the user mentions "WhatsApp marketing," "WhatsApp Business API," "Click to WhatsApp," "WhatsApp bot," "WhatsApp cart recovery," "conversational commerce," "WhatsApp templates," "Wati," "ManyChat WhatsApp," "Twilio WhatsApp," or "WhatsApp newsletter." For SMS marketing, see sms. For email automation, see emails. For ad creative and copy, see ad-creative and copywriting.-metadata:- version: 1.0.0------# WhatsApp Marketing--You are an expert in WhatsApp marketing, conversational commerce, and Meta Business Messaging. Your goal is to help plan, build, and optimize high-converting WhatsApp marketing funnels, automated flows, and compliant message templates that drive measurable revenue and retention while strictly adhering to Meta's Business Messaging policies.--## Before Starting--**Check for product marketing context first:**-If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`), read it before asking questions. Use that context and only ask for missing details.--Gather this context (ask if not provided):--### 1. Business & Target Market-- Business type: B2C E-commerce, B2B SaaS, Professional Services, Fintech, Edtech-- Geographic regions: Africa, Latin America, Europe, Southeast Asia, Middle East, US/Global (WhatsApp adoption and carrier pricing vary drastically by market)-- Average Order Value (AOV) / Customer Lifetime Value (LTV)--### 2. WhatsApp Infrastructure & Tech Stack-- **WhatsApp Business App** (Solo founders/SMEs, manual/quick replies, max 256 broadcast list) vs.-- **WhatsApp Business Cloud API / BSP** (Wati, ManyChat, Twilio, MessageBird, Infobip, Klaviyo WhatsApp, Intercom)-- Current messaging tier & quality rating (Tier 1: 1k/day, Tier 2: 10k/day, etc.)--### 3. Campaign Objective-- **Acquisition**: Click-to-WhatsApp (CTWA) ads from Meta (IG/FB), website QR codes, lead qualification-- **Conversion / Sales**: Abandoned cart recovery, flash sale drops, conversational checkout-- **Retention & Lifecycle**: Post-purchase updates, onboarding milestone nudges, VIP broadcasts-------## When WhatsApp Beats Email & SMS--| Channel Attribute | WhatsApp | SMS | Email |-| :--- | :--- | :--- | :--- |-| **Open Rate** | **95–98%** (within 10 min) | 90–95% | 18–25% |-| **CTR / Engagement** | **40–60%** | 10–15% | 2–4% |-| **Interactivity** | **Rich** (Buttons, Lists, Media, Catalog) | Limited (MMS images/links) | High (HTML/Layouts) |-| **Global Reach** | #1 in 100+ countries (EMEA, LATAM, APAC) | Strong in US/Canada | Global universal |-| **2-Way Dialogue** | **Instant conversational support** | Clunky/Fragmented | Slow/Asynchronous |--**Core Rule**: Treat WhatsApp like a direct chat with a trusted concierge. Never blast walls of generic marketing text. Every message must offer immediate value, quick-action buttons, or instant problem resolution.-------## The 24-Hour Rule & Template Architecture--Every outbound strategy must align with Meta's messaging framework:--### 1. Inbound (Customer-Initiated)-* Customer sends a message → Opens a **24-hour free-form session window**.-* You can send rich text, custom interactive bot menus, and support replies without pre-approval.-* Every customer reply resets the 24-hour clock.--### 2. Outbound (Business-Initiated)-* Outbound messages sent outside the 24-hour window **must use pre-approved Meta Templates**.-* Templates are classified into:- - **Marketing**: Promotions, offers, product drops, cart recovery (higher cost).- - **Utility**: Order confirmations, tracking updates, appointment reminders (lower cost).- - **Authentication**: OTPs and login codes.-* Any template with promotional language submitted as Utility will be rejected or re-categorized as Marketing by Meta.--For full template submission guidelines, parameters, and pricing tiers, see [references/compliance-and-templates.md](references/compliance-and-templates.md).-------## Core WhatsApp Funnels--### 1. Click-to-WhatsApp (CTWA) Ad Funnels-Convert cold social traffic into qualified sales conversations with low ad friction:-1. **Ad Creative**: Offer a high-value hook (e.g., instant quiz, pricing calculator, exclusive catalog).-2. **Pre-filled Text**: Pre-populate the user's message when they open WhatsApp (e.g., *"Hi! I'd like to claim the 15% VIP discount code."*).-3. **Instant Qualification Bot**: Use Quick Reply buttons to ask 2–3 questions (Budget, Use case, Timeline).-4. **Handoff or Conversion**: Send a dynamic single-tap checkout link or route high-value leads to a live sales rep.--### 2. Abandoned Cart Recovery (E-commerce / DTC)-* **Trigger**: 45–60 minutes post-abandonment.-* **Format**: Dynamic product image + personalized copy + single-tap checkout button + "Need help?" button.-* **Conversion Rate**: WhatsApp cart recovery typically converts at 15–30% (vs. 3–5% on email).--### 3. VIP Broadcasts & Product Drops-* **Audience**: Explicitly segmented opt-in lists.-* **Format**: High urgency, short copy, media header (video/image), clear CTA button.-* **Frequency Cap**: Maximum 1–2 broadcasts per week to protect quality ratings.--For ready-to-use conversation scripts and branching logic, see [references/playbooks-and-scripts.md](references/playbooks-and-scripts.md).-------## Conversational Copywriting Guidelines--WhatsApp is a personal messaging app. Follow these rules:--1. **Keep it under 60 words**: Avoid long blocks of text. Use 1–3 short sentences per bubble.-2. **Use Natural Formatting**:- - Bold (`*key terms*`) for emphasis.- - Bullet points (`- item`) for scannability.- - Emojis strategically (1–2 per message) to set a friendly tone.-3. **Interactive Buttons over Plain Links**: Always use **Quick Reply** (up to 3 buttons) or **Call-to-Action (URL)** buttons instead of pasting raw URLs in text.-4. **Always Provide a Fast Opt-Out**: Include a Quick Reply button `[Stop Promotions]` or footer `"Reply STOP to opt out"` to avoid recipients clicking Meta's native "Report / Block" button.-------## Anti-Ban & Deliverability Protection--Getting banned on WhatsApp Business destroys marketing operations. Follow these defensive practices:--1. **Strict Opt-In Verification**: Never purchase phone lists. Ensure explicit opt-in via website forms, CTWA ads, or inbound keyword triggers.-2. **Immediate STOP Processing**: When a contact replies `STOP` or clicks unsubscribe, remove them instantly.-3. **Tier Warming**: When launching a new number, start with 100–200 high-intent contacts on Day 1 to build a solid Green quality score before scaling to thousands.-4. **Pacing / Rate Limiting**: Spread broadcast campaigns across multiple hours rather than blasting 10,000 messages in a single second.-------## Structured Output Format--When generating a WhatsApp marketing plan or campaign flow, provide the output in this format:--```markdown-### 1. Campaign Strategy & Objectives-- **Target Audience & Segment**: [Who is receiving this]-- **Channel Stage**: [CTWA Lead Gen / Cart Recovery / Broadcast / Retention]-- **Platform/Tool Recommendation**: [Cloud API / Wati / ManyChat / etc.]--### 2. Message Template Spec (for Meta Approval)-- **Category**: [Marketing / Utility]-- **Header**: [Text / Image / Video / None]-- **Body Text**:- > "[Exact copy with {{1}}, {{2}} dynamic variables]"-- **Footer**: "Reply STOP to unsubscribe"-- **Interactive Buttons**:- - Button 1: [Quick Reply / URL CTA: "Button Text"]- - Button 2: [Quick Reply / URL CTA: "Button Text"]--### 3. Automated Interactive Flow & Branching Logic-- **Trigger**: [Event / User selection]-- **Step-by-step bot replies**: [Message copy + button payloads]-- **Human Handoff Trigger**: [Conditions when a live agent takes over]--### 4. Compliance & Deliverability Checklist-- [ ] Explicit opt-in captured-- [ ] 24-hour service window compliance verified-- [ ] Opt-out keyword / button included-- [ ] Number tier warming strategy confirmed-```-------## Related Skills--- For SMS marketing campaigns and US 10DLC compliance: [sms](../sms/)-- For email drip flows and newsletter funnels: [emails](../emails/)-- For landing page CRO and checkout optimization: [cro](../cro/)-- For ad creative to drive Click-to-WhatsApp ads: [ad-creative](../ad-creative/)-- For core value proposition and tone of voice: [copywriting](../copywriting/)diff --git a/skills/whatsapp-marketing/evals/evals.json b/skills/whatsapp-marketing/evals/evals.jsondeleted file mode 100644index e1078a5..0000000--- a/skills/whatsapp-marketing/evals/evals.json+++ /dev/null@@ -1,49 +0,0 @@-{- "skill_name": "whatsapp-marketing",- "evals": [- {- "id": 1,- "prompt": "We run an e-commerce brand selling fashion accessories in the UK and Nigeria. We get 1,500 abandoned carts every week and want to use WhatsApp to recover them. How should we set this up?",- "expected_output": "Should check for product-marketing.md first. Should explain Meta WhatsApp Business API vs standard app requirements. Should design an abandoned cart recovery flow triggered 45-60 minutes after abandonment. Should specify the required Meta template category (Marketing). Should include dynamic variables for customer name, item name, and discount code. Should mandate an opt-out button or STOP keyword footer. Should provide interactive buttons (Deep-linked Checkout URL + Quick Reply for customer support). Should mention conversion rate benchmarks (15-30% on WhatsApp vs 3-5% on email).",- "assertions": [- "Checks for product-marketing.md",- "Recommends WhatsApp Business Cloud API / BSP setup",- "Specifies 45-60 minute trigger timing",- "Categorizes template as Marketing",- "Includes personalized copy with dynamic variables",- "Provides interactive buttons (URL checkout + Quick Reply support)",- "Includes mandatory opt-out mechanism (STOP / opt-out button)",- "Mentions conversion benchmarks"- ],- "files": []- },- {- "id": 2,- "prompt": "Can we just blast our existing customer phone list with a 20% off discount on WhatsApp?",- "expected_output": "Should caution against unverified bulk blasts on WhatsApp. Should explain Meta's strict anti-spam policy and phone number Quality Rating system (Green/Yellow/Red). Should explain that high user blocks/reports will immediately degrade quality ratings and throttle or suspend messaging limits. Should explain the 24-hour customer service window rule and the requirement to use pre-approved Meta Marketing templates with explicit opt-in consent. Should recommend a safe tier-warming approach (starting with 100-200 recent, high-intent opt-ins).",- "assertions": [- "Warns against unverified cold/bulk blasting",- "Explains Meta Quality Rating system (Green/Yellow/Red)",- "Explains risk of phone number blocking / tier suspension",- "Enforces pre-approved Meta Marketing template requirement",- "Enforces explicit opt-in requirement",- "Recommends tier warming strategy"- ],- "files": []- },- {- "id": 3,- "prompt": "We want to run Click-to-WhatsApp ads on Instagram for our B2B SaaS consulting service. Design the conversational lead qualification flow.",- "expected_output": "Should design an end-to-end Click-to-WhatsApp (CTWA) campaign. Should provide the ad hook and pre-filled user message. Should build an automated qualifying chat flow using Quick Reply buttons (2-3 qualifying questions like company stage/budget). Should handle user URL input. Should provide clear call-to-action routing (booking a calendar link or instant live human handoff). Should explain that user-initiated ad conversations open a 24-hour free-form session window.",- "assertions": [- "Defines ad pre-filled message",- "Builds automated qualification bot flow",- "Uses interactive Quick Reply buttons for questions",- "Captures lead qualification details",- "Includes calendar booking / live agent handoff",- "Mentions the 24-hour user-initiated session window"- ],- "files": []- }- ]-}diff --git a/skills/whatsapp-marketing/references/compliance-and-templates.md b/skills/whatsapp-marketing/references/compliance-and-templates.mddeleted file mode 100644index 8034d34..0000000--- a/skills/whatsapp-marketing/references/compliance-and-templates.md+++ /dev/null@@ -1,102 +0,0 @@-# WhatsApp Marketing Compliance & Template Guide--This reference provides the technical and regulatory framework for running WhatsApp marketing programs across both the **WhatsApp Business App** and the **WhatsApp Business Cloud API / On-Premises API**.-------## 1. The Meta 24-Hour Customer Service Window--Understanding conversation windows is critical to avoid failed message deliveries and high costs:--### User-Initiated Conversations (Inbound)-* When a customer sends a message to your WhatsApp Business number, a **24-hour service window** opens.-* During this 24-hour window, you can send free-form session messages (text, media, audio, interactive menus) without pre-approval from Meta.-* Every inbound reply from the customer resets the 24-hour timer.--### Business-Initiated Conversations (Outbound)-* Any message sent **outside** the 24-hour window (or initiating a new chat from your side) **MUST** use a pre-approved **Meta Message Template**.-* Free-form text will be rejected with an API error (`131047: Re-engagement message`).-------## 2. Meta Conversation Categories & Pricing--Meta categorizes all outbound WhatsApp template messages into 4 types:--| Category | Description | Example |-| :--- | :--- | :--- |-| **Marketing** | Promotions, product announcements, discount drops, cart recovery, re-engagement. | *"Hey Alex! Your cart items are selling out fast. Get 15% off with code FLASH15."* |-| **Utility** | Order confirmations, tracking updates, billing statements, booking confirmations. | *"Your order #4921 has shipped! Track delivery here: [Link]"* |-| **Authentication** | One-time passcodes (OTP), account verification, 2FA logins. | *"Your verification code is 849201. It expires in 10 minutes."* |-| **Service** | User-initiated support responses within the 24-hour window. | Free-form problem-solving and support replies. |--> [!IMPORTANT]-> Meta automatically re-classifies templates upon submission. If a utility template includes promotional language (e.g. *"Your order has shipped! Also check out our new arrivals"*), it will be rejected or re-categorized as **Marketing** (which incurs higher per-message fees).-------## 3. Opt-In & Opt-Out Requirements--WhatsApp has a zero-tolerance policy for unsolicited spam. A high block/report rate will immediately downgrade your phone number's quality score and suspend your messaging tier.--### Valid Opt-In Methods-1. **Website Checkbox / Form**: An explicit, unchecked opt-in checkbox during checkout, lead capture, or account registration (e.g., *"Receive order updates and exclusive deals on WhatsApp"*).-2. **Click-to-WhatsApp (CTWA) Ads**: When a user clicks a Facebook/Instagram ad with a pre-filled message, their initial message constitutes opt-in for that specific conversation.-3. **Keyword Inbound / QR Codes**: User scans a physical/digital QR code or texts a keyword like `JOIN` or `DEALS` to your number.-4. **Interactive Chat Opt-In**: Asking the customer inside a support conversation: *"Would you like us to notify you via WhatsApp when this item is back in stock?"* with a Quick Reply button `[Yes, notify me]`.--### Mandatory Opt-Out Mechanics-* **Marketing templates must include a 1-tap opt-out button** (Quick Reply `[Stop Promotions]` or `[Unsubscribe]`) or standard keyword instruction (`Reply STOP to unsubscribe`).-* When a user sends `STOP`, `UNSUBSCRIBE`, `CANCEL`, or clicks the opt-out button:- 1. The CRM/system must immediately flag the contact as unsubscribed.- 2. Send a single confirmation message: *"You've been unsubscribed from promotional updates. Reply START anytime to re-subscribe."*- 3. Cease all non-transactional outbound templates immediately.-------## 4. Phone Number Quality Rating & Messaging Limits--Every WhatsApp Business API phone number has a **Quality Rating** and a **Messaging Tier**:--### Quality Ratings-* **Green (High Quality)**: Low block/report rate. Full messaging speed and capacity.-* **Yellow (Medium Quality)**: Warning state. Increased user complaints or blocks.-* **Red (Low Quality)**: Critical state. High block rate. Number is at risk of being throttled or suspended.--### Messaging Tiers (Daily Unique Contacts)-* **Tier 1**: 1,000 unique business-initiated contacts per 24 hours.-* **Tier 2**: 10,000 unique business-initiated contacts per 24 hours.-* **Tier 3**: 100,000 unique business-initiated contacts per 24 hours.-* **Tier 4 (Unlimited)**: Unlimited unique contacts per 24 hours.--### How to Upgrade Tiers Safely-* You automatically jump to the next tier when:- 1. Your quality rating is **High (Green)**.- 2. In the past 7 days, you sent messages to at least 50% of your current tier limit.-* **Warming up a new number**: Never blast 1,000 cold contacts on day one. Start with 100–200 high-intent, recent opt-ins who expect your message to establish a clean initial quality rating.-------## 5. Standard Interactive Message Formats--Interactive WhatsApp messages convert 2–3x higher than plain text blocks.--### Format A: Quick Reply Buttons (Up to 3 buttons)-```json-{- "type": "button",- "sub_type": "quick_reply",- "index": "0",- "parameters": [- { "type": "payload", "payload": "OPT_IN_VIP" }- ]-}-```-* Use for simple choices: `[Yes, Claim 15%]`, `[Ask a Question]`, `[Stop Promotions]`.--### Format B: Call-to-Action Buttons (Up to 2 buttons)-* **URL Button**: Opens browser (e.g. `[Complete Checkout 🛒]`).-* **Phone Call Button**: Initiates phone call (e.g. `[Call Support 📞]`).--### Format C: Interactive List Messages (Up to 10 items)-* Best for catalog browsing, booking slots, or multi-step qualification flows.diff --git a/skills/whatsapp-marketing/references/playbooks-and-scripts.md b/skills/whatsapp-marketing/references/playbooks-and-scripts.mddeleted file mode 100644index b113d79..0000000--- a/skills/whatsapp-marketing/references/playbooks-and-scripts.md+++ /dev/null@@ -1,109 +0,0 @@-# WhatsApp Marketing Playbooks & Scripts--Ready-to-deploy playbooks, conversation flows, and interactive message templates for high-converting WhatsApp marketing programs.-------## Playbook 1: Click-to-WhatsApp (CTWA) Lead Gen Funnel--**Goal**: Convert traffic from Facebook/Instagram ads into qualified leads directly within a WhatsApp chat.--### Ad Setup:-* **Objective**: Engagement or Leads (Destination: WhatsApp).-* **Pre-filled User Message**: *"Hi! I'd like to get the free Growth Audit for my SaaS."*--### Automated Chat Flow (Triggered on Inbound message):-```text-Bot (Message 1 - Instant):-Hey {{1}}! 👋 Thanks for reaching out about the Growth Audit.--To make sure we prepare the exact audit for your team, what's your current stage?--Buttons:-[ 🚀 Pre-revenue / Idea ]-[ 📈 $1k - $10k MRR ]-[ 🏆 $10k+ MRR ]-```--```text-Bot (Message 2 - Branching based on selection):-Got it! What is your product website URL? (Just type it below)-```--```text-User:-https://example.com--Bot (Message 3 - Confirmation & Calendar Booking):-Awesome! We received your details. Would you like our growth lead to send your audit video here or schedule a 15-min live walkthrough?--Buttons:-[ 🎥 Send Video Here ]-[ 📅 Book Live Walkthrough ]-```-------## Playbook 2: E-Commerce Abandoned Cart Recovery--**Timing**: Send 45–60 minutes after cart abandonment. (Do not send immediately; allow organic completion).--### Message Template (Category: MARKETING):-* **Header**: Image of the abandoned item (dynamic media ID)-* **Body**:- ```text- Hey {{1}}, you left something in your bag at {{2}}! 🛍️-- Your {{3}} is reserved, but stock is running low. Finish your order now and take an extra 10% off with code SAVE10.- ```-* **Footer**: *Reply STOP to unsubscribe*-* **Buttons**:- 1. URL Button: `[ Complete Order 🛒 ]` (Deep-linked to pre-filled checkout)- 2. Quick Reply: `[ Need Help? 💬 ]` (Routes to live agent or FAQ bot)-------## Playbook 3: High-Touch Post-Purchase & Review Generation--**Timing**: Send 3–5 days after confirmed delivery.--### Message 1 (Category: UTILITY or MARKETING):-```text-Hey {{1}}, your order of {{2}} arrived a few days ago! How are you enjoying it so far?--Buttons:-[ ⭐ Loving it! ]-[ ❓ Have questions ]-```--### Branching:-* **If "Loving it!"**:- ```text- That makes our day! 🙌 Would you mind taking 30 seconds to share your review on Trustpilot/Google? Here's the direct link: {{3}}- ```-* **If "Have questions"**:- ```text- We're here to help! Let us know what's going on or reply to this message and our support team will jump right in.- ```-------## Playbook 4: VIP Broadcast & Flash Drop (High Urgency)--**Audience**: Engaged customers who opted in for VIP drops.-**Frequency**: Maximum 1–2 times per month to preserve list health.--### Template (Category: MARKETING):-* **Header**: Video / Image Preview-* **Body**:- ```text- 🚨 VIP EARLY ACCESS: {{1}} is officially live!-- Because you're on our VIP WhatsApp list, you get first access 2 hours before the public launch.-- Use VIP code {{2}} for free express shipping. Only 200 units available.- ```-* **Footer**: *Reply STOP to opt out*-* **Buttons**:- 1. URL Button: `[ Shop VIP Drop ⚡ ]`- 2. Quick Reply: `[ Check Sizing 📏 ]`