import_companies_to_list
Save companies you already have (read off a web page you scraped, from text the user pasted, or from your search results) into a company list: a new one (newListTitle) or an existing company list (existingListId). mode DEMOGRAPHICS enriches them in the background, first reading the website of a company that came without one off its page on the source (Profile URL); it fills in company details, never emails or phone numbers, and costs 1 credit per company that matches and nothing for the rest, so call it only once the user has agreed to that cost. mode RAW saves them without enrichment, free; a domain that is not the company's own website is left empty in either mode. Give each company's LinkedIn page (Company LinkedIn URL) whenever the source shows it: it is kept on the company (one matched to a known company keeps that company's page), and a company watcher uses that page when the company has no website. Answers at once with the list (listId, listName) and a rough estimatedMinutes: the list fills in the background and the user gets a notification when it is complete. Each company newly added to the list starts the user's automations that run when a company is added to a list. More companies than one call takes go in further calls, with existingListId set to the listId the first call answered. A value with no field of its own (a deal stage, a rival, a score) goes in the row's customColumns as a name/value pair: each name becomes a column on the list, or fills the list's own column of that name when every value fits it (a number, a date, a yes/no, or one of its options) and it is neither a smart nor a link column; an existing list takes columns only when the user created it. Never put such a value in another field. A company already on the list is saved again. When the row matches a known company by its website, the company keeps its row and its other columns, and the columns the call fills take the row's values (an empty value clears one); otherwise the row replaces it, and its other columns, smart ones included, are lost. Mode DEMOGRAPHICS matches and charges it again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>",
"rows": "<rows>"
},
"name": "import_companies_to_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | DEMOGRAPHICS matches each company to a known company and fills in its profile, charging 1 credit for every company it matches. RAW saves the companies without enrichment, free. In either mode a domain that is not the company's own website is left empty. | |
| rows | Yes | One object per company, at most 1000 per call, and at most 20 different column names across them. | |
| listType | No | Always 'companyList'. | companyList |
| sourceUrl | No | The page the rows were scraped from, when they were. It keeps that site's own links out of the websites the lookup finds. | |
| newListTitle | No | Create a new list with this name. Give exactly one of newListTitle and existingListId. | |
| existingListId | No | Add to this existing list, by its 24-hex id. It must be a list of the same type. Give exactly one of newListTitle and existingListId. |