Actions3
Create
AI-generatedSummary
Create a scrape job for Twitter/X profile URLs.
Inputs
- urls (required) — Twitter/X profile URLs (x.com/username) — one per line or comma-separated
- jobName — Optional name for this job
- waitForCompletion — Whether to wait for the job to finish and return results. WARNING: Holds an n8n worker while polling — use a separate Get node on a schedule for long-running jobs.
- pollInterval — How often to check if the job is done
- maxWait — Maximum time to wait before timing out
- resultLimit — Maximum number of results to fetch after job completion
Output shape
If waitForCompletion is false, returns the raw API create response (containing jobId). If true, polls until the job reaches a terminal state (completed/partial) or maxWait is exceeded, then returns an array of result objects each containing _jobId, _scraperId, and the scraped profile data (or {data: r.data} if r.data is not an object).
URLs are validated to start with http:// or https:// and must belong to twitter.com or x.com. If no valid URLs are provided, the operation throws an error.
Examples
Example 1: Immediate job creation
Provide profile URLs without waiting for completion to get a jobId immediately for later polling with a separate Get node.
Example 2: Fully synchronous scrape
Set waitForCompletion to true with appropriate pollInterval and maxWait to block the workflow until results are ready.