How to automate entering text into search and clicking the result
This guide shows you how to start creating a bot to input text into a search field from a Google Sheet, click return to submit the search then click on the result. After adding the initial steps, simply use the [builder](/docs/no-code-tool/the-builder/builder to customise the bot to your use case.
We also have a great data entry template to get you started.
Prepare your Google Sheet
Create a Google sheet with some test text to run your automation with.
| Col A | Col B |
|---|---|
| alex@testemail.com | Surname |
| claretestemail.com | Surname |
| sam@testemail.com | Surname |
Start from blank, adding the following steps
In the axiom.ai Chrome extension dashboard, click "New Automation" and then select "Add first step". Use the step finder to add the steps outlined below.
- 1.0
Read data from a Google SheetSpreadsheet: Search for the Google Sheet you created in theSpreadsheetfield. Once found, click to select.Sheet name: Choose a sheet tab or leave blank to use the first tab.
- 2.0
Loop through dataLoop through data: ClickInsert data, selectgoogle-sheet-data.
- 2.1
Go to pageEnter URL: Insert the URL of the website.
- 2.2
Enter textSelect: ClickSelect, highlight the search field and click to select, finally pressComplete.Text: ClickInsert data, selectgoogle-sheet-datato pass the search term from the sheet. Select columnAin the preview.
- 2.3
Press key(s)Key: PressRecord, then clickReturn, to submit the search.
- 2.4
Click elementSelect: ClickSelect, highlight the search result, and pressComplete.
- 2.5
Delete row from Google Sheet- Automatically removes the processed row to avoid duplicate scrapes in the next loop.
Continue adding your steps as needed
Now just use the step finder to continue adding steps and complete your search bot as required.
Wrapping up
You can quickly scaffold a bot to enter data into a search field and click the first result. This can be done with just a few steps. It is then possible to add additional steps to fully customize the bot to the use case