Skip to Content
MosaicMosaicDocs
Tool Reference

ImportCompaniesCsv

Import companies into the team CRM from a CSV, such as a Mosaic companies export or a list from another CRM.

Starter documentation. Features and account details may differ from this deployment.

ImportCompaniesCsv

Import companies into the team CRM from a CSV, such as a Mosaic companies export or a list from another CRM. Each row needs a domain (a Domain, Domains or Website column) and may name the company (Company or Name); a row takes its first valid domain, and companies the team already has are left as they are. Stage, Owner and Revenue live on pipeline entries rather than companies: when the CSV has them, they go on entries of pipelineId, or of a new pipeline (private unless shareNewPipeline) named after the file. Use it instead of adding companies one at a time. Give the CSV as text in csv, or as documentId for a CSV file in Mosaic, which is the way to pass an uploaded file. Returns counts and the rows that could not be imported. To add rows to a pipeline without this, use ImportPipelineCsv.

Parameters

ParameterTypeRequiredDescription
csvstringNoThe CSV text with a header row. Give this or documentId, not both.
documentIdstringNoThe id of a CSV file in Mosaic the user can open, e.g. one they uploaded. Give this or csv, not both.
pipelineIdstringNoA company pipeline (id from ListPipelines) to put the CSV's Stage, Owner and Revenue on. Omit to create a new pipeline when the CSV has them.
newPipelineNamestringNoThe name of the new pipeline, when one is created. Defaults to the file's name.
shareNewPipelinebooleanNoShare the new pipeline with the team instead of keeping it private to the user. Defaults to false.

On this page