Mercado Libre - Answer Question
Description
Section titled “Description”This module allows answering questions that buyers ask about your products. Answering quickly improves your ranking and reputation.
Configuration
Section titled “Configuration”Credentials
Section titled “Credentials”This module requires Mercado Libre (OAuth) credentials with the following fields:
| Field | Description |
|---|---|
access_token | OAuth access token with write permissions |
Parameters
Section titled “Parameters”| Field | Type | Required | Description |
|---|---|---|---|
credentials_id | string | Yes | Credentials ID |
question_id | string | Yes | Question ID to answer |
text | string | Yes | Answer text |
Output
Section titled “Output”{ "success": true, "answer": { "question_id": 123456789, "text": "Hola! Si, tenemos stock disponible. Cualquier consulta estamos a las ordenes.", "date_created": "2024-01-15T10:35:00.000-03:00", "status": "ACTIVE" }, "question_id": 123456789, "answer_text": "Hola! Si, tenemos stock disponible...", "message": "Question 123456789 answered successfully"}Usage Example
Section titled “Usage Example”Simple answer
Section titled “Simple answer”{ "credentials_id": "meli_cuenta", "question_id": "123456789", "text": "Hola! Si, tenemos stock disponible. Gracias por tu consulta!"}Shipping answer
Section titled “Shipping answer”{ "credentials_id": "meli_cuenta", "question_id": "987654321", "text": "El envio es gratis a todo el pais. Demora 3-5 dias habiles. Saludos!"}Technical information answer
Section titled “Technical information answer”{ "credentials_id": "meli_cuenta", "question_id": "456789123", "text": "Las medidas son: Alto 15cm, Ancho 30cm, Profundidad 20cm. Peso: 2.5kg. Te sirve?"}Answer inviting to buy
Section titled “Answer inviting to buy”{ "credentials_id": "meli_cuenta", "question_id": "789123456", "text": "Si, es compatible! Compralo sin problemas y ante cualquier duda estamos para ayudarte."}Example Workflows
Section titled “Example Workflows”Automatic response with AI
Section titled “Automatic response with AI”[Question webhook] -> [MeliGetQuestions] -> [ChatGPT response] -> [MeliAnswerQuestion]Predefined responses
Section titled “Predefined responses”[Question received] -> [Classify topic] -> [Get base response] -> [MeliAnswerQuestion]Assisted manual response
Section titled “Assisted manual response”[MeliGetQuestions unanswered] -> [Show in panel] -> [User writes] -> [MeliAnswerQuestion]Usage with ExecuteScript
Section titled “Usage with ExecuteScript”// Generate response based on questionconst pregunta = ctx.data.question;const item = ctx.data.item;
// Predefined responses by keywordconst respuestas = { stock: `Hola! Si, tenemos ${item.available_quantity} unidades en stock. Compralo sin problemas!`, envio: `El envio es ${item.shipping?.free_shipping ? 'GRATIS' : 'con costo'} a todo el pais. Llega en 3-5 dias habiles.`, precio: `El precio publicado es el final. No hacemos descuentos fuera de las ofertas de Mercado Libre.`, garantia: `${item.warranty || 'Tiene garantia de 6 meses por defectos de fabricacion.'}`, default: `Hola! Gracias por tu consulta. Podrias darnos mas detalles sobre tu duda?`};
const texto = pregunta.text.toLowerCase();let respuesta = respuestas.default;
if (texto.includes('stock') || texto.includes('disponible')) { respuesta = respuestas.stock;} else if (texto.includes('envio') || texto.includes('demora')) { respuesta = respuestas.envio;} else if (texto.includes('precio') || texto.includes('descuento')) { respuesta = respuestas.precio;} else if (texto.includes('garantia')) { respuesta = respuestas.garantia;}
ctx.data = { question_id: pregunta.id, text: respuesta};Best Practices
Section titled “Best Practices”- Answer quickly (less than 1 hour is ideal)
- Be friendly and professional
- Include useful information
- Invite to buy at the end
- Use “Regards” or “Thanks for your inquiry”
- Include contact information (phone, email, WhatsApp)
- Mention other platforms
- Use offensive language
- Provide false information
- Ignore the question
Common Errors
Section titled “Common Errors”| Error | Cause | Solution |
|---|---|---|
| ”Question not found” | Incorrect ID | Verify question_id |
| ”Question already answered” | Already answered | Cannot answer twice |
| ”Invalid answer text” | Invalid text | Verify it is not empty |
| ”Answer contains forbidden content” | Forbidden content | Remove contact information |
API Used
Section titled “API Used”- API: Mercado Libre API
- Endpoint:
POST /answers - Documentation: https://developers.mercadolibre.com/
- You cannot edit an answer after sending it
- Including contact information may result in penalties
- Response time affects your ranking
- Answers are public and visible to everyone
- Mercado Libre may remove answers that violate policies
Related Nodes
Section titled “Related Nodes”- MeliGetQuestions - Get pending questions to answer
- MeliGetItems - Get related item information
- MeliGetUser - Get data of the user who asked