Skip to content
Shpresim Ndrukaj
← Selected work

Founder

PostFlowSocial: multi-tenant social media SaaS

A week of on-brand posts, including video, planned, generated and published automatically for small businesses and agencies, on a multi-tenant platform with Stripe billing.

Role
Founder & engineer
Timeframe
Since Dec 2023

Problem

Small businesses and agencies need a week of on-brand content planned, generated and published without a social media manager.

Approach

Multi-tenant architecture; AI generation of week-long post plans including video; intelligent scheduling; automated publishing via Meta Graph APIs (passed App Review); Stripe subscription lifecycle; queue-based workers.

Outcome

Agencies emerged as the distribution channel (agency-multiplier model).

Architecture

  1. SourceTenants: Each business or agency client is isolated.Leads to Stripe · Brand profile
  2. SourceStripe: Subscription lifecycle drives tenant access.Leads to Tenants
  3. ProcessingBrand profile: Voice, visuals and goals per tenant.Leads to Generation (LLM + video)
  4. ProcessingScheduler (BullMQ): Queues each post for its best slot.Leads to Publishers (Facebook, Instagram)
  5. AIGeneration (LLM + video): A week of posts, copy and video, per brand.Leads to Scheduler (BullMQ)
  6. OutputPublishers (Facebook, Instagram): Publishes via Meta Graph API.Leads to Analytics
  7. OutputAnalytics: Performance flows back per tenant.

Metrics

Meta App Review for automated publishing
Passed

Stack

  • Next.js
  • Payload CMS
  • PostgreSQL
  • BullMQ
  • Stripe
  • Gemini
  • fal.ai
  • Meta Graph API