Toolzz Insert Student On Class icon

Toolzz Insert Student On Class

Get User Info of Toolzz API

Overview

The Toolzz Insert Student On Class node is designed to interact with the Toolzz API, specifically to retrieve information about the currently authenticated user. It performs a GET request to the /api/users/me endpoint of the selected Toolzz environment using a provided access token. This node is useful in scenarios where you need to fetch user details from Toolzz as part of an n8n workflow, such as verifying user identity, retrieving profile data, or integrating user information into other systems.

Practical examples:

  • Fetching the current user's profile to personalize subsequent workflow steps.
  • Validating that the access token is working and corresponds to the expected user.
  • Integrating Toolzz user data with other platforms (e.g., CRM, email marketing).

Properties

Name Type Meaning
AccessToken String The bearer token used for authenticating requests to the Toolzz API.
Ambiente Options Selects the Toolzz environment (Prod, Homol, Release) to which the API request is sent.
ID Do Curso String The course ID. (Note: Not used in this operation.)

Output

The node outputs a JSON object containing the user information returned by the /api/users/me endpoint. The exact structure depends on the Toolzz API, but typically includes fields such as user ID, name, email, and other profile details.

Example output:

{
  "id": 123,
  "name": "John Doe",
  "email": "john.doe@example.com",
  // ...other user fields
}
  • The output is always in JSON format.
  • No binary data is produced.

Dependencies

  • Requires a valid AccessToken for the Toolzz API.
  • Internet access to the selected Toolzz environment (Prod, Homol, or Release).
  • No additional n8n credentials are required.

Troubleshooting

Common issues:

  • Invalid or expired AccessToken:
    • Error message: 401 Unauthorized or similar.
    • Resolution: Ensure the access token is correct and has not expired.
  • Incorrect Ambiente selection:
    • Error message: Network errors or unexpected responses.
    • Resolution: Verify that the selected environment URL is correct and accessible.
  • Network connectivity issues:
    • Error message: Request timeout or connection refused.
    • Resolution: Check network settings and ensure the n8n instance can reach the Toolzz API.

Links and References

Discussion