Actions12
Overview
The Company: Get operation in this custom n8n node allows users to search for and retrieve company records from the Accelo API. It supports searching by various fields (such as website, name, phone, or fax), filtering by company ID or status, and optionally fetching additional profile data for each company. This node is useful in scenarios where you need to automate business processes involving company data, such as syncing CRM information, enriching company profiles, or integrating with other business tools.
Practical examples:
- Automatically pull company details into a workflow when a new lead is created.
- Filter companies by status for targeted marketing campaigns.
- Retrieve detailed company profiles for reporting or analytics.
Properties
| Name | Meaning |
|---|---|
| Search | Search term to look up companies by website, name, phone, or fax. |
| Get Profile Data | Whether to get additional profile data for each company (true/false). |
| Filters | Collection of filter options: |
| - Company ID: Numeric identifier of the company. | |
| - Company Status Name or ID: Select from available statuses or specify an ID using an expression. |
Output
The output will be a JSON object (or array of objects) representing the retrieved company data. The structure typically includes standard company fields such as:
{
"id": 123,
"name": "Example Company",
"website": "https://example.com",
"phone": "+1-555-1234",
"fax": "+1-555-5678",
"status": "Active",
// ...other company fields
}
If "Get Profile Data" is enabled, additional profile-related fields may be included in the output.
Note: If binary data is ever returned (unlikely for this resource/operation), it would represent file attachments or similar content related to the company.
Dependencies
- External Service: Requires access to the Accelo API.
- API Credentials: You must configure valid Accelo API credentials in n8n under the credential type
acceloApi. - n8n Configuration: No special environment variables are required beyond standard credential setup.
Troubleshooting
Common Issues:
- Invalid Credentials: If your API key or credentials are incorrect, authentication errors will occur. Double-check your Accelo API credentials in n8n.
- No Results Found: If your search/filter criteria do not match any companies, the output will be empty.
- Missing Required Fields: Ensure that required properties (like filters or search terms) are provided as needed.
Error Messages:
"401 Unauthorized": Indicates invalid or missing API credentials. Resolve by updating your Accelo credentials in n8n."400 Bad Request": Usually caused by invalid filter values or malformed requests. Check your input parameters."404 Not Found": The specified company ID does not exist. Verify the ID in your filters.