# RPA by Workato - List departments action (batch)
The List departments batch action retrieves a list of all departments in your RPA instance.
# Input
This action does not require any input.
# Output
| Output fields | Description |
|---|---|
| Department ID | The ID of the retrieved department. |
| Department name | The name of the retrieved department. |
| List size | The total number of departments retrieved. |
| List index | The position of the department within the list. |
Last updated: 5/21/2025, 5:22:32 AM