Skip to content

URD: Marketing

ModuleEXT-02Versionv0.2
StatusPlannedDate2026-06-04

Business documentation. This URD is Marketing's feature list - each feature below is one Functional Area (<AREA>). The same <AREA> keys the feature's PRDs (PRD-<AREA>-NNN) and tests (TC-<AREA>-NNN), and each feature is listed in the Delivery feature catalog. See the Feature Spine convention.

1. Purpose

Help merchants reach customers efficiently - capture interested leads, then send relevant, automated messages across channels to drive engagement and repeat visits.

2. Scope

IncludedExcluded
Inquiry & newsletter captureProvider-side delivery infrastructure
Multi-channel campaigns & automationPromotional pricing (Campaign module)
Campaign analytics & A/B testingLoyalty earning rules (Loyalty module)

3. Definitions

TermDefinition
InquiryA contact/sales/demo request captured from the public site
SubscriberA newsletter opt-in with subscribe/unsubscribe state
CampaignA planned message sent to an audience segment
AutomationA triggered or scheduled message sequence (drip)

4. Conceptual Model

Conceptual only - capture-side detail lives in the developer outreach docs.

5. Feature Catalog

The feature list of this module. Each row is one feature (a Functional Area). Detail in §6. Mirrored in the Delivery feature catalog.

Feature IDFeaturePhaseStatusPriority
CAPLead & Subscriber CaptureP1BuiltHigh
CMPCampaigns & AutomationP2PlannedMedium

Status: live from Plane where mapped, otherwise registry-declared. Vocabulary mirrors Plane (state-group / phase).

6. Features

One sub-section per feature, in catalog order. Each feature keeps its description, requirements, and acceptance together. Priority = MoSCoW (Must / Should / Could / Won't).

CAP - Lead & Subscriber Capture Planned

Feature ID: marketing/CAP · Phase: P1 · PRDs: - · Dev: @nx/outreach

What it does for users: collects inquiries (contact/sales/demo requests) and newsletter sign-ups from the public site, with idempotent subscribe, token-based unsubscribe, and subscriber statistics for admins.

Requirements

IDPRequirement
URD-CAP-001MCapture an inquiry submitted from the public site
URD-CAP-002MNewsletter subscribe is idempotent by email
URD-CAP-003SToken-based unsubscribe
URD-CAP-004SSubscriber statistics for admin

Acceptance

AC-CAP-01: Idempotent subscribe
GivenWhenThen
An email not yet subscribedThe email subscribes twiceA single active subscriber exists; no duplicate

CMP - Campaigns & Automation Planned

Feature ID: marketing/CMP · Phase: P2 · PRDs: - · Dev: @nx/outreach

What it does for users: send a campaign to a customer segment, build triggered/drip automation sequences, and A/B test and report campaign performance.

Requirements

IDPRequirement
URD-CMP-001SSend a campaign to a customer segment
URD-CMP-002CTriggered / drip automation
URD-CMP-003CA/B test and report campaign performance

Acceptance

AC-CMP-01: Campaign to segment
GivenWhenThen
A customer segment existsA campaign is sent to that segmentEach subscriber in the segment receives the campaign

7. Constraints & Non-Goals

Constraints

IDConstraint
C-01Unsubscribe must always be honored before any send
C-02Capture tables are global (not merchant-scoped)

Non-Goals

  • Building email/SMS delivery infrastructure (uses external providers)
  • Promotional pricing logic (owned by Campaign)

8. Version History

DateAuthorDescriptionVer
2026-05-30PMInitial stub; capture live, campaigns plannedv0.1
2026-06-04Claude (AI pair)Reorganize by feature (Feature Spine)v0.2

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.