Work  /  Full-stack products

Social media scheduler backend

The backend of an AI social media management SaaS: scheduling, AI content, approvals and paid tiers.

merciven.co/work/social-scheduler/live/LiveOpen ↗
Social media scheduler backend app, running with sample data

The problem

Small teams post to several networks, each with its own rules, and want AI help writing posts without losing control over what goes out under their name.

Objectives

  1. Schedule one post to many platforms
  2. Generate captions and images with AI
  3. Let owners approve what editors write
  4. Enforce plan limits fairly

Process

  1. DiscoverWorked from the product owner's requirements and platform API limits.
  2. DefinePost states, plan limits and approval rules.
  3. BuildScheduling, AI content and image generation, email campaigns, approvals, tiered subscriptions.
  4. ProveTests for rules, approvals and retry behaviour.

Who it's for

Business owner

Approves posts and pays for the plan.

Editor

Drafts posts with AI help.

Challenges

  • Each platform has different limits
  • A failed platform must be retried without double-posting the others
  • AI text has to fit each platform

What we built

Multi-platform scheduling

Character limits, image rules and connected accounts checked up front.

Approval workflow

Editors' posts wait for an owner on paid plans.

Retries with backoff

2, 4, 8 minutes; platforms already published are skipped.

Tiered plans

Posts per month and platforms per post by tier.

Flow

  1. Brief
  2. AI drafts per platform
  3. Editor submits
  4. Owner approves
  5. Scheduler picks up
  6. Publish per platform
  7. Retry failures

Tools & languages

  • Python
  • REST APIs
  • AI content generation
  • AI image generation
  • Email campaigns
  • Subscriptions

The code

A Python sample, written new rather than taken from the client's codebase: approvals, plan limits, retries and AI captions. 5 tests.

The repository is private. We're happy to share it with a hiring team or walk you through it on a call.

Open the live demoRequest a code walkthrough

Samples and demos use invented data. No client code or client data is shown.