Expertos en IA icon

Expertos en IA

Nodo oficial para interactuar con la API segura de Expertos en IA

Overview

This node, named "Expertos en IA," provides an interface to interact with the secure API of Expertos en IA. It supports multiple resources including messaging, chats, and sessions. Specifically for the Sessions resource, it allows operations such as retrieving session information and logging out (closing) a session.

The Cerrar Sesión (Logout) operation under the Sessions resource enables users to terminate a specific session by its name. This is useful in scenarios where you want to programmatically end a session, for example, to ensure security by closing inactive or compromised sessions, or to manage session lifecycle in automated workflows.

Practical example:
You have an automation that monitors user activity and when a certain condition is met (e.g., user inactivity timeout), this node can be used to log out the corresponding session by specifying its name, effectively ending the session remotely.


Properties

Name Meaning
Nombre de la Sesión The name of the session to operate on. For logout, specifies which session to close.

Output

The node outputs JSON data representing the response from the Expertos en IA API for the requested operation.

For the Cerrar Sesión (Logout) operation, the output JSON will contain the API's response confirming the session logout status. The exact structure depends on the API but typically includes success confirmation or error details.

No binary data output is produced by this operation.


Dependencies

  • Requires an API key credential for authentication with the Expertos en IA API.
  • The node makes HTTP requests to https://api.expertosenia.com/.
  • The session name is used as part of the API endpoint path for session-related operations.
  • Proper configuration of the API key credential in n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Incorrect or missing API key credential will cause authentication failures.
    • Providing a non-existent or incorrect session name may result in errors or no action.
    • Network connectivity issues can prevent communication with the API endpoint.
  • Error messages:

    • "Operación no válida." — This indicates an invalid operation was selected; ensure the operation matches the resource.
    • API errors returned in the JSON response will be included in the node output under an error field if continueOnFail is enabled.
    • HTTP request failures or unexpected responses will throw errors; verify API availability and credentials.
  • Resolution tips:

    • Double-check the session name spelling and existence.
    • Verify the API key credential is correctly set up and has required permissions.
    • Ensure network access to api.expertosenia.com is not blocked by firewalls.

Links and References

Discussion