Automate AI Summaries for WordPress with n8n, OpenAI & Slack

This workflow automates AI-generated summaries for WordPress posts, reducing manual editing time and ensuring consistent content previews. It integrates OpenAI for smart summaries, Google Sheets for tracking, and Slack for notifications, streamlining your content management process.
wordpress
openAi
googleSheets
+13
Workflow Identifier: 1058
NODES in Use: Manual Trigger, Text Classifier, OpenAI Chat Model, SplitInBatches, If, Webhook, Schedule Trigger, HTTP Request, Google Sheets, Markdown, OpenAI, Slack, Set, Date & Time Subtract, WordPress, No Operation

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow watches for new or updated posts on WordPress.

It reads the full post content and makes a short summary using AI.

The summary is added to the top of the post in HTML format.

Details of processed posts are saved in Google Sheets.

A message is sent to Slack to inform the team about new summaries.


Who should use this workflow

This is useful for people managing blogs who spend too much time writing post summaries.

It helps avoid missing or duplicate summaries and saves several hours weekly.

No need to install heavy WordPress plugins that slow down the website.


Tools and services used

  • n8n automation platform: Runs the workflow.
  • WordPress API: Reads and updates posts.
  • OpenAI GPT-4o-mini model: Creates human-like summaries.
  • Google Sheets: Keeps record of processed posts.
  • Slack: Sends notification messages.

Inputs, Processing Steps, and Output

Inputs

Processing Steps

  • Fetch posts from WordPress.
  • Loop through each post one at a time.
  • Check Google Sheets if post is already summarized.
  • Convert post HTML content to Markdown.
  • Use AI to classify if summary exists already.
  • If no summary, generate summary using OpenAI GPT-4o-mini with custom prompt.
  • Update WordPress post by adding summary block at the top.
  • Log the summary details to Google Sheets.
  • Notify Slack channel about the update.

Output


Beginner step-by-step: How to use this workflow in n8n

Step 1: Import the workflow

  1. Download the workflow file using the Download button on this page.
  2. Open n8n editor and use “Import from File” to load the workflow.

Step 2: Configure credentials and settings

  1. Add your WordPress API credentials and test them.
  2. Enter your OpenAI API key for GPT-4o-mini model access.
  3. Set up Google Sheets credentials and check that the correct sheet and columns are used.
  4. Configure Slack OAuth2 credentials and select the correct channel for notifications.
  5. Update any IDs, emails, or table names if needed to match your setup.

Step 3: Test the workflow

  1. Run a manual test trigger or wait for the scheduled trigger if used.
  2. Confirm the workflow fetches the posts and adds AI summaries correctly.
  3. Check Google Sheets logs and Slack messages for expected output.

Step 4: Activate for production

  1. Enable the Schedule Trigger or Webhook node.
  2. Ensure all nodes show as active and will run on schedule or webhook call.
  3. Monitor the workflow executions and adjust trigger intervals if needed.

This is all you must do to start automating intelligent summaries in your WordPress blog with n8n.

For full control or privacy, use self-host n8n to run this workflow on your own server.


Customization ideas

  • Change the AI system prompt in the OpenAI node to fit other blog topics.
  • Adjust the HTML style in the summary block to match your website design.
  • Add more columns like post author or category in Google Sheets and Slack messages.
  • Switch between Schedule Trigger or Webhook node depending on need for real-time updates.
  • Modify loop batch sizes if lots of posts require processing.

Troubleshooting

  • Trigger node does not activate: Make sure the Schedule or Webhook node is enabled and authentication is correct.
  • WordPress API errors 401 or 403: Verify your API keys and user permissions.
  • Google Sheets lookup fails: Check column names and sharing permissions carefully.
  • OpenAI node errors or empty replies: Check API key, monitor rate limits, and use proper prompts.
  • Slack notifications missing: Confirm channel ID and app permissions.
  • Excerpt overwritten incorrectly: Review the WordPress update payload and test with a sample post.

Pre-Production Checklist

  • Test trigger node activation with manual or scheduled runs.
  • Confirm WordPress API read and write permissions.
  • Ensure Google Sheets lookup and append work properly.
  • Verify OpenAI connection and correct prompt usage.
  • Send test Slack message to confirm notifications.
  • Clear Google Sheets logs to avoid duplicates before running bulk.
  • Run tests on few posts before processing many.

Deployment Guide

Pick your trigger method: scheduled or real-time webhook.

Activate the workflow in n8n and make sure credentials are correct.

Watch execution logs to catch issues early and tune frequency or batch sizes.

Use Slack and Google Sheets for easy monitoring of progress and audit.

Update the prompt over time to keep summaries relevant as content changes.


Summary of benefits and results

✓ Saves around 4 hours each week by automating summaries.
✓ Avoids manual errors like missing or duplicate summaries.
✓ Keeps post excerpts intact for SEO.
✓ Provides easy audit trail with Google Sheets logging.
✓ Notifies the team via Slack about new summaries.
✓ Works without adding extra heavy plugins to WordPress.


Frequently Asked Questions

Download the workflow file from this page. Open n8n editor. Use ‘Import from File’ to load it. Add all required credentials like WordPress API key, OpenAI key, Google Sheets access, and Slack credentials. Update any IDs or channels if needed. Test the workflow, then activate the Schedule Trigger or Webhook node for live runs.
Check the WordPress API key and authentication method for accuracy. Update expired tokens. Confirm the connected user has permissions to read and update posts. Correct any mistakes in API credentials fields in the workflow.
The workflow uses OpenAI’s GPT-4o-mini model for summary creation. Users can switch to other OpenAI models configured in their API key but must consider cost and result differences. Changes happen inside the OpenAI node settings.
The workflow checks if a post was already summarized by searching in Google Sheets. If a post ID exists there, it skips summarization. Also, the text classifier node prevents duplicate summaries by detecting existing ones in the post content.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free