Self-hosted email marketing with full source code. Pay once, own forever. Get AcelleMail — $74 →

Advanced Automation Triggers and Conditions

Master AcelleMail's automation engine with advanced triggers, conditional logic, and branching workflows.

Beyond Basic Triggers

AcelleMail supports sophisticated automation triggers that go beyond simple list subscriptions.

Available Triggers

Behavioral Triggers

  • Email opened: Trigger when subscriber opens a specific campaign
  • Link clicked: Trigger on click of a specific URL in any email
  • Page visited: Track website visits (requires tracking pixel)

Data-Based Triggers

  • Date field match: Birthday, anniversary, renewal date
  • Custom field change: When any subscriber field value changes
  • Tag applied: When a specific tag is added to a subscriber

External Triggers

  • API webhook: Trigger from your app via REST API
  • Zapier/Make: Third-party automation platforms

Conditional Branching

If/Else Conditions

Condition: subscriber.custom_field("plan") == "premium"
  ├─ True → Send premium upsell email
  └─ False → Send upgrade offer email

Multi-Branch

Condition: subscriber.tag
  ├─ Has "purchased" → Post-purchase flow
  ├─ Has "trial" → Trial nurture flow
  └─ Default → General nurture flow

Advanced Patterns

Lead Scoring

Assign points based on engagement and trigger actions at score thresholds:

  • Email opened: +1 point
  • Link clicked: +3 points
  • Page visited: +5 points
  • Score > 50: Add "hot-lead" tag → Trigger sales notification

Re-Engagement Waterfall

Wait 30 days since last open
  ↓
Send "We miss you" email
  ↓
Wait 7 days → Check: Opened?
  ├─ Yes → Remove "inactive" tag, continue normal flow
  └─ No → Send "Last chance" email with incentive
       ↓
       Wait 7 days → Check: Opened?
         ├─ Yes → Welcome back flow
         └─ No → Add "unengaged" tag → Consider removal

API Trigger Example

curl -X POST https://your-acellemail.com/api/v1/automations/trigger \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "automation_id": "abc123",
    "subscriber_email": "user@example.com",
    "data": {
      "event": "purchase_completed",
      "order_total": 99.00
    }
  }'

More in Automation