Test from the Instagram tab of Try the agent, a button at the top of the inbox's Conversations. Your own account is connected on the inbox's Instagram page, or by whoever holds it from a link you send them, whenever you are ready; from then on it answers your customers with the version everyone has (Deployments). The Instagram page is about your own account; Vatio's shared account and your test accounts are in Try the agent, and the conversations on them are in Conversations, marked Team.
#Test with the shared account
- Open Try the agent → Instagram. An account you already verified on another workspace you own is listed under You already verified these accounts: choose Use here and it is connected, with no code.
- Otherwise, under Connect your account, scan the QR code with your phone: it opens the DM with Vatio's shared account. From the account you will test with, send it the code the page shows. On a computer, where ig.me links don't open, DM the account the page names and send the code. That DM is what proves the account is yours: Vatio confirms it right there, and the page updates by itself.
- Keep talking to the agent in that DM, and read the conversation in the inbox's Conversations, marked Team.
To start over, send /new. The next message begins a new
conversation, signed out, instead of continuing the current one until it has
been quiet for eight hours. It works only on Vatio's shared account.
Instagram does not let Vatio write first, so your account sends the code instead of receiving one. A code lasts 15 minutes and works once; the one on the page renews itself. An account routes to one workspace at a time: sending another workspace's code from it, or choosing Use here there, moves it to that workspace.
To test from more accounts, choose Add another account under the list; it shows a new code.
A verified test account talks to the newest version, the one your team has,
and its conversations are your team's (environment: "preview" in the API).
Up to five are allowed per workspace.
#Connect your professional account
For your customers' DMs, open Instagram in the inbox and choose Connect Instagram. Complete Meta's consent in the window that opens; the same page then says whether the account is receiving DMs, and Verify runs that check again.
Connecting is done in a browser, never through the MCP: Meta's consent screen
only opens there. The MCP's share_instagram_connect_link gives the link that
opens it (below), and the MCP does the
rest: get_instagram reads the account and whether Instagram is delivering to
it, check_instagram is Verify, disconnect_instagram deletes the
integration. A story is the agent's to publish.
#When the account is someone else's
The account often belongs to someone with no Vatio account, such as the
business you build the agent for. On the Instagram page, choose
Share link (or call share_instagram_connect_link in the MCP) and share
it with them, by
WhatsApp or however you talk: on a phone it opens the share menu, on a
computer it copies the link. It opens a page on vatio.ai that needs no
sign-in: they choose Connect Instagram, complete Meta's consent with their
account, and come back to a page that says it is connected. From then on the
agent answers its DMs, as when you connect it yourself.
The link works for 7 days, and only while whoever made it is still the owner or a developer of the workspace. Whoever has it can connect the account, so send it only to the person who holds it. It also renews the account already connected; a different account is refused. On a phone, if the Instagram app opens and never comes back to the page, open the link on a computer.
A workspace connects one account; an account connects to one workspace. Vatio refreshes its access token automatically. If it expires, Reconnect the same account. Delete the integration before switching accounts.
When a contact edits a DM, the inbox marks it Edited and the agent reads the new text from then on; an unsent DM is deleted from Vatio too, leaving the inbox and the agent's history. Neither is a new message, so the agent does not answer it. An account connected before edits were supported starts getting them within a day, or right away with Verify.
When a contact replies to one of your stories, the agent gets the story with their DM, as a picture or video next to it, and knows it is your story and not something they sent: "price?" under a story of a dress is about that dress. A story you published through Vatio (Stories) also brings the note the team wrote about it. When a contact mentions your account in a story of their own, the agent gets that story too. The inbox marks both, Replied to your story and Mentioned you in their story.
A private tool needs the contact signed in. With a sign_in_url set (set_auth), Vatio
sends them a Sign in button that opens your site, and the conversation
carries on once they are back. See On WhatsApp and Instagram.
A link the agent gives as a button goes out with Meta's
button template: the reply's text and one button that opens the link, titled
with what the agent wrote, up to 20 characters. A private reply to a
comment is text only, so there the link is written out as
text: url.
#Comments
When someone comments on one of your posts or reels, the agent can answer it
by itself, in private, in public or both. Say which with update_agent:
{ "workspace": "acme", "comments": { "reply": ["dm", "thread"] } }dmsends a private reply: a DM to the person who commented, the one message Instagram lets a business send to someone who never wrote to it. It opens a DM conversation of its own, on the Instagram channel, and when they answer it goes on as any other DM. The comment that starts a thread gets one; replies further down the thread do not.threadanswers in public, under the comment, in the post's own thread. It is a conversation of its own, on the Instagram comments channel: one per thread a comment starts, and each comment the person adds there is their next message. The agent knows it is writing in public, under which post, and keeps it short and free of personal details. After 10 replies in one thread it stops, and the rest is the team's.- Both, and the person gets the public reply and the DM, each in its conversation.
The agent follows its instructions for both, so say there what a comment should
get, such as a price or a link to book. A supervisor can answer in either
conversation from the inbox: in Instagram comments the reply is public.
An agent with no comments, or with "reply": [], leaves comments to your
backend.
Your backend can also choose which comments to answer. Vatio sends each one to
your webhook as instagram.comment, and
your backend sends a message with comment_id.
Your text goes out as is: the agent does not write a DM or a comment reply on
your backend's behalf, since events are WhatsApp only. The inbox
shows the comment and the post next to every reply.
Instagram allows one private reply per comment, within 7 days of it, and
nothing more until the person answers. A comment the agent already answered by
DM is refused to your backend with comment_already_replied. A comment on a
live gets no public reply: the thread ends with the live.
Your account has to grant Vatio access to its comments: one connected before that needs Reconnect, and the page says so. Meta has approved Vatio's access to comments, so every account connected now grants it.
#Stories
The agent can publish a photo as a story on your account. Someone of the team,
supervisor or above, sends it the photo in their own conversation and asks:
"this dress just came in, $29.990, sizes S and M: add it and post it as a
story". Enable it by listing instagram_story in the agent's tools
(update_agent); it is offered only in the team's conversations, never to a
customer. There is no MCP tool for it: the photo comes from the person who
took it, in their conversation with the agent.
- A photo only: JPEG, PNG or WebP, which Vatio converts to the JPEG Instagram takes. No video, and no text, links or stickers on it: the story is the photo.
- The note says what the story shows, in the team's words: the product, its price, the sizes. When someone replies to the story, the agent gets the note with their DM and answers from it.
- It is up for 24 hours, as any story.
Publishing needs your account to grant Vatio access to publish. Meta has approved it, and every account connected now grants it; one connected before that needs Reconnect.