DirectFlow - Marketing Automation for Your Database | Real-Time Email & SMS · DirectFlow
SELECT * FROM users WHERE marketing_sucks = false

Marketing Automation That Reads Your Database Directly

Send email and SMS campaigns using real-time data from your database. No syncing. No data copies. No delays.

14-day free trial No credit card required Setup in ~2 hours
PostgreSQL · MySQL · Snowflake · BigQuery · Redshift

How It Works

// Three steps. Actually three steps.

01

Connect Your Database

Secure read-only connection. 10 minutes to set up. Your data never leaves your infrastructure.

→ postgres://your-db:5432

02

Build Your Segments

AI writes SQL from plain English. Or write queries yourself. You have full control.

→ SELECT * WHERE awesome = true

03

Launch Your Campaign

Visual workflow builder. Real-time execution. See results immediately.

→ 🚀 Deployed in production

Visual Workflow Builder

Drag-and-drop interface that marketers love. Built on SQL that engineers trust.

// Yes, it's actually good.

DirectFlow Visual Workflow Builder
Trial Expiration Reminders

Query users where trial_ends_at is in 3 days. Send personalized upgrade path.

Onboarding Sequences

Trigger based on user actions in your database. Real-time, not batch.

Usage-Based Upsells

Identify power users hitting limits. Automated upgrade campaigns.

Win-Back Campaigns

Find churned customers. Send targeted re-engagement based on their data.

Why DirectFlow Works

// Spoiler: it's the architecture

Real-Time Data

// No stale segments

No 24-48 hour sync delays. Your campaigns run on current data, every time. When a user takes an action, you can respond immediately.

Database-First

// Your schema, your rules

Built for teams that store data properly. No forcing your schema into someone else's data model. Your database is the source of truth.

Visual Builder

// No code required*

Marketers can build and launch campaigns without waiting for engineering. Engineers maintain control over data access and queries.

* but you can if you want to

For Technical Teams

// Engineers 💜 this

SQL-native. Read-only access. Works with your existing infrastructure.

// Zero trust architecture. Zero compromises.

query.sql
SELECT users.email, users.name,
subscription.plan, subscription.mrr
FROM users
JOIN subscriptions ON users.id = subscriptions.user_id
WHERE subscription.trial_ends_at
BETWEEN NOW() AND NOW() + INTERVAL '3 days'
AND subscription.status = 'trial';
-- Query executes in real-time, every time

Read-Only Access

We never write to your database. Complete separation of concerns.

GRANT SELECT ON *.* TO 'directflow'

Your Infrastructure

Works with your existing data warehouse. No data copies or exports.

Connection pooling built-in

No Lock-In

Standard SQL queries. Export your workflows anytime. Own your data.  


git clone your-workflows

Full API Access

REST API for programmatic control. Webhook support for custom integrations.

curl api.directflow.io/v1/campaigns

Lifecycle Campaigns That Run on Real Data

Build sophisticated marketing automation without asking engineering for data exports.

Onboarding Sequences

Welcome new users and guide them through activation based on their actual product usage, not generic timers.

Based on: users.signup_date, users.onboarding_completed, user_events.last_action

Re-Engagement Campaigns

Win back dormant users by targeting them based on their last login, subscription status, and feature usage patterns.

Based on: users.last_login_at, subscriptions.status, feature_usage.count

Upgrade Prompts

Nudge users to upgrade when they hit plan limits or consistently use premium features on a free tier.

Based on: usage_metrics.api_calls, plans.tier, users.joined_date

Trial Expiration

Automated reminders based on trial end date, with personalized content based on features they've actually used.

Based on: trials.expires_at, feature_usage.features_used, users.engagement_score

Customer Retention

Prevent churn by identifying at-risk customers through declining engagement, support tickets, or billing issues.

Based on: user_activity.trend, support_tickets.count, payments.failed_attempts

Power User Recognition

Celebrate milestones and reward your best customers based on tenure, usage, referrals, or revenue contribution.

Based on: users.tenure, revenue.lifetime_value, referrals.count

Built for B2B and B2C SaaS Teams

Whether you're a marketer building campaigns or an engineer evaluating tools, DirectFlow simplifies your stack.

For Marketing Teams

  • Build segments without SQL knowledge (AI-powered query builder)
  • Launch campaigns without waiting for engineering
  • Personalize using real product behavior, not stale data
  • See what's working with built-in analytics
  • Own your campaigns end-to-end

"Finally, a marketing platform that doesn't require engineering tickets to create a simple segment."

For Engineering Teams

  • Read-only database connection (secure, auditable)
  • No ETL pipelines to maintain
  • No data duplication or sync jobs
  • Transparent SQL queries (you can see exactly what runs)
  • One integration replaces 3-5 tools

"Eliminated Segment, Reverse ETL, and Customer.io. One connection to our Postgres. Done."

Everything You Need. Nothing You Don't.

Professional marketing automation with the technical foundation you expect.

Direct Database Connection

Read-only access to Postgres, MySQL, MongoDB, Snowflake, BigQuery, and Redshift. No data replication.

AI-Powered Query Builder

Write queries in plain English. "Find users who haven't logged in for 14 days" becomes SQL automatically.

Email Campaigns

Visual email builder with templates, personalization, A/B testing, and real-time analytics.

SMS Campaigns

Send SMS alongside email. Same segmentation, same workflow builder. Simple pricing.

Workflow Automation

Build multi-step lifecycle campaigns triggered by database changes or time-based rules.

Conversion Tracking & Attribution

Track email opens, clicks, and conversions on your website. Automatically generated tracking links measure which campaigns drive signups, purchases, and revenue.

A/B Testing

Test subject lines, send times, and content variations. Built-in statistical significance tracking.

Security & Compliance

SOC 2 Type II, GDPR compliant, encrypted at rest and in transit. Enterprise-grade security.

API & Webhooks

RESTful API for programmatic access. Webhooks for event-driven integrations. Flexible when you need it.

Simple, Transparent Pricing

One platform. No hidden fees. No surprise bills from multiple vendors.

Starter

$599/month

10,000 contacts

  • 5,000 SMS/month included
  • Unlimited emails (100K/month)
  • Unlimited push notifications
  • Unlimited user seats
  • AI query builder
  • Email + SMS workflows
  • A/B testing (unlimited)
  • Click tracking & analytics
  • Email support (24hr SLA)
  • API access

SMS Overages: $0.020 per additional SMS

Start Free Trial
MOST POPULAR

Growth

$999/month

25,000 contacts

  • 15,000 SMS/month included
  • Unlimited emails (250K/month)
  • Unlimited push notifications
  • Unlimited user seats
  • AI query builder
  • Email + SMS workflows
  • A/B testing (unlimited)
  • Advanced analytics
  • Priority support (12hr SLA)
  • Chat + email support
  • API access

SMS Overages: $0.015 per additional SMS

Start Free Trial

Professional

$1,699/month

50,000 contacts

  • 35,000 SMS/month included
  • Unlimited emails (500K/month)
  • Unlimited push notifications
  • Unlimited user seats
  • AI query builder
  • Email + SMS workflows
  • A/B testing (unlimited)
  • Advanced analytics & reporting
  • Priority support (4hr SLA)
  • Phone + chat + email support
  • API access
  • Custom integration support

SMS Overages: $0.012 per additional SMS

Start Free Trial
CUSTOM

Enterprise

Custom Pricing

100,000+ contacts

  • Custom SMS volume included
  • Unlimited emails
  • Unlimited push notifications
  • Unlimited user seats
  • AI query builder
  • Email + SMS workflows
  • A/B testing (unlimited)
  • Advanced analytics & reporting
  • Dedicated account manager
  • 1-hour response SLA
  • Phone + chat + email support
  • Single-tenant deployment option
  • Custom integrations built for you
  • Quarterly business reviews
  • SLA guarantees (99.9% uptime)

Negotiated volume pricing

Contact Sales
SMS Pricing Explained

Starter, Growth, and Professional plans include generous SMS allowances. Additional SMS charged per message at wholesale rates.

Need high volume? Buy in bulk:

  • • 100,000 SMS: $900 ($0.009 each)
  • • 500,000 SMS: $4,250 ($0.0085 each)
  • • 1M+ SMS: Custom pricing

All plans include unlimited email sends.

Most teams using Segment + Customer.io + Twilio spend $3,500-6,000/month.
DirectFlow replaces all three.

Enterprise-Ready

// All the boring-but-important stuff ✓

Security, compliance, and reliability features you'd expect from enterprise software.

SOC 2 Type II

Annual audits, security reviews, and compliance documentation.

GDPR & CCPA

Full compliance with data privacy regulations. Built-in consent management.

99.9% Uptime SLA

Enterprise plans include guaranteed uptime with financial penalties.

SSO & SAML

Single sign-on with Okta, Auth0, Google Workspace, and Azure AD.

Audit Logs

Complete activity tracking. Who did what, when, and from where.

Role-Based Access

Fine-grained permissions. Control who can view, edit, and deploy campaigns.

Encryption Everywhere

TLS 1.3 in transit. AES-256 at rest. Zero plaintext storage.

Single-Tenant Option

Dedicated infrastructure in your VPC or ours. Full isolation.

Backup & DR

Automated backups, point-in-time recovery, multi-region failover.

// Translation:

Your security team will approve this. Your compliance team will love this. Your CFO won't get surprised by hidden fees.

Client Logo Coming Soon

"Your client testimonial will be placed here. Request one that mentions specific outcomes: time saved, cost reduction, or workflow improvements."

Client Name, Title at Company Name

3 hours

Setup time

$3,200/mo

Cost savings

Real-time

vs 24hr lag

Frequently Asked Questions

No. DirectFlow connects directly to your operational database (Postgres, MySQL, MongoDB) or data warehouse (Snowflake, BigQuery, Redshift). If you have customer data in any of these, you can use DirectFlow.

You can also use our API to send data programmatically if you don't have a database or prefer that approach.

Minimal. Our connections are read-only, and queries are optimized for performance. For production databases, we recommend using a read replica. We never perform writes, updates, or deletes.

Most customers report zero noticeable impact. For high-scale needs (millions of contacts), we can architect custom solutions.

Klaviyo and Customer.io require you to sync customer data to their platform through integrations, webhooks, or CSV uploads. This creates sync delays and data duplication.

DirectFlow connects directly to your database and queries it in real-time when campaigns send. No syncing, no delays, no duplicate data storage. Plus, you replace multiple tools (CDP + ESP + SMS provider) with one platform.

Yes. While our core strength is direct database connections, you can also use our API to send customer data, similar to any marketing platform. However, you'll lose the benefits of real-time querying and won't need the higher pricing tier.

If you don't have a database, consider starting with a lower-cost platform designed for API-first workflows.

Most customers are up and running in 2-4 hours:

  • Database connection: 10-15 minutes
  • First campaign setup: 30-60 minutes
  • Template customization: 30-60 minutes

We offer white-glove onboarding on Growth and Professional plans, where we help you build your first campaigns.

Our AI-powered query builder translates plain English into SQL automatically. For example: "Users who signed up in the last 7 days but haven't logged in" becomes a working SQL query.

You can also write SQL directly if you prefer, or our team can help you build complex queries during onboarding.

DirectFlow is fully GDPR and CCPA compliant. Since we don't store your customer data (we query it in real-time), there's no duplicate data storage to manage.

We provide tools for handling unsubscribes, deletion requests, and consent management. You maintain full control over your data at all times.

Yes. We offer free migration assistance on all paid plans. We'll help you:

  • Recreate your existing segments using database queries
  • Import email templates
  • Set up equivalent workflows
  • Test everything before going live

Most migrations complete in 1-2 weeks.

Ready to Simplify Your Stack?

Talk to our team about your data stack, current challenges, and how DirectFlow can help.

Talk to an Engineer

No sales pitch. Talk directly to the team building DirectFlow about your technical requirements and data architecture.

engineering@directflow.io
Documentation

Explore our technical documentation, API references, and implementation guides.

View Documentation
Security & Compliance

Review our security practices, compliance certifications, and data handling policies.

Security Overview