A Twitter bot template that automates posting tweets from a google sheet using a bot.
# Install this Twitter bot template
To install this Twitter 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 'Twitter Posts’.
- Set up two tabs titled 'Post' and 'Posted’.
- Add data to the ‘Post’ tab on your sheet. Each tweet should be added to a new row, in this format:

# 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 'Links'.
- First cell - If the links are in column a set to 'A1'.
- Last cell - Enter 'AB1' the bot will now only pass a single row of data.
- You should now see a preview of the data.
# Configure the 'Interact with a page's interface: Fill in post'
We have configured this step for you. We have provided this guide for you to learn more about bot building.
- Enter URL - should already be populated with 'https://twitter.com/compose/tweet'.
- Enter Text: Tweet - Select text field, use the selector tool to pick the tweet input. In 'text' click 'Insert Data' and choose 'google-sheet-data' and in the preview select the tweet text.
- Upload a file: Tweet image - File Input Field, use the selector tool to pick the image upload button. In 'File Path' click 'Insert Data' and choose 'google-sheet-data' and in the preview select the image path.
- Click Element: Tweet (Enable to send) - Select the 'Tweet' button when active i.e not grey.
Stuck watch the video.
# Set up the 'Write Data to a 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 tab you created.
- DATA - Select the 'Interact 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
- 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 posts.
- First row - set to 1.
- Last row - set to 1.
# set up the 'Jump to another step' step
- 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.
# Test run
We always recommed doing a trial run - click run now and the Tweet will be entered but not posted. The 'Click Element: Tweet (Enable to send)' is disabled to stop the bot posting.

# Ready to post
Click on the step called 'Click Element: Tweet', 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 Tweets.
# Troubleshoot
Try these measures if your bot is not working. We would recommend you watch the video to troubleshoot.
- The bot will not post, have you enabaled the click step?
- The bot does not enter the Tweet, check the 'Enter Text' steps have you inserted the data?
- The bot still does not enter the Tweet. You may need to re-select the text fields or buttons. The video shows you how.