Automation Article and Image Creation with Chatgpt

Hello, I need help creating this automation flow to create articles and images with chatgpt and dall-e.

I’m a beginner, I don’t know how to do much.

At each given time, he goes to the spreadsheet, takes the keywords, organizes them into a list, creates a structure for the text with chatgpt, separates it by paragraphs, removes empty space, generates each session individually by calling chatgpt each time, then it generates a title with chatgpt, a meta description, image with dall-e, and publishes the article in wordpress.

But I don’t know how to set this up.

Hi @Edgard_Neto ,
welcome to the n8n community!

Your use case is quite interesting and you can get good results using n8n and the Open AI node.
I prepared you a demo workflow that you can use as a starting point.
It is not very different from your concept. Some parts are missing and the Chat GPT prompts must be improved.

In the example I’m sending the output to Sendinblue (Brevo) to receive it via email and to an HTML node just to preview it. But then you can connect it to Wordpress to send it there.

Let me know if this helps.
All the best


I’m trying to use your model, so I’m having this error. sorry, I’m a beginner.

Hi @Edgard_Neto
could you please tell me which version of n8n are you using?
Is it Cloud or Self-Hosted?

You can check the exact version by clicking on “Help” bottom left, and then “About n8n”

Cloud, n8n Version 0.233.1

How do I resolve this?

Hi @Edgard_Neto,
the Items Lists node has changed very recently (from v 0.234) and it cannot be copy/pasted.
I attach you here 3 screens that show how to configure the node (it’s very simple).
Just configure the 3 nodes as you see in the images (following the order).

1 Like

Hey @Edgard_Neto ,
you can also try to copy/paste this new version of the workflow (I manually changed the version of the node):

Let me know if this helps

1 Like

Thank you very much, I managed to resolve the errors!!

One more doubt: How am I going to publish in wordpress, after the “Final text - Code 1” I use the sequence: Wordpress “Resource: Post” - “Operation: Create” and mount the post?


Yes you can the Wordpress Post:Create operation.
In that case, I suggest removing the title from the article and use it separately in the Wordpress node.

Here’s the configuration of just the last part:

1 Like

Is it possible to assemble this type of structure for the article?? see the image! @giulioandreini

Hi @Edgard_Neto,
to add inline images you should investigate the Wordpress APIs and:

  1. See if the APIs allow you to do something like this
  2. Try to use the HTTP Request Node to send a more complex API request

Let me know if that helps


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.