Skip to main content
All MCP tools

MCP tools · CRM

crm_import_csv

Imports up to 500 rows of a CSV sheet into the CRM: new records, filled-in fields, links and section rows. Without mapping it proposes a column mapping and imports nothing; with mapping it does a dry run that reports what would be created, updated or rejected, plus a link where the user approves the real import in Finn. Once they approve, Finn imports the rows itself.

Scope needed
crm:import
Changes data
Yes
Held for approval
Can be. The call returns a pending approval and nothing happens until a person in your organization approves it.
Available to
Every organization

Admins only. Asks first: the call changes nothing yet and returns a preview and a link where the user approves it in Finn; once they approve, Finn makes the change itself. Do not call again for the same change.

Inputs

NameTypeDescription
org_idstringOrganization id from list_orgs. Leave out only when the user belongs to one organization.
csv_textrequiredstringThe sheet as CSV text: one header row, then at most 500 data rows.
mappingobjectHow columns map onto the workspace's fields. Leave out on the first call to get a proposed mapping.
kindstringRecord kind key the sheet holds; only used to propose a mapping.
first_rownumberSheet row number of the first data row, so problems name the right rows.