---
title: "Discussion on \"Building an \"Instagram + TikTok Hashtag Search → Auto-DM Generation\" Pipeline with n8n × Apify × Claude\" | Hashnode"
description: "Discussion on \"Building an \"Instagram + TikTok Hashtag Search → Auto-DM Generation\" Pipeline with n8n × Apify × Claude\". Learn how to build a fully automated lead generation pipeline for Instagram and TikTok. A step-by-step guide using n8n, Apify, and Claude to scrape hashtags"
url: "https://hashnode.com/posts/n8n-apify-claude-sns-automation/69932ad5bb1c2792d1d94a52"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building an "Instagram + TikTok Hashtag Search → Auto-DM Generation" Pipeline with n8n × Apify × Claude](https://ai-workflow.hashnode.dev/n8n-apify-claude-sns-automation?utm_source=hashnode&utm_medium=feed)

Learn how to build a fully automated lead generation pipeline for Instagram and TikTok. A step-by-step guide using n8n, Apify, and Claude to scrape hashtags

Feb 16 · 13 min read · ai-workflow.hashnode.dev  
Read the article

-   [#n8n](https://hashnode.com/tag/n8n)
-   [#automation](https://hashnode.com/tag/automation)
-   [#web-scraping](https://hashnode.com/tag/web-scraping)
-   [#ai](https://hashnode.com/tag/ai)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[masaya ohsugi](https://hashnode.com/@masaya135)

@masaya135 · Nara, Japan

  
[View profile](https://hashnode.com/@masaya135)

From Scissors to Syntax. 20-year Hairdresser building AI SaaS agents.

AI Engineer based in Nara, pivoting from a 20-year career as a hairdresser. Currently building Stylus (AI captioning for salons) and Harmony (Instagram automation). Obsessed with workflow automation using n8n, Python, and LLMs. My mission is to solve inefficiencies in the beauty industry through code. Writing about SaaS development, automation, and my journey from the salon floor to software architecture.

## Responses 1

Markdown supported · ⌘↵ to post

[OnlineProxy](https://hashnode.com/@onlineproxyio)

[Jun 28](https://hashnode.com/posts/n8n-apify-claude-sns-automation/69932ad5bb1c2792d1d94a52/comment/6a410ad94de0f98d7f2fcbab)

First up, you're ballparking Apify costs, but where's the actual receipts from running this in production? Then, you never actually show us what percentage of shops make it through your filters alive - and that number matters big time because if you're only keeping like 5% of scraped data, you're basically hemorrhaging API budget, but if you're sitting at 50%+, your scoring is probably way too generous. And your businessScore is looking at how recent posts are, but it's sleeping on engagement velocity - like how many likes and comments shops are actually racking up - which is usually a way better signal for finding shops that actually give a shit and will reply. If you threw together a quick A/B test showing that a businessScore ≥ 50 actually predicts higher reply rates in the real world, and now you've got a defensible case study instead of just a solid tutorial
