Expertos en IA icon

Expertos en IA

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

Overview

This node allows sending a contact card (VCard) via a messaging API. It is part of a broader set of messaging operations, enabling users to share contact information directly in chat conversations. This is useful for automating the distribution of contact details in customer support, sales outreach, or networking scenarios.

For example, you can automatically send a VCard with a salesperson’s contact info to a client after a meeting or share emergency contact details in a group chat.

Properties

Name Meaning
ID del Chat The identifier of the chat where the contact card will be sent (e.g., phone number@c.us).
Nombre del Contacto Full name of the contact to include in the VCard.
Teléfono del Contacto Phone number of the contact to include in the VCard.
Responder a Mensaje Optional message ID to which this contact card message should reply.

Output

The node outputs a JSON object representing the response from the messaging API after attempting to send the contact card. The structure typically includes confirmation details or error messages returned by the API.

No binary data output is involved in this operation.

Example output JSON snippet:

{
  "messageId": "abc123",
  "status": "sent",
  "chatId": "123456789@c.us"
}

Dependencies

  • Requires an API key credential for authenticating with the Expertos en IA messaging API.
  • The node sends HTTP requests to https://api.expertosenia.com/api/sendContactVcard.
  • Proper session management is required; a session name is used internally (default is "default").

Troubleshooting

  • Common issues:

    • Invalid or missing chat ID format may cause message delivery failure.
    • Incorrect phone number format in the contact card could lead to invalid VCard errors.
    • Missing or expired API key credential will result in authentication errors.
    • Network connectivity problems can cause request timeouts or failures.
  • Error messages:

    • "Operación no válida." — Indicates an unsupported or incorrectly specified operation.
    • API errors related to authorization usually mean the API key is invalid or missing.
    • If the reply_to message ID is invalid or does not exist, the API might reject the message.
  • Resolutions:

    • Verify that the chat ID and phone numbers are correctly formatted.
    • Ensure the API key credential is configured and valid.
    • Check network connectivity and API endpoint availability.
    • Use the optional "Responder a Mensaje" only if replying to an existing message.

Links and References

Discussion