Weekly competitor Instagram and TikTok digest in Slack

Every Monday at 9am, get a Slack rundown of your competitors' top Instagram and TikTok posts, recurring themes, format mix, and shared hashtags.

Agentic Task
RapidAPIGoogle SheetsSlack BotMarketingResearch & MonitoringDaily Digests

Build me an agent-based workflow that runs every Monday at 9am (my local time) and posts a competitor social media digest to my Slack channel #marketing-intel.

Inputs and sources:

1) Read my competitor list from Google Sheets. The sheet has one row per competitor with two columns: handle and platform. Platform is either "instagram" or "tiktok". Use the Get Values operation on Google Sheets to pull the list at the start of every run so adding or removing competitors is just a sheet edit. Make the spreadsheet ID, sheet/tab name, and range configurable; default the range to the full data range starting at row 2.

2) For each row, call the matching scraper API on RapidAPI through the generic "Call a Subscribed Hub API" action. I will subscribe to an Instagram scraper and a TikTok scraper of my choice on the RapidAPI Hub (e.g. instagram-scraper-api3, tiktok-scraper7). Make the per-platform host (X-RapidAPI-Host) and the user-posts endpoint path configurable so I can swap scrapers without rebuilding. Both X-RapidAPI-Key and X-RapidAPI-Host headers are required on every call. Pull the last 7 days of posts for each handle and capture: caption, post URL, view count, like count, comment count, hashtags, post type (Reel/carousel/static for Instagram; video for TikTok with sound name if available), and posted timestamp.

Agent reasoning over the collected posts:

- Rank the top 5 highest-engagement posts across all competitors. Default engagement signal: views when present, otherwise likes + 3×comments. Make the formula configurable in a single comment near the top.

- Identify 3 to 5 recurring content themes across the week (e.g. "behind-the-scenes founder content", "product demo with text overlay", "UGC stitches"). Cite which competitors leaned into each theme.

- Summarize the format mix per platform: for Instagram, the rough split of Reels vs carousels vs static; for TikTok, which sounds or trend formats showed up more than once.

- Call out any hashtags that appeared across multiple competitors (2 or more), with the count.

Output: Post a single structured message to Slack #marketing-intel using the Slack Bot "Send a Message" action. Use Block Kit or mrkdwn so it's scannable. Structure:

1) Header with the date range covered. 2) "Top 5 posts this week" with each post as a numbered line: competitor handle, platform, post link, engagement number, and a one-line description. 3) "Themes we saw" with 3 to 5 bullets. 4) "Format mix" with two short lines (Instagram and TikTok). 5) "Hashtags appearing across multiple competitors" with the tag and count. 6) At the very bottom, a small italic "Skipped" line listing any handles whose scraper call errored out, so I can see which ones to look at.

Resilience requirements: if a single handle's scraper call fails (timeout, 403/404/429, malformed response), skip that handle and add it to the skipped list at the bottom of the digest. Do not abort the whole digest because of one broken scraper. Apply exponential backoff on 429 (RapidAPI key limit or provider plan limit) before giving up on a handle.

Use the Slack Bot integration (not the user Slack integration) so the digest comes from a stable bot identity. Use the RapidAPI integration for the scraper calls. Use Google Sheets for reading the competitor list.

Configurables I want to be able to edit later without re-prompting the agent: spreadsheet ID, sheet/tab and range, Instagram scraper host + endpoint path, TikTok scraper host + endpoint path, lookback window (default 7 days), top-N (default 5), engagement formula, destination Slack channel, and the cron time.

Additional information

What does this prompt do?
  • Reads your competitor list of Instagram and TikTok handles from a Google Sheet you control.
  • Pulls the last seven days of posts for each handle through the Instagram and TikTok scrapers you've subscribed to on RapidAPI.
  • Ranks the top five highest-engagement posts across all competitors, with direct links you can click into.
  • Calls out recurring content themes, format mix (Reels vs carousels vs static, TikTok sounds and trends), and hashtags repeated across multiple competitors.
  • Posts a single structured Slack message to your marketing channel and quietly lists any handles that errored so one broken scraper never blanks the digest.
What do I need to use this?
  • A Google Sheet with one row per competitor, with columns for the handle and the platform (Instagram or TikTok).
  • A RapidAPI account with active subscriptions to an Instagram scraper and a TikTok scraper of your choice from the RapidAPI Hub.
  • A Slack workspace and the channel you want the weekly digest posted to.
How can I customize it?
  • Change the day or time the digest runs, or switch to twice a week if your space moves fast.
  • Swap the destination channel, post to a private channel for the leadership team, or have it DM you instead.
  • Tune how many top posts make the cut and which engagement signal (views, likes, comments, or a blend) is used to rank them.
  • Add or drop competitors by editing your Google Sheet. The workflow reads the latest list every run, so you never touch the workflow itself.

Frequently asked questions

Do I need a special account for Instagram and TikTok data?
You'll subscribe to the scraper of your choice on the RapidAPI Hub (there are free tiers and paid plans for both Instagram and TikTok). Your existing RapidAPI key handles the rest, so you don't have to manage separate logins per scraper.
What happens if one of the scraper calls fails?
The digest skips any handle that errors out and lists those handles at the bottom of the Slack message. A single broken scraper or a rate-limit hiccup never blanks your whole report.
Can I add or remove competitors later?
Yes. Just add or remove rows in your Google Sheet. The workflow reads the latest list every Monday morning, so no workflow edits are needed.
Does this work for private accounts?
No. The scrapers only return public posts, so private handles will surface in the skipped list. Use the public business or creator account for each competitor.
Will the digest post as me or as a bot?
It posts as a Slack bot so the message has a consistent identity, doesn't depend on any single teammate, and keeps working even if someone leaves the team.
Can I switch out the scrapers I use?
Yes. The workflow just calls whichever Instagram and TikTok scrapers you've subscribed to on the RapidAPI Hub, so you can swap providers any time without rebuilding.

See what your competitors are posting before the team meeting.

Connect Google Sheets, RapidAPI, and Slack once, and Geni delivers a fresh competitor social digest to your channel every Monday at 9am.