Actions8
- Media Actions
- YouTube Actions
- Web Actions
Media → Extract Structured Data
AI-generatedOverview
This node extracts structured data from a video URL using AI. It supports specifying what data to extract either by a natural language prompt, a JSON schema, or both. The node sends a request to the Supadata API to start the extraction job and then polls the job status until completion or timeout. This is useful for scenarios where you want to automatically extract key information, topics, quotes, or statistics from video content without manual review.
Use Case Examples
- Extract main topics and key quotes from a YouTube video by providing a natural language prompt.
- Use a JSON schema to define the exact structure of data to extract from a video, such as speaker names and timestamps.
- Combine a prompt and schema to guide the AI extraction and enforce output format.
Properties
| Name | Meaning |
|---|---|
| URL | The URL of the video to extract data from, required for the extraction. |
| Input Mode | How to specify what data to extract: using a natural language prompt, a JSON schema, or both. |
| Prompt | Natural language description of what data to extract from the video, required if Input Mode includes prompt. |
| Schema | JSON Schema defining the structure of the extracted data, required if Input Mode includes schema. |
| Options | Additional options for extraction such as maximum wait time for the extraction job and polling interval to check job status. |
Output
JSON
jobId- The ID of the extraction job started on the Supadata API.extractedData- The structured data extracted from the video after the job completes.
Dependencies
- Supadata API with an API key credential
Troubleshooting
- If the extraction job takes longer than the maximum wait time, the node will timeout and may throw an error. Increase the max wait time or check the video URL validity.
- If the JSON schema is invalid or does not match the extracted data, the output may be incomplete or cause errors. Validate the schema before use.
- Network or API authentication issues can cause request failures. Ensure the API key credential is correctly configured and has access to the Supadata API.
Links
- Supadata API Documentation - Official documentation for the Supadata API used by this node.