DEV Community

Discussion on: Google sheets API and Node.js

Collapse
 
teegreat profile image
Tee

Thank you so much how do I implement this in a react nodejs app already running nodemailer to send inputs to email

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