Ingest and sync trending video data with webhooks and SkipPlay API

Go to Workflow
0 views
Built by SkipPlay SkipPlay
Created on September 01, 2026

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 an x-sync-secret header.
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-secret value.
Ensure your incoming video objects include a stable videoId/id field. Configure the x-sync-secret header in the HTTP Sync node to match your server secret.

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest