workflows.fit
Back to n8n workflows
n8n templateFreeBy plemeo

Auto-like Twitter posts with AI hashtags, cookie rotation & SharePoint

Who’s it for Growth hackers, social-media managers, and brand builders who want to keep their Twitter (X) accounts active by automatically liking relevant posts on a set schedule—without manual scrolling. How it works...

SalesMarketingDevelopmentCore NodesAILangchainWaitCode
Loading interactive preview...

Template notes

Who’s it for Growth hackers, social-media managers, and brand builders who want to keep their Twitter (X) accounts active by automatically liking relevant posts on a set schedule—without manual scrolling.

How it works / What it does 1. Schedule Trigger runs every hour at a specified minute. 2. Select Cookie chooses a rotating Twitter session-cookie (to stay under 1 000 likes/day). 3. AI Agent generates a realistic AI/BPA-related hashtag. 4. Phantombuster Hashtag Agent scrapes recent tweets for that hashtag → Get Posts. 5. Get Random Post picks one tweet, checks it isn’t already liked (SharePoint CSV), and uploads a one-row twitterpoststolike.csv. 6. Phantombuster Autolike Agent receives the CSV link and likes the tweet. 7. The tweet URL is appended to twitterpostsalreadyliked.csv to prevent duplicates.

How to set up 1. Create credentials: Phantombuster API key, SharePoint OAuth2, OpenAI API key. 2. In SharePoint › “Phantombuster” folder add: • twitterpostsalreadyliked.csv (header postUrl). • twittersessioncookies.txt – one cookie per line. 3. Adjust schedule if you need a different frequency. 4. Activate the workflow—likes will start automatically.

Requirements - n8n 1.33+ - Phantombuster Growth plan (API access) - OpenAI account - Microsoft 365 SharePoint tenant

How to customize - Change hashtag logic: edit the prompt in AI Agent. - Increase daily likes: add more cookies or shorten Wait nodes. - Swap SharePoint for Google Drive/Dropbox: replace the upload/download nodes.