Export KoboToolbox Submissions to Excel
kobo_export_submissions_excelExport all form submissions as a downloadable Excel (.xlsx) or CSV file, and receive the file embedded in the response along with a direct download link.
Instructions
Generate a downloadable Excel (.xlsx) or CSV export of all submissions for a form, and return the file itself (base64-encoded) plus a direct download link.
This triggers a fresh export on the Kobo server, waits (up to ~90s) for it to finish, downloads the result, and returns it as an embedded file the calling app can save to disk.
Args:
uid (string): the form's asset uid (from kobo_list_forms)
format ('xlsx' | 'csv', default 'xlsx')
language (string, optional): label language for the column headers on a multilingual form
Returns: the file as an embedded resource (base64), its size, and a direct download URL as a fallback.
Examples:
Use when: "Give me an Excel file of all responses to my cocoa form" -> uid=..., format="xlsx"
Don't use when: you just want to read a few submissions in chat (use kobo_list_submissions instead — much faster)
Error Handling:
Returns "Error: ... did not complete within 90s" for very large forms — the export may still finish server-side; check the Kobo web UI's export history
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Asset uid of the form to export submissions from | |
| format | No | Export file format | xlsx |
| language | No | Label language for the column headers on a multilingual form (default: the stored codes) |