Salebot.ai
Search…
Unofficial Instagram
Creating a chatbot on Instagram. You can automate communication on Direct via Salebot
Maximum message length in Instagram 485 characters

How to Connect Instagram

To connect a bot to Instagram, you need to do just three steps:
  1. 1.
    Go to the section "Messengers and chats"
  2. 2.
    Select Instagram
  3. 3.
    Enter the login and password of your account on the social network and click Finish/Done.
When connecting, enter the login. If you enter email or phone number instead of the login , in this case, the functionality of the integration is not guaranteed, and the combination of unofficial and official Instagram will not work.
You may be asked to confirm your login
To do this, you will be sent a confirmation code to your email or SMS.
Important, this code may not be sent immediately, it is better to wait at least a minute before sending it again
If no SMS confirmation arrives, it may be necessary to disable the confirmation via the request in the Instagram settings
485 characters is the recommended number of characters for Direct. You can send messages with a maximum length of 990 characters. Longer messages will be cut before the specified limit, or not delivered
Below is an example of a working chatbot.

How to use Instagram buttons

The buttons in unofficial Instagram are not supported, use the "Prompt in Messenger without Buttons" field to display prompts. The text added to this field will only be displayed in messengers that do not support buttons (in particular Instagram and Whatsapp), and in others it will simply not be visible.

How to send and receive media files

The bot can get pictures
The bot can send pictures, the other files are sent with links.

The bot automatically finds links in the text and creates a preview for them and adds the ability to navigate through them.

How to react to stories

You can both turn on and off the bot start for the answer to the stories
When responding to a stories comes two notifications, one about a reaction, a second text message. Therefore, the bot can work twice if the condition to run is left blank.
The bot perceives the answer to the stories as an incoming message. But the incoming message is attributed to the link to the stories, so that the manager can see what reaction was.
But in addition, the story_url variable writes a reference to the stories, to which there was a reaction.

The stories reference can be either attributed to the message text or simply written to variables. The first option is convenient when integrating with CRM, so that the manager immediately saw which reaction was on. Is configured by the switch in the screens below:

How to make a mention in the stories

If your account has been mentioned in the stories, the bot can reply to this in the direct:

How to write first

To be the first to write on Instagram, you will need a live social network account already connected to the bot, as well as a pre-prepared table with your customers' logins.
  1. 1.
    Go to the section "Messengers and Chats", select from the list of suggested Instagram messengers.
  2. 2.
    Next, select "Load Customer List"
  3. 3.
    In the menu, select "Instagram Table" and press "Done".
If everything is done correctly, you will automatically be transferred to the "Customers" section, where all customers from the downloaded table will be

How to check your account subscription

Account Subscription Verification works only on official Instagram (Official Instagram Connection"

Check in another messenger

Available at Premium tariff
Instagram account for which subscription is checked must be connected to Salebot
Go to the advanced settings, select the type of POST-json request and insert the following link in the "URL request" field:
https://chatter.salebot.pro/api/<api_key>/check_insta_subscription
<api_key> - you must change the API key from the project settings
In the JSON POST-parameters field you should write:
{"user_name": "#{platform_id}", "bot_id": 666 }
If the check occurs in the Instagram dialog, #{platform_id} will be replaced with the Instagram login. Other messengers need to be replaced with a variable that stores lonig.
666 needs to be replaced with the Instagram bot number. You can take it from here:
In the field "Stored values from JSON-response" you should write
is_follower -> result
result - the name of the variable into which the result of the test will be written. The variable can be called as you like. Takes the value: True if signed, False if not signed.
The customized request looks like this:

How to avoid blocking mailing

Instagram does not block accounts for mailing lists, it only temporarily disables the ability to send messages. Most often this interval is small
If your mailing list is blocked, you will see this error text in the Customers section below:
To avoid such messages, you must set the interval between sending messages.
It’s not that easy to get Instagram blocked, you don’t have to worry about it if you’re working with clients who have already written to you.
Any questions? Look here, maybe your question already has an answer
Copy link
On this page
How to Connect Instagram
How to use Instagram buttons
How to send and receive media files
How to send links
How to react to stories
How to make a link to stories
How to make a mention in the stories
How to write first
How to check your account subscription
Check in another messenger
How to avoid blocking mailing