Teamleader icon

Teamleader

Consume Teamleader API

Actions60

Overview

This node integrates with the Teamleader API to perform various operations on different resources such as users, companies, deals, tickets, and more. Specifically, for the Companies resource with the Delete operation, it allows you to delete a company by specifying its unique ID.

Common scenarios where this node is beneficial include automating CRM workflows, managing company records programmatically, and cleaning up outdated or incorrect company data in Teamleader without manual intervention.

For example, you could use this node to automatically remove companies from your Teamleader account when they are marked as inactive in another system, ensuring your CRM stays up-to-date.

Properties

Name Meaning
ID The unique identifier of the company to delete. This is required to specify which company record should be removed.

Output

The output of the node is a JSON array containing the response from the Teamleader API after attempting to delete the specified company. Typically, this will include confirmation of deletion or relevant status information.

  • The json output field contains the API response data.
  • No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Teamleader API using OAuth2 authentication.
  • The node expects a valid API key credential configured in n8n for authenticating requests.
  • Network access to https://api.focus.teamleader.eu is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent company ID will result in an error from the API.
    • Missing or expired API credentials will cause authentication failures.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "No data got returned": Indicates that the API response did not contain expected data; verify the company ID and API availability.
    • Authentication errors: Check that the OAuth2 credentials are correctly set up and have not expired.
    • If the node is set to continue on failure, errors will be included in the output JSON with an error message field.

Links and References

Discussion