AI Income LabJoin AI Income Lab ↗

Make.com daily Facebook posts with ChatGPT and DALL-E 3

Jump to video chapters

Watch on YouTube ↗ Subscribe on YouTube ↗

By · · 8:18 · 177 views

A Make.com scenario that posts a daily AI-generated image and caption to a Facebook page: ChatGPT writes a visual post of under 150 words, DALL-E 3 makes the image, an HTTP step fetches the file and a Facebook step publishes a photo post, scheduled for 10 am. Mike built it in about 20 minutes. The first run errors and a retry works. The engagement benefit is Mike's expectation. The Make.com link is an affiliate link.

Video summary

In this Make.com tutorial you will learn how to automate Facebook posts in just 10 minutes! Perfect for social media managers, marketers, and business owners, this video will guide you through setting up quick and efficient automations to streamline your posting process.

The video covers 10 parts: Introduction to Make.com, Setting Up Your Account, Picking Apps and Tools, Starting with OpenAI: ChatGPT Setup, API Key Configuration, Image Generation Using DALL-E, Making HTTP Requests, Posting to Facebook Pages, Running and Testing the Automation, and Scheduling Automated Posts.

What this video covers

What you build

A Make.com scenario with an OpenAI chat completion, a DALL-E 3 image, a set variable step, an HTTP get-file step and a Facebook Pages post with photos, set to run daily.

Tools used

Compare pricing: Make.com. Some ↗ links are affiliate links, so I may earn a commission or credit. See every tool I recommend →

Key steps

Not covered

The Make.com sign-up link in the video description is an affiliate link, and Mike earns a small commission from it.

Summary written from the video's transcript and chapters.

In this video

  1. 0:00 Introduction to Make.com
  2. 0:36 Setting Up Your Account
  3. 1:17 Picking Apps and Tools
  4. 1:28 Starting with OpenAI: ChatGPT Setup
  5. 1:53 API Key Configuration
  6. 3:25 Image Generation Using DALL-E
  7. 4:45 Making HTTP Requests
  8. 5:32 Posting to Facebook Pages
  9. 6:56 Running and Testing the Automation
  10. 7:41 Scheduling Automated Posts

Questions and answers

How long did the Make.com Facebook posting scenario take to build?

About 20 minutes, according to Mike.

Why use the Facebook with-photos module?

The plain post module does not upload an image, so Mike swaps it for Create a Post with Photos.

Transcript

Hey there, welcome to the channel. In this video, I want to show you how to automatically create and post on your Facebook page using make.com. So, you can set up this automation. I'll show you exactly how to build it out in this video. And I created this yesterday. It took me about 20 minutes. Pretty straightforward. And basically, it's just a matter of creating these nodes and connecting up different apps so that you can uh create the post in ChatGpt.

uh get the file HTTP and then post it on your Facebook page. So, keep watching. I'll show you how to build this out. But first, before we get started, you're going to need to create your free account on make.com if you haven't already. I'll leave a link in the description below if you want to sign up with my affiliate link. I'll get a small commission. I'd really appreciate it. And then you just click on get started for free at the top.

Read the rest of the transcript

And yeah, so we're just going to come over to scenarios. I've already Here's mine right here. If I want to create a new scenario, I just click the button in the upper right hand corner. And now I can start building it out. So this is what you'll be presented with when you first create a new automation in make.com. And as you can see, there's a lot of different tools. Uh, in other words, apps to choose from here.

They've got hundreds, if not thousands of different apps to choose from. You can scroll through them here. But in this case, I want to get started with OpenAI. So I'm just going to select open AI right here. ChatgPT whisper and then in this particular case I want to uh create a completion. So I'm just going to click on create a completion here. You will need to enter your API key which I will show you how to do real quick.

You're just going to come over to OpenAI's platform and then click on dashboard. And then from there you'll come down to API keys. And as you can see, I've already got a bunch of them created. You're just going to want to click on create a new secret key. And in this case, I would choose make and then click on uh create secret key right here. So, we can create that. Copy and then come over here and paste it in. Click on add.

And then you'll paste in the API key here. And that's pretty much all there is to it. Then you'll have your API key connected. And then from here, we want to uh create a chat completion. We'll leave that as is. And then you can select your model. There's many different models to choose from. I just chose uh chat GPT40 latest. So I'm going to select that. And then it's going to allow you to enter your prompt here. So you'll click on add message.

And then for roll, you're just going to put user. And this is where you put the prompt. So, I'm just going to come over here and copy and paste the prompt that I already have from this automation. Under text content, I'm going to paste in this prompt. It just says the post should be visually descriptive so an AI image can be created to match it. Keep the text under 150 words and make sure it describes a scene, moment, or action.

And that's pretty much all there is to it. You can also set the image detail here as well, which we're going to uh skip for now. We don't really need to do anything with that. So the first module is created that is creating the prompt in chatgpt and then we're going to add another module which will also be an open AAI module as well and here we're going to generate the image. Right? Again we're going to select the model. I'm going to use dolly 3.

And then once again we're going to give it a prompt. I'm just going to come over here and copy and paste the prompt that I already have. So, it's taking the result from the previous node and running it through this and giving it another prompt to create the image. First step, we create the prompt and issue that to chatbt. Second step, we create the image using doll3. And then the next step is actually going to be we're going to select tool and I believe set variable.

So I'm just going to enter charvar. You're just going to click on the text box, select message and then message content. Right? So that's just feeding it through and giving it this variable. And then the last step is HTTP. So you're going to select HTTP. You want to get a request. So basically you want to get I believe get a file. So we're going to get a file here and give it the URL. So just going to select data right here and then URL. Right?

So that's the data from this previous step or this step right here. And then last step is going to be Facebook. So we're going to search for Facebook page. I believe you can also make the posts in groups as well, although I'm not entirely sure. I think I would select Facebook right here. But in this case, I'm going to select Facebook page. And then we're going to uh create a post page connection. So you can simply do that through make.com. It takes a couple seconds.

And then from there, you select page. In this case, I'm going to choose B remote consulting, which is a page that I want to increase engagement on and just start getting more comments. So that's basically the main reason that I set up this automation in the first place. And from here um actually we need uh with photos. So we want to select with photos here. So I'm going to delete that module and create a new one. Create a post with photos. Right.

So I'm just going to select that one instead. Once again I will select the page that I want to post on be remote consulting. And then right here, we just want to upload a photo. We don't need to download the photo. We just want to upload it to Facebook. And we'll use the data from the previous file. So, it got the the image URL. And then that's it. So, we upload the file. So, the result from the previous step.

And yep, that's pretty much all there is to it. Everything is set up and we can just run this and see if it actually creates a post to my Facebook page. So, we're going to do that now. Hopefully, it won't have any errors. We'll click on run once. Um, looks like there is an error here. So, what is what is the issue here? So, something from the previous step it's not it's not getting. So, we can click on run. Oh, there now this time it's working.

So, as you can see, it's running each of the nodes. So, it's working on generating the image right now. Then, it's going to get the HTTP request, pull in the image URL, and make the post to Facebook. So, while that's working, so it's now finished running, and we should have a new post on the Facebook page over here. There it is.

So it just created this AI generated image using ChatGPT along with the uh description or the from the prompt and made a post on my Facebook page. You can run it manually or you can just say okay run it every every day right at a certain time. So we're just going to choose 10:00 a.m. Bangkok time. And that's all there is to it. So now set it and forget it. It's just going to run automatically every day at 10:00 a.m.

And that way you don't have to do anything. It's automatically posting which will over time increased engagement on your page. And as you can see, I've already been running these I think every 12 hours using the automation. So over time engagement will go up. We'll start getting more comments. And yeah, it's a great way to automate uh posting on your Facebook page. So if you have any questions about this, go ahead, post in the comments below. happy to help answer any questions.

And with that being said, thanks so much for watching.

Not ready to join? Get the weekly build notes: new guides and tested builds in one short email.

You may also like