Create new blog posts from XML file uploaded to WordPress media library by using OpenAI to write the article
When a file is uploaded to the WordPress media library and it is an XML file, FlowMattic parses it, has OpenAI write an article from the data, and saves the result as a draft post. Uploads of other file types are ignored. WordPress must allow XML uploads.
WordPress
OpenAI (ChatGPT)5 steps Setup ~8 min Used on 3.0k sites Free to import

How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
WordPress New MediaThe workflow starts automatically when a new media is uploaded in WordPress. FlowMattic captures that data for the steps below.
Filter Continue IfThe Filter only lets a run continue when your conditions are met, stopping everything else before it goes any further.
XML Parser by FlowMattic Parse XML FileXML Parser by FlowMattic — parse any XML file URL into JSON data. Data is mapped from earlier steps; connect your XML Parser by FlowMattic account on import.
OpenAI (ChatGPT) Generate ContentOpenAI (ChatGPT) — generate content based on the prompt provided. Data is mapped from earlier steps; connect your OpenAI (ChatGPT) account on import.
WordPress New PostWordPress — triggers when a new post is published. Data is mapped from earlier steps; connect your WordPress account on import.
What you need
- FlowMatticCore
- OpenAI (ChatGPT) AccountAccount
After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.
More AI Automation workflows
Other ready-to-import templates from the same category.
Import this workflow into your WordPress site
Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.
30-day money-back guarantee Unlimited workflows and runs Self-hosted



