parsing gmail message automatically and inserting results into google spreadsheet -
a colleague of mine small builder here in london. works on town. uses many different suppliers.
most suppliers send him sales invoice via email when buys something.
my friend set gmail address used suppliers. emails sent "automagically" processed , contents inserted google spreadsheet ?
what relative practicality of i've outlined ?
tom
so, query boils down 2 questions:
- save pdf attachments inbox google drive
- parse pdfs , store data google spreadsheet
save pdf attachments
this can achieved processing attachments emails , storing them google drive. this link achieve same. kindly go through script provided in sheet better understanding.
parse pdf attachments
after storing pdfs in google drive, retrieve content via document class
using method getblob
or getbody
per requirement , store in google spreadsheets.
Comments
Post a Comment