YouTube community tab post scraper in n8n
Read a YouTube channel's Community tab and get structured records for every text post, image, poll, and shared video, with vote counts and optional comment threads.
What this workflow does
Import it and n8n runs the YouTube Community Tab Post & Poll Scraper Actor on Apify every day at 08:00 with the starter input below. Each row comes back with post id, type, channel, text and 3 more; repeats with the same postId are dropped. A Google Sheets append is included and stays off until you add your sheet. The only credential it needs is your Apify API token.
Read from the workflow file, built for YouTube Community Tab Post & Poll Scraper version 1.0.2. Updated 2026-11-14.How the rows travel
6 nodes, in the order n8n runs them. The yellow stop is the call to the Apify Actor; the dashed stop is optional.
- Daily trigger Schedule trigger
- Configure input Code
- Run Apify Actor HTTP Request
- Normalize + dedupe Code
- Rows ready No operation
- Google Sheets (optional) Google Sheets, off until you switch it on
Input
The Configure input node holds the starter input. Change it there; every setting the Actor accepts is listed below.
{
"urls": [
"https://www.youtube.com/@MrBeast"
],
"maxPosts": 25,
"includeDetails": false,
"keyword": "coffee shop",
"maxComments": 25
} | Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| mode | string | No | channelPosts | Choose channel posts, one post per URL/ID, or comments from post URLs/IDs. One of: channelPosts, postDetails, postComments. |
| urls | array | No | – | Channel URLs, @handles or channel IDs when mode=channelPosts. Post URLs or post IDs when mode=postDetails/postComments. |
| maxPosts | integer | No | 100 | Maximum posts per channel, or per run in the post modes. The run also accepts at most this many channel/post inputs. YouTube exposes at most 200 posts per channel. |
| postTypes | array | No | – | In channelPosts mode, only return these post types. Leave empty to include every type. The post modes return the post URLs/IDs you give them. 7 choices. |
| keyword | string | No | – | In channelPosts mode, only keep posts whose text contains this phrase. Case-insensitive. Leave empty for all posts. |
| publishedAfter | string | No | – | In channelPosts mode, keep posts published on or after this date. Uses YouTube's exact publish date, so details are fetched when set. |
| publishedBefore | string | No | – | In channelPosts mode, keep posts published on or before this date. Uses YouTube's exact publish date, so details are fetched when set. |
| includeDetails | boolean | No | true | In channelPosts mode, fill the exact publish date, exact like count, comment count and a 3-comment preview. Adds one detail and one comment request per post. |
| includeComments | boolean | No | false | Return comment threads on each post (up to Maximum comments) in channelPosts and postDetails modes. postComments always returns comments. |
| maxComments | integer | No | 100 | Maximum top-level comments to keep per post when comments are included. Replies are counted separately. |
| includeReplies | boolean | No | false | Also fetch replies under each comment when comments are included. |
| maxRepliesPerComment | integer | No | 10 | Maximum replies to keep per comment when replies are included. |
| commentSort | string | No | top | Show YouTube's featured comments first, or the newest comments first, when comments are returned. One of: top, newest. |
| market | string | No | US | Country used to render YouTube's localized labels and relative times. 31 choices. |
| language | string | No | en | Language used for YouTube's relative times and display labels. Post text is never translated. 20 choices. |
What each row holds
Every field the Actor returns stays in the row (7 in its dataset schema). Normalize + dedupe trims text, drops empty fields, removes repeats with the same postId and adds _source and _scrapedAt. The main fields:
| Field | What it is |
|---|---|
| postId | Post ID |
| postType | Type |
| channelName | Channel |
| contentText | Text |
| publishedAt | Published |
| likeCount | Likes |
| commentCount | Comments |
What the first run costs
Each run starts at $0.40 on the Free plan (4 GB of memory), then $0.99 per 1,000 results, plus platform usage.
The Actor lists $0.99 per 1,000 results; its catalogue page breaks the price down by Apify plan. The Apify Free plan includes $5 of usage a month.
The Actor behind it
YouTube Community Tab Post & Poll Scraper: Read a YouTube channel's Community tab and get structured records for every text post, image, poll, and shared video, with vote counts and optional comment threads.
The same job from an AI agent
The matching agent skill gives Claude Code, Codex, Cursor and other agents the same Actor, input and fields. Install it in one line:
npx skills add https://scraperfinder.com --skill youtube-community-tab-post-and-poll-scraper The youTube community tab post scraper skill, with manual install and run steps
Questions people ask
How do I import this workflow into n8n?
Copy https://scraperfinder.com/n8n/youtube-community-tab-post-and-poll-scraper.json. In n8n, open a new workflow, click the three-dot menu, choose Import from URL and paste it. Or download the JSON file and use Import from File; both give the same 6 nodes.
Do I need an Apify account?
Yes. The workflow calls the YouTube Community Tab Post & Poll Scraper Actor through the Apify API with your own token, and each run is billed to your Apify account. The Free plan includes $5 of usage a month.
What does a run cost?
Each run starts at $0.40 on the Free plan (4 GB of memory), then $0.99 per 1,000 results, plus platform usage. The Actor's Store page shows the current price.
Can I change what it collects?
Yes: edit the input object in the Configure input node. The Actor takes 15 settings; the table on this page lists each one with its default. Raise maxPosts once the first rows look right.
Does it work without Google Sheets?
Yes. The rows wait in the Rows ready node, so you can connect any other node there: a database, Airtable, a webhook or an email. The Google Sheets node is only one option.