Automatically transform RSS news feeds into multilingual WordPress posts with AI-powered rewriting, translation, and featured image generation using OpenAI and Firecrawl.
This agent works seamlessly with these platforms to deliver powerful automation.
Leverage OpenAI's powerful language models to generate text, answer questions, a...
Monitor RSS and XML feeds for new items
This powerful automation agent transforms RSS news feeds into multilingual WordPress articles with AI-generated featured images. It monitors RSS feeds for new content, scrapes the full article, rewrites it professionally, translates it into multiple languages, generates a custom featured image, and publishes everything to your WordPress site—completely hands-free.
Key benefits include:
Perfect use cases: International news sites, multilingual blogs, content aggregation platforms, media monitoring services, and any publication targeting diverse language audiences.
This workflow is ideal for:
You should have basic familiarity with RSS feeds, WordPress, and API concepts. No coding experience is required, but understanding how data flows between systems will help you customize the workflow.
Why it's needed: This integration monitors your chosen RSS feeds and triggers the workflow whenever new articles are published, ensuring your site always has fresh content.
Setup steps:
Configuration in TaskAGI:
Why it's needed: OpenAI's GPT models power three critical functions: extracting clean article content from HTML, rewriting articles professionally, and translating content into multiple languages with native-level quality.
Setup steps:
How to obtain API credentials:
Configuration in TaskAGI:
Cost considerations: This workflow uses gpt-4o-mini, which costs approximately $0.15-0.30 per article depending on length and number of translations.
The RSS Feed Trigger node monitors your source feed for new articles.
https://example.com/feed)15 minutes for news, 1 hour for blogs)From now for new setups or From beginning to process existing itemsExample configuration:
Feed URL: https://techcrunch.com/feed/
Poll Interval: 15 minutes
Starting Point: From now
The Extract Article Link node isolates the URL from the RSS item data.
link
[[nodes.4724.link]]
This HTTP Request node fetches the full article content using Firecrawl's web scraping service.
POST
https://api.firecrawl.dev/v1/scrape
Authorization: Bearer YOUR_FIRECRAWL_API_KEY
Content-Type: application/json
{
"url": "[[nodes.4724.link]]",
"formats": ["html"]
}
Note: You'll need a Firecrawl API key from https://firecrawl.dev. Free tier includes 500 scrapes/month.
This OpenAI Completion node uses AI to extract clean article content from the scraped HTML.
gpt-4o-mini
Extract the main news article title and full body text from the following HTML.
Return ONLY a JSON object with "title" and "body" fields.
Remove all navigation, ads, and non-article content.
HTML: [[nodes.4725.data.html]]
0.1 (for consistent extraction)4000
The Set Language Configuration node defines which languages you'll translate into.
languages
["es", "fr", "de", "pt", "it"]
default_language with value: en
Supported language codes: Use ISO 639-1 codes (es=Spanish, fr=French, de=German, pt=Portuguese, it=Italian, ja=Japanese, zh=Chinese, ar=Arabic, etc.)
This OpenAI Completion node rewrites the article professionally in your default language.
gpt-4o-mini
You are a senior editor for a respected [[nodes.4727.default_language]] publication.
Rewrite this article to be engaging, accurate, and professionally formatted.
Maintain all facts but improve clarity and readability.
Title: [[nodes.4726.title]]
Body: [[nodes.4726.body]]
Return JSON with "news_title" and "news_body" fields.
0.7 (for creative rewriting)4000
This Edit Data node saves the rewritten content for later use.
rewritten_title with value: [[nodes.4728.news_title]]
rewritten_body with value: [[nodes.4728.news_body]]
The Loop node iterates through each target language for translation.
[[nodes.4727.languages]]
current_language
This OpenAI Completion node translates the rewritten article.
gpt-4o-mini
You are a professional translator specializing in [[nodes.4730.current_language]].
Translate this article naturally, maintaining tone and cultural context.
Title: [[nodes.4729.rewritten_title]]
Body: [[nodes.4729.rewritten_body]]
Return JSON with "translated_title" and "translated_body" in [[nodes.4730.current_language]].
0.3 (for accurate translation)4000
This Edit Data node accumulates translations in a structured format.
{"es": {"title": "...", "body": "..."}, "fr": {...}}
This Function node converts translations into WordPress Advanced Custom Fields format.
Example output structure:
{
"acf_spanish_title": "Título en español",
"acf_spanish_body": "Contenido en español",
"acf_french_title": "Titre en français",
"acf_french_body": "Contenu en français"
}
This Function node creates a DALL-E prompt based on the article content.
"Professional news photography style image depicting [main topic], high quality, journalistic, 16:9 aspect ratio"
This HTTP Request node calls OpenAI's DALL-E API to create the image.
POST
https://api.openai.com/v1/images/generations
Authorization: Bearer YOUR_OPENAI_API_KEY
Content-Type: application/json
{
"prompt": "[[nodes.12.image_prompt]]",
"n": 1,
"size": "1792x1024",
"model": "dall-e-3"
}
This HTTP Request node downloads the generated image.
GET
[[nodes.4735.data.data[0].url]]
arraybuffer or binary
This HTTP Request node uploads the image to your WordPress media library.
POST
https://yoursite.com/wp-json/wp/v2/media
Authorization: Bearer YOUR_WORDPRESS_JWT_TOKEN
Content-Disposition: attachment; filename="article-image.png"
Content-Type: image/png
WordPress Authentication: You'll need the JWT Authentication plugin or Application Passwords (WordPress 5.6+).
This Edit Data node extracts the WordPress media ID.
id
featured_image_id
This final HTTP Request node creates the WordPress post with all translations and the featured image.
POST
https://yoursite.com/wp-json/wp/v2/posts
Authorization: Bearer YOUR_WORDPRESS_JWT_TOKEN
Content-Type: application/json
{
"title": "[[nodes.4733.news_title]]",
"content": "[[nodes.4733.news_body]]",
"status": "publish",
"featured_media": "[[nodes.4738.featured_image_id]]",
"acf": "[[nodes.4733.acf_fields]]"
}
Post Status Options:
publish - Immediately livedraft - Save for reviewpending - Awaiting approvalRSS Feed Trigger:
link field contains a valid URLArticle Scraping:
Content Extraction:
Rewriting:
Translation Loop:
Image Generation:
WordPress Publishing:
A successful execution should:
Cost per execution: Approximately $0.15-0.40 depending on:
Problem: "Feed not found" or "Invalid feed format"
Problem: Workflow triggers too frequently or not at all
Problem: Firecrawl returns empty HTML or error 403
waitFor parameter to let JavaScript loadmobile mode to appear as a mobile deviceProblem: "Rate limit exceede
Explore these powerful automation agents that complement your workflow.