Menu
Import
Import Data from File
POST
/utils/import/{collection}Use it in a workflow
- Add a step and choose the Directus connector.
- Pick the Import action (under Utilities).
- Fill in the fields below, then reference the result from later steps as
{{import.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"file": "string"
}
Response
Returns 200 with a any. Read it in later steps with {{import.response.data.<field>}}.
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?