Bibliothek / Texterstellung & Content-Generierung
Texterstellung & Content-Generierung
Fehlende WordPress-Beitragsauszüge mit OpenAI und der REST API generieren
Läuft wöchentlich oder auf Abruf, findet veröffentlichte WordPress-Beiträge ohne Auszug, lässt OpenAI einen Auszug in der Sprache des Beitrags schreiben und speichert ihn nach einem Testlauf über die REST API zurück.
Was sie bewirkt
# Generate missing excerpts for WordPress posts with OpenAI ## Who's it for WordPress site owners, content marketers and SEO teams with many posts that have no hand-written excerpt. ## How it works Every week, or on demand, the workflow fetches your latest posts and keeps published ones that have no excerpt and enough content. OpenAI then writes a short plain-text excerpt in the same language as the post. Dry run mode is on by default and only shows the generated excerpts, so nothing changes on your site. When you turn it off, each excerpt is saved back to WordPress through the REST API. Invalid AI output is skipped. ## How to set up 1. In WordPress, open Users, Profile, Application Passwords and create a new password. 2. Add your WordPress API and OpenAI credentials in n8n. 3. Open the Workflow Configuration node and set your site URL, posts to scan, posts per run, model and excerpt length. 4. Click Execute workflow with dryRun set to true and review the excerpts. 5. Set dryRun to false and activate the workflow. ## Requirements - WordPress 5.6 or higher with the REST API and Application Passwords enabled - OpenAI API key - n8n Cloud or self-hosted n8n ## How to customize the workflow - Edit the prompt to match your brand voice. - Change the schedule or the number of posts per run. - Add a Slack or email step to report which posts were updated.
Die Schritte
- Run Manually
- Run Weekly
- Workflow Configuration
- Get Posts from WordPress
- Keep Posts Without Excerpt
- Limit Posts Per Run
- Prepare Post Text
- Write Excerpt with OpenAI
- Validate AI Excerpt
- Is Excerpt Valid?
- Is Dry Run Enabled?
- Save Excerpt to WordPress
- Preview Only - No Changes Saved
- Skip Invalid AI Output
Ähnliche Automatisierungen
Finanzen, Rechnungen & BuchhaltungDie NetSuite REST API aufrufen3 SchritteFinanzen, Rechnungen & BuchhaltungDie NetSuite REST API aus n8n aufrufen13 SchritteCode, Git & EntwicklertoolsMehrere Dateien über die REST API in ein GitHub-Repository hochladen9 SchritteCode, Git & EntwicklertoolsMehrere Dateien per REST-API zu GitHub pushen35 Schritte