What is n8n?
Workflow automation platform with 400+ integrations. Build AI-powered automations with a visual editor.
Searching X (Twitter) with n8n
This integration lets your n8n agent search X (Twitter) in real time via the Scavio API. The agent gets back structured JSON with post snippets, author handles, timestamps, engagement signals — ready for reasoning and decision-making.
Setup
# No installation — configure in n8n's visual editorCode Example
Here is a complete n8n agent that searches X (Twitter) using Scavio:
// In n8n, add an HTTP Request node:
// Method: POST
// URL: https://api.scavio.dev/api/v1/search
// Headers:
// x-api-key: {{$credentials.scavioApi.apiKey}}
// Content-Type: application/json
// Body:
// {"query": "{{ $json.query }}"}Full Working Example
A production-ready example with error handling:
// n8n Workflow for X (Twitter) Search with Scavio
//
// Node 1: Trigger (Manual / Webhook / Schedule)
// Node 2: HTTP Request
// - Method: POST
// - URL: https://api.scavio.dev/api/v1/search
// - Authentication: Header Auth
// - Name: x-api-key
// - Value: your_scavio_api_key
// - Body: {"query": "{{ $json.query }}"}
// Node 3: AI Agent / Code node to process resultsPricing
Scavio offers a free tier with 500 credits/month (1 credit per search). No credit card required. This is enough to build and test your n8n integration. Paid plans start at $30/month for higher volumes.