# Social Media Reels Automation — Workflow Briefing

**Goal:** Turn a one-pager input (text, images, hashtags) into a reel video automatically and post it to Instagram, TikTok, and LinkedIn.

**Stack:** n8n self-hosted (see the Hetzner setup at inzpyre.me/ki-lernen/automatisierung), Claude Code as the workflow generator, Anthropic + an asset renderer.

---

[Alex delivers: the full workflow briefing. The content should cover:

- **Trigger** — webhook, schedule, or manual input via an n8n form?
- **One-pager input schema** — which fields (headline, body, image assets, hashtags, CTAs)?
- **AI calls** — which model per step (Anthropic Haiku for script generation, GPT-4o for the voiceover text), concrete prompts.
- **Asset generation** — video renderer (Remotion template? FFmpeg step? external video API like HeyGen/Synthesia)?
- **Posting targets** — Instagram Graph API, TikTok Content Posting API, LinkedIn Share API. Which auth, which quotas.
- **Logging and error handling** — Postgres table per run, retry strategy on API errors.
- **Example payload** for the webhook trigger.
- **Edge cases** — image missing, text too long, platform limit, quota reset.]

---

*Once the briefing is in place, you load this markdown into Claude Code and say:*

```
Read social-media-reels-workflow.md and build an n8n workflow from it.
Import it via n8n-MCP into our instance and write a README.md with a
trigger payload example and edge cases.
```

*Claude Code generates the workflow JSON, imports it, and returns the editor link. Check it visually, click "Activate", done.*
