# AutomationReplace

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 |
| --- | --- | --- | --- | --- |
| `workflow_id` | string | yes | Id of the workflow this automation belongs to |  |
| `name` | string | yes | Name of the automation |  |
| `sources` | array of [SourceFile (type = "file")](https://dev-api.sheetgo.com/rest/reference/models/SourceFile.md) or [SourceFolder-Input (type = "folder")](https://dev-api.sheetgo.com/rest/reference/models/SourceFolder-Input.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-Input (type = "outlook")](https://dev-api.sheetgo.com/rest/reference/models/SourceOutlook-Input.md) | yes | List of sources to connect to |  |
| `merge` | [MergeProcessor](https://dev-api.sheetgo.com/rest/reference/models/MergeProcessor.md), nullable | no | Merge step options |  |
| `filter` | [FilterCondition-Input (type = "condition")](https://dev-api.sheetgo.com/rest/reference/models/FilterCondition-Input.md) or [FilterColumn (type = "column")](https://dev-api.sheetgo.com/rest/reference/models/FilterColumn.md) or [FilterQuery (type = "query")](https://dev-api.sheetgo.com/rest/reference/models/FilterQuery.md), nullable | no | Filter step options. Columns are spreadsheet LETTERS — get them from `GET /files/{provider}/{file_id}/structure?include=columns` on the source file (see Column letters). Not combinable today with `remove_duplicates` or `anonymize` (features incompatible in the engine) — see Processor combinations. |  |
| `ai` | [AIProcessor](https://dev-api.sheetgo.com/rest/reference/models/AIProcessor.md), nullable | no | AI step options |  |
| `left_join` | [LeftJoinProcessor](https://dev-api.sheetgo.com/rest/reference/models/LeftJoinProcessor.md), nullable | no | Left join step options |  |
| `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-Input (type = "bigquery")](https://dev-api.sheetgo.com/rest/reference/models/DestinationBigQuery-Input.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-Input (type = "bigquery")](https://dev-api.sheetgo.com/rest/reference/models/DestinationBigQuery-Input.md), nullable | no | Destinations to connect to |  |
| `number_format` | boolean, nullable | no | Number format | default: `false` |
| `transfer_format` | boolean, nullable | no | Transfer format | default: `false` |
| `remove_duplicates` | [RemoveDuplicatesProcessor](https://dev-api.sheetgo.com/rest/reference/models/RemoveDuplicatesProcessor.md), nullable | no | Remove duplicate rows. Not combinable today with `ai`, `filter` or `anonymize` (features incompatible in the engine) — see Processor combinations. |  |
| `anonymize` | [AnonymizeProcessor](https://dev-api.sheetgo.com/rest/reference/models/AnonymizeProcessor.md), nullable | no | Anonymize step options. Not combinable today with `ai`, `filter` or `remove_duplicates` (features incompatible in the engine) — see Processor combinations. |  |
| `split` | [Split](https://dev-api.sheetgo.com/rest/reference/models/Split.md), nullable | no | Split step options |  |
| `id` | string | yes | Id of the automation |  |

## Used by

- [PUT /rest/beta/automations/{id}](https://dev-api.sheetgo.com/rest/reference/automations.md#put-rest-beta-automations-id)

---

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.
