An Instagram template that automates sending DM's before clicking like on the first posts of the profile page. This Axiom loops through a list of profiles. It is highly customizable. Just add or remove steps to tailor the Axiom.
# Install this Instagram DM Like template
To install this Instagram Axiom click 'Install template'. If you are a new user you will be required to create an Axiom.ai account before you can edit the template.
# Set up a Google Sheet
- Create a new Google Sheet. You can do this in your Chrome browser by entering the shortcut 'sheet.new', presuming you already have an account.
- Name your sheet something like 'Instagram DMs’.
- Set up two tabs titled 'Profiles', 'Sent' and 'Unsent’.
- Add links to profiles in the ‘Profiles’ tab on your sheet. Then, add them to column A, inserting each link on a new row. If you need to get a list of profiles, why not scrape some with this template?
# Set up the 'Read data from Google Sheet' step
- Spreadsheet - In the field called 'Spreadsheet', you can search for the Google Sheet you created. Once found, click to select.
- Sheet name - Choose the sheet tab called 'Profiles'.
- First cell - If the links are in column a set to 'A1'.
- Last cell - Enter 'A1' the bot will now only pass a single row of data.
- You should now see a preview of the data.
The profile should only show a single link. We loop the bot later.
# Configure the 'Interact with a page's interface'
This step scrapes the 'Message' text. We have provided this guide for you to learn more about bot building.
- Go to page, Enter URL - click 'Insert data' and pass the Google Sheet token '[google-sheet-data?*&0]'.
- Get data from a webpage - Find an Instagram profile page with a message link. Then click 'Select' and scrape the text 'Message.' Please make sure 'Max Results' is on one.
# Set up the 'Conditionally jump to another step' step
This Conditional step will check for the value 'Message' and jump steps if found.
- Data to check - Click 'Select Data' and set to 'all-interaction-data'.
- Words to check (comma separated) - Type in the value you are checking for 'Message'.
- Word matching mode - Leave set to Any.
- Match on word boundary - leave unticked.
- Jump to step - Enter the number of the step you want to jump to in this case Seven.
- Reverse condition - Ticking this box will cause the bot to jump when the value is not found.

Top Tip - If you add Steps, the order can change.
# Set up the 'Write Data to a Google Sheet' step
This step records profiles that could not be DM'd.
- Spreadsheet - In the field called 'Spreadsheet', you can search for the Google Sheet you created. Once found, click to select.
- Sheet name - Choose the tab 'Unsent’.
- DATA - Select the 'google-sheet-data'.
- Clear data before writing | Add to existing data - Set this option to 'Add to existing data'.
# Set up the 'Delete rows from a Google Sheet' step
This step removes the processed row so when we jump its a new link.
- Spreadsheet - In the field called 'Spreadsheet', you can search for the Google Sheet you created. Once found, click to select.
- Sheet name - Choose the tab you created for links.
- First row - set to 1.
- Last row - set to 1.
# set up the 'Jump to another step' step
This step Jumps back to the top to repeat the automation.
- Jump to step - set the step you want to jump to make the bot loop in this case step one.
- Maximum cycles - set the amount of loops the bot must perform.
# Configure the 'Interact with a page's interface'
This step sends the message. We have provided this guide for you to learn more about bot building.
- Click Element - Message, use the custom selector, tick 'Use element text not html' and type in 'Message', press 'Complete'.
- Wait - The bot waits to allow a pop-up to load and be closed.
- Click Element - Use the custom selector, tick 'Use element text not html' and type in 'Not Now', press 'Complete'. Tick 'Optional click' when the popup is not present the bot will not stop.
- Enter Text - Do not select the input. The cursor is in position on page load. Just add your message.
- Press key(s) - Record 'Enter' this keypress submits the message - disabled for test runs.
- Wait - The bot waits to ensure the message gest sent before the page returns.
- Write javascript - It makes the browser go back to the profile page.
# Configure the 'Interact with a page's interface'
This step likes the first post on the profiles page.
- Click Element - Select the first post. Use the custom selector, enter 'article div div div div a' and press 'Complete'.
- Wait - The bot waits to ensure the post popup loads before it clicks.
- Click Social Media Buttons - Select the like button.

# Set up the 'Write Data to a Google Sheet' step
This step records profiles that could be DM'd.
- Spreadsheet - In the field called 'Spreadsheet', you can search for the Google Sheet you created. Once found, click to select.
- Sheet name - Choose the tab 'Sent’.
- DATA - Select the 'google-sheet-data'.
- Clear data before writing | Add to existing data - Set this option to 'Add to existing data'.
# Set up the 'Delete rows from a Google Sheet' step
This step removes the processed row so when we jump its a new link.
- Spreadsheet - In the field called 'Spreadsheet', you can search for the Google Sheet you created. Once found, click to select.
- Sheet name - Choose the tab you created for links.
- First row - set to 1.
- Last row - set to 1.
# set up the 'Jump to another step' step
This step Jumps back to the top to repeat the automation.
- Jump to step - set the step you want to jump to make the bot loop in this case step one.
- Maximum cycles - set the amount of DM's you wish to send. Remeber Instagrams limits!
# Test run
We always recommed doing a trial run - We have disabled the 'Key Press' step that posts the message. If you are ready to go live enable the button.

# Ready to Dm and Like!
Click on the sub step called 'Press key(s)', it will be greyed out. Click on the menu icon top right-hand corner of the step. Then click 'Enable widget'. When run, the bot will now automate your Instagram DM's.
# Troubleshoot
Try these measures if your bot is not working. We would recommend you watch the video to troubleshoot.
- The bot will loops the same profile, Check you 'Delete Data' steps.
- The bot still loops the smae profiles, check you are jumping back to the 'Read' step.
- The bot does not click like, re-select the like button.