Blog automation notes: what breaks, how to fix it, what I'm testing
Draftbench is a working notebook about automating blog drafts with n8n, WordPress and AI. It covers the boring failures first, because that is where most people get stuck. No income claims, and tools I have not tested are labeled that way.
The five most common n8n + WordPress blockers
1. Using your normal password
The WordPress REST API expects an Application Password, not your login password. Create one in WordPress under Users, Profile, Application Passwords, then use it together with your username in n8n.
2. An http URL that redirects to https
If n8n calls an http:// address that redirects to https://, your login headers can be dropped and you get 401 errors. Use the final https address your site actually loads on.
3. A 403 from the REST API
Usually a security plugin, firewall or host rule is blocking /wp-json. Open yourdomain.com/wp-json/ in a browser. If it loads, the API is on. If not, allow the REST API (or your n8n server's IP) in your security settings.
4. Data wrapped in an array
The Convert to File node can hand you data wrapped in an array. If the next node expects a single object, you get confusing errors. Check the output shape after every conversion.
5. Node names changing after edits
Expressions that reference a node by name can quietly point at the wrong data after you reorder or rename nodes. Test with pinned data after every restructure.
Habits that keep an automated blog honest
- Create WordPress drafts, not live posts. Automation should save typing, not judgment. Review before anything goes live.
- Split one big prompt into steps: outline, write, edit. Each step has one job and you can see where a draft goes wrong.
- Cap your costs: limit tokens per call, limit retries and loops, and set a monthly spending limit in your AI provider's dashboard.
- Log published topics in a sheet and check it before generating a new one, so the workflow does not repeat itself.
- Set an error workflow so failures reach you by Telegram or email instead of silently stopping your blog.