The Companies API icon

The Companies API

Access company data, enrichment, analytics and more using The Companies API

Overview

This node integrates with The Companies API to update team information within the system. It allows users to modify details of a specific team such as its name, country, and website URL by specifying the team's unique identifier.

Common scenarios where this node is beneficial include:

  • Keeping team records up-to-date in a CRM or internal database.
  • Automating updates to team profiles based on external data sources.
  • Managing organizational structures programmatically during onboarding or restructuring.

For example, you could use this node to update the website URL of a marketing team after a rebranding or change the country attribute when a team relocates.

Properties

Name Meaning
Team ID The unique numeric identifier of the team to update.
Country The country associated with the team (e.g., "USA", "Germany").
Name The new name for the team.
Website url The updated website URL for the team (e.g., "https://example.com").

Output

The node outputs JSON data representing the updated team information returned from The Companies API. The structure typically includes the updated fields and any additional metadata provided by the API response.

If an error occurs during the update, the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires an API token credential for authenticating requests to The Companies API.
  • The node uses the official SDK client of The Companies API to perform operations.
  • No additional environment variables are required beyond the API token credential configured in n8n.

Troubleshooting

  • Unknown operation error: If the operation parameter is incorrect or unsupported, the node throws an error indicating "Unknown operation". Ensure the operation is set exactly to "updateTeam".
  • SDK method not found: If the SDK client does not have the expected method, it throws an error like "SDK method updateTeam not found". This may indicate a version mismatch or misconfiguration of the SDK.
  • Invalid or missing Team ID: Since Team ID is required as a query parameter, omitting it or providing an invalid value will cause the API call to fail.
  • API authentication errors: If the API token is invalid or expired, the node will return authentication errors. Verify that the API token credential is correctly configured and active.
  • Empty or null property values: The node cleans input properties by removing empty or null values before sending the request. Make sure to provide valid values for the fields you want to update.

To resolve most issues, verify the input parameters, ensure the API token is valid, and confirm the operation is set to "updateTeam".

Links and References

Discussion