Extract Xiaohongshu comments to CSV with Apify and UnitBytes

Go to Workflow
0 views
Built by unitbytes unitbytes
Created on October 15, 2026

Description

Quick overview
This workflow runs daily to scrape Xiaohongshu (RedNote) note comments using the UnitBytes actor on Apify, normalizes key fields from the returned dataset items, and exports the results as a CSV file that you can download or forward to tools like Google Sheets.

How it works
Runs every 24 hours on a schedule.
Sets the Apify API token and the UnitBytes Xiaohongshu comments scraper input (start URLs, comment limits, and proxy settings).
Calls the UnitBytes xiaohongshu-rednote-comments-scraper actor on Apify via the run-sync-get-dataset-items API to retrieve extracted comments as JSON.
Normalizes each record to a flat structure with fields like id, noteId, noteUrl, content, likeCount, and subCommentCount.
Converts the normalized results into a CSV file named xiaohongshu-comments-scraper-dataset-export.csv.

Setup
Create an Apify account, generate an Apify API token, and replace YOUR_APIFY_API_TOKEN in the Set step.
Update the actor input JSON to include your target Xiaohongshu note URLs and desired limits (for example maxCommentsPerNote and proxy country/group).
If you want to store results elsewhere, add and configure a destination node (for example Google Sheets append row) after the normalization step and provide the required credentials.

This workflow was created by unitbytes and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (1)

HTTP Request
n8n-nodes-base.httpRequest