Latenode

Automate and schedule recurring Instagram post liking

This automated workflow allows Instagram users to schedule recurring post liking on a 2-hourly schedule.

It uses Phantombuster to scrape recent posts under AI-generated hashtags, GPT-4o for intelligent hashtag selection, and a rotating set of Instagram session cookies to distribute likes across multiple accounts while staying within platform limits. The workflow uploads the posts to be liked to a SharePoint repository, then triggers the Phantombuster 'Auto-like Agent' to interact with the selected content. This streamlined approach helps Instagram users boost engagement and growth on their accounts without manual effort.

Updated Apr 2, 2026Est. run: 28sEst. cost: $0.0018
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
Social media

Workflow preview

What this template does

  • Extracts recent Instagram posts from target hashtags using Phantombuster
  • Selects relevant hashtags using GPT-4o to improve content targeting
  • Stores extracted posts in a SharePoint Online repository
  • Triggers Phantombuster's 'Auto-like Agent' to automatically like the stored posts
  • Rotates Instagram session cookies to distribute likes across multiple accounts

How it works

1
Trigger

Recurring Schedule

The workflow runs every 2 hours to automatically like recent Instagram posts.

2
Action

Get Instagram Cookie

The workflow fetches a rotating set of Instagram session cookies from a SharePoint repository to distribute likes across multiple accounts.

3
AI

Generate Hashtag

The workflow uses GPT-4o to intelligently select relevant hashtags to target recent Instagram posts.

4
Action

Scrape Recent Posts

The workflow uses Phantombuster to fetch the most recent Instagram posts that match the generated hashtags.

5
Logic

Select Random Post

The workflow selects a random post from the scraped results and checks it against a list of posts that have already been liked.

6
Action

Upload Post to Like

The workflow uploads the selected post data to a SharePoint repository for the 'Auto-like Agent' to interact with.

7
Action

Auto-like Post

The workflow triggers the Phantombuster 'Auto-like Agent' to automatically like the selected Instagram post.

8
Action

Log Liked Post

The workflow adds the liked post to a SharePoint CSV to track which posts have already been interacted with.

Setup guide

1

Add Phantombuster API credential

Add your Phantombuster API credential in the Latenode Credentials panel.

2

Configure SharePoint integration

Add your Microsoft SharePoint Online credential in the Latenode Credentials panel. Then, configure the SharePoint connection in the Latenode nodes that interact with SharePoint.

3

Add OpenAI API key

Add your OpenAI API key in the Latenode Secrets panel.

4

Configure Instagram cookie rotation

In the Latenode headless-browser node, add the 'instagram_session_cookies.txt' file from SharePoint as the source for rotating session cookies.

5

Set maximum posts per hashtag

In the Latenode node settings, configure the 'Max posts per scrape' environment variable to control the maximum number of posts retrieved per hashtag.

Requirements

OpenAI GPT-4 API key for intelligent hashtag generation
Phantombuster account with API key and 'Auto-like Agent' automation template
Microsoft SharePoint Online account with access to a designated repository for storing post data
Rotating set of valid Instagram session cookies for distributing likes across multiple accounts

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
Social media

Streamline cold calling with automated prospect scraping, AI scripts, and WhatsApp outreach

This workflow automates the entire cold calling pipeline, from prospect identification and research to personalized message creation and delivery. It leverages Apify for web scraping, GPT-4o for intelligent content generation, and WhatsApp integration for automated outreach, transforming raw prospect data into high-converting, personalized cold calling campaigns. The workflow can be triggered manually or via a Google Drive Trigger, and it stores prospect data in a Supabase vector database, processes the data using OpenAI's language models, and sends the personalized messages through the WhatsApp Business API. This solution aims to help sales teams streamline their cold calling efforts, increase reach and response rates, and improve message effectiveness through continuous AI-powered optimization.

22s$0.0014
Social media

Automatically sync LinkedIn Ads lead data to Google Sheets

This automation enables users to seamlessly capture new lead generation form responses from LinkedIn Ads and automatically add them as rows in a designated Google Sheets spreadsheet. This helps consolidate and centralize all LinkedIn Ads lead data in one organized location for further analysis and processing. The automation triggers whenever a new lead form response is received from LinkedIn Ads, and it then creates a new row in the connected Google Sheets spreadsheet, ensuring that users have a comprehensive view of their lead data. This integration streamlines the lead management workflow, saving users time and effort by automating the data transfer process between LinkedIn Ads and Google Sheets.

8s$0.0005
Social media

Automatically sync TikTok leads to new Google Sheets worksheets

This automation allows businesses to capture and react to leads generated through TikTok's Lead Generation feature by automatically creating new worksheets within a designated Google Sheets spreadsheet. Whenever a new lead is created in TikTok, this integration will trigger the creation of a new worksheet in the specified Google Sheets file, making the lead data accessible for further processing and analysis. This streamlines the lead management process by centralizing lead information from TikTok into a familiar spreadsheet platform.

7s$0.0004