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
- SourceTenants: Each business or agency client is isolated.Leads to Stripe · Brand profile
- SourceStripe: Subscription lifecycle drives tenant access.Leads to Tenants
- ProcessingBrand profile: Voice, visuals and goals per tenant.Leads to Generation (LLM + video)
- ProcessingScheduler (BullMQ): Queues each post for its best slot.Leads to Publishers (Facebook, Instagram)
- AIGeneration (LLM + video): A week of posts, copy and video, per brand.Leads to Scheduler (BullMQ)
- OutputPublishers (Facebook, Instagram): Publishes via Meta Graph API.Leads to Analytics
- 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