Skip to content

Mercado Libre - Get Questions

This module allows querying questions that buyers ask about your products, with filters by status, item, and more.

This module requires Mercado Libre (OAuth) credentials with the following fields:

FieldDescription
access_tokenValid OAuth access token
FieldTypeRequiredDescription
credentials_idstringYesCredentials ID
question_idstringNoSpecific question ID
item_idstringNoFilter by item
seller_idstringNoSeller ID
statusstringNoQuestion status
unanswered_onlybooleanNoOnly unanswered
sortstringNoSort field
sort_typestringNoDESC or ASC
limitnumberNoQuestions per page
offsetnumberNoOffset
ValueDescription
UNANSWEREDUnanswered
ANSWEREDAnswered
CLOSED_UNANSWEREDClosed unanswered
UNDER_REVIEWUnder review
{
"success": true,
"questions": [
{
"id": 123456789,
"text": "Tienen stock disponible?",
"status": "UNANSWERED",
"date_created": "2024-01-15T10:30:00.000-03:00",
"item_id": "MLA123456789",
"from": {
"id": 987654321,
"nickname": "COMPRADOR123"
},
"answer": null
}
],
"total": 15,
"limit": 50,
"offset": 0,
"message": "15 questions retrieved"
}
{
"credentials_id": "meli_cuenta",
"question_id": "123456789"
}
{
"credentials_id": "meli_cuenta",
"unanswered_only": true
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"status": "UNANSWERED"
}
{
"credentials_id": "meli_cuenta",
"sort": "date_created",
"sort_type": "DESC",
"limit": 50
}
{
"credentials_id": "meli_cuenta",
"status": "ANSWERED",
"limit": 100
}
FieldDescription
idUnique question ID
textQuestion text
statusCurrent status
date_createdCreation date
item_idRelated item ID
fromBuyer information
answerAnswer (if exists)
deleted_from_listingIf deleted
[Question webhook] -> [MeliGetQuestions] -> [AI generate response] -> [MeliAnswerQuestion]
[Schedule every 5min] -> [MeliGetQuestions unanswered] -> [Alert if pending]
[Daily schedule] -> [MeliGetQuestions] -> [Classify by topic] -> [Report]
// Analyze pending questions
const preguntas = ctx.data.questions;
// Classify by query type
const clasificacion = {
stock: [],
envio: [],
precio: [],
otro: []
};
preguntas.forEach(p => {
const texto = p.text.toLowerCase();
if (texto.includes('stock') || texto.includes('disponible')) {
clasificacion.stock.push(p);
} else if (texto.includes('envio') || texto.includes('demora')) {
clasificacion.envio.push(p);
} else if (texto.includes('precio') || texto.includes('descuento') || texto.includes('oferta')) {
clasificacion.precio.push(p);
} else {
clasificacion.otro.push(p);
}
});
ctx.data = {
total: preguntas.length,
sobre_stock: clasificacion.stock.length,
sobre_envio: clasificacion.envio.length,
sobre_precio: clasificacion.precio.length,
otras: clasificacion.otro.length,
preguntas_clasificadas: clasificacion
};
  • Unanswered questions affect reputation
  • Response time is a ranking factor
  • Deleted or spam questions have a special status
  • It is recommended to respond in less than 1 hour
  • Mercado Libre may remove questions that violate policies