Automate Instagram DMs & Engagement with Google Sheets & Puppeteer
π€ Instagram DM Automation Workflow
Category: Marketing & Lead Engagement
Tags: Instagram, Puppeteer, Automation, Google Sheets, Lead Nurturing
π§ Overview
This workflow automates Instagram DMs, engagement, and story interactions using Puppeteer in the backend. It connects to Google Sheets to fetch leads (usernames and messages) and sends personalized DMs one by one β while also mimicking human behavior by scrolling, liking posts, and viewing stories.
Itβs designed to help marketers and businesses capture, nurture, and convert leads on Instagram β fully automated and AI-assisted.
βοΈ How It Works
- Fetch Leads from Google Sheets
- Send Instagram DMs via Puppeteer Backend
- Simulate Human Actions
- Update Lead Status
- Rate Limit Handling
π§ Setup Steps
> β±οΈ Estimated setup time: ~10β15 minutes
- Prerequisites
Active Google Sheets API connection with OAuth2 credentials. Puppeteer-based backend running locally or remotely. Node.js-based service handling:
/login /instagram /viewstory /logthis
- Connect Google Sheets
Use your Google account to authorize Google Sheets access. Add your Sheet ID in:
leads β for usernames & messages. acc β for active accounts tracking.
- Configure Webhook
Copy your Webhook URL from n8n. Use it to trigger the workflow manually or via external API.
- Adjust Timing
Edit Code in JavaScript nodes if you want to:
Change DM delay (20β30s default) Adjust story viewing delay (4.5β5.5 minutes)
- Test Before Deploy
Run in test mode with 1β2 sample leads. Check that:
DM is sent. Google Sheet updates status. Backend logs actions.
π§Ύ Notes Inside the Workflow
Youβll find Sticky Notes within the workflow for detailed guidance, covering:
β Setup sequence π¬ Message sending logic β³ Delay handling π Google Sheets updates β οΈ Rate-limit prevention π Loop control and retry mechanism
π Use Cases β
βοΈ Automate lead nurturing via Instagram DMs. π€ Send AI-personalized messages to prospects. π₯ Simulate real human actions (scroll, like, view stories). π₯ Safely warm up new accounts with timed delays. π Auto-update Google Sheets with DM status & timestamps. π¬ Run outbound messaging campaigns hands-free. π§± Handle rate limits smartly and continue smoothly. π Boost engagement, replies, and conversions with automation.
Related Templates
Send structured logs to BetterStack from any workflow using HTTP Request
Send structured logs to BetterStack from any workflow using HTTP Request Who is this for? This workflow is perfect for...
Provide latest euro exchange rates from European Central Bank via Webhook
What is this workflow doing? This simple workflow is pulling the latest Euro foreign exchange reference rates from the E...
Convert Tour PDFs to Vector Database using Google Drive, LangChain & OpenAI
π§© Workflow: Process Tour PDF from Google Drive to Pinecone Vector DB with OpenAI Embeddings Overview This workflow au...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments