Daily X follower and engagement tracker
Every weekday at 9am, log follower counts and engagement on the latest 10 posts for your handle and your competitors into a Google Sheet so you can chart growth over time.
Build a deterministic code workflow (no LLM step) that logs daily X (Twitter) KPIs for my handle and a configurable list of competitors into a Google Sheet so I can chart growth over time.
Trigger: cron, every weekday (Mon-Fri) at 9:00am in the workspace timezone.
Inputs (configurable at the top of the workflow): a list of X handles (mine plus 5 to 10 competitors), the target Google Sheet spreadsheetId, and the target sheet/tab name.
For each handle in the list, do the following in order:
1. Call TwitterAPI.io "Get User Info" with the handle to read followers, following, statusesCount, and isBlueVerified from the UserInfo response.
2. Call TwitterAPI.io "Get User Last Tweets" for the same handle to fetch the most recent 10 tweets. Sum likeCount, retweetCount, replyCount, and viewCount across that batch of (up to) 10 tweets. If fewer than 10 tweets are returned, sum across whatever was returned and proceed.
3. Append one row to the Google Sheet via the Google Sheets "Append Values" operation with these columns, in this order: date (YYYY-MM-DD in the workspace timezone), handle, followers, following, tweets_total (statusesCount), likes_sum_last10, retweets_sum_last10, replies_sum_last10, views_sum_last10.
Process handles sequentially (small list, no need to parallelize). Use valueInputOption USER_ENTERED so the date column is interpreted as a real date by Sheets. If a handle fails (404, unavailable account, rate limit), log the failure and continue with the next handle rather than aborting the whole run.
Output expectations: one new row per handle per run, appended to the existing log. The sheet should accumulate a daily time series that the user can chart with Sheets charts or a pivot table. Keep credit usage in mind (roughly 30 to 35 TwitterAPI.io credits per handle per day across the two read calls). No AI/LLM step is needed anywhere in this workflow.
What does this prompt do?
- Pulls follower count, following count, and total post count for your handle and a list of competitors every weekday morning.
- Adds up likes, reposts, replies, and views across each account's latest 10 posts.
- Appends one fresh row per handle per day to your Google Sheet, ready to chart or pivot.
- Runs hands-off so the log keeps building day after day with no manual exports.
What do I need to use this?
- A TwitterAPI.io account with credits topped up (about 30 to 35 credits per handle per day).
- A Google account with edit access to the spreadsheet you want rows appended to.
- A short list of X handles you want to track (yours plus 5 to 10 competitors).
How can I customize it?
- Change the schedule, the days of the week, or the timezone the tracker runs in.
- Add or remove handles from the watch list as your competitive set evolves.
- Point it at a different Google Sheet, rename the columns, or extend the row with extra fields like profile bio or verified status.
FAQs
Can I track more than 10 handles?
Does it have to run on weekdays at 9am?
Where do the charts come from?
Will it work for private X accounts?
What if an account didn't post recently?
Related templates
Every weekday at 10am, an AI voice agent phones your most overdue Xero accounts, logs what each customer promised, and reports back to finance in Slack.
See every Google Maps listing you manage on one screen, ranked worst first, with an audit button that writes the fix list for you.
Your team picks a template, finds the customer, checks they are safe to email, then sends it, with every send logged where the whole team can see it.
Every night at 2am, pull the contacts on your open and won deals and block them from your cold outreach before the next send goes out.
Build every text campaign in one screen: check who is actually reachable, see a realistic send plan, then watch delivery land row by row.
See every LinkedIn ad account's spend against the budget you committed to, catch overspend early, and rebalance without rebuilding a spreadsheet.
Stop guessing whether your X account is actually growing.
Connect TwitterAPI.io and Google Sheets once, and Geni logs your handle and your competitors' numbers every weekday at 9am.