π Ingest and sync trending video data with webhooks and SkipPlay API
β‘ 0 views Β· π Market Research & Insights
Description
Quick overview
This workflow receives a POST webhook containing a list of trending videos, normalizes and validates the payload, and syncs the cleaned video data to the SkipPlay API before returning a JSON status response.
How it works
- Receives a POST request on a webhook with a region and a non-empty array of video records.
- Cleans, normalizes, and validates each video object (for example mapping fields like Video ID, Title, Views, Duration, and Published At) and drops entries missing a Video ID.
- Sends the cleaned video list and region to the SkipPlay sync endpoint (
https://skipplay.app/api/sync/trending) via an HTTP POST request with anx-sync-secretheader. - Returns a JSON webhook response that confirms the sync and includes the region, processed video count, and the SkipPlay API response.
Setup
- Configure the source system to send a POST request to this workflowβs webhook URL with a videos array.
- Set the SkipPlay API endpoint URL and provide the required
x-sync-secretvalue. - Ensure your incoming video objects include a stable videoId/id field. Configure the
x-sync-secretheader in the HTTP Sync node to match your server secret.
π Nodes Used
HTTP Request, Webhook, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File