# Add AI Summaries to WordPress Posts

Source: https://openflow.run/en/templates/add-ai-summaries-to-wordpress-posts/
Content language: en
Template revision: 4ae2934012d3865e7d296909b9a06728464f1991

Content

Add an AI summary to recent WordPress posts, log each update and notify Slack.

[Use in Open Flow](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2F4ae2934012d3865e7d296909b9a06728464f1991%2Fworkflows%2Fadd-ai-summaries-to-wordpress-posts%2Ftemplates%2Fadd-ai-summaries-to-wordpress-posts.openflow.json)

*   [Open Flow JSON](https://github.com/oomol-lab/awesome-workflow-templates/blob/4ae2934012d3865e7d296909b9a06728464f1991/workflows/add-ai-summaries-to-wordpress-posts/templates/add-ai-summaries-to-wordpress-posts.openflow.json)
*   [n8n JSON](https://github.com/oomol-lab/awesome-workflow-templates/blob/4ae2934012d3865e7d296909b9a06728464f1991/workflows/add-ai-summaries-to-wordpress-posts/templates/add-ai-summaries-to-wordpress-posts.n8n.json)

![Add AI Summaries to WordPress Posts workflow in Open Flow](https://openflow.run/template-previews/add-ai-summaries-to-wordpress-posts/light.webp)

Add an AI summary to recent WordPress posts, log each update and notify Slack.

## Setup

Connect WordPress, Google Sheets and Slack. Supply the same public HTTPS WordPress site URL and credentials with edit permission to the WordPress connection and the edit-context HTTP node. Set the sheet ID and Slack channel. Use a sheet with columns post\_id, summary, post\_link, edit\_link, summarized\_date in that order. Enable persistent State and avoid overlapping runs.

## Behavior

A manual run reads the five most recent posts. A post already logged by ID or judged to contain an AI Summary is skipped. For each remaining post, the model prepares four points in its language. A Gutenberg HTML block is prepended to the original raw content, and the rendered excerpt is preserved. The workflow then appends the matching audit row and sends a Slack notification. HTML is reduced to text for Open Flow model input. Model output is escaped and should be reviewed. The original disabled schedule and webhook paths are disconnected and do not run.

Each WordPress update, sheet append and Slack message is reserved independently. An interrupted or uncertain step requires inspection of the corresponding destination before resolving its pending checkpoint; do not blindly replay it. In Open Flow inspect persistent State keys wp-summary:POST\_ID:PHASE. Check the destination and complete any remaining actions manually; remove a record for retry only after confirming that its action did not occur.

In n8n

In n8n configure the WordPress, Sheets, OpenAI and Slack credentials and a Data Table with item\_key and status columns. N8n uses the original Markdown conversion. In n8n the Data Table retains each reservation as an attempt record, including successful attempts.

Inspiration & credits

Adapted from [AI-Generated Summary Block for WordPress Posts](https://github.com/enescingoz/awesome-n8n-templates/blob/827110332c21cbe000ab13f6d292d5adb1f1f8db/OpenAI_and_LLMs/AI-Generated%20Summary%20Block%20for%20WordPress%20Posts.json) in [enescingoz/awesome-n8n-templates](https://github.com/enescingoz/awesome-n8n-templates).

Source collection notice: © 2024–2026 Enes Cingoz, [CC BY 4.0](https://github.com/enescingoz/awesome-n8n-templates/blob/827110332c21cbe000ab13f6d292d5adb1f1f8db/LICENSE). The source export does not identify a separate template author or license. See [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/4ae2934012d3865e7d296909b9a06728464f1991/README.md#licensing) for the scope of OOMOL contributions and third-party material.

## Apps used

*   [**Google Sheets**`googlesheets`](https://openflow.run/en/integrations/googlesheets/)
*   [**Slack**`slack`](https://openflow.run/en/integrations/slack/)
*   [**WordPress**`wordpress`](https://openflow.run/en/integrations/wordpress/)

## What you’ll need

*   WordPress edit access and application password
*   Google Sheets and Slack connections
*   AI model and persistent State

*   wordpress
*   google sheets
*   slack
*   ai
*   blog

[View on GitHub](https://github.com/oomol-lab/awesome-workflow-templates/blob/4ae2934012d3865e7d296909b9a06728464f1991/workflows/add-ai-summaries-to-wordpress-posts/README.md)
