πŸ“Š Send daily competitor intel briefs to Slack with API Direct and OpenAI

⚑ 2 views Β· πŸ“Š Market Research & Insights

πŸ’‘ Pro Tip β€” Since TikTok doesn’t have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β€” drop it into your workflow and skip the parsing.

View All Scrapers

Description

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 channel.

How it works

  1. Runs every morning on a schedule.
  2. Searches Twitter/X posts and Google News articles from the last 24 hours for the configured competitor using API Direct.
  3. Combines the Twitter/X and Google News results and removes items that were already processed in previous active runs.
  4. Prepares a compact corpus of the new mentions and a short list of source links for Slack.
  5. Uses OpenAI to write exactly three concise intelligence bullets (or a single noise note) based on the new mentions.
  6. Formats and posts one Slack message containing the brief and the source links.

Setup

  1. Add an API Direct API key credential and select it in the Twitter/X and Google News search steps.
  2. Add an OpenAI API key credential for the chat model used to generate the brief.
  3. Connect your Slack credential and choose the target channel for posting the daily message.
  4. Update the competitor name in the competitor settings step (and optionally adjust the schedule time).

Requirements

Customization

Additional info

API Direct is a verified community node, available on n8n Cloud and self-hosted n8n β€” search β€œAPI Direct” in the nodes panel to install. One API key covers Twitter/X, Reddit, TikTok, Instagram, YouTube, Facebook, Threads, Truth Social and Google News/Maps/web search (58 operations), pay-as-you-go from $0.002/request.

πŸ”— Nodes Used

Slack, Schedule Trigger, Basic LLM Chain, OpenAI Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup