Description:
This template automates the process of following Instagram users who post under specific hashtags. You provide the hashtag, and Uxer automatically finds users and follows them based on your targeted topics.
How to Use It:
- Copy and paste this template into Uxer’s scenario builder.
- Ensure that you are logged into Instagram in Chrome before running the scenario.
- Save and run the scenario to automate following users who post under your targeted hashtags.
Step-by-Step Guide
-
Open Instagram in Browser
Start by opening Instagram with incognito mode disabled to ensure the user remains logged into their account.OpenBrowser Chrome "https://www.instagram.com" -Incognito false
-
Search for Your Targeted Hashtag
Use Instagram’s search bar to find posts under a specific hashtag, such as “#aiautomation.” TheWait
command ensures that the search bar is ready for input.Click Text "Search" Wait Text "Recent" Write "#aiautomation"
-
Select the Hashtag from Results
Click on the second instance of the hashtag to see posts related to your search.Click Text "#aiautomation" [1]
-
Wait for the Page to Load
Wait for the “Home” text to appear as proof that the page has fully loaded.Wait Text "Home"
-
Follow the Hashtag
Click the “Follow” button for the selected hashtag. This ensures that future occurrences of the “Follow” button in the background won’t interfere with the automation since the text will change to “Following”. If the hashtag is already followed, skips to the next step.Click Text "Follow" -WhenFails continue -Retry 1
-
Click on the First Post
Navigate to the first post which stays under the text “Not Personalized.” Click 150 pixels below the “Not Personalized” text to ensure accurate post selection.Click Text "Not personalized" -YMargin 150
-
Find and Follow Users
Scroll through the posts, stopping at posts where the “Follow” button appears, and follow the user. If the “Follow” button isn’t visible, the automation moves to the next post.SendKeys RIGHT -UntilVisible Text "Follow" Click Text "Follow"
-
Repeat the Process
Continue scrolling right and following users posting under the hashtag.SendKeys RIGHT -UntilVisible Text "Follow" Click Text "Follow" SendKeys RIGHT -UntilVisible Text "Follow" Click Text "Follow"
Complete Scenario:
OpenBrowser Chrome "https://www.instagram.com" -Incognito false
Click Text "Search"
Wait Text "Recent"
Write "#aiautomation"
Click Text "#aiautomation" [1]
Wait Text "Home"
Click Text "Follow" -WhenFails continue -Retry 1
Click Text "Not personalized" -YMargin 150
SendKeys RIGHT -UntilVisible Text "Follow"
Click Text "Follow"
SendKeys RIGHT -UntilVisible Text "Follow"
Click Text "Follow"
SendKeys RIGHT -UntilVisible Text "Follow"
Click Text "Follow"
Conclusion
This automation template allows you to effortlessly follow Instagram users who post under specific hashtags, helping you grow your network and engage with relevant users. Use this scenario to save time while expanding your reach on the platform.
Let us know if you have more automation ideas, and we’ll help you automate them!