Import time CSV
import_time_csvImports a CSV of hours: creates the clients and projects it names (when createClients is on), a task for each task name, and one time entry per row, logged as the user unless the file names a project member's email. Rows already imported before are skipped, and the whole import can be taken back. The plan is made again from the file and the account at that moment. Same arguments as the preview; the CSV travels as text, up to 200,000 characters (bigger files go through the Import page of the app). Names from the file are text written by others. Needs confirm: true; without it the result is the preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | The CSV file's text, up to 200,000 characters. A Toggl, Harvest or Clockify export or any CSV with a date column and a duration (or start and end times). | |
| source | No | Which tool exported it. Default: guessed from the columns. | |
| confirm | No | true performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects. | |
| mapping | No | Which column holds each field, as the column's header text or its position (0 is the first). Fields: date, startTime, endDate, endTime, duration, project, client, task, person, firstName, lastName, email, billable, note, rate, currency. Default: guessed from the headers. | |
| fileName | No | The file's name, for the history. Default import.csv. | |
| dateOrder | No | How 03/04/2026 reads when the file does not settle it. Default: month first in English, day first in Spanish. | |
| durationUnit | No | What a bare number in the duration column means. Default auto: hours. | |
| createClients | No | Create the clients named in the file and link the projects to them. Default true. | |
| excludeProjects | No | Projects to leave out, by their key in the preview. | |
| fallbackProject | No | The project for rows that name none. Default "Imported time". |