Send daily competitor intel briefs to Slack with API Direct and OpenAI
UnknownWhat this workflow does
This AI workflow has 11 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI Chat Model, Slack and Apidirect (community).
How it runs
Trigger: On a schedule (every day at 08:00).
- Edit your competitor settings (Edit Fields (Set)): sets 1 field: competitor
- Search Twitter/X posts (Apidirect): posts (twitter)
- Search Google News (Apidirect): news articles (google)
- Combine results (Merge): merges the data from its input branches
- Keep only new mentions (Code): runs custom JavaScript code
- Prepare the brief input (Code): runs custom JavaScript code
- Write the intel brief (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Format the Slack message (Code): runs custom JavaScript code
- Post the daily brief (Slack): uses Slack
Services it uses
Other OpenAI + Slack templates (979)
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 n8n-nodes-apidirect is verified or supports 3.0 (used in Search Twitter/X posts, Search Google News).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Apidirect
n8n-nodes-apidirect.apidirect - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs every morning to search Twitter/X and Google News for a competitor name via API Direct, uses OpenAI to generate a three-bullet intelligence brief from new mentions only, and posts the brief with source links to a Slack…