DEV Community

AIRabbit
AIRabbit

Posted on

Automatically Tweet your Medium Blog Posts using GPT and Make

If you write a lot of posts, publishing them on other platforms like X can be a tedious task because you end up doing almost the same thing repeatedly. In the age of GPT, this can become a thing of the past.

In this blog post, I will show you how to automate this repetitive task with Make.com and GPT.

What is make.com?

Make.com is a no-code automation platform designed to help businesses and individuals streamline their workflows and connect various applications. It helps users design, build, and automate tasks, workflows, apps, and systems without requiring coding skills.

The Final Workflow

The final workflow is quite straightforward:

And here is how it works:

  1. Step #1: We use the Medium RSS feed to get the latest updates of new blog posts on Medium. The address of the RSS feed is medium.com/feed followed by your username. Here is an example of my feed:

  2. Step #2: We have GPT create a tweet, including the link to the blog post.

  3. Step #3: Finally, we tweet this generated tweet.

That’s it.


Step-by-step

Create a New Scenario and Add the RSS Feed

Create a new scenario and add the RSS feed as follows:

For testing purposes, you can choose the Get RSS Feed option and let it pick the first item. Later, we want it to watch for new RSS feeds so we don’t have to trigger the scenario manually.

Define a Prompt for GPT

Then, we define a prompt that is built using the post body and the URL, as shown below. Make sure to select the variables from the previous steps (URL + Description) as displayed:

Name the variable “prompt.”

Pass the Prompt to GPT

Now we pass this variable “prompt” to GPT to create a tweet. If you don’t have a GPT connection yet, please create one using your OpenAI API key.

Make sure to choose an appropriate model. I find gpt-4o-mini works well for this simple task, but you can select any model you prefer.

>> Read more in my Blog Post

Top comments (0)