Actions109
- Asset Layouts Actions
- Asset Passwords Actions
- Assets Actions
- Get Assets
- Get Companies Company Id Assets
- Post Companies Company Id Assets
- Get Companies Company Id Assets Id
- Put Companies Company Id Assets Id
- Delete Companies Company Id Assets Id
- Put Companies Company Id Assets Id Archive
- Put Companies Company Id Assets Id Unarchive
- Put Companies Company Id Assets Id Move Layout
- Cards Actions
- Companies Actions
- Expirations Actions
- Exports Actions
- Folders Actions
- IP Addresses Actions
- Lists Actions
- Magic Dash Actions
- Matchers Actions
- Networks Actions
- Password Folders Actions
- Procedure Tasks Actions
- Websites Actions
- Procedures Actions
- Public Photos Actions
- Rack Storage Items Actions
- Rack Storages Actions
- Relations Actions
- Uploads Actions
- Users Actions
- Activity Logs Actions
- Articles Actions
Overview
This node archives a specific company in the "Companies" resource by its ID. It is useful for workflows where you need to programmatically archive (deactivate or hide) a company record within your system, such as when a company is no longer active or needs to be removed from regular listings.
Example scenarios:
- Automatically archiving companies that have been inactive for a certain period.
- Integrating with other systems to archive companies based on external triggers or business rules.
Properties
| Name | Type | Meaning |
|---|---|---|
| Id | Number | ID of the company to archive. Required field. |
Output
The node outputs a JSON object representing the result of the archive operation. The exact structure depends on the API response, but typically it will include confirmation of the archival and possibly details about the archived company.
Dependencies
- External Service: Requires access to the AvantGuard Hudu API.
- API Key/Credentials: Needs valid
avantguardHuduApicredentials configured in n8n, including the base URL (baseUrl) for the API. - n8n Configuration: Ensure the credentials are set up in n8n under the name
avantguardHuduApi.
Troubleshooting
Missing or Invalid Credentials:
Error: "401 Unauthorized" or similar.
Solution: Check that theavantguardHuduApicredentials are correctly configured and have the necessary permissions.Invalid Company ID:
Error: "404 Not Found" or similar.
Solution: Verify that the provided company ID exists and is correct.Network/Connection Issues:
Error: "Network Error" or timeouts.
Solution: Ensure that the base URL is correct and reachable from your n8n instance.
Links and References
- n8n Documentation: Creating Custom Nodes
- AvantGuard Hudu API Documentation (Replace with actual link if available)