You can use custom data files (CSV or JSON) when running a collection manually in Requestly.Documentation Index
Fetch the complete documentation index at: https://docs.requestly.com/llms.txt
Use this file to discover all available pages before exploring further.
This enables you to iterate through your requests using multiple sets of input values, without modifying your request parameters each time.
Note: This feature is currently available only on the Requestly Desktop App.
Using a Data File in Collection Runner
Follow these steps to run a collection with custom data:Open Collection Runner
In the Collections sidebar, find the collection you want to execute and click the Run icon next to it..png?fit=max&auto=format&n=Ann0jEECfxHAT9FZ&q=85&s=97f338c499c852e6a56a995da1655997)
.png?fit=max&auto=format&n=Ann0jEECfxHAT9FZ&q=85&s=97f338c499c852e6a56a995da1655997)
Select a Data File
In the Runner configuration panel, click Select Data File..png?fit=max&auto=format&n=Ann0jEECfxHAT9FZ&q=85&s=f51aee821fd18041ed97d202688af600)
Once added, Requestly will automatically detect the file type and preview its structure.
Supports JSON & CSV files (max 100MB)
.png?fit=max&auto=format&n=Ann0jEECfxHAT9FZ&q=85&s=f51aee821fd18041ed97d202688af600)
Preview Data and Map Variables
After selecting the file, a preview of your data will appear..png?fit=max&auto=format&n=Ann0jEECfxHAT9FZ&q=85&s=859991a0ec9d91ef9c67ad00d664dc5b)
- For CSV files: verify column names and types
- For JSON files: check object keys and structure
{{storyId}}..png?fit=max&auto=format&n=Ann0jEECfxHAT9FZ&q=85&s=859991a0ec9d91ef9c67ad00d664dc5b)
How Data Files Work
When you attach a CSV or JSON file to your manual run:- Each row (CSV) or object (JSON) represents one iteration
- Variables inside your requests (like
{{storyId}}) will be replaced with the corresponding values - Requestly automatically cycles through each data set until all iterations are complete
Supported File Formats
CSV Format
- The first row defines variable names
- Each subsequent row represents one iteration
- Each row must have the same number of columns
JSON Format
- Must be an array of key-value objects
- Each object defines one iteration
Example Use Case
For a request like{{city}} with each value during the run.
Accessing Data in Scripts
You can access data file values programmatically in your pre-request and post-response scripts using therq.iterationData object. This allows you to implement conditional logic, validate responses, or perform calculations based on the input data.
Example:


.png?fit=max&auto=format&n=Ann0jEECfxHAT9FZ&q=85&s=3ca18e5c047ee425c1fb561776c0aa35)