Extract Xiaohongshu comments to CSV with Apify and UnitBytes
Quick overview
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. An n8n automation workflow template by unitbytes.
Community Metrics
Author
unitbytes
Platform
web
Pricing model
free
Categories
- Automation
Tags
- n8n
- workflow
- http-request
Capabilities
- 1 nodes