Lookup Company
AI-generatedSummary
Fetches detailed profile data for a single company from the S.C.A.L.A. Score API v1 using a company ID obtained from a search result. Requires the company ID to be set; throws an error if missing.
Inputs
- Company ID (required) — The id field of a company search result. This string is required and is used as a path parameter in the HTTP GET request to /api/v1/company/{id}. Must be provided for the lookup to succeed; can be specified via expression per item.
Output shape
One output item is produced per input item. The output contains the merged content of the 'company' object with any additional fields from the API response JSON.
Authenticates with the scalaScoreApi credential (API key sent as X-API-Key header; base URL normalized internally). Sends a GET request to /api/v1/company/{companyId} where companyId is URL-encoded. The response JSON's 'company' object is merged into the output. Errors from the API are surfaced as n8n NodeApiErrors. There is no additional custom error mapping.
Examples
Example 1: Enrich a lead with company data using its VAT number
Operation: Lookup Company; Company ID: {{$json.vat}}
Example 2: Fetch a company's details after picking an ID from a Search Companies step
Operation: Lookup Company; Company ID: {{$json.id}}