THE PAIN of finding and managing events. This B2B app streamlines the process.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Use manual trigger in n8n | |
// 2. Using a Brightdata node for Youtube comments, and another for TikTok comments. | |
// 3. Merge them into a string as below: | |
// Map over all input items and extract comment_text | |
let youtubeComments = $input.all().map(item => item.json.comment_text); | |
// Filter out comments that contain emojis or other non-text characters | |
// This regex keeps letters, numbers, common punctuation, and spaces |