Welcome to Albato Help

How to Generate Images with ChatGPT and Share WordPress Posts on Instagram


IN THIS ARTICLE

If your team publishes blog posts in WordPress and shares them on Instagram, you can automate the routine work around each new post.

Learn how to create an automation in Albato where every time a new post is published in WordPress, ChatGPT automatically generates a promotional image and a caption, and everything is shared directly to your Instagram account.

Follow the steps below to build this workflow.

 

Connecting the Apps

Go to the Apps section in Albato and click Add a connection.

Screenshot 01

Next, search for the applications that will be used in this automation.

  • WordPress
  • Instagram for Business
  • ChatGPT (OpenAI)

Connect each application individually until the message Connection created successfully is displayed.

If you have any questions during the connection process, visit our Help Center to find detailed tutorials for each specific integration.

 

Creating the Automation

Go to the Automations section in Albato and click Create New Automation.

Screenshot 02

In the first step, click Add trigger.

Screenshot 03

Select the New post trigger from WordPress.

Screenshot 04

Next, add two ChatGPT actions.

  1. The first action generates the image.
  2. The second action generates the post caption.

First, click Add action.

Screenshot 05

Then select the Generate image action from ChatGPT (OpenAI).

Screenshot 06

 

Configuring the Image Prompt

In the prompt field, enter a detailed prompt using the content of your article selected from the available variables.

Example prompt.

Create an image to promote a blog article on Instagram. The image should represent the main idea of the content, be visually appealing, and comply with Instagram's policies. Follow Instagram image best practices by avoiding excessive text, making the image inviting, and ensuring it matches the website's visual identity.

Screenshot 07

As you can see in the example above, we specified several important requirements.

  • Follow Instagram's content policies.
  • Apply Instagram post best practices.
  • Use minimal text.
  • Create a clear visual for the post.

You can make the prompt even more detailed to achieve more specific results.

  • Image type.
  • Visual style.
  • Colors.
  • Brand identity.
  • Elements that should or should not appear.

Next, configure the fields.

  • Format: 1024 x 1024
  • Model: GPT Image 2 or GPT Image Pro

Screenshot 08

Click Save and add a new action called Create Chat Completion.

Screenshot 09

In this step, set the Model ID field to GPT-5.

Screenshot 10

Then set the Role field to user.

In the Message field, use a short prompt.

Create a caption for an Instagram photo that is simple, concise, and reflects the main idea of the content.

Screenshot 11

You can also customize this prompt to better reflect your company's tone of voice, frequently used brand terminology, and desired communication style.

Finally, add one more step using Instagram for Business to publish the image.

Screenshot 12

In the Photo field, use the Image URL parameter generated in the image creation step.

In the Caption field, select the caption value generated by the previous Create Chat Completion step.

Optionally, you can also tag profiles using @mentions in the post.

Screenshot 13

At the end, your automation should look similar to the example shown below.

Screenshot 14

Now activate the automation.

Screenshot 15

Whenever a new article is published in WordPress, Albato will use ChatGPT to automatically generate an image and caption, then publish everything directly to Instagram. This helps you keep content promotion consistent, save time, and increase the reach of your blog posts.

Related articles

Did this answer your question?