In this n8n workflow tutorial, you create a text summary from a PDF and post it as a new WordPress page. For n8n beginners and those interested.
If you work a lot with texts, you can quickly create your own content machine with this n8n tutorial and continue to refine it. This saves time in your day-to-day work and avoids repetitive tasks. Helpful for content editors, SEOs, online news teams as well as blog and website managers. Let’s go!
Overview: What does the content workflow do?
The workflow downloads a PDF from a website, extracts the first 5 pages and summarizes the document using the GPT model. The summary is then exported directly to WordPress.
Advantages:
- Summarize texts quickly
- Create content quickly and publish live
📖 This article is part of our AI Agents guide. Read the full guide →
Step 1: Create n8n workflow
Create the following nodes one after the other. You can simply enter these using the search box. You must enter your access data (credentials) for each new node. You will need an OpenAI API account and a WordPress account (username/password) with write access.
- Manual Trigger Node: The starting point for the workflow, in this case simply a manual trigger
- HTTP Request: Downloads the PDF
- Extract from File: Extracts the first pages of the PDF
- AI Agent: Summarizes the PDF
- OpenAI Chat Model: The AI model that the AI agent uses (e.g. gpt-4o-mini)
- WordPress: Saves the summary directly in WordPress

HTTP Request:
- Method: GET
- URL: Select any PDF from the web, e.g. the OECD Climate Report 2024
Extract from File:
- Options: Max Pages: 5
AI Agent:
- Prompt: “Summarize this text in bullet points: {{ $json.text }}”
- This integrates the text field from the previous node into the prompt

WordPress:
- Resource: Page
- Operation: Update (we want the existing article to be overwritten)
- Page ID: the ID of your article, see step 2

Step 2: Create WordPress page and find page ID
We create a new WordPress page (not a post, but a page). This should automatically display our summaries. When you create the page, you will see the ID of the page after saving it. Make a note of it and enter it in the n8n workflow.
/wp-admin/post.php?post=7431&action=edit&classic-editor
Step 3: Start workflow
We start the workflow with the “Test workflow” button in n8n.
Within a few seconds, the article is now downloaded, summarized and updated in WordPress. Here is the result in WordPress.

Next Steps: Customize content workflow
This content workflow is kept very simple so that you can follow it quickly. The following improvements would be ideas for the next steps:
- Import many documents instead of just one article:
Adds a Google sheet with a list of documents to be summarized for this purpose - Import HTML pages:
If you do not want to summarize PDFs but HTML pages, you can also achieve this with the HTTP request node. However, it is not possible to download all websites with this method as modern websites load the content dynamically. You would need a scraper node for this. - Add articles instead of replacing them:
First loads the existing content on the page and then adds the new summaries to it - Format article:
Choose HTML as the format to format the article appropriately, e.g. with headlines, bullet points and other formats.
Good luck creating your personal content tool.
Take a look at our other tutorials.
AI Rockstars verdict
TL;DR: This workflow is useful for controlled content operations: extract text, summarize it, review the result, and publish to WordPress. Do not use it as a fully automatic publishing pipeline unless quality checks, attribution, and duplicate detection are built in.
Editorial recommendation: The strongest version of this workflow keeps humans in the loop. Let n8n prepare drafts and metadata, then require editorial review before publishing to WordPress.
Quality gates for an n8n PDF-to-WordPress workflow
| Scenario | Recommendation | Why it matters |
|---|---|---|
| Source document extraction | Required | Bad extraction quality creates bad summaries. |
| Summary prompt and model settings | Required | The output must preserve facts, caveats, and source context. |
| Editorial review before publishing | Strongly recommended | Prevents inaccurate or generic AI content from going live. |
| Canonical and duplicate checks | Required for SEO | Avoids creating near-duplicate posts from similar documents. |
FAQ
Can n8n publish directly to WordPress?
Yes. n8n can create WordPress posts or pages through the WordPress node or REST API.
Should AI summaries be published automatically?
Usually no. A review step is safer because summaries can omit context, introduce errors, or create duplicate content.
What is the best SEO use case for this workflow?
Use it to create reviewed drafts, internal summaries, or structured content briefs rather than unedited mass-published articles.




