> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Sync CSV data

> Send CSV data to an Airtable Sync API table.

`airtable.syncCsvData` sends raw CSV to an existing Sync API endpoint.

```ts automations/sync-airtable-csv.automation.ts theme={null}
import { automation } from "automate.ax"
import { airtable } from "automate.ax/airtable"

export default automation("Sync Airtable CSV", () => {
  airtable.syncCsvData({
    baseId: "app123",
    table: "Imported contacts",
    apiEndpointSyncId: "sync123",
    csv: "Name\nAda",
  })
})
```

All inputs are required. `csv` accepts at most 2 MB, 10,000 rows, and 500 columns; Airtable limits this endpoint to 20 requests per five minutes per base. It returns no value. This endpoint requires a Personal Access Token—not OAuth—with `data.records:write` and `schema.bases:write`, base creator access, and a supported Airtable plan.
