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 retrieve email pattern information for companies based on their domain names. Specifically, the "Get email patterns" operation fetches common email address formats used by a company, which can be useful for sales, marketing, or recruitment professionals trying to contact employees at that company.
Typical use cases include:
- Verifying or guessing employee email addresses when only the company domain is known.
- Enriching lead data with probable email formats.
- Automating outreach campaigns by generating valid email addresses.
For example, given the domain "example.com", the node can return patterns like "{first}.{last}@example.com" or "{first}@example.com" along with metadata such as the count of emails observed and precision scores.
Properties
| Name | Meaning |
|---|---|
| Domain | The company's internet domain name (e.g., "example.com") to fetch email patterns for. |
| Emails count | Boolean flag indicating whether to include the count of emails observed for each pattern. |
| Precision | A numeric value to filter or prioritize email patterns based on confidence or accuracy. |
Output
The node outputs JSON data containing the email patterns associated with the specified company domain. The structure typically includes:
- An array or object listing different email patterns used by the company.
- Metadata fields such as the number of emails supporting each pattern (if requested).
- Precision or confidence scores indicating the reliability of each pattern.
The output is paired with the input item index to maintain correspondence in workflows.
No binary data output is produced by this operation.
Dependencies
- Requires an API token credential for authenticating requests to The Companies API.
- Uses the official SDK from The Companies API package bundled within the node.
- No additional environment variables are needed beyond the API token.
Troubleshooting
- Unknown operation error: If the operation parameter is incorrect or unsupported, the node throws an error stating "Unknown operation". Ensure the operation name matches exactly "fetchCompanyEmailPatterns".
- Missing or invalid API token: Authentication failures will occur if the API token credential is missing or invalid. Verify the token is correctly configured in n8n credentials.
- Empty or invalid domain input: Providing an empty or malformed domain may result in no data or errors. Validate the domain string before execution.
- SDK method not found: If the underlying SDK does not have the expected method, it indicates a version mismatch or internal error. Updating the node or SDK might resolve this.
To handle errors gracefully, enable the "Continue On Fail" option to allow partial processing of multiple items.
Links and References
- The Companies API Documentation — Official API docs for detailed endpoint descriptions.
- The Companies API SDK — Node.js SDK used internally by the node.
- n8n Documentation — For general guidance on using credentials and error handling in n8n.