# nodesWorkflow

Audience: Programmer

Lookup nodes by a list of IDs.

Lookup nodes by a list of IDs.

**Served by:** [workflow](https://docs.pyck.cloud/latest/api/services/workflow.md)

## Arguments

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `ids` | \[ID!\]! |  | The list of node IDs. |

## Returns

\[[NodeWorkflow](https://docs.pyck.cloud/latest/api/interfaces/nodeworkflow.md)\]!

## Example

Fetches several workflows by their global IDs in one request. The result has one entry per ID, in the order of the IDs, and null for an ID that matches no object.

```graphql
query GetNodesWorkflow($ids: [ID!]!) {
  nodesWorkflow(ids: $ids) {
    id
    ... on Workflow {
      tenantID
      name
      taskQueue
      createdAt
    }
  }
}
```

**Variables**

```json
{
  "ids": [
    "<workflow ID>"
  ]
}
```
