DEV Community

PubliFlow
PubliFlow

Posted on

How I Built a SaaS That Pays YOU to Sell It (Open Affiliate Program)

What if your SaaS purchase came with a built-in income stream?

Not a cashback coupon. Not a referral discount. I'm talking about a real, transparent, multi-tier commission system that turns every single user into a paid partner.

That's exactly what we built at PubliFlow. And today, I'm going to walk you through why we did it, how it works, and how you can start earning from it right now.

Why Affiliate Instead of Traditional Ads?

Let me be honest — as an indie developer, I hate wasting money on ads.

Google Ads, Facebook Ads, sponsored posts... they're expensive, they're opaque, and most importantly, they don't reward the people who actually matter — your users.

When I was building PubliFlow (a modern SaaS platform for developers and teams), I kept asking myself: "Why am I paying Mark Zuckerberg for clicks when I could be paying my own users for genuine, trust-based recommendations?"

The math is simple:

  • Traditional ads → You pay the platform, get unpredictable results, zero loyalty
  • Affiliate model → You pay your users, get high-quality conversions, build a community of advocates

So I made the decision: PubliFlow's growth budget goes directly to our users. No middlemen. No ad platforms. Just a fair, transparent system where everyone wins.

The Three-Tier Commission Structure

Here's the deal. When you sign up for PubliFlow and share your unique referral link, you earn commissions at three levels:

Tier 1 — Direct Referral: 25% Commission ($50 per sale)

Every time someone subscribes to PubliFlow through your link, you get 25% of their payment — that's $50 for every standard subscription.

This alone is already generous compared to most SaaS affiliate programs (which typically offer 10-20%). But we didn't stop there.

Tier 2 — Sub-Referral: 5% Commission ($10 per sale)

Here's where it gets interesting. When your referral invites their referral, you earn 5% on that sale too — $10 per transaction.

That means your network effect compounds. You're not just earning from people you directly know. You're earning from the entire ecosystem you helped create.

Tier 3 — Extended Network: 2% Commission ($4 per sale)

One more level deep. When someone in your sub-network brings in another user, you still earn 2% — $4 per sale.

Let me make this concrete:

You → Refer Alice → Alice subscribes → You earn $50
You → Refer Alice → Alice refers Bob → Bob subscribes → You earn $10
You → Refer Alice → Alice refers Bob → Bob refers Carol → Carol subscribes → You earn $4
Enter fullscreen mode Exit fullscreen mode

Three levels. Real money. No pyramid scheme vibes — because the product itself delivers genuine value.

Founding Partner Privilege: Double Your Earnings

Now here's the part that early movers will love.

The first 100 subscribers to PubliFlow automatically become Founding Partners. What does that mean?

Your direct referral commission jumps from 25% to 40%.

That's $80 per direct sale instead of $50. And it's locked in — a permanent thank-you for believing in PubliFlow from day one.

Let's do the math on what this means in practice:

Earning Scenario: Founding Partner

Let's say you refer 10 people directly:

Level Calculation Earnings
Direct (10 people × $80) 10 × $80 $800

Now let's say 5 of those people each refer 3 people (that's 15 sub-referrals):

Level Calculation Earnings
L2 (15 people × $10) 15 × $10 $150

And if just 5 of those sub-referrals each bring in 3 more (another 15 at L3):

Level Calculation Earnings
L3 (15 people × $4) 15 × $4 $60

Total from a simple network: $800 + $150 + $60 = $1,010

And that's a conservative estimate. The network effect scales exponentially.

A More Ambitious Scenario

Refer 10 people → each refers 5 → each of those refers 3:

  • Direct (L1): 10 × $80 = $800
  • L2: 10 × 5 × $10 = $500
  • L3: 10 × 5 × 3 × $4 = $600

Total: $1,900 from genuine recommendations of a product you actually use.

That's not "passive income" hype. That's a real, trackable, transparent commission system built into the product.

The Tech Stack Behind PubliFlow

Since this is Dev.to, I know you're curious about the stack. Here's what powers PubliFlow:

  • Next.js 15 — App Router, Server Components, React 19
  • TypeScript — End-to-end type safety
  • Supabase — Auth, database, real-time subscriptions
  • Tailwind CSS — Utility-first styling
  • Vercel — Edge deployment and CI/CD
  • Stripe — Payment processing with webhook-driven commission tracking

The affiliate tracking system is built natively into the platform. No third-party affiliate software, no delays in commission calculation. When a subscription happens, your dashboard updates in real-time.

The entire referral tree visualization is also built in — you can literally see your network growing, with drill-down into each tier's earnings. It's satisfying in a way that traditional affiliate dashboards never are.

Why This Matters for the Indie Hacker Community

I've been in the indie hacker space for a while now, and one thing I've noticed: most SaaS founders treat their users as revenue sources, not partners.

The affiliate model changes that dynamic fundamentally. When your users have a financial incentive to spread the word, something magical happens:

  1. Feedback quality improves — Partners care about the product because their income depends on it
  2. Support becomes community-driven — Experienced users help newcomers because they're part of the same team
  3. Growth becomes organic — No fake reviews, no paid shills. Real people recommending a real product
  4. Retention increases — Partners stick around because leaving means losing their network's passive income

This isn't just good for PubliFlow. It's good for every person who joins. We're building a flywheel where product quality drives adoption, adoption drives network growth, and network growth drives income — which drives more adoption.

How to Get Started

Here's the action plan:

  1. Sign up at publiflow.vip
  2. Grab your unique referral link from the dashboard
  3. Share it — on Twitter/X, in dev communities, on your blog, in your newsletter
  4. Watch your commissions roll in — real-time, fully transparent
  5. If you're in the first 100, enjoy your permanent 40% Founding Partner rate

There's no cap on earnings. There's no time limit on commissions. Once someone joins through your link, you earn from their subscription (and their network's) for as long as they're active.

Final Thoughts

I built PubliFlow because I believe SaaS should be a partnership, not a transaction. The traditional model — build product, charge money, hope users stay — is broken. It pits founders against users in a constant battle over value extraction.

The affiliate model aligns everyone's incentives. Users become partners. Partners become advocates. Advocates become a community. And everyone benefits from the product's success.

If you're a developer, a content creator, a community leader, or just someone who likes sharing great tools — this is your chance to earn real money while helping others discover something useful.

The first 100 Founding Partner spots are filling up. Once they're gone, the 25% rate becomes permanent for new users.

Don't miss the 40% window.

👉 Join PubliFlow and start earning today


What's your experience with SaaS affiliate programs? Have you built one into your own product? I'd love to hear your thoughts in the comments.

Top comments (0)