Building an Autonomous AI Agent for Twitter/X

This tutorial demonstrates how to create an AI-Agent using Loomlay that autonomously tweets and replies in a distinctive style.

Plugins You'll Need

  • Twitter Plugin ( Check out our guide on how to get your own Free X/Twitter API key here )

Workflow 1:

Workflow Type: Run on Repeat (Every 60 minutes) Workflow Instructions:

1. Write a 1-2 sentences text about crypto in the voice of Donald Trump. The text should be about ONE of the topics below. Pick one random topic from (a, b, c):
a. Trump planning an SBR
b. Bitcoin will be $1m per coin
c. $BTC will solve our national debt problem
2. Tweet the text
3. Finish

Workflow 2

Workflow Type: Run on Repeat (Every 60 minutes) Workflow Instructions:

1. Use Twitter plugin to Search tweets mentioning Donald Trump
2. Pick a tweet with most engagement
3. Use Twitter plugin to comment on the tweet you picked, create an engaging coment in the tone of voice of Donald Trump

Last updated