DEV Community

Discussion on: Google sheets API and Node.js

Collapse
 
siddharth151199 profile image
siddharth • Edited

Hey, sorry for late reply. Follow the above steps and add "await sheet.spreadsheets.values.append({
spreadsheetId,
range: "Sheet1",
valueInputOption: "USER_ENTERED",
resource :{
values:[
[your values],
]
}
})
"
in your nodemailer route and pass the values you want to pass