Skip to content
ChatfuelSDK

Your own Instagram automation platform, built in one command

For builders and agencies: Instagram automation under your name, in a React app you own. A comment, a story reply or a DM reaches the AI agent first.

Instagram DM automation, from the comment to the hand-off

Six of the seventeen entry points are Instagram’s. The AI agent answers first, and the inbox takes the conversation when a rule says so.

A comment becomes a DM

Comment to DM automation in one rule: a public reply under the comment, and a DM to the person who wrote it.

Story replies start the chat

A reply to a story is its own entry point, narrowed to keywords and to the stories you list.

DMs, ig.me links and ads

A DM goes straight to the agent. An ig.me link carries a ref, and an ad click is narrowed to the ads you list.

The AI agent answers first

The chatbot Instagram customers reach first: instructions per source on top of the knowledge base, always or outside working hours.

The inbox takes over

Comments and story replies arrive in the thread beside the DMs. Take over, and the bot stops answering.

Comments for Instagram, the worked example

The one app in the catalog: reply rules for Instagram comments, public under the post and private in DMs.

No Meta review

The Instagram account is connected through Chatfuel, an official Meta partner, so the integration is already approved. Your app talks to the Chatfuel API: it is not a Meta app and never goes through app review.

One press to connect

The Instagram card in your app carries Connect: one press, the consent runs on a page Chatfuel serves, and the account comes back connected. Meta’s Instagram API serves professional accounts, business or creator.

Your customers sign up to you

Add the accounts module and the app is multi-tenant: anyone can sign up, and every account gets a bot of its own, created by your server with your token. The token never leaves the server.

Your name, your code, your domain

The name and the logo go in at install. The modules are copied into the project as source under MIT, and the deploy script inside the app pushes it to Vercel with no dashboard.

From the command to an Instagram DM automation tool, in four moves

Four moves from the command to Instagram DM automation tools your customers sign up to. The second is the only one that touches Meta, and it happens inside your app.

  1. 01

    Run the command with your name on it

    npx @chatfuel/wizard --modules automations,knowledge-base,livechat,channels,contacts,auth, with --app-name and --logo for your name and mark. Auth is the pick that turns the app into a product people sign up to, and the wizard offers to deploy it on the way out.

  2. 02

    Connect the Instagram account in the app you deployed

    Open Channels and press Connect on the Instagram card. The consent runs on a page Chatfuel serves and the browser comes back with the account connected, so there is no Meta app of your own to submit.

  3. 03

    Write what the agent knows, and the rules

    The business profile, the FAQ and the products go into the knowledge base. Then the rules, from four templates: a keyword comment that gets a DM, a DM to everyone who comments on a post, a story reply keyword, a campaign link.

  4. 04

    Say when it hands over, and open the inbox

    Per source and in words: what the person has to ask for, what the agent says as it hands over, and which teammates get the conversation. The workspace needs a plan before the AI answers; the wizard offers the trial on the way.

Instagram automation tools, by entry point

The six ways an Instagram conversation starts, and the Instagram automation tools each one carries. Every source starts from Default, and five of the six also take rules of their own — up to thirty a source.

NameWhat starts a conversation thereThe agent repliesA rule narrows to
Direct messagesWhen a contact messages you privatelyIn the DM
Post commentsWhen a contact comments on your post or ReelUnder the comment, in a DM, or bothKeywords, posts
Ad commentsWhen a contact comments on your ad postUnder the comment, in a DM, or bothKeywords, ads
Story repliesWhen a contact replies to your storyIn the DMKeywords, stories
ig.me linksWhen a contact comes from an ig.me linkIn the DMRef links
Click from adsWhen a contact taps an ad that opens InstagramIn the DMKeywords, ads

What Instagram automation costs here

Two meters, and a workspace plan they draw from. No seat and no per-app fee: Instagram automation is billed by what the AI reads and writes, and by the plan the workspace is on. The inbox, the contacts and the publishing are part of the plan, whichever plan; the SDK and the app are free, and what you charge your customers on top is yours to set.

NameWhat it isPrice
The metersWhat comes out of the balance.
AI inputEverything the agent reads on a message: the knowledge base record and the conversation so far.$2.75 per 1M tokens
AI cached inputInput the model has already read once.$0.275 per 1M tokens
AI outputWhat it writes back, under the comment or in the DM.$16.50 per 1M tokens
Part of the plan
Inbox, contacts, channels, publishingEvery module and every channel, on any plan.Free
The SDK and the app it generatesMIT, copied into your project as source.Free
The workspaceWhere the bots live and where the balance comes from.
BusinessOne business, one bot, your own app. $20 of credits a month for the meters to draw from.$20 a month
Agency SClient bots, all on one balance. $100 of credits a month, shared by every bot in it.$100 a month

FAQs

Every way a conversation starts is a source: a direct message, a comment on a post or a Reel, a comment on an ad, a reply to a story, an ig.me link, a tap on an ad. The AI agent answers on each from its instructions and the knowledge base, and rules narrow a source to keywords, posts, stories, ads or ref links. It is the DM automation Instagram permits: the account is connected on Meta’s own consent screen, through Chatfuel as an official Meta partner.

AI Agent

One command, and the Instagram automation platform is yours

Your name on it, your customers in it, Chatfuel’s Meta connection under it.

npx @chatfuel/wizard