Actions27
- Project Actions
- Project Task Actions
- User Actions
- Company Actions
Overview
This node integrates with the awork API to retrieve detailed information about a specific company by its unique identifier. It is useful in scenarios where you need to fetch company data for further processing, reporting, or automation within your workflows. For example, you might use this node to pull company details before creating related projects or assigning tasks based on company attributes.
Properties
| Name | Meaning |
|---|---|
| Company ID | The ID of the company to retrieve. This is a required string input where you enter the unique identifier of the company you want to get information about. |
Output
The node outputs JSON data representing the company details retrieved from the awork API. This typically includes fields such as company name, address, contact information, and other metadata associated with the company entity in awork. The output can be used downstream in the workflow for decision-making, logging, or integration with other systems.
No binary data output is expected from this operation.
Dependencies
- Requires an active connection to the awork API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The base URL for API requests is
https://api.awork.com. - The node sets headers to accept and send JSON content and identifies itself with a custom originating app header.
Troubleshooting
- Invalid Company ID: If the provided company ID does not exist or is malformed, the API will likely return an error indicating the resource was not found. Verify the company ID is correct.
- Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure the API key/token is correctly set up in n8n credentials.
- Network Issues: Connectivity problems may prevent reaching the awork API endpoint. Check network access and proxy settings if applicable.
- API Rate Limits: Excessive requests might trigger rate limiting. Implement retry logic or reduce request frequency if needed.
Links and References
- awork API Documentation (for detailed API endpoints and data structures)
- n8n Documentation (for general guidance on using credentials and HTTP request nodes)