What it supports
Countries use two-letter ISO codes, such as
MX for Mexico. Lowercase codes are accepted and changed to uppercase. Uninhabited territories (AQ, BV, HM, TF, UM) and sanctioned countries (CU, IR, KP, SY) are not available.
Choose a location
When you choose no location, the run uses the default: the United States.In the dashboard
The Run location picker shows for web apps only.- Run dialog: choose a country in Run location, under Where it runs. The Run button then names the country, for example Run from Mexico.
- Automations: in the automation editor, choose a country in Run location, under the browser picker. Every run the automation starts uses it.
With the CLI
With the API
Sendlocation in the request body of these calls:
With MCP
These MCP tools take alocation argument:
flows_runsuites_runlabels_runautomations_createautomations_update
automations_update, an empty string removes the saved location.
Build uploads
An upload can carry a location. It applies to every run the upload starts:- CI/CD automations. The upload’s location replaces the automation’s own location. If the upload has none, the automation uses its own.
- Later PR test runs against that build.
location to Upload Web Build. Mobile uploads cannot carry a location yet.
When a run starts
Before the test starts, the run checks that its traffic leaves from the chosen country.- If the check passes, the browser console log records the IP:
[Autosana location] Exit IP <ip> (MX). - If the check fails, the run fails with an error that starts with
Location proxy unavailable. A run with a location never falls back to a US IP.
Combinations Autosana refuses
A request with a location is refused for:- an environment that uses a private network
- an MCP
flows_runcall withbranch_name - onboarding runs
- iOS and Android runs (coming later)
- mobile runs on a local device
- an unknown or unavailable country code, such as
KP(the error lists the valid codes)
Limits
- Hooks keep Autosana’s fixed IP. Hook scripts do not use the run’s location. If a hook calls an API that blocks US traffic, that API still refuses the call. See Network Allowlist.
- Allowlists of Autosana’s IPs block location runs. If your app or an API it calls accepts only Autosana’s web runner IPs (
flow_runners.virtual_runners.web_browserson Network Allowlist), it blocks every location run. - The IP can change during a run. The residential IP can drop out during a run. When it changes, the run continues, and the browser console log records
[Autosana location] Exit IP changed to <ip> (<country>). Autosana does not check the new IP’s country.