List Accounts
organizations.list_accounts
ActionAmazon Web Servicesconnection required
Calls the AWS organizations API (SigV4).
List accounts in the organization.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- AWS Organizations
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
max_results Max accounts (default 20). | number | No | — | ≥ 1 | — |
next_token Continues a previous run of this node, using that run's next_token output. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
accounts One entry per account: account_id, arn (what Organizations' tagging and policy calls take), name, email, status and joined_at, epoch seconds. | array | — |
count | number | — |
next_token Cursor for the next page; empty when there are no further pages. | string | — |
{
"accounts": [],
"count": 0,
"next_token": ""
}Related AWS Organizations nodes
See List Accounts run in a workflow.
In a technical demo we add the AWS Organizations connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.