What this agent does
Audience Research Agent helps you understand who actually engages with your LinkedIn posts.
It pulls your post data, identifies people who commented, and uses GPT to group them into audience segments based on job titles, industries, and patterns.
1. Pulls your LinkedIn posts
Using the LinkedIn API via RapidAPI, it fetches your latest posts based on your LinkedIn username and stores them in a Google Sheet.
2. Grabs all commenters
It loops through each post, collects comment data, and filters out your own name. All commenter info (name, title, profile link, comment) is stored in a second sheet.
3. Aggregates job titles
It compiles all job titles from the engagers so we can look at the bigger picture.
4. Sends data to GPT
GPT analyzes the job titles and finds patterns. It returns clear audience segments like:
Each with a short description, estimated audience share, and key attributes.
5. Stores segments back in your sheet
All the segments are saved in a third sheet, so you can track and analyze them anytime.