Skip to content

Core Concepts

JustAI helps you create, test, and optimize personalized messaging at scale. This guide explains the key concepts you’ll work with in the platform.

A Flow is a sequence of connected touchpoints that form a user journey. Think of it as a workflow or journey that guides users through a series of messages.

Examples of Flows:

  • Onboarding sequence (Welcome → Feature highlight → Activation prompt)
  • Cart abandonment (Reminder → Discount offer → Last chance)
  • Re-engagement campaign (We miss you → What’s new → Special offer)

Flows let you orchestrate multiple Templates together and optimize the entire journey, not just individual messages.

Day 0: Welcome Email
Day 2: Feature Discovery
Day 5: Case Study / Social Proof
Day 10: Trial Ending Reminder
Day 13: Last Chance Offer

Each step in this flow is a separate Template that JustAI optimizes independently while tracking the overall journey conversion.


A Template represents a single touchpoint in your messaging—one email, push notification, or SMS. It’s the core unit you build and optimize in JustAI.

Each Template contains:

  • Variants — Different versions of the message to test
  • Variables — The editable components of your message
  • Attributes — Audience segments for personalization
  • Themes — Tags that categorize your messaging approach
  • Optimization metric — The KPI you want to improve
PropertyValue
Namewelcome-email
ChannelEmail
Optimization MetricClick rate
Attributesplan, signup_source
Variablessubject, preheader, headline, cta
Variants4 active variants

Variants are different versions of a Template’s content. JustAI tests these variants against each other to find what performs best for each audience.

You can create variants in several ways:

  • Manual creation — Write each variant yourself
  • AI generation — Let JustAI generate variants based on your input
  • Theme-based generation — Generate variants by specifying themes (e.g., “create 3 urgency-focused variants”)
VariantSubject LineCTATheme
A”Welcome to Acme — let’s get started""Start exploring”professional
B”You’re in! Here’s what to do first 🎉""Show me around”friendly
C”Your free trial starts now — don’t waste a day""Get started now”urgency
D”Join 10,000+ teams already using Acme""See why they love it”social-proof

JustAI’s Auto-Tune automatically shifts traffic toward winning variants over time.


Attributes are categorical user properties that define audience segments. JustAI uses attributes to personalize which variant a user sees.

Common attribute examples:

  • city — New York, San Francisco, London
  • plan — Free, Pro, Enterprise
  • lifecycle_stage — New, Active, At-risk, Churned
  • industry — Tech, Healthcare, Finance

How attributes work:

  1. You define which attributes matter for a Template
  2. JustAI learns which variants perform best for each attribute combination
  3. Users automatically receive the optimal variant for their segment

A fitness app uses these attributes for their upgrade campaign:

AttributeValues
fitness_goalWeight loss, Muscle gain, General health
activity_levelBeginner, Intermediate, Advanced
subscriptionFree, Premium

What JustAI learns over time:

User SegmentWinning VariantWhy It Works
Beginner + Weight lossVariant B (encouraging tone)New users respond to supportive messaging
Advanced + Muscle gainVariant D (data-driven)Experienced users want metrics and progress tracking
Free + General healthVariant C (value-focused)Price-sensitive users need clear ROI

Themes are user-defined tags that categorize the messaging approach or tone of your variants. Unlike attributes (which describe users), themes describe your content.

Common theme examples:

  • urgency — Limited time, act now
  • fomo — Don’t miss out, others are doing it
  • speed — Quick, instant, fast results
  • trust — Secure, reliable, proven
  • value — Save money, best deal

Using themes:

  • Tag existing variants with themes for organization
  • Ask AI to generate new variants by theme: “Generate 3 variants with a ‘social-proof’ theme”
  • Analyze which themes perform best for different audiences

After running a campaign, JustAI shows which themes resonate with different audiences:

AudienceBest ThemeClick Rate
Enterprise userstrust12.4%
Startup usersspeed18.2%
Free trial usersfomo15.7%
Churned usersvalue9.1%

You can use these insights to generate more variants with winning themes for each segment.

Prompt: “Generate 3 variants for the cart abandonment email using the urgency theme”

AI generates:

VariantSubject Line
Urgency-1”Your cart expires in 2 hours”
Urgency-2”Items selling fast — complete your order”
Urgency-3”Last chance: Your 15% discount ends tonight”

Variables are the individual components that make up a message. Each variable can be independently optimized.

Common variables for email:

VariableDescription
subjectEmail subject line
preheaderPreview text shown in inbox
headlineMain heading in the email body
bodyPrimary message content
ctaCall-to-action button text
section1, section2Modular content blocks

Selective optimization: You don’t have to optimize everything. Select which variables you want JustAI to test:

  • Optimize only subject and preheader to improve open rates
  • Optimize only cta to improve click-through rates
  • Optimize all variables for full message testing

Example: Variable Structure for a Promo Email

Section titled “Example: Variable Structure for a Promo Email”
┌─────────────────────────────────────────┐
│ subject: "Summer sale: 30% off everything"│
├─────────────────────────────────────────┤
│ preheader: "Plus free shipping on $50+" │
├─────────────────────────────────────────┤
│ │
│ headline: "Your summer upgrade awaits" │
│ │
│ section1: [Hero image + main offer] │
│ │
│ section2: [Product recommendations] │
│ │
│ ┌─────────────────────────────────┐ │
│ │ cta: "Shop the sale" │ │
│ └─────────────────────────────────┘ │
│ │
└─────────────────────────────────────────┘

Optimization settings for this template:

VariableOptimize?Reason
subject✅ YesTest different hooks (discount vs. urgency vs. curiosity)
preheader✅ YesTest complementary info vs. reinforcing subject
headline❌ NoKeep consistent with brand voice
section1❌ NoStatic promotional content
section2❌ NoPersonalized product recs (handled separately)
cta✅ YesTest action words (“Shop” vs. “Get” vs. “Claim”)

Each Template is optimized toward a single key metric—the outcome you care about most.

Available metrics:

MetricBest for
Open rateEmail engagement, subject line testing
Click rateCTA effectiveness, content relevance
Conversion rateRevenue, signups, purchases
Subscription rateNewsletter growth, opt-ins
Custom eventsApp-specific actions

JustAI’s Auto-Tune uses your chosen metric to determine which variants are “winning” and automatically allocates more traffic to top performers.

Campaign TypeRecommended MetricWhy
NewsletterOpen ratePrimary goal is getting readers to engage
Product launchClick rateDrive traffic to landing page
Flash saleConversion rateDirect revenue impact
Trial expirationSubscription rateConvert free to paid
Feature announcementCustom event (feature_used)Track actual adoption

Here’s how these concepts connect:

Flow (Journey)
└── Template (Touchpoint)
├── Variants (Content versions)
│ ├── Themes (Content tags)
│ └── Variables (Message components)
├── Attributes (Audience segments)
└── Optimization Metric (Success measure)

Flow: Cart Abandonment Recovery (3 emails over 48 hours)

Template 1: Gentle Reminder (sent at +2 hours)

ComponentConfiguration
Attributescart_value (low/medium/high), customer_type (new/returning)
Themeshelpful, reminder
Variables to optimizesubject, cta
MetricClick rate

Variants:

IDSubjectCTAThemes
V1”You left something behind""Return to cart”reminder
V2”Still thinking it over?""Complete your order”helpful
V3”Your cart is waiting for you""Finish checkout”friendly

Template 2: Incentive Offer (sent at +24 hours)

ComponentConfiguration
Attributescart_value, customer_type
Themesurgency, value
Variables to optimizesubject, preheader, cta
MetricConversion rate

Variants:

IDSubjectCTAThemes
V1”Get 10% off your cart — today only""Claim my discount”value, urgency
V2”Your items are selling fast""Buy now before they’re gone”fomo, urgency
V3”Complete your order & get free shipping""Get free shipping”value

Results after 30 days:

SegmentWinning VariantConversion Rate
New + High cart valueV2 (FOMO)8.2%
New + Low cart valueV3 (Free shipping)5.1%
Returning + High valueV1 (Discount)11.4%
Returning + Low valueV1 (Discount)6.8%