Instagram DM Agent

An AI agent that answers Instagram DMs, qualifies leads and books calls, so no lead is left waiting.

1. It writes every reply

The agent writes each reply based on your sales script and the info you give it (services, common questions, tone of voice, etc.), so every lead goes through the same process.

2. You decide what gets sent

Every reply waits for your approval by default. Automated mode can send replies for you, and holds back anything risky (price questions, contact details, long messages, etc.).

3. It keeps track of every lead

Each lead is tracked from the first message to a booked call, with their stage, a lead score, follow-ups and call reminders all in one place.

Turn@northline.coaching Β· demo

Monday 5 October

Updated 20:19

Automated mode is off

Every reply waits for your tap.

Reply window closing first

In inbox order

Longest wait first

Recommended actions

3Messages after a booking, calls to mark, check-ins, follow-ups
  • Booked a callThu 6:00pm

    Send a note before the call.

    Hey Ben, saw you booked the intro call on Thursday. Looking forward to it! Before then, have a think about what worked the last time and what made it slip.
  • Check in after a commentCommented β€œPLAN” 2h ago

    Has written to you before. The keyword DM went out; this check-in goes behind it.

    How is it going with the adjustable dumbbells?
  • Same person?

    A chat from the Instagram export has the same name.

    From the export: Sam Okoro 42 messages, last 8mo ago

Needs your tap

2Nothing sends without you
Stage suggestion

The AI thinks this is now engaged (70% sure).

Stage suggestion

The AI thinks this is now call offered (90% sure).

Last 7 days

Against the week before
Calls booked62 more than the week before
Replies within 48 hours71%5 points up
Your median reply time12mworking hours only
New conversations143 more than the week before

Where new conversations came from

story reply5
reel4
ad3
DM2

Top post: squat form fixes, 4 conversations, 1 booked

Demo dataLast DM 14m ago Worker runningMeta calls this hour: 0 of 190AI today: $0.00 of $5.00

What Turn Does

Turn was first commissioned for a coaching business that gets most of its clients through Instagram DMs. Every new lead needs a quick reply and qualifying questions that move them through the sales process. When done manually, this process takes a lot of time and leads can easily be missed or left unanswered.

Turn was built to improve and automate as much of the process as possible. The customized UI was built to display the most important information, and sorts each chat by who needs to reply. Turn also scores each lead, and writes the next reply from the sales script and company info provided during setup. You can send it, edit it or write your own. It also lines up follow-ups, sends call reminders, and answers comments and keyword messages on its own.

Automated mode was built to be configurable to match the needs of the team, and can be turned on and off with ease. The app is currently live on a paying client's account, and a case study is being conducted to get hard metrics on the improved performance.

How It Is Built

Turn is a TypeScript app built on Next.js with a SQLite database. A second process works through a queue of jobs (reading new messages, sending replies, etc.), and the screen updates live as they finish.

Turn connects to Instagram through Meta's official Instagram API, signed in with Instagram Login. New DMs and comments arrive through Meta's webhooks as they are sent, and replies go back out through the same API, inside Meta's 24 hour reply window and rate limits.

Two Claude models do the reading and writing through the Anthropic API. Haiku reads each chat and decides its stage, score and summary, and Sonnet writes the replies. Everything else (sorting chats, the reply window, send pacing, follow-ups, etc.) is plain code, so it costs nothing to run.

App
TypeScript, Next.js, React
Models
Claude Haiku to read each chat, Claude Sonnet to write replies
Instagram
Meta's Instagram API with Instagram Login, and webhooks
Runs on
A Linux server, as two services

What It Connects To

What it reads

  • InstagramNew DMs and comments, as they arrive
  • Wix BookingsCalls booked through the link

Turn

  • Next.js app and a job queue
  • Claude Haiku and Sonnet
  • Rules for pacing and the reply window

What it does

  • InstagramReplies, follow-ups, call reminders and comment replies
  • DashboardEvery chat and lead, updated as it happens