Actions7
- Data API Actions
- Web Scraping Actions
Overview
The node "Dumpling AI" provides an interface to interact with Dumpling AI's various APIs, including data retrieval, web scraping, document conversion, and AI-powered services. Specifically, the "Get YouTube Transcript" operation under the "Data API" resource allows users to fetch the transcript of a specified YouTube video. This is useful for extracting spoken content from videos for purposes such as content analysis, captioning, translation, or archiving.
Practical examples include:
- Automatically generating subtitles or captions for YouTube videos.
- Extracting key points or summaries from video content.
- Translating transcripts into other languages.
- Analyzing spoken content for sentiment or keyword extraction.
Properties
| Name | Meaning |
|---|---|
| Video URL | The URL of the YouTube video from which to retrieve the transcript. |
| Include Timestamps | Whether to include timestamps alongside the transcript text. |
| Timestamps to Combine | When timestamps are included, this defines how many consecutive timestamps should be combined together in the output transcript. Must be at least 1. |
| Preferred Language | The preferred language for the transcript. Options include: Chinese (Simplified), Chinese (Traditional), English, French, German, Italian, Japanese, Korean, Portuguese, Spanish. |
Output
The node outputs JSON data containing the transcript of the specified YouTube video. If timestamps are included, the transcript entries will be grouped according to the "Timestamps to Combine" setting, providing segments of text associated with time ranges. This enables downstream processing such as syncing text with video playback or segment-based analysis.
If binary data output is supported (not explicitly shown in the provided code), it would typically represent media files or documents related to the transcript, but here the focus is on textual transcript data.
Dependencies
- Requires an active connection to Dumpling AI's API service.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- Internet access to reach
https://app.dumplingai.com/api/v1. - No additional environment variables are indicated beyond standard API credential setup.
Troubleshooting
- Invalid Video URL: Ensure the YouTube URL is correctly formatted and publicly accessible.
- Transcript Not Available: Some videos may not have transcripts available due to privacy settings or lack of auto-generated captions.
- Language Not Supported: Selecting a preferred language not supported by the video’s transcript may result in fallback to default or empty results.
- API Authentication Errors: Verify that the API key credential is valid and has necessary permissions.
- Network Issues: Confirm network connectivity to Dumpling AI’s API endpoint.
Common error messages might include:
- Unauthorized or authentication failure — check API credentials.
- Resource not found or invalid input — verify the video URL.
- Rate limiting or quota exceeded — consult Dumpling AI usage limits.