[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / importAction

# Function: importAction()

> **importAction**(`options?`): [`Action`](../classes/Action)

Defined in: [admin/src/actions/transfer.ts:217](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/actions/transfer.ts#L217)

Header action → upload a CSV and create a record per row.

The modal has two steps in one screen: pick a file, and then — once its header
row is readable — one select per column saying which field it feeds. The
selects start on whatever the header names match, so a file the panel exported
needs no adjustment, and a file from somewhere else needs only the columns that
didn't line up.

## Parameters

### options?

#### queue?

`boolean`

## Returns

[`Action`](../classes/Action)
