xcladeDocs

Growth Studio (Email & Automations)

Visual block email compiler, AI Architect, campaigns, flows, RFM segments, and mandatory 2048-bit DKIM custom sending domains

Growth Studio

Growth Studio is xclade's built-in email marketing, automation, and customer lifecycle engine—powered by AWS SES Production (xclade-growth) and connected directly to your store's live catalog, orders, and brand tokens.

Growth Studio is commerce-first for every retail/DTC store and automatically unlocks B2B wholesale blocks, segments, and reorder playbooks when a store enables its B2B suite.


Mandatory Custom Sending Domains

Every store must attach and verify its own custom sending domain (2048-bit RSA DKIM) before sending any Growth Studio email—including test emails, broadcast campaigns, automation flows, and AI agent proposals. Platform domains (xclade.com, myxclade.com, mail.myxclade.com, or any subdomain) are strictly rejected and cannot be used for tenant sending.

Domain Setup Flow

  1. Open Growth Studio → Deliverability & DNS in https://app.xclade.com.
  2. Enter your brand's sending domain (recommended: a dedicated subdomain such as mail.yourbrand.com).
  3. xclade provisions AWS SES v2 2048-bit RSA DKIM tokens and a custom MAIL FROM Return-Path (bounces.mail.yourbrand.com) and displays the exact CNAME, MX, and SPF TXT records.
  4. Add those DNS records at your registrar/Cloudflare and click Verify DNS.
  5. Once dkimStatus === "success", test sends, broadcast campaigns, automation flows, and autonomous agent approvals unlock immediately.

Attempting to dispatch without a verified custom domain returns HTTP 412 Precondition Failed with error code custom_domain_required.


Visual Block Email Compiler

Emails are authored as structured JSON documents (EmailDocument) that inherit your store's live Storefront Studio colors, fonts, and button radius—then compile deterministically into 600px table-based HTML compatible with Gmail, Apple Mail, and Outlook alongside a clean plain-text multipart fallback.

Available Blocks

Block TypePurpose
brand-headerStore logo image or wordmark linked to your storefront.
hero-bannerEyebrow, headline, body copy, hero image, and primary CTA button.
editorial-proseRich multi-paragraph copy with optional bullet list.
product-grid2-column responsive product cards pulled from your live catalog.
dynamic-line-itemsHydrated cart/order line items with SKU, quantity, and formatted totals.
coupon-calloutDashed promo-code card with code display, expiry text, and checkout CTA.
b2b-quote-card(B2B-enabled stores) Commercial quote summary with locked total and approval CTA.
b2b-reorder-cta(B2B-enabled stores) Quick-order matrix & SKU replenishment callout.
dividerHairline horizontal separator.
compliance-footerPhysical mailing address + one-click unsubscribe link (auto-appended if omitted).

Merge Tags

All subject lines, preheaders, and block text support Handlebars-style merge tags with safe defaults:

Hi {{ profile.first_name | default: 'there' }}, your order from {{ store.name }} is waiting.

Common built-in variables: store.name, store.url, store.physical_address, profile.first_name, profile.last_name, profile.email, profile.company_name, promo.code, delivery.unsubscribe_url.


Deliverability & Compliance Architecture

  • RFC 8058 One-Click Unsubscribe: Every marketing email automatically injects List-Unsubscribe and List-Unsubscribe-Post: List-Unsubscribe=One-Click MIME headers alongside a visible footer unsubscribe link.
  • HMAC-Signed Click Tracking: Outbound links are signed with HMAC-SHA256 against the delivery token to prevent open-redirect tampering (unsubscribe and mailto: links are never wrapped).
  • Deliverability Shield: Real-time AWS SNS webhooks (POST https://api.xclade.com/webhooks/ses) track deliveries, hard bounces, and spam complaints—automatically suppressing bounced/complained contacts and pausing sending if complaint thresholds are approached.
  • Smart Sending Cooldown: Configurable per-contact cooldown window prevents over-messaging subscribers across overlapping campaigns and flows.

Campaigns, Flows, RFM & Growth Agents

  • Broadcasts & A/B Testing: Schedule one-off campaigns or run automated subject/content A/B tests with automatic winner selection.
  • Automation Flows: Trigger multi-step sequences on storefront events (welcome, abandoned cart, post-purchase, winback, and B2B quote follow-ups) with automatic exit conditions (e.g. exit on order placed).
  • Predictive RFM & Dynamic Segments: Deterministic Recency-Frequency-Monetary lifecycle scoring (champions, loyal, promising, at_risk, hibernating, plus overdue_b2b for B2B stores) with parameterized SQL segment evaluation.
  • Autonomous Growth Agents: Deploy recurring Copilot (drafts for human approval) or Autopilot agents governed by hard Go guardrails (max discount %, max daily sends, per-contact cooldown, and verified custom domain requirement).

On this page