Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Texterstellung & Content-Generierung

Texterstellung & Content-Generierung

Newsletter für Kita-Eltern mit OpenRouter erstellen und per Gmail versenden

Mitarbeitende laden tägliche Fotos hoch, GPT-4o-mini über OpenRouter erstellt Entwürfe, die im Dashboard freigegeben werden. Gmail versendet die freigegebenen Newsletter werktags um 14:00 Uhr an die Eltern, mit Erinnerungen.

Was sie bewirkt

### How it works This workflow gives daycare staff an AI-powered dashboard to write, approve, and send daily parent newsletters without manual typing. Staff open the web dashboard, upload photos from the day, and click Generate - GPT-4o-mini reads the photos and staff memo and writes a newsletter under 100 characters. Staff can edit the draft, then click Approve & Send. At 14:00 on weekdays, approved newsletters are emailed to each parent individually via Gmail. At 13:30, if any newsletters are still unapproved, a reminder email lists the children still waiting. Every night at 02:00, newsletters older than 30 days are deleted automatically. Holidays and weekends are skipped using a free public Japanese holidays API. ### Setup steps 1. Add your OpenRouter API credential to the Call OpenAI and Call OpenAI Regen nodes (get key at openrouter.ai) 2. Add your Gmail OAuth2 credential to the Send Reminder Email and Send Email nodes 3. Create two n8n Data Tables: children (child_id, child_name, nickname, parent_name, parent_email, is_active) and newsletters (newsletter_id, child_id, date, status, ai_text, final_text, staff_memo, photo_1_binary, photo_2_binary, photo_3_binary, photo_count, created_at, approved_at, sent_at) 4. Enter your staff email address in the workflow setup card (Staff Config node) - reminder notifications will be sent there 5. Pre-load child records into the children table, publish the workflow, then open the dashboard URL printed in the Webhook node Warning: The dashboard and API endpoints have no login. Share the URL only with trusted staff, or add authentication later.

Die Schritte

  1. GET /newsletter-app
  2. Fetch Children
  3. Build Dashboard Data
  4. Fetch Today Newsletters
  5. Merge Dashboard
  6. Build HTML Page
  7. Respond HTML
  8. POST /generate
  9. Validate Generate Input
  10. Is Valid Generate
  11. Build OpenAI Messages
  12. Call OpenAI
  13. Extract AI Text
  14. Upsert Newsletter

Insgesamt 61 Schritte.

Ähnliche Automatisierungen