# Scheduled Instagram auto-liker with Phantombuster and OpenAI: n8n workflow

> Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/scheduled-instagram-auto-liker-with-phantombuster-and-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Scheduled Instagram auto-liker with Phantombuster and OpenAI

Started by a clock. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 27 steps, 1 branch, 3 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscheduled-instagram-auto-liker-with-phantombuster-and-openai)

**27 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**3** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Model 4 Logic 9 Service 13

The steps in the order they run, from what starts it.

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 4 **Get Available Session Cookies** Microsoft Share Point *Service*
- 5 **Generate Random Hashtag** Agent *Model*
- 6 **Select Cookie** Agent *Model*
- 7 **Extract Cookies** Extract From File *Service*
- 8 **Set ENV Variables** Set *Logic*
- 9 **Get Hashtag Agent** Phantombuster *Service*
- 10 **Launch Agent** Phantombuster *Service*
- 11 **Wait** Wait *Logic*
- 12 **Get Posts** Phantombuster *Service*
- 13 **Wait2** Wait *Logic*
- 14 **Get Random Post** Code *Logic*
- 15 **Download file** Microsoft Share Point *Service*
- 16 **Extract from File** Extract From File *Service*
- 17 **Check if in List** Code *Logic*
- 18 **If** If *Logic*
- 19 **Prepare Updated Data** Code *Logic*
- 20 **Convert to File** Convert To File *Service*
- 21 **Update file** Microsoft Share Point *Service*
- 22 **Create CSV Binary** Code *Logic*
- 23 **Upload CSV** Microsoft Share Point *Service*
- 24 **Get Autoliking Agent** Phantombuster *Service*
- 25 **Launch AL Agent** Phantombuster *Service*
- 26 **Wait1** Wait *Logic*
- 27 **Get Response** Phantombuster *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 27, with 1 branch, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscheduled-instagram-auto-liker-with-phantombuster-and-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**Log Telegram client updates to Notion and Google Sheets** 27 steps · calls a model · Google Calendar, Google Drive](https://millionrounds.com/workflow/log-telegram-client-updates-to-notion-and-google-sheets)
- [**Manage Google Calendar and Gmail from Telegram with Claude** 27 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/manage-google-calendar-and-gmail-from-telegram-with-claude)
- [**Manage tasks, email & calendar with OpenAI and Gmail** 27 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/manage-tasks-email-and-calendar-with-openai-and-gmail)
- [**Morning briefing podcast: generate daily summaries with Gemini** 27 steps · calls a model · Google Calendar, Telegram](https://millionrounds.com/workflow/morning-briefing-podcast-generate-daily-summaries-with-gemin)
- [**Transcribe and analyze sales meetings with Deepgram and Gemini** 27 steps · calls a model · Gmail, GoHighLevel](https://millionrounds.com/workflow/transcribe-and-analyze-sales-meetings-with-deepgram-and-gemi)
- [**Book, manage, and check appointments with Vapi** 27 steps · Google Calendar](https://millionrounds.com/workflow/book-manage-and-check-appointments-with-vapi)
