Show User Info icon

Show User Info

Get User Info of Toolzz API

Overview

The ToolzzShowUserInfo node retrieves information about the currently authenticated user from the Toolzz API. It is useful in workflows where you need to fetch and utilize user profile data, such as personalizing automation steps, validating access, or logging user activity. For example, you might use this node to get a user's details before performing actions on their behalf or to display user-specific information in a dashboard.

Properties

Name Type Meaning
AccessToken String The OAuth2 or API token used for authenticating requests to the Toolzz API.
Ambiente Options Selects the environment (Prod, Homol, Release) which determines the base URL for the API.

Output

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

Example output:

[
  {
    "id": "12345",
    "name": "John Doe",
    "email": "john.doe@example.com",
    // ...other user fields
  }
]
  • The output is always an array of one object representing the current user.
  • No binary data is produced.

Dependencies

  • Requires a valid AccessToken for authentication with the Toolzz API.
  • Internet access to the selected Toolzz API environment (Prod, Homol, or Release).

Troubleshooting

  • Invalid or expired AccessToken:
    Error: 401 Unauthorized or similar.
    Solution: Ensure the provided AccessToken is correct and has not expired.

  • Incorrect Ambiente selection:
    Error: Network errors or 404 Not Found.
    Solution: Verify that the selected environment is correct and accessible.

  • API connectivity issues:
    Error: Timeout or connection refused.
    Solution: Check network connectivity and firewall settings.

Links and References

Discussion