Toolzz Painel User icon

Toolzz Painel User

Get Painel User of Toolzz API

Overview

The Toolzz Painel User node retrieves user history data from the Toolzz API. It performs an authenticated HTTP GET request to a specific endpoint, allowing users to select the environment (production, homologation, or release) and provide an access token for authorization.

Common scenarios:

  • Fetching student history data from the Toolzz platform for reporting or integration with other systems.
  • Automating the retrieval of user activity logs for analytics or monitoring purposes.

Practical example:
A school administrator could use this node in an n8n workflow to periodically pull student history data from the Toolzz API and store it in a database or send notifications based on recent activities.

Properties

Name Type Meaning
AccessToken String The bearer token used for authenticating requests to the Toolzz API.
Ambiente Options Selects the target environment for the API call: Prod, Homol, or Release.

Output

The node outputs the JSON response received from the /api/history/student endpoint of the selected Toolzz API environment. The structure of the output depends on the API's response, but typically it will be an array of objects representing student history records.

Example output:

[
  {
    "id": 123,
    "studentId": 456,
    "action": "login",
    "timestamp": "2024-06-01T12:34:56Z"
    // ...other fields as provided by the API
  }
]

Note: The actual fields depend on the Toolzz API.

Dependencies

  • External Service: Requires access to the Toolzz API at one of the specified environments.
  • API Key: A valid AccessToken (bearer token) is required for authentication.
  • n8n Configuration: No special credentials configuration; the access token is provided directly as a property.

Troubleshooting

Common issues:

  • Invalid or expired AccessToken:

    • Error message: 401 Unauthorized or similar.
    • Resolution: Ensure the AccessToken is correct and has not expired.
  • Incorrect Ambiente selection:

    • Error message: Network errors or 404 Not Found.
    • Resolution: Verify that the selected environment is correct and accessible.
  • Network connectivity problems:

    • Error message: Connection timeout or DNS errors.
    • Resolution: Check network settings and ensure the n8n instance can reach the Toolzz API endpoints.

Links and References

Discussion