Actions41
- Companies Actions
- Search companies
- Search companies (POST)
- Enrich company
- Search companies by name
- Search companies by prompt
- Search similar companies
- Count companies
- Count companies (POST)
- Enrich company by email
- Enrich company by social
- Get email patterns
- Ask company
- Get company context
- Fetch companies analytics
- Export companies analytics
- Lists Actions
- Locations Actions
- Business data Actions
- Actions Actions
- Prompts Actions
- Utilities Actions
Overview
This node integrates with The Companies API to fetch detailed information about a specific company within a given list. It is particularly useful for workflows that need to enrich or verify company data based on domain names and list membership, such as targeted marketing campaigns, lead enrichment, or account-based sales strategies.
For example, you can use this node to retrieve comprehensive company details by providing the company's domain and the ID of a list where the company is included. This helps ensure that only companies from a particular curated list are queried, enabling more focused data retrieval.
Properties
| Name | Meaning |
|---|---|
| Domain | The domain name of the company to fetch information for (e.g., "example.com"). |
| List ID | The numeric identifier of the list in which the company is included. |
Output
The node outputs JSON data containing the detailed information about the requested company as returned by The Companies API. The structure typically includes company attributes such as name, industry, size, location, and other enriched data fields provided by the API.
If an error occurs during the fetch operation, the output JSON will contain an error field with the corresponding error message.
The node does not output binary data.
Dependencies
- Requires an API token credential for authenticating requests to The Companies API.
- Uses the official SDK of The Companies API (
@thecompaniesapi/sdk) to perform operations. - The node expects proper configuration of the API token credential within n8n.
Troubleshooting
- Unknown operation error: If the operation parameter is set incorrectly or not supported, the node throws an error indicating "Unknown operation". Ensure the operation is set to "fetchCompanyInList".
- SDK method not found: If the SDK method corresponding to the operation is missing, it indicates a possible mismatch between the node version and the SDK. Updating both may resolve this.
- Empty or invalid parameters: Providing empty or invalid values for "Domain" or "List ID" may cause the API call to fail or return no results. Verify that these inputs are correctly set.
- API authentication errors: If the API token is missing, expired, or invalid, the node will fail to authenticate. Check the API token credential configuration.
- Continue on Fail: If enabled, the node will output error messages per item instead of stopping execution, which can help in batch processing scenarios.