Automated News-to-Blog Post Generation with Multilingual Metadata
detail.loadingPreview
This workflow automates the creation of SEO-optimized blog posts from news articles, including title, slug, and meta descriptions, with potential for multilingual content generation.
About This Workflow
This n8n workflow is designed to automate the process of generating blog content from news sources. It begins by fetching news articles using the Mediastack API. These articles are then used to generate SEO-optimized metadata (title, slug, meta description) using an AI agent. Following that, another AI agent is tasked with writing a comprehensive, SEO-friendly blog post based on the news content and the generated metadata. The workflow also includes image generation using Pexels API and concludes with publishing the blog post to Blogger and sending notifications via Telegram. The core objective is to create structured, engaging content for WordPress, adhering to specific SEO and structural requirements, with an emphasis on natural language and data-driven insights. The workflow is set up for potential multilingual content generation, as indicated by the prompt's request for English and Chinese metadata.
Key Features
- Automated News Fetching: Integrates with Mediastack API to retrieve news articles based on categories and languages.
- AI-Powered Metadata Generation: Utilizes AI agents to create SEO-optimized blog post titles, slugs, and meta descriptions.
- Comprehensive Blog Post Writing: Employs AI agents to generate detailed, 1000-word blog posts with specific content structures, HTML formatting, and SEO requirements.
- Image Generation: Integrates with Pexels API to find and suggest relevant images for blog posts.
- Content Cleanup: Includes a step to clean HTML output from AI agents.
- Blogger Integration: Publishes the generated blog post to Blogger via the Blogger API.
- Telegram Notifications: Sends status updates and generated content links via Telegram.
- Multilingual Support (Potential): The prompt explicitly mentions generating metadata in English and Chinese, indicating a design consideration for multilingual output.
How To Use
- Schedule Trigger: Configure the
Schedule Triggerto define how often the workflow should run (e.g., every minute). - Fetch News: The
Mediastack Newsnode will fetch news articles based on the configured categories and languages (currently set totechnologyanden). - Generate Images: The
Genarate imagenode will search for relevant images on Pexels based on the fetched news title. - Notify Image Generation: The
Send a text message1node will notify you about the image generation process and provide links to the generated images. - AI Agent for Metadata: The
AI Agentnode will process the news title to generate a slug, blog post title, and meta description. Ensure theOpenRouter Chat Modelis correctly configured and has access to theOpenRouter accountcredential. - Parse AI Output: The
Parsingnode will clean and parse the JSON output from theAI Agentnode. - AI Agent for Blog Content: The
Copywriter AI Agentnode will write the comprehensive blog post using the parsed metadata and potentially the fetched news content. Ensure theOpenRouter Chat Model2is correctly configured. - Clean HTML: The
Cleanup HTMLnode will remove unnecessary HTML tags from the AI's output. - Publish to Blogger: The
HTTP Requestnode will publish the cleaned HTML content as a new blog post to Blogger. Ensure thebloggeridvariable is set and the Google Sheets credential is configured. - Notify Success: The
Send a text messagenode will send a success notification with the blog post title and creation timestamp via Telegram. Ensure thetelegramchatidvariable is set and the Telegram account credential is configured.
Important Notes:
- Credentials: Ensure all necessary credentials (OpenRouter, Pexels API token, Blogger API access, Telegram Bot Token) are correctly set up in n8n.
- Variables: The workflow relies on variables like
$vars.telegramchatidand$vars.bloggerid. These need to be populated either manually or through preceding nodes not shown in this snippet. - AI Prompts: The AI prompts in the
AI AgentandCopywriter AI Agentnodes are highly detailed and specific. Review and adjust them based on your exact content requirements and desired output. - Multilingual Metadata: The current
AI Agentnode prompt is for English metadata. To generate Chinese metadata, you would need to create a separate AI agent or modify the existing one to include instructions for Chinese output, similar to how the overall request specifies English (en) and Chinese (zh) metadata generation.
Apps Used
Workflow JSON
{
"id": "c57aec2a-d3cf-4b4a-9ec1-6be556199bf7",
"name": "Automated News-to-Blog Post Generation with Multilingual Metadata",
"nodes": 24,
"category": "Content Generation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: c57aec2a-d3cf...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Perplexity Research to HTML Web Page Generator
This workflow takes a research topic, generates structured content using AI, and converts it into a responsive HTML web page styled with Tailwind CSS.
The Recap AI - Bigfoot Video Generator
Automates the creation of YouTube videos featuring a character named 'Sam the Bigfoot' by generating scripts, scenes, and final video output.
AI Content Generation and Multilingual Metadata for WordPress and Social Media
This workflow generates blog content, creates a featured image, and publishes it to WordPress, while also distributing it to social media platforms with multilingual metadata.