DEV Community

AIRabbit
AIRabbit

Posted on • Edited on

Tweet your Blog Posts using GPT and Make.com

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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay