Skip to content
RTILA Web Business Automation
  • Home
  • Features
  • Pricing
  • Marketplace
  • Support
    • Documentation

Cart

RTILA Web Business Automation
  • Home
  • Features
  • Pricing
  • Marketplace
  • Support
    • Documentation
Free Download
Free Download

Billing & Licensing

10
  • Change License’s registered email address
  • Upgrade a License
  • Manage License Activation Count
  • RTILA Studio local database
  • Standalone Exe Antivirus False Positive Alert
  • Team Member Activation URL & License
  • AppSumo Codes Redemption
  • Download & Activate RTILA Studio
  • AppSumo Code Stacking & Upgrade
  • Mac OS Installation Warning

Custom Commands

36
  • WordPress Posts via API (beta)
  • Webhook Send Request
  • Target Text Before After
  • Download File to Folder
  • Clipboard Copy & Paste
  • ChatGPT API Full Control
  • Generate Random Numbers and Text
  • Regex & JS Filters
  • API Bridge Get Post Requests
  • WhatsApp API send MSG
  • GET HTML
  • Slack Notification Command
  • Target Elements With Text Value
  • Directory Get Files Path
  • Folder and File Monitoring
  • Get iFrame URL
  • Get File Content
  • Verify License Easy Digital Downloads
  • Save Variable to File
  • Rename File
  • Move File to New Directory
  • Delete File
  • Mouse Events
  • Get System Info
  • Airtable Get & Update Records
  • Email Send Via SMTP
  • Wait For Element to disappear
  • OCR Passport Reader
  • Target Element in Shadow Dom
  • Airtable Get Records
  • Airtable Update Records
  • Sanitize URL
  • Email Verification
  • Get Hardware ID HWID
  • Timestamp Unix and UTC
  • Switch Tab Focus Command

How-To & Tutorials

42
  • How to target a CSS element
  • Change default Browser
  • Export Results to a CSV file
  • Profile Session Feature
  • OCR Feature: read text from images
  • Auto Download Pinterest Images
  • Save current URL using JavaScript
  • Search & Filter Projects
  • Error handling Strategy
  • Working with Arrays and Objects in RTILA
  • Auto Comment On WordPress Posts
  • Run Automations in Silent Mode
  • License Check for Standalone Executables
  • Trigger Standalone Bots via Command lines
  • How To Find Custom Collections For List type Datasets
  • Correcting & Completing Auto-Recorder Commands
  • RTILA WordPress Plugin installation & configuration
  • Using Developer Tools In RTILA Studio
  • Create A Project From Scratch
  • Bring back disappearing commands & properties
  • Export & share an RTILA project file
  • Install Browser Extensions using Profile Session
  • How To Fill a Form Using Generic Form Filler Child-Project
  • Project Settings: Import URLs manual entry, From File, From Project, and Read XML Sitemap
  • Project Settings: Import URLs manual entry
  • Use Local Storage Variable to scrape Do-follow Links
  • Schedule Launch of Automations
  • Email Results File via Gmail
  • Read from Google Sheets & Post on WordPress
  • Website Load Testing Automation
  • Read data from a txt or csv file
  • Downloading files
  • Open in a New tab
  • Using filters to complete a URL
  • Choosing the right collection
  • Set a Counter with JavaScript
  • Setup reCAPTCHA Resolution
  • Woo Categories & ChatGPT API
  • Login to Google Account & share profile session
  • Google Search Baby Steps
  • Auto-Recorder as a 1st step
  • Standalone Executable Bots

Official Commands

58
  • List Command
  • Incogniton Anti-detect browser
  • Save results to file command
  • RTILA Cloud API Documentation
  • FTP / SFTP Command
  • Custom Commands
  • Integrations
  • RPA & Desktop OS Commands
  • Add And Configure Dataset Properties
  • Inspection Panel Interface & Elements
  • Config & binaries files for Standalone
  • Focus On Element Command
  • Go To Url Command
  • Scroll Element Command
  • Execute JavaScript Code command
  • Reload Page Command
  • Compare Variables Condition
  • Take Screenshot Command
  • Smart Variable (ChatGPT API)
  • Child Projects
  • Confirm (Dialog Box) Command
  • Populate Text Field Command
  • Hover Mouse On Element Command
  • Download Page Command
  • Stop Automation Command
  • Log Message Command
  • Input (prompt box) Variable
  • Extract Results Command
  • Wait for Element to Appear Command
  • Selector (DOM element)
  • Check Radio Input Command
  • Dynamic Variable (JavaScript Code)
  • Static Variables
  • Set Checkbox State Command
  • Set Dropdown Value Command
  • Press a Keyboard Key Command
  • Upload File Command
  • Double Click On An Element Event
  • Click On An Element Event
  • Switch Browser Identity Command
  • Slack Notification Command
  • Save as Pdf Command
  • Go Back To Previous Page Command
  • Go Forward To Next Page Command
  • Proxies Built-In Rotation
  • External Proxy Rotation API
  • Regular Expressions
  • Mock Location Command
  • Close Page Command
  • Desktop Notification Command
  • Command Folder
  • Clear Cookie Command
  • Change Page Size Command
  • Break Loop Command
  • DataSet Types
  • Link Crawler Command
  • Alert Message Command
  • Wait Commands
  • Home
  • Docs
  • Official Commands
  • Save results to file command
View Categories

Save results to file command

3 min read

Use case #

Sometimes you may need to access the results of a first part of your flow within the same project and therefore avoid creating a second project. This is where the Save results to file comes in handy.

Add & configure the command #

As seen in the screenshots below, you can search/find/add the Save Results to file command from our usual add command process. You can then configure the following sections:
1) Here you can click and select a specific folder where you want to save the results. You could also enter the path manually into the Selected path entry box. Or, often better, leave it empty so that RTILA can save the file for you in the temporary folder of RTILA local installation, which can then be automatically fed to the next command that may need these results.
2) You can specify the file name manually or dynamically using this syntax: {{VariableX}}
3) Depending on the next steps results format requirement you can choose between CSV/JSON/HTML/PLAIN. If you intend to feed the Save to file results content to a List command we suggest you then choose the CSV format.

Where & when to use this command #

Naturally, you can only use or call the “Save results to file” command after the “Extract results” has been executed. The “Save results to file” command will then export all the Extracted results into a local file, which you can then upload/pull and feed to your next commands in your flow.

Prepare results file & the next flow #

You can feed your “Save results to file” file path to the Path input field of a List command that will use the “Import from file” option, but you can also feed this path value to an Upload or FTP command or any other command which that has/needs a path input field.

First we need to prepare our “Save results to file” command and the flow that will be fed its path value. In this example we will use the temporary folder to auto-save our results file and we will just specify our filename (resultsXYZ) and the file extension (CSV). Our flow will have the List command pulling the file path of the “Save results to file” command to feed to feed the URL column data to a Dynamic JavaScript command that will sanitize the URL before feeding the sanitized URL value to a GO TO URL command. See screenshots below.

Configure List command #

Now lets configure the List command, here is how:
1) We need to select and use the “Import from file” option
2) We need to feed the current path of the “Save results to file” into the path input field using: {{Save results to file}}
3) We need to make sure to specify the columns data delimiter, which in the case of a CSV file is a comma “,”

Note that the {{Save results to file}} syntax will be able to feed the full path that leads to our results file, and this will include the file name as well as the file extension. So you do not need to add anything after this syntax.

Sanitize the data/URLs #

Before using the URLs we first need to sanitize them and remove any special character that may break the GO TO URL command execution. To achieve this we will use a Dynamic JavaScript command with the following JavaScript code:

Copy CodeCopiedUse a different Browser
VALUE = {{List|2}}.replace(/[^a-zA-Z0-9\-._~:/?#\[\]@!$&'()*+,;=]/g, '');

Assuming the URLs are in the third column of our results table, we can then use this syntax: {{List|2}} to apply the sanitization rule to the correct column/cell. Otherwise replace the 2 with the concerned column number for your project case.
See screenshot on the side.

Feed URLs to GO TO URL command #

Finally we can now feed the well targeted URLs column content, that has been sanitized by our Dynamic JavaScript command, to our GO TO URL command using this syntax: {{DynamicJS}}

The GO TO URL will now safely execute and load the concerned URL and we can add a Wait for loading time command to make sure our data loads properly.

This block will now be executed in a loop that is created by the List command, to load one URL after an other until the full content of URLs of our original “Save results to file” command is finished.

Download & import this as a child project #

As this may sound like a lot of work, do not worry, you can use our “Child Project” import feature, which can conveniently import all this flow into your existing project so that you can make use of the this quickly and exactly where it is needed.

Click here to download this flow as an .rtila file so you can import it using the Child Project feature

Check here on how to enable and use the Child Project feature:
https://rtila.com/docs/child-project/

    Still stuck? How can we help?

    How can we help?

    Updated on 10/10/2023
    Incogniton Anti-detect browser

    Powered by BetterDocs

    Table of Contents
    • Use case
    • Add & configure the command
    • Where & when to use this command
    • Prepare results file & the next flow
      • Configure List command
      • Sanitize the data/URLs
      • Feed URLs to GO TO URL command
    • Download & import this as a child project

    INFO & LEGALS

    PRICING
    PAYMENTS & REFUND
    COOKIES - PRIVACY
    LICENSE AGREEMENT

    DOWNLOADS

    BOT LAUNCHER
    RTILA STUDIO ON GITHUB
    BOT & TEMPLATES
    PARTNERSHIPS

    RESOURCES

    VIDEO TUTORIALS
    DOCUMENTATION
    SUPPORT PORTAL
    FB COMMUNITY SUPPORT

    stay in touch

    Subscription Form

    follow us on

    • Facebook
    • YouTube
    • RTILA LinkedIn Page
    Copyright © RTILA CORPORATION