# workflowActions

Audience: Developer

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

## Arguments

| Name | Type |
| --- | --- |
| `input` | [GetWorkflowActionsInput](https://docs.pyck.cloud/dev/api/inputs/getworkflowactionsinput.md)! |
| `where` | [WorkflowActionsWhereInput](https://docs.pyck.cloud/dev/api/inputs/workflowactionswhereinput.md) |

## Returns

[GetWorkflowActionsResponse](https://docs.pyck.cloud/dev/api/types/getworkflowactionsresponse.md)!

## Example

Returns available queries and updates for a workflow execution, with an enabled flag indicating whether each action is currently callable.

```graphql
query GetWorkflowActions($input: GetWorkflowActionsInput!, $where: WorkflowActionsWhereInput) {
  workflowActions(input: $input, where: $where) {
    queries {
      description
      enabled
      name
    }
    updates {
      description
      enabled
      name
    }
  }
}
```

**Variables**

```json
{
  "input": {
    "workflowExecutionId": "<run ID>",
    "workflowId": "<workflow execution ID>"
  },
  "where": {
    "enabled": true,
    "nameHasPrefix": "ship"
  }
}
```
