Expertos en IA icon

Expertos en IA

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

Overview

This node allows sending text messages through the "Mensajería" resource of the Expertos en IA API. It is designed to send plain text messages to a specified chat ID, optionally replying to an existing message and controlling link preview display options.

Common scenarios include:

  • Automating customer support replies by sending predefined or dynamic text messages.
  • Broadcasting announcements or alerts to specific chat groups or users.
  • Integrating chatbot responses that require sending textual information.

For example, you can use this node to send a welcome message to a user when they start a conversation or to notify a team about an important update.

Properties

Name Meaning
ID del Chat The unique identifier of the chat where the text message will be sent (e.g., phone number with suffix).
Texto del Mensaje The actual text content of the message to send.
Responder a Mensaje (Optional) The ID of the message to which this message should reply.
Vista Previa de Enlaces Whether to show a link preview for URLs included in the message (true/false).
Vista Previa de Alta Calidad Whether to use a high-quality link preview if available (true/false).

Output

The node outputs a JSON object representing the response from the Expertos en IA API after sending the text message. This typically includes details such as message status, IDs, timestamps, or any metadata returned by the API confirming the message was sent successfully.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for the Expertos en IA service to authenticate requests.
  • Needs network access to https://api.expertosenia.com to perform API calls.
  • The node expects the session name to be set in credentials or defaults to "default".

Troubleshooting

  • Invalid Chat ID: If the chat ID format is incorrect or the chat does not exist, the API may return an error. Verify the chat ID matches the expected format (usually a phone number followed by @c.us).
  • Authentication Errors: Missing or invalid API key will cause authentication failures. Ensure the API key credential is correctly configured.
  • Empty Required Fields: Omitting required fields like "Texto del Mensaje" or "ID del Chat" will result in errors. Make sure all mandatory inputs are provided.
  • Reply to Nonexistent Message: Specifying a reply_to message ID that does not exist or is invalid may cause the API to reject the request.
  • Link Preview Issues: If link previews do not appear as expected, check the boolean flags for enabling previews and whether the links in the message are valid URLs.

If the node throws an error, it usually contains a message describing the issue. Using the "Continue On Fail" option can help handle errors gracefully during workflows.

Links and References

Discussion