Expertos en IA icon

Expertos en IA

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

Overview

This node allows sending various types of messages through the secure API of "Expertos en IA," focusing here on the "Enviar Imagen" (Send Image) operation within the "Mensajería" (Messaging) resource. It enables users to send an image to a specified chat by providing the chat ID and the URL of the image, optionally including a caption and replying to a specific message.

Common scenarios include:

  • Automating image sharing in customer support chats.
  • Broadcasting promotional images or product photos to clients.
  • Sending visual content as part of chatbot interactions.

For example, you can use this node to send a product image with a description to a customer's WhatsApp chat automatically when they inquire about it.

Properties

Name Meaning
ID del Chat The unique identifier of the chat where the image will be sent (e.g., phone_number@c.us).
URL de la Imagen The direct URL of the image file to send.
Título de la Imagen Optional text caption that accompanies the image.
Responder a Mensaje Optional ID of a message to which this image message should reply.

Output

The node outputs a JSON object containing the response from the Expertos en IA API after attempting to send the image. This typically includes confirmation details such as message IDs, status, or error information if the request failed.

The output structure is:

{
  "json": {
    // API response data confirming the image was sent or error details
  },
  "pairedItem": {
    "item": <index_of_input_item>
  }
}

No binary data is output by this node for the "Enviar Imagen" operation.

Dependencies

  • Requires an active API key credential for the Expertos en IA service.
  • Needs network access to the Expertos en IA API endpoint at https://api.expertosenia.com/.
  • The node uses HTTP POST requests to send image data via URLs.
  • Proper session management is handled via a session name parameter (defaulting 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 pattern (e.g., number@c.us).
  • Image URL Issues: The image URL must be publicly accessible and point directly to an image file. Private URLs or unsupported formats may cause failures.
  • Missing or Invalid API Key: Ensure the API key credential is correctly configured and valid.
  • Empty Caption or Reply ID: Empty strings for optional fields like caption or reply_to are sanitized internally; however, ensure these are either meaningful or left empty.
  • API Errors: The node surfaces API errors in the output JSON under an error field if continueOnFail is enabled. Review error messages for guidance.

Links and References

Discussion