Workflows that think.

Not just triggers and templates. Each workflow decides what to say, when to say it, and learns what converts.

12
Revenue Workflows
12
Event Types
4
Channels

Not just automation. Decisions.

Every workflow adapts to the user, the context, and what's worked before.

Picks the right message

Copy adapts to user behavior, history, and what's converted before. Not the same template for everyone.

Chooses when to send

Timing adjusts to timezone, engagement patterns, and urgency. High-value users get faster follow-up.

Learns from outcomes

Thompson Sampling surfaces winners automatically. Losers phase out without manual intervention.

Attributes every dollar

Track which variation, channel, and timing drove the conversion. Revenue tied to the exact decision.

12 workflows. 1 goal: revenue.

Each workflow is optimized for a specific revenue outcome.

Involuntary Churn Prevention

Proactive outreach before payment fails completely

payment.failing2 emails

Payment Recovery

Multi-step recovery adapts to failure reason and customer value

payment.failed3 emails

Trial Activation

Guide to activation based on what they haven't tried yet

trial.started2 emails

Trial Conversion

Convert based on usage depth and activation score

trial.ending3 emails

Failed Trial Recovery

Win back expired trials with targeted offers

trial.expired2 emails

Usage-Based Upsell

Upgrade pitch matches actual usage patterns

usage.threshold2 emails

Team Expansion

Grow account through team adoption

team.member_invited2 emails

Downgrade Save

Retain revenue by addressing downgrade reasons

downgrade.requested2 emails

Renewal Reminder

Proactive renewal communication with value recap

renewal.upcoming2 emails

Win-back Campaign

Re-engage churned customers based on why they left

subscription.canceled3 emails

Churn Risk Intervention

Proactive outreach when behavioral signals indicate churn risk

churn.risk_detected2 emails

Cancel Flow Intervention

Last-chance retention when cancellation initiated

subscription.cancel_requested2 emails

What each workflow decides

Not just what to send, but how, when, and to whom.

Decision logic

Routes to different messaging based on user value and context

Offer calibration

Discount size adjusts to customer value and plan history

RM escalation

High-value accounts get personal outreach automatically

Outcome tracking

Every workflow signals success for continuous optimization

Trigger with one API call

Send an event, workflows handle the rest. Full type safety included.

TSlib/fourbyfour.ts
import { fbf } from '@fourbyfour/sdk'; // Initialize onceconst client = fbf({  apiKey: process.env.FOURBYFOUR_API_KEY,  projectId: process.env.FOURBYFOUR_PROJECT_ID}); // Track events → workflows trigger automaticallyawait client.track('payment.failed', {  user_id: 'u_123',  subscription_id: 'sub_456',  amount: 99.0,  currency: 'USD',  plan: 'Pro'});
Ln 16

Start recovering revenue today

Deploy your first workflow in 5 minutes. No credit card required.