Teamleader icon

Teamleader

Consume Teamleader API

Actions60

Overview

This node integrates with the Teamleader API to retrieve detailed information about various resources, including products. Specifically, for the Products resource and the Info operation, it fetches detailed data about a single product identified by its ID.

Common scenarios where this node is beneficial include:

  • Retrieving up-to-date product details for use in workflows such as order processing or inventory management.
  • Integrating product information into CRM or ERP systems.
  • Automating reporting or analytics that require product metadata.

For example, you might use this node to get the full details of a product when a new order is created, ensuring your workflow has all necessary product attributes.

Properties

Name Meaning
ID The unique identifier of the product to retrieve information about. This is a required string input.

Output

The node outputs a JSON object containing the detailed information of the requested product. The structure corresponds directly to the Teamleader API's product info response, typically including fields such as product name, description, price, SKU, and other metadata.

If multiple items were returned (not typical for an Info operation), they would be output as an array of objects. However, for the Products Info operation, the output is a single product object.

No binary data output is produced by this operation.

Dependencies

  • Requires an OAuth2 API credential configured for Teamleader with appropriate permissions.
  • The node makes HTTP POST requests to the Teamleader API endpoint https://api.focus.teamleader.eu using the /products.info operation path.
  • Proper API authentication token must be set up in n8n credentials for successful requests.

Troubleshooting

  • No data returned but request was successful: This message indicates the API call succeeded but returned no product data. Verify the product ID is correct and exists in Teamleader.
  • No data got returned: This error means the API response did not contain expected data. Check if the product ID is valid and the API service is operational.
  • Authentication errors: Ensure the OAuth2 credentials are correctly configured and have not expired.
  • Invalid ID format: The product ID must be a valid string matching Teamleader's product identifiers.

To resolve these issues, confirm the input ID, check API credentials, and review Teamleader API status.

Links and References

Discussion