CONTENT CREATION

Generate blog social variants tuned to what performed best, logged to a metrics table

On a new published post, this pulls recent post-performance data, has OpenAI write variants biased toward the styles that performed best, posts them, and logs each variant…

CategoryContent Creation
Enginesim
Difficultyadvanced
Triggerwebhook
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook fires on newly published postHTTP webhook
  • ActionRead recent performance metricsPostgreSQLPostgres
  • LogicDistill top-performing patterns into prompt guidance
  • ActionGenerate weighted variants and cover imageOpenAI
  • ActionPublish variants across platformsSocial publishing
  • OutputLog variants to metrics tablePostgreSQLPostgres

What it does

Makes repurposing learn from itself. When a new blog post is published, the flow first reads historical engagement data from a Postgres metrics table, feeds the top-performing hook and format patterns into the prompt, and generates social variants biased toward what already works. After posting, it logs each variant back to Postgres so the next run is smarter.

When to use it

Use it once you have a few weeks of posting history and want variant generation to compound — favoring the hooks, lengths, and angles your audience actually engages with instead of guessing fresh every time.

How it works

  1. 1A blog post is published, firing the trigger via webhook.
  2. 2The flow queries Postgres for recent variant performance metrics.
  3. 3A logic step distills the top-performing patterns into prompt guidance.
  4. 4OpenAI generates variants weighted toward those patterns, plus generate-image makes a cover.
  5. 5post-to-platforms publishes the variants.
  6. 6Each variant is inserted into the Postgres metrics table for future learning.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect OpenAIModels, embeddings, files.
  4. 4
    Connect Image generationManaged Nano Banana image renders, metered per image.
  5. 5
    Connect Social publishingCross-post to X, LinkedIn, Instagram, TikTok, and 4 more in one call.
  6. 6
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  7. 7
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  8. 8
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.