Send a weekly competitor LinkedIn digest with Apify, OpenAI and Slack
UnknownWhat this workflow does
This AI workflow has 21 nodes and runs on a schedule (cron 0 8 * * 1). Along the way it connects Google Sheets, OpenAI Chat Model, Slack and Gmail and 1 more.
How it runs
Trigger: On a schedule (cron 0 8 * * 1).
- List your competitors and what you sell (Edit Fields (Set)): sets 8 fields: competitors, whatYouSell, days…
- Read last week's numbers (Google Sheets): read
- Read each competitor's company page (Apify): run actor and get dataset (actors)
- Search posts that mention them (Apify): run actor and get dataset (actors)
- Tag each post with its competitor (Code): runs custom JavaScript code
- Skip posts counted in an earlier week (Remove Duplicates): removes duplicate items
- Sum up each competitor and compare (Code): runs custom JavaScript code
- Competitors or a collection problem? (Switch): routes items into 2 branches
- Read the competitor's week (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
- Put the read-out back on the competitor (Merge): merges the data from its input branches
…plus 9 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Read each competitor's company page, Search posts that mention them, Optional: read the leaders' posts too).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Apify
@apify/n8n-nodes-apify.apify - Code
n8n-nodes-base.code - Remove Duplicates
n8n-nodes-base.removeDuplicates - Switch
n8n-nodes-base.switch - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail
From the author
Quick overview Every Monday this reads your competitors' LinkedIn posts and the posts that mention them, and compares each with last week. AI sums up the themes and spots launches, funding or layoffs. Each competitor gets a Google Sheets row. Spikes and…