Agent: Social Autopilot
Writes and publishes one on-brand post a day to your connected accounts, on your topics.
Could not copy. Use View as Markdown instead.
What it does
Once a day it writes and publishes POSTS_PER_RUN short, on-brand posts (1 by default) to each connected account that can post without required media. It looks at the account's last 10 posts before writing, so it varies the angle instead of repeating itself.
It never posts twice on the same day to the same account. TikTok is skipped because it needs media on every post and this agent writes text only.
Schedule
0 15 * * *Settings
| Setting | Label in the portal | Visibility |
|---|---|---|
| AI_MODEL_PROVIDER | AI provider (anthropic or openai) | Choice |
| AI_MODEL_KEY | Your AI model key | Secret |
| BUSINESS_TOPICS | What to post about (topics, tone, offers) | Visible text, editable |
BUSINESS_TOPICS is plain text, so you can read it back and change it any time from the deploy screen.
Tables it creates
posts_log every post it made: account, text, posted_at, external_idOpen posts_log in your Supabase Table Editor for a record of everything posted. external_id is the platform's own post id.
How to extend
- Change POSTS_PER_RUN in
supabase/functions/run/index.tsto post more than once per run. - Edit the writing prompt to set a voice, add offers or avoid certain words.
- Add an image generator and Supabase Storage, then pass imageUrl to the posts call to include TikTok.
- Change the schedule in your project's cron settings if 15:00 UTC is wrong for your audience.
Safety notes
See Agents for deploying, refreshing and removing.
You pay for what you connect. Nothing else.