Automate Instagram posts from a Google Sheet
How to automate Instagram posts from a Google Sheet: install the Chrome extension, click Build with Browser agent, tell the agent what you want, and follow its prompts. A working bot is built and tested in minutes.
Here is how the automation works. To automate Instagram posts from a Google Sheet, read the posts with Read data from a Google Sheet, loop through them, and for each row open Instagram, click Create, attach the image with Upload a file, write the caption with Enter text, and click Share. It fills in Instagram's own post form in your browser, so no API is needed. Each row is deleted once posted.
Build the Instagram poster from a description
Describe it and click the button: the agent builds and tests the poster in your Chrome extension. Runs happen on your own machine with the desktop app, since the images are on it and Instagram is logged in there in Chrome.
- Read the posts from my Instagram posts sheet
- Open Instagram and start a new post
- Upload the image and add the caption from the row
- Click Share and delete the row
You need a Google Sheet named something like Instagram posts, with one row per post: the image's file path on your computer in one column and the caption in another. For the first test, disable the Share step so nothing is published, or delete the test post on Instagram afterwards.
The video shows the agent building the Instagram poster from the four lines above, in a few minutes.
Build the Instagram poster step by step
The steps the agent builds, as the Builder shows them: each step by its name, with the fields to set under it. Add them yourself in this order in the step-by-step builder, or open the agent's result there to adjust it.
- 1.0
Read data from a Google SheetSpreadsheet: your sheetSheet name: Instagram posts
- 2.0
Loop through data- repeats for every row in
[google-sheet-data]
- 2.1
Go to page - 2.2
Click elementSelect: the Not Now button on the notifications promptOptional click: on
- 2.3
Click elementSelect: the Create button
- 2.4
Click elementSelect: the Post option
- 2.5
Upload a fileFile Input Field: the Select from computer fieldFile Path: the image path column of[google-sheet-data]
- 2.6
Click elementSelect: the Next button on the crop screen
- 2.7
Click elementSelect: the Next button on the edit screen
- 2.8
Enter textSelect text field: the Write a caption boxText: the caption column of[google-sheet-data]
- 2.9
Click elementSelect: the Share button
- 2.10
WaitSet a time in milliseconds: 5000, so the post finishes uploading
- 2.11
Find row in a Google SheetSpreadsheet: your sheetSheet name: Instagram postsValues (comma separated): the image path column of[google-sheet-data]Exact match: on
- 2.12
Delete rows from a Google SheetSpreadsheet: your sheetSheet name: Instagram postsFirst row:[find-row-google-sheet]Last row:[find-row-google-sheet]
- repeats for every row in
Common questions about automating Instagram posts
Why does an Instagram button or field show element not found?
Instagram changed the element, so reselect it in the Click element, Upload a file or Enter text step that failed. When a run fails, hand it to the agent and it repairs the step.
Why does the image not upload to the Instagram post?
Check the folder permissions and the file size of the image in the Upload a file step's File Path.
Can I automate Instagram posts without code?
Yes. The automation fills Instagram's own post form in your browser, click by click, so it needs no Instagram API, developer account or script; the agent builds it from the lines above.
Can I automate Instagram posts in the cloud?
Yes, if the images are in Google Drive. Upload a file runs only on the desktop app, so swap it for Upload a file from Google Drive.
Can I schedule Instagram posts?
Yes. A scheduled run needs Instagram logged in: share the cookie in settings or add steps to log in.
Where do I get help?
Get in touch with support, or ask in the axiom.ai community. For more on the approach, read the in-depth guide to automating posts to Instagram.
Related guides
Automate Threads posts from a Google Sheet
- Read the next post from my Google Sheet
- Open Threads and start a new post
- Type the message and attach the image
- Post it and delete the row
Automate Facebook posts from a Google Sheet
- Read the posts from my Facebook posts sheet
- Open Facebook and start a new post
- Type the text and attach the image from the row
- Click Post and delete the row
Automate posting on X (Twitter) from a Google Sheet
- Read the posts from my X post sheet
- Open the X compose page for each row
- Type the post and upload its image
- Click Post, then delete the row