Actions49
- Airbnb Actions
- AppStore Actions
- Booking Actions
- Company Insight Actions
- Emails & Contact Actions
- Expedia Actions
- G2 Review Actions
- Geocoding Actions
- GetApp Review Actions
- Google Map Actions
- Google Search Actions
- Indeed Actions
- Phone Identity Finder Actions
- Phones Owner Actions
- Product Hunt Actions
- Target Review Actions
- TikTok Profile Actions
- TripAdvisor Actions
- Trustpilot Actions
- Twitter Profile Actions
- Universal AI Scraper Actions
- Walmart Review Actions
- WebPage Screenshoter Actions
- Whitepages Addresses Scraper Actions
- Yellow Pages Search Actions
- Yelp Actions
- YouTube Actions
- Zillow Actions
Overview
This node integrates with the Outscraper API to retrieve YouTube comments for specified videos. It is useful for scenarios where users want to analyze viewer feedback, monitor engagement, or gather sentiment data from YouTube video comments. For example, marketers can extract comments to understand audience reactions, researchers can collect data for sentiment analysis, and content creators can monitor discussions on their videos.
The node supports both synchronous and asynchronous execution modes. In asynchronous mode, it can send a POST request to a user-provided webhook URL once the comment retrieval task is completed, enabling integration with workflows that require notification or further processing after data collection.
Properties
| Name | Meaning |
|---|---|
| Query | Video links or video IDs to fetch comments from (e.g., https://www.youtube.com/watch?v=ph5pHgklaZ0 or ph5pHgklaZ0). Required. |
| Async | Whether to execute the request asynchronously (true or false). |
| Webhook | URL to which Outscraper will send a POST request once the asynchronous task finishes (callback URL). |
| Limit | Maximum number of comments to return per query (number). Default is 100. |
| Additional Fields | Collection of optional fields: |
| - Fields | Comma-separated list of specific fields to include in the response (e.g., ID,content,published). |
| - Language | Language code to use for the request (default "en"). |
| - Region | Region code to use for the request (default "US"). |
| - UI | Whether to execute the request as a UI task (true or false). |
Output
The node outputs JSON data containing the retrieved YouTube comments according to the specified query and parameters. The structure typically includes comment details such as ID, content, publication date, and any additional requested fields.
If asynchronous execution is enabled, the node may not immediately output the comments but instead relies on the webhook callback to receive the results once the task completes.
No binary data output is indicated by the source code.
Dependencies
- Requires an active Outscraper API key credential configured in n8n.
- Internet access to call the Outscraper API endpoint.
- If using asynchronous mode, a publicly accessible webhook URL must be provided to receive the callback POST request.
Troubleshooting
Common issues:
- Invalid or missing video IDs/URLs in the Query property may result in no comments returned.
- Incorrect API key or missing credentials will cause authentication errors.
- Network connectivity problems can prevent successful API calls.
- If asynchronous mode is enabled without a valid webhook URL, the callback will fail.
Error messages:
- Authentication errors usually indicate invalid or missing API keys; verify credentials.
- Rate limit errors may occur if too many requests are sent; consider reducing the Limit or adding delays.
- Invalid parameter errors suggest malformed input, e.g., incorrect video ID format; ensure proper formatting.
Links and References
- Outscraper API Documentation
- YouTube Data API Concepts (for understanding comment data structure)
- n8n Documentation