Search...
Menu

Get Data

URL

We can fetch data from a specific URL, and store it into a variable to access it later.

For example, URL: https://www.amazon.com/s?k=nike&ref=nb_sb_noss

ParametersDescription
Extraction type-Full URLExtract https://www.amazon.com/s?k=nike&ref=nb_sb_noss
Extraction type-DomainExtract https://www.amazon.com
Extraction type-ParameterEnter "k" to extract nike and save to variable;
Enter "ref" to extract
nb_sb_noss and save to variable;
Save toName a variable to save the value above into this variable.
As shown above, we extract the parameter
nike from "k" and save it to the variable "var", then we can use the variable "var" in other processes to read nike.



Clipboard Content

Get the contents of the clipboard, extract the text and save it into a variable.

FYR, how to copy/cut to clipboard.


Element

Fetching element data is one of the most frequently used operation options. It is often used to obtain webpage elements and then save them as variables. The saved variables can be used in operation options that support "using variables*".

We can get an element on a web page and store it into a variable to access it later.

ParametersDescription
SelectorEnter your selector, e.g. #email_input, input[type="password"], .button_search. For your reference, How to use a selector.
Stored element objectSelect a variable that has been saved as an object.
Element orderFixed Value: Selects the nth element on the webpage.
Random Interval: Randomly selects an element within a specified interval.
Save toSave the extracted data as a variable and enter the variable name to make it easy for you to recognize and use it in other processes. The specific type of extrated data depends on what the [Extraction Type] is
Extraction typePlease see the instructions below.


Extraction type

For example, HTML as follows:

文章图片

Text

Enter ". a-cardui-header" as the selector to locate the block <div class="a-cardui-header"> and extract the text inside, such as "AdsPower" and "RPA is excellent".

文章图片

Object

Enter ". a-cardui-header" as the selector to locate the web elements in the blue box, extract it as an object and save it to a variable.

文章图片

Suppose we name this variable as "button", we can perform more operations on "button". Such as:

- Extract other data from it.

- Click on this "button"

iFrame

Use Case

Similar to extracting objects, a webpage element can be saved as an iframe object, which is essentially an element object. Other RPA operation options can interact with this element object, and you can continue to extract other types of data (text, objects, etc.) from the iframe object.

For example, extract the text from an iframe object named my_iframe.

Html

Enter ". a-cardui-header" as the selector to locate the web elements in the blue box, which is the child element of <div class="a-cardui-header">.

文章图片


Attribute

Enter "trans" as the selector to extract attribute value. Enter "data-src" as the attribute name and you will get "adspower".

文章图片

文章图片

Child Element

Enter "h2" as the selector to locate the element in the blue box. Enter "trans" as the child element name and the "trans" child element will be stored as an object.

文章图片


Focused Element

We can store a focused element into a variable.

For example, the search box is focused now.

文章图片



Save to Txt

Scenario: Save the obtained variables to a .txt file. The .txt file is saved in the following location: [RPA] -> [Task Log] -> [Log Details] -> [View Log].

ParametersDescription
File NameName your .txt file
TemplateAs shown below, you can type your wanted words or use variable
文章图片


You can find the file: RPA - Task Log - Log Details - Check in Folder.

Save to Excel

Save data, such as product title and price, to an Excel file. In other words, save variables fetched from the previous step to an Excel file.

ParametersDescription
File nameName your Excel file
Select columnEnter variables as table headers in the Excel file, and the data will be saved correspondingly. Example:
文章图片


Download File

We can download files from websites.

ParametersDescription
URLEnter the URL of the file
Save inSelect a folder on your computer



Import Data from Excel

Use Case

Fetch the data in Excel files and store it into variables for further steps.

For example, you want to search Apple iPhone 13 on Amazon in profile No.802 and search Nike T-shirt on Amazon in profile No.803.

To do it, fill data into Excel.

The first column header must be serial_number. As mentioned in the example above, fill in 802 and 803.

You can delete the column serial_number, if you don't want to specify profiles.
Other column headers cannot start with a digit.

As shown below, you can use the contents of these 3 columns as variables.

Import Data from txt

Use Case

Scenario: Save the content of a .txt file as a variable for use in other operations. An example is as follows:

The .txt file format is as follows:

Email

Retrieve emails or extract a specific part from an email.

Note: The retrieved email is the most recent one matching the configured rules.

You can only fetch the latest one of the emails that you received based on the conditions you set.
ParametersDescription
EmailEnter your email address                                                                                      
Password/App passwordTo connect your email account, you must enable IMAP access and generate a dedicated authorization code for login.
For Gmail, refer to
how to sign in to Gmail with app passwords.
For other email providers, please search online for instructions on generating authorization codes. Most connection failures stem from issues here, so please verify carefully.
Email serverPlease enter the mail server, usually imap.xxx.com. For example, Gmail's mail server is imap.gmail.com. 【POP3 is not supported for now】
PortMail server port
StatusSelect emails with a specified status from your inbox.

Check “Mark as Read” to mark extracted emails as read.

Check “Retrieve from Spam” to extract emails from both your inbox and junk folder. This feature is only supported for Outlook email accounts.
DateSelect which date of email to extract
FromType keywords of the sender. Leaving here empty means all senders
SubjectType keywords of the email subject. Leaving here empty means all subjects
Extract rulesYou can enter the extraction rules to extract the text content in the email. For example, if the verification code in the FB email is 'FB-26362', enter 'FB-(\d*)', which means matching the number after FB-, and you can extract the verification code in the FB email.
More
regular expressions for extract rules.
If no extraction rule is entered, the content of the email will be extracted by default.



Verification Code

Get the verification code generated by your two-factor authenticator.

ParameterDescription
Verification codeEnter the verification code generated by your two-factor authenticator. Example as follow:
文章图片
Save toName a variable to save the 2FA code into this variable


Listener Request

Use Case

ParameterDescription
Request URLex.: https://www.adspower.net/download?type=test, this is a get request
Extraction typeRetrieve the following types, and the content obtained is as follows:

Full URL: https://www.adspower.net/download?type=test

Request Headers: Content of the request headers

GET Parameters: Parameter name type, the obtained content is test

POST Data: Parameters of the POST interface request
Save toEnter the variable name to save the extracted content as a variable.                        

Listener Request Response

Use Case

ParameterDescription
Request URLex. https://www.adspower.com/download                                                                              
Save toenter the variable name to save the returned request result as a variable.


Stop Listener Request

Use Case

You can stop the above listening events at an appropriate time.

Get Page Cookies

Retrieve the page's cookies and save them for use as a variable.

Clear Page Cookies

Clear the cookies of the current tab, accounts will be logged out after this operation.

Previous
Waits
Next
Data Processing
Last modified: 2025-12-29Powered by