LOOP Each record from an API function

The LOOP Each record from an API function in RPA.

Help CentreBuilding Processes

This article describes the RPA Loop functionality to each record from an API.

For a full list of available functions, please read LOOP functions.


Description

The LOOP Each record from an API function allows you to each record from an API.


Setting it up

To use the LOOP Each record from an API function, follow these instructions:

{{popups:rpas/add:action=loop-api}}

Once on a process map:

  1. Navigate to the process where you would like to add the LOOP Each record from an API function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the LOOP Each record from an API option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
VariableYesText-Variable containing the data to loop through
Max iterationsNoNumber-Maximum number of iterations
OperatorNoSelect-Comparison operator for conditions
TransactionNoSwitchOffEnable transaction logging

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Empty dataThe variable contains no data to loop through

Tips

  • Loops through API response data
  • Use with the api action to fetch data first

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.