Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

203
Vistas
Zapier Zap no se ejecuta cuando se supone que debe

Creé un zap que se suponía que se ejecutaría cuando se agregara un nuevo cliente potencial en nuestra plataforma y lo guardé en las hojas de Google. Cuando pruebo el gatillo, funciona correctamente. Sin embargo, cuando enciendo el zap, no se activa cuando se agrega un nuevo cliente potencial. Incluso cuando lo ejecuto manualmente con "Run Zap", dice que no hay nuevos clientes potenciales, pero los hay. Cuando voy a probar el gatillo haciendo clic en "cargar más", obtiene el nuevo cable sin problemas. Intenté encender y apagar el zap, nada parece funcionar. Aquí está el código que estoy usando para la solicitud.

 const currentDate = new Date(); const year = currentDate.getFullYear(); const month = currentDate.getMonth() + 1; const day = currentDate.getDate(); const options = { url: 'api_url', method: 'GET', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'x-api-key': bundle.authData['api-key'], 'client_id': bundle.authData['client_id'] }, params: { 'year': year, 'month': month, 'day': day, 'page_size': '1000' } } return z.request(options) .then((response) => { response.throwForStatus(); const results = response.json; // You can do any parsing you need for results here before returning them for(let i = 0; i < results.data.length; i++){ if(typeof results.data[i].id === 'undefined'){ results.data[i].id = i; } //formating page urls let charArr = results.data[i].page_url_list.split(''); for(let j = 0; j < charArr.length; j++){ if(charArr[j] === /\n/ || charArr[j] === /\r/){ charArr[j] = " "; } } const jsonObj = JSON.parse(charArr.join('')); const URLS = []; for(let k = 0; k < jsonObj.pages.length; k++){ URLS.push(jsonObj.pages[k].page_url + "\n"); } results.data[i].page_url_list = URLS.toString(); //formating the timestamp results.data[i].time = new Date(Number(results.data[i].time)); } return results.data; });
about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

Para tales disparadores cuando se agrega un nuevo cliente potencial, debe usar webhooks ( https://zapier.com/page/webhooks/ ) o crear sus aplicaciones zapier usando resthooks ( https://platform.zapier.com/cli_tutorials/resthooks ).

about 4 years ago · Juan Pablo Isaza Denunciar

0

Acabo de configurar results.data[i].id = results.data[i].time y el zap ahora funciona correctamente

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda