Tracker icon

Tracker

Ping Tracker endpoint

Actions4

Overview

The "Tracker" node is designed to interact with a Tracker API endpoint, specifically providing an operation to reset a resource identified by its name. This node would be beneficial in scenarios where you need to programmatically reset the state or data associated with a particular named entity on the Tracker service. For example, it could be used to reset counters, clear logs, or reinitialize settings for a specific tracker by specifying its name.

Practical Example:
If you have a system that tracks user activity and you want to reset the activity count for a user called "test", you can use this node to send a reset command for that user.

Properties

Name Meaning
Name The identifier of the resource to reset. Used as /reset/<name>. Required.
Init An optional numeric value to initialize the resource after reset.

Output

  • The output will be a JSON object reflecting the response from the Tracker API after performing the reset operation. The structure of this JSON depends on the API's implementation but typically includes status information about the reset action.
  • No binary data is produced by this node.

Dependencies

  • External Service: Requires access to a Tracker API endpoint.
  • API Key/Credentials: Needs trackerApi credentials, including a domain (used as the base URL).
  • n8n Configuration: Ensure the credential named trackerApi is set up with the correct domain and any required authentication details.

Troubleshooting

  • Missing Credentials:
    Error: "No credentials found for 'trackerApi'."
    Solution: Make sure you have configured the trackerApi credentials in n8n.

  • Invalid Name:
    If the specified name does not exist on the Tracker service, the API may return a "Not Found" or similar error. Double-check the spelling and existence of the resource.

  • Network/Connection Issues:
    Errors related to network connectivity or incorrect domain configuration will prevent the node from reaching the Tracker API. Verify your network connection and the correctness of the domain in your credentials.

Links and References

Discussion