Vyrade Labs put agentic AI to a hands-on test against a very specific editorial workflow: keep the article text unchanged, extract image suggestions buried in the copy, generate visuals in Napkin, export PNGs/WebP, insert them exactly where the prompts sit, and publish to WordPress—fully automated. “Agent mode” alone couldn’t finish the job (browser restrictions, no Napkin API), so we built a workflow automation that uses headless Playwright + n8n to generate/export Napkin-style images and publish via the WordPress REST API. Vyrade planned the workflow and hardened it with rationale, export, and reliability layers (confidence/coverage, wiring to n8n).
The Exact Task We Gave to GPT Agent Mode
- Use the final article as-is (no text edits).
- Turn the in-line “Image #…” suggestions into Napkin prompts.
- Generate Napkin-style visuals and export PNGs/WebP.
- Place the images exactly at those markers.
- Deliver a WordPress-ready document (images embedded, alt text included).
Why this is tricky for an AI agent alone: no public Napkin API; browser downloads/clipboard and extensions are often blocked; precise placement in the editorial HTML is unforgiving.
What We Tried First: Agentic AI
We began with agentic AI (a GPT agent) to control the browser, log into Napkin, paste prompts, generate visuals, and export PNGs. In a constrained environment, the agent hit three walls:
- Exports blocked (download prompts never saved).
- Clipboard blocked (no reliable paste target).
- No extensions (so no snipping-tool add-on).
An agent can still help with planning and retries, but the last mile—“Export PNG” from Napkin’s UI—requires headless browser automation that captures the download event and persists the file.

The Working Solution: Automating Napkin Visuals with Headless Playwright + n8n
We rebuilt the process as an end-to-end automation:
- Generate images in Napkin with headless Playwright
- Log in with env vars, paste each Napkin prompt, click Generate Visual, choose the first suitable visual, open Export, select PNG, await download, and
saveAs()the file (Napkin-style look preserved). - Keywords: Playwright automation, headless browser automation, Napkin AI automation.
- Log in with env vars, paste each Napkin prompt, click Generate Visual, choose the first suitable visual, open Export, select PNG, await download, and
- Insert Napkin Visuals into Articles with Content Operations Automation
- Remove the literal “Image #…” lines and inject a
<figure><img/></figure>block right there—no changes elsewhere. - Keywords: content operations automation, end-to-end automation.
- Remove the literal “Image #…” lines and inject a
- Publish via WordPress REST API
- Upload each PNG to Media, swap local
srcwith the media URLs, create the post (Draft/Publish). - Keywords: WordPress REST API automation, WordPress automation, n8n workflows.
- Upload each PNG to Media, swap local
- Orchestrate with n8n
- Three Execute Command nodes: install deps → generate images → assemble+publish.
- Keywords: n8n, n8n workflows, Zapier/Make alternatives.

Where Vyrade Fits and Why It Matters
Vyrade is not the orchestrator. It’s a planner/composer with a reliability layer that turns ambiguous intents into exportable workflows (JSON) and recommends the right orchestration path (Zapier/Make/n8n), along with confidence & coverage and diagnostics. You then run the exported flow in your chosen tool.
- Product pillars: Contextual Discovery, Workflow Composer, Reliability Layer.
- Planner can suggest Zapier/Make/n8n and export with 1-click; secrets and retries included.
- Generic Workflow JSON artifact (nodes, edges, policies, metrics, authRefs) matches this use case.
- Reliability & validation: confidence/coverage on every recommendation; diagnostics toolkits; certification and versions.
In short: Vyrade plans and hardens the workflow, then exports it to n8n where it runs reliably.

Technical deep dive
1) Prompts (JSON)
2) Headless Napkin generator (Playwright, Node)
3) Assembler (replace “Image #..” lines with real images)
4) WordPress publisher (upload PNGs, create post)
5) n8n workflow (three Execute Command nodes)
- Node 1:
npm ci && npx playwright install chromium(first run) - Node 2:
node napkin-bot.js - Node 3:
node assemble-article.js && node publish-wp.js
n8n’s Execute Command node is the right fit; if your image is Alpine, extend it to include any needed tools.
Visual Representation of AI Agents vs Executable Automation: Shipping Napkin Visuals to WordPress
From agent-mode roadblocks to shipping: watch AI agents hit export limits, then see headless Playwright + n8n generate Napkin-style visuals (PNG/WebP) and auto-publish to WordPress via REST—zero copy edits, exact placement.
Results & Why This Scale
- Napkin look, zero manual export: Headless Playwright automation preserves Napkin’s visual style and reliably captures PNG downloads.
- Editorial integrity: Article text stays unchanged; images land exactly where prompts appear—true content operations automation.
- Repeatable & schedulable: n8n runs on demand or a cron; swap prompts and rerun for future posts.
- Vyrade advantage: Plugs your intent into a composer + reliability layer with clear rationale, exports, and diagnostics; then lets your chosen orchestrator execute.
FAQ
Q: Why not rely on “agent mode” alone?
A: In restricted environments, agents can’t finalize Export PNG (blocked downloads/clipboard, no extensions). Headless Playwright automation is purpose-built for download events and file persistence—exactly what we need.
Q: Is Vyrade an orchestrator?
A: No. Vyrade is the planner/composer and reliability layer that turns your intent into a workflow plan (with confidence/coverage) and exports to n8n/Make/Zapier or agent-only paths.
Q: Can this expand beyond Napkin + WordPress?
A: Yes—Vyrade’s planner can suggest different connectors, and the same Playwright pattern works for other UI-bound tools; the publisher step already uses standard WordPress REST.
Talk with Vyrade about turning ambiguous editorial intents into exportable, reliable workflows that your team can run in n8n (or your tool of choice). Start with the exact “Prompts → images → WordPress” pipeline and scale from there.