tr Skip to content

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 Filter XML Parser by FlowMattic OpenAI (ChatGPT)

5 steps Setup ~8 min Used on 3.0k sites Free to import

The Create new blog posts from XML file uploaded to WordPress media library by using OpenAI to write the article workflow on the FlowMattic canvas, with 5 steps across WordPress, Filter, XML Parser by FlowMattic, OpenAI (ChatGPT)
The workflow as it appears in the builder after import. Each step opens for editing.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    WordPress New Media

    The workflow starts automatically when a new media is uploaded in WordPress. FlowMattic captures that data for the steps below.

  2. Step 2Logic
    Filter Continue If

    The Filter only lets a run continue when your conditions are met, stopping everything else before it goes any further.

  3. Step 3Action
    XML Parser by FlowMattic Parse XML File

    XML 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.

  4. Step 4Action
    OpenAI (ChatGPT) Generate Content

    OpenAI (ChatGPT) — generate content based on the prompt provided. Data is mapped from earlier steps; connect your OpenAI (ChatGPT) account on import.

  5. Step 5Action
    WordPress New Post

    WordPress — 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.

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

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

The software works really well, and the team is adding integrations constantly, so I'm positive it eventually will catch up with Zapier. The flows are very easy to create and if you have any doubt, the team will give you great support.

Kai P.

Easy to use, familiar UI for automating all kinds of wordpress tasks. Integrating all our plugins together is key and flowmattic fits the job perfectly.