πŸ“Š Summarize X keyword conversations with BeatAPI Social Data and text models

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

πŸ’‘ Pro Tip β€” Twitter’s API is paid now, which makes simple data pulls expensive. ScraperNode is a community node that scrapes Twitter profiles and posts without needing API access.

View All Scrapers

Description

Quick overview

This workflow manually searches recent public X posts for a keyword using BeatAPI Social Data, then summarizes the preview results into a cited research draft using a BeatAPI text model and returns the BeatAPI request ID for later retrieval.

How it works

  1. Starts when you run the workflow manually.
  2. Sets the keyword, X search type (for example, Latest), and the BeatAPI text model to use.
  3. Calls BeatAPI Social Data to fetch a preview page of public X search results for the keyword.
  4. Extracts each post’s text and engagement signals and packages them as evidence with the BeatAPI Social Data request ID.
  5. Sends the evidence to the BeatAPI chat completions endpoint to generate a theme-based summary with post-ID citations.
  6. Outputs the research draft summary along with the source metadata, number of posts summarized, and the request ID(s).

Setup

  1. Create an n8n HTTP Header Auth credential with header name Authorization and value Bearer <your BeatAPI key>, and select it in both BeatAPI HTTP Request steps.
  2. Update the keyword, search_type, and model values in Configure Inputs to match your research needs.
  3. Run the workflow manually and use the returned BeatAPI request ID(s) if you need to retrieve the full Social Data result within the provider’s availability window.

Requirements

Customization

πŸ”— Nodes Used

HTTP Request

πŸ“₯ Import

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

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