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 integration with the secure API of Expertos en IA to interact with messaging services, chats, and sessions. Specifically, for the Chats y Mensajes resource and the Empezar a Escribir operation, the node sends a typing indicator to a specified chat. This is useful in scenarios where you want to show that a user or bot is currently typing a message in a chat, enhancing the interactivity and responsiveness of chatbots or automated messaging workflows.

Practical example:
If you have an automated chatbot and want to simulate human-like behavior by showing the typing indicator before sending a message, you can use this operation to trigger the typing status in the chat identified by its ID.

Properties

Name Meaning
ID del Chat The unique identifier of the chat where the typing indicator will be shown (e.g., NUMERO@c.us).

Output

The output of this operation is a JSON object containing the response from the Expertos en IA API after requesting to start the typing indicator in the specified chat. The exact structure depends on the API response but generally includes confirmation or status information about the typing indicator action.

No binary data is output by this operation.

Example output JSON structure (simplified):

{
  "success": true,
  "message": "Typing indicator started",
  "chatId": "123456789@c.us"
}

Dependencies

  • Requires an API key credential for the Expertos en IA service.
  • The node makes HTTP requests to https://api.expertosenia.com/api/startTyping.
  • Requires proper session management via a session name (default is "default").
  • The node expects the chat ID to be correctly formatted and valid within the Expertos en IA system.

Troubleshooting

  • Common issues:

    • Invalid or missing chat ID: Ensure the chat ID is correct and exists.
    • Authentication errors: Verify that the API key credential is set up properly and has the necessary permissions.
    • Network or API endpoint errors: Check connectivity to https://api.expertosenia.com and confirm the API is operational.
    • Session-related errors: Confirm the session name is valid and active.
  • Error messages:

    • "Operación no válida." — This indicates an invalid operation was requested; verify that the operation parameter is set to "startTyping".
    • HTTP 401 Unauthorized — Usually means the API key is invalid or missing.
    • HTTP 404 Not Found — Could indicate the chat ID does not exist or the endpoint URL is incorrect.

To resolve these errors, double-check input parameters, credentials, and network access.

Links and References

Discussion