{"product_id":"n8n-workflow-track-viral-instagram-posts-with-apify-groq-slack","title":"n8n Workflow: Track Viral Instagram Posts with Apify, Groq \u0026 Slack","description":"\u003ch3\u003eAutomatically spot viral Instagram posts your competitors are outperforming—then notify your team only when it matters.\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs every morning to scrape the newest posts from the Instagram accounts you specify, compares each post’s engagement against that account’s normal level, reads the caption with Groq AI, logs results to Google Sheets, and pings \u003cstrong\u003eSlack\u003c\/strong\u003e only when a “breakout” viral post is detected.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDaily scheduling:\u003c\/strong\u003e A Schedule Trigger runs once per day.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWatchlist configuration:\u003c\/strong\u003e One config node stores handles, the number of posts per profile, a viral multiplier, and the Slack channel.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScrape competitor posts via Apify:\u003c\/strong\u003e For each handle, it runs the \u003cstrong\u003eInstagram Profile Posts Scraper\u003c\/strong\u003e on \u003cstrong\u003eApify\u003c\/strong\u003e and keeps only the post rows.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAvoid repeats:\u003c\/strong\u003e Remove Duplicates ensures each morning includes only posts not seen in earlier executions.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFair viral detection:\u003c\/strong\u003e A Code node calculates engagement (likes plus comments) and compares each post to the `median` engagement baseline for that same account, flagging anything at or above your multiplier as \u003cstrong\u003eviral\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI caption interpretation:\u003c\/strong\u003e An Information Extractor uses a Groq chat model to extract theme, tone, format, and CTA from the caption.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLog \u0026amp; alert:\u003c\/strong\u003e Google Sheets appends one row per post; \u003cstrong\u003eSlack\u003c\/strong\u003e is pinged only when something breaks out.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eMarketing teams tracking competitors to quickly identify winning Instagram content patterns.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators monitoring engagement shifts without manually reviewing accounts.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers setting up an “intelligence feed” from Apify into Sheets + Slack.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApify\u003c\/strong\u003e with HTTP Header Auth: create an HTTP Header Auth credential named \u003cem\u003eAuthorization\u003c\/em\u003e with value \u003cem\u003eBearer YOUR_APIFY_TOKEN\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGroq\u003c\/strong\u003e chat model node (drop-in swap for OpenAI\/Anthropic-style setups).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e for row-by-row logging and \u003cstrong\u003eSlack\u003c\/strong\u003e for breakout notifications.\u003c\/li\u003e\n  \u003cli\u003en8n nodes include: Schedule Trigger, HTTP Request, if\/set\/code\/no op, slack, and aggregation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eRequirements:\u003c\/strong\u003e Apify account, chat model account (Groq), Google Sheets, and Slack. Posts are charged only when delivered.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eCustomization:\u003c\/strong\u003e Adjust the viral multiplier (noted as \u003cem\u003eviralMultiplie\u003c\/em\u003e in the setup) and your watched accounts\/limits in the config.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45967595602099,"sku":"N8N-19256","price":78.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/lyY64IbltGbmB2N6T_b3d_Lke6Iwke.png?v=1788685933","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-track-viral-instagram-posts-with-apify-groq-slack","provider":"N8N Commerce","version":"1.0","type":"link"}