# WorkflowAutomationModel

Type: object

Fields typed as another model are documented on that model's page; fetch it before filling the field.

| Field | Type | Required | Description | Allowed values / default / constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes | Id of the automation |  |
| `name` | string, nullable | no | Name of the automation |  |
| `owner` | string | yes | Owner of the automation |  |
| `status` | integer, nullable | no | Execution status of the automation | default: `1` |
| `last_updating_user` | string, nullable | no | Last updated user of the automation |  |
| `input_count` | integer, nullable | no | Number of inputs of the automation | default: `0` |
| `output_count` | integer, nullable | no | Number of outputs of the automation | default: `0` |
| `sources` | array of [SourceFile (type = "file")](https://dev-api.sheetgo.com/rest/reference/models/SourceFile.md) or [SourceFolder-Output (type = "folder")](https://dev-api.sheetgo.com/rest/reference/models/SourceFolder-Output.md) or [SourceWebhook (type = "webhook")](https://dev-api.sheetgo.com/rest/reference/models/SourceWebhook.md) or [SourceAPI (type = "api")](https://dev-api.sheetgo.com/rest/reference/models/SourceAPI.md) or [SourceIntegration (type = "integration")](https://dev-api.sheetgo.com/rest/reference/models/SourceIntegration.md) or [SourceBigQuery (type = "bigquery")](https://dev-api.sheetgo.com/rest/reference/models/SourceBigQuery.md) or [SourceOutlook-Output (type = "outlook")](https://dev-api.sheetgo.com/rest/reference/models/SourceOutlook-Output.md) | no | Source files/folders of the automation |  |
| `destinations` | array of [DestinationFile (type = "file")](https://dev-api.sheetgo.com/rest/reference/models/DestinationFile.md) or [DestinationFolder (type = "folder")](https://dev-api.sheetgo.com/rest/reference/models/DestinationFolder.md) or [DestinationDocument (type = "document")](https://dev-api.sheetgo.com/rest/reference/models/DestinationDocument.md) or [DestinationPDF (type = "pdf")](https://dev-api.sheetgo.com/rest/reference/models/DestinationPDF.md) or [DestinationShare (type = "share")](https://dev-api.sheetgo.com/rest/reference/models/DestinationShare.md) or [DestinationMailMerge (type = "mail_merge")](https://dev-api.sheetgo.com/rest/reference/models/DestinationMailMerge.md) or [DestinationWebhook (type = "webhook")](https://dev-api.sheetgo.com/rest/reference/models/DestinationWebhook.md) or [DestinationApiPublish (type = "api")](https://dev-api.sheetgo.com/rest/reference/models/DestinationApiPublish.md) or [DestinationBigQuery-Output (type = "bigquery")](https://dev-api.sheetgo.com/rest/reference/models/DestinationBigQuery-Output.md) or [DestinationFile (type = "file")](https://dev-api.sheetgo.com/rest/reference/models/DestinationFile.md) or [DestinationFolder (type = "folder")](https://dev-api.sheetgo.com/rest/reference/models/DestinationFolder.md) or [DestinationDocument (type = "document")](https://dev-api.sheetgo.com/rest/reference/models/DestinationDocument.md) or [DestinationPDF (type = "pdf")](https://dev-api.sheetgo.com/rest/reference/models/DestinationPDF.md) or [DestinationShare (type = "share")](https://dev-api.sheetgo.com/rest/reference/models/DestinationShare.md) or [DestinationMailMerge (type = "mail_merge")](https://dev-api.sheetgo.com/rest/reference/models/DestinationMailMerge.md) or [DestinationWebhook (type = "webhook")](https://dev-api.sheetgo.com/rest/reference/models/DestinationWebhook.md) or [DestinationApiPublish (type = "api")](https://dev-api.sheetgo.com/rest/reference/models/DestinationApiPublish.md) or [DestinationBigQuery-Output (type = "bigquery")](https://dev-api.sheetgo.com/rest/reference/models/DestinationBigQuery-Output.md), nullable | no | Destinations of the automation |  |

## Used by

- [GET /rest/beta/workflows/](https://dev-api.sheetgo.com/rest/reference/workflows.md#get-rest-beta-workflows)
- [GET /rest/beta/workflows/{id}](https://dev-api.sheetgo.com/rest/reference/workflows.md#get-rest-beta-workflows-id)
- [PATCH /rest/beta/workflows/{id}](https://dev-api.sheetgo.com/rest/reference/workflows.md#patch-rest-beta-workflows-id)
- [POST /rest/beta/workflows/](https://dev-api.sheetgo.com/rest/reference/workflows.md#post-rest-beta-workflows)
- [WorkflowModel](https://dev-api.sheetgo.com/rest/reference/models/WorkflowModel.md)

---

More: start page https://dev-api.sheetgo.com/rest/reference.md, everything in one file https://dev-api.sheetgo.com/rest/llms-full.txt, OpenAPI https://dev-api.sheetgo.com/rest/openapi.json.
