Actions3
Create
AI-generatedSummary
Create a TikTok scrape job by submitting video URLs, with optional waiting for completion and result retrieval.
Inputs
- urls (required) — TikTok video URLs (tiktok.com/@user/video/id) — 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 Weld API job creation response JSON (containing at minimum a jobId). If true, the node polls job status every pollInterval seconds up to maxWait seconds. On completion (status completed or partial), returns an array of result items; each item's json contains _jobId, _scraperId, and the scraped data (spread if r.data is an object, otherwise wrapped as { data: r.data }). If the job fails, a NodeOperationError is thrown. If polling exceeds maxWait seconds, returns { json: { jobId, status: 'timeout', message: 'Job did not complete within ${maxWait}s. Use
use a separate Get node on a schedule for long-running jobs.' } }.