Instagram Profile Scraper

This automation scrapes public profile information from an Instagram account, saves the data to a Google Sheet, and sends a summary notification to a Slack channel.
This automation provides a powerful way to gather and store data from public Instagram profiles. When run, it performs the following steps:
  1. Navigates to Profile: The automation takes an Instagram username and opens its profile page in a cloud browser.
  2. Handles Pop-ups: It intelligently detects and dismisses common pop-ups, such as login requests, to ensure a clear view of the profile.
  3. Extracts Data: It scrapes key information from the page, including the username, display name, bio, follower/following/post counts, profile picture URL, and any external links.
  4. Saves to Google Sheets: The extracted data is then saved to a Google Sheet. If you provide a sheet URL, it will update the existing sheet by either adding a new row or updating the row for that username. If no URL is given, it creates a new spreadsheet for you.
  5. Sends Notification: Finally, a formatted summary of the scraped profile is sent to a specified Slack channel, including a convenient link to the Google Sheet.
The automation is designed to be robust, handling private or non-existent profiles gracefully and ensuring that data is correctly parsed and stored.
Usage Ideas
  • Lead Generation: Scrape profiles of potential customers and automatically add them to a sales lead list in a spreadsheet.
  • Competitor Analysis: Regularly scrape the profiles of key competitors to track their follower growth and content strategy over time.
  • Influencer Marketing: Identify and collect data on potential influencers in your niche for upcoming marketing campaigns.
  • Recruitment: Source potential candidates by scraping profiles that mention specific skills or companies in their bio.
  • Market Research: Gather data on a set of accounts to understand trends and audience size within a specific industry or interest group.
Customization Ideas
This template is a great starting point and can be easily customized to fit your specific needs. You have the flexibility to:
  • Change the Destination: Instead of Google Sheets, you can save the data to another service like Airtable, a CRM, or a custom database.
  • Change the Notification Service: Send alerts to your email, Discord, or Microsoft Teams instead of Slack.
  • Customize the Scraped Data: Modify the automation to extract different information from the profile, such as the account category or verification status.
  • Adjust the Output: Change the columns in your spreadsheet or customize the content and layout of your Slack notifications to highlight the information that matters most to you.
  • Scrape Different Sites: Adapt the core logic to scrape profiles from other platforms like LinkedIn, TikTok, or X (formerly Twitter).
Agent Inputs
Required Parameters
Name
Type
Default
instagramUsername
string
None
The Instagram username to scrape (without @ symbol)
Optional Parameters
Name
Type
Default
googleSheetUrl
string
URL of an existing Google Sheet to save results. If not provided, a new spreadsheet will be created
slackChannel
string
REDACTED_SLACK_CHANNEL
Slack channel where notifications are sent
HIPAA
SOC-2 TYPE 2
Airtop empowers anyone to turn ideas into powerful automations, by simply describing what they want to happen.
© 2025 Airtop