Instagram Profile Scraper to Google Sheets
This automation scrapes posts from a specified public Instagram profile, extracts key information like the caption, like count, and comment count, and saves the data into a new Google Sheet. It concludes by sending a summary notification to a designated Slack channel.
This automation streamlines the process of collecting data from Instagram for analysis and archiving. Here’s how it works:
  1. Navigate to Profile: The automation begins by navigating to the specified Instagram profile page. It verifies that you are signed into an Instagram account to ensure access to the data.
  2. Load Posts: It systematically scrolls down the profile page to load all the post thumbnails for extraction, up to the maximum number you specify.
  3. Create Spreadsheet: It creates a new Google Sheet with predefined columns: Post URL, Username, Caption, Media URLs, Hashtags, Likes Count, Comments Count, and Date Extracted.
  4. Extract Data: The automation then works through the posts one by one. It clicks on each post, extracts key data points, and closes the post to return to the profile grid.
  5. Save to Sheet: As each post's data is extracted, it's immediately added as a new row in the Google Sheet.
  6. Notify: Once the process is complete, it sends a summary message to your chosen Slack channel, reporting the number of posts successfully extracted and any errors encountered.
Usage Ideas
  • Track a competitor's content strategy and engagement metrics over time.
  • Create an archive of your brand's or a client's Instagram posts.
  • Analyze the performance of influencer marketing campaigns by scraping their posts.
  • Gather user-generated content related to your brand by monitoring specific hashtags on an account.
  • Conduct market research by analyzing the most popular posts from key accounts in your industry.
  • Feed content and performance data into a custom dashboard or analytics tool.
Customization Ideas
This template is designed to be flexible for your specific needs. You can easily customize it to:
  • Target any public Instagram account by simply providing the username.
  • Control the scope by setting the maximum number of posts to scrape.
  • Organize your data by specifying a custom name for the output Google Sheet.
  • Stay informed by sending completion notifications to any Slack channel in your workspace.
  • Extract different information from each post, such as the location or video view counts.
  • Change the output destination from Google Sheets to another service for storing or processing the data.
HIPPA
SOC-2 TYPE 2
Airtop empowers anyone to turn ideas into powerful automations, by simply describing what they want to happen.
airtopⓒ2025