Docs
Workspace

Imports and Bulk Exports

Bring tasks and projects in from other tools with a dry run, mapping, row-level results and undo, and export tasks or results in bulk.

Preview· P9For developers

This is a published preview. Names and fields may still change before general availability; changes will be listed in the changelog.

Move work into Agoo from Asana, Trello, ClickUp, monday.com, Jira or a spreadsheet, the way the Console does: upload the file, read the dry run's report, say what needs saying, then commit. Nothing is made before the commit, and an import never invites anyone, sends a notification or reminder, or fires a task.* webhook for the historic work it brings in. One import.completed event says when it's finished.

Opening balances and open invoices and bills are brought in from the Console by a person, and still go through their own approval before anything posts. A key is refused for them: the API never posts to the books.

The flow

  1. Upload the file with POST/files, kind: "import_source" (CSV, .xlsx or the tool's JSON, up to 20 MB), and PUT it to the URL returned. It stays private and is virus-checked before it's read; nobody can download it, and it's deleted after 30 days.
  2. Start the import with POST/bulk-runs (scope tasks:write): the file_id, the source (asana, trello, clickup, monday, jira or sheet) and a target, either new_projects (a project for each project in the file, owned by owner_person_id when a key starts it) or into one list or project the caller manages. Send your own client_key to make a retry safe.
  3. Follow it with GET/bulk-runs/{bulk_run_id} (scope tasks:read). Its state moves through scanning, reading, mapping (a spreadsheet waiting for its columns), checking and checked, when report says what would be made, matched or skipped. Each page of rows has a line's outcome (create, match, skip, error), its errors and warnings, and later the task_id it made.
  4. Map what needs it with POST/bulk-runs/{bulk_run_id}/mapping: columns (index to field, from the run's fields), statuses (each to backlog, ready, in_progress, blocked, in_review, completed or cancelled), and people (each key to a person ID, or unresolved to keep them as the file's name). Send the version you read. A new dry run follows.
  5. Commit with POST/bulk-runs/{bulk_run_id}/commit and the version. The caller's permission and the month's allowance are checked again now, and it's made in batches; processed and total show how far it's got.

People

People are matched to active members by email, and only by email. Everyone else stays an unresolved name on their tasks, for someone to take. Choosing who someone is never invites them or tells them anything.

Repeats, cancelling and undo

  • Repeats make nothing. The same file into the same place ends at once with same_as_id pointing at the first import. A different file with the same source IDs matches what's already here.
  • Cancelling with POST/bulk-runs/{bulk_run_id}/cancel before the commit makes nothing. During it, the import stops before its next batch and what's made stays. Cancelling never takes back a posted journal or anything already sent outside Agoo.
  • Undo with POST/bulk-runs/{bulk_run_id}/undo for 30 days after an import finishes. It removes what nobody has worked on since; anything someone has touched stays, and counts.kept says how many.

Bulk exports

POST/bulk-exports (scope tasks:read) writes a list's or project's tasks, or an import's results, as CSV in the background, up to 50,000 rows. When it's done, GET/bulk-runs/{bulk_run_id}/download returns a link that works for two minutes. Only whoever asked for the export can download it, only while they can still see what's in it, and only for 7 days.

Limits

  • Five imports and exports under way at once per organisation (429 beyond that).
  • Rows brought in a month: 5,000 on Free and 250,000 on paid plans; a sandbox isn't limited.
  • A file of up to 50,000 rows, 8 MB for a spreadsheet and 20 MB for a tool's JSON export.
  • Staged rows and row results are kept 30 days; the import's record and counts stay.

Webhooks

import.completed carries the import's id, kind, source, state and counts once it finishes, is cancelled or undone. Nothing is sent for each task it brought in. On the change feed it needs tasks:read, or finance:read for opening balances and open items.

On this page