Look up a company on LinkedIn
campaignstack_lookup_companyCall this when the user asks for a company that campaignstack_get_companies with a query does not find. With query, CampaignStack searches the web for matching LinkedIn company pages and returns up to 5 (companyId is set when CampaignStack already holds one). With linkedinUrl, CampaignStack reads that public company page and adds the company to the shared company database; the answer is ready with a companyId, or queued (call again with the same linkedinUrl to check), or failed. Pass exactly one of the two. Free, up to 50 searches and 50 new pages per workspace per day. It does not add the company to a campaign or reach anyone at it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Company name or domain to find on LinkedIn. Returns up to 5 company pages; none is added yet. | |
| linkedinUrl | No | A linkedin.com/company/ page to add. Call again with the same URL to read where the read stands. | |
| workspaceId | No | Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| items | No | ||
| failed | No | ||
| results | No | ||
| warnings | No |