Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

331
Visualizações
Using node.js to automatically update MSSQL table on Google Spreadsheet data change

I would like to ask if there is any way to use node.js or javascript to automatically detect google spreadsheet data change and update the changes in MSSQL database table?

I have read several articles but it all requires the usage of third party applications.

Any help will be appreciated. Thank you!

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

You can subscribe to changes to a file by using the Watch method in NodeJS.

  const res = await drive.files.watch({
    acknowledgeAbuse: false,
    fileId: 'id-value',
    supportsAllDrives: false,   
    requestBody: {
     "address": "my_address",
     "expiration": "my_expiration",
     "id": "my_id",
     "kind": "my_kind",
     "params": {},
     "payload": false,
     "resourceId": "my_resourceId",
     "resourceUri": "my_resourceUri",
     "token": "my_token",
     "type": "my_type"
     }
    },
  });
  console.log(res.data);

You can check how to implement the service from the Node JS documentation on https://googleapis.dev/nodejs/googleapis/latest/drive/classes/Resource$Files-1.html#watch

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda