Тёмный

Google Forms to PDF & Email while storing data in Google Sheets 

Learn Google Sheets & Excel Spreadsheets
Подписаться 274 тыс.
Просмотров 163 тыс.
50% 1

Learn how to
1.) take a Google Forms submission
2.) store it in Google Sheets spreadsheet
3.) convert the data submitted to a PDF using Google Doc template
4.) store the PDF in Google Drive and add a link to the spreadsheet
5.) email the PDF as attachment to the person that submitted the Google Form
We'll be of course using App Script.
#googleform #pdf #email

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 569   
@allisonharvill936
@allisonharvill936 3 года назад
I have no formal tech training but have been designated the tech person for a small non-profit and needed to do exactly what this tutorial does in a needed it done last week time frame. Thank you for making these videos. They are a lifesaver.
@roomforrentcuba
@roomforrentcuba 3 года назад
Dude, you have absolutely no idea about how much easier my life has become since I found you. Of course it takes a little bit of time and brains to understand what you are explaining and adapt it to my specific needs (I'm no programmer), however... the time that this automations are earning me is countless,. My life is much easier now thanks to you. Thank you my friend, please, keep up the good work, we need you, hahaha :)
@corbettdestination5256
@corbettdestination5256 3 года назад
hi, do you have the code? could you please share?
@ridingwithcharley6821
@ridingwithcharley6821 2 года назад
With a little work, I was able to use this basic outline, modify it a little, and create an actual working invoice I can create from my phone that is ready to email without having to be near a printer and computer. I can now create an invoice immediately and email when I have finished the work order. Thanks for the video's... so much better than other YT channels.
@alekdaniels
@alekdaniels Год назад
The best part of this, aside from all these cool stuff, is how we were able to see the thought process of it all. Plus the troubleshooting bits really gave it an approachable feel. I feel confident I can do this.
@emingunduz4690
@emingunduz4690 Год назад
You make me feel like I'm the best coder 😄 It worked so much for my work. I create order form. No more losting papers. Thank you
@nikluz3807
@nikluz3807 4 года назад
I want to sincerely thank you for all of these tutorials. I got my degree last year and have been working with Google suite for several years now and just scored my first freelance programming job building an application in Google suite for a company
@ExcelGoogleSheets
@ExcelGoogleSheets 4 года назад
Cool!
@davidclough6288
@davidclough6288 3 года назад
This was AMAZING! It's the first time I've ever had no errors in my code. Thanks so much. I also appreciate how you didn't edit out your troubleshooting. That helped!
@daleramirez7438
@daleramirez7438 3 года назад
Hi! Were you able to make it work? I tried and copied what he did in the video but I got notified with exception: invalid argument: attachments I don't how to troubleshoot it. I have no background in programming. Can you help me? 🙂
@vrm2009
@vrm2009 Год назад
Thanks a ton for making this very useful video. This covered a lot of use cases and opened a ton of possibilities for future projects!! Quick tip for anyone who is facing the issue where google doc is getting created with values from form but the PDF doesnt reflect it, you can just add this line below before creating the PDF ie, last line of the createPDF() openDoc.saveAndClose(); const pdfFile = pdfFolder.createFile(blobPDF).setName("My PDF");
@cornevanzyl5880
@cornevanzyl5880 3 года назад
You have unlocked Pandora's box of creativity for me. Thank for teaching us🙏
@juniorwalewangko
@juniorwalewangko 4 года назад
I've tried and this is awesome. For me this method has create a paperless system for my work. Awesome..!!! Definetely going to learn alot from this channel. Keep up the good work.👍🏻🙏🏻🙏🏻
@ciarajanay23
@ciarajanay23 4 года назад
This is exactly what I needed! I am so proud of myself. I was able to follow along and using the Google App Script Reference you showed I was able to have it send as my alias and add an additional email to send the file to myself too! I will be doing more of your tutorials to learn more. And I have little to none Java Script knowledge.
@ExcelGoogleSheets
@ExcelGoogleSheets 4 года назад
Fantastic!
@RoiUltraviolet
@RoiUltraviolet 2 года назад
Excellent video, very good explanations with all the necessary details to understand simply and quickly. Congratulations and thank you for the remarkable quality of your knowledge sharing.
@mohnasnassr9816
@mohnasnassr9816 3 года назад
Great teaching skills. Awesome tutorials!
@bocobox
@bocobox 4 года назад
Addicted to your video. Just like daily routine. Thanks 😊
@gabrielcambronero4338
@gabrielcambronero4338 7 месяцев назад
It took me hours to do it, but bro.. you are something else.. really!! Thank you so much, you can't imagine how this is going to change my life!
@luiscorado2868
@luiscorado2868 4 года назад
Excellent like always!!!
@victormenna
@victormenna 3 года назад
This tutorial is a new art form. Amazing
@lasaventurasdevitoelgatoma3405
@lasaventurasdevitoelgatoma3405 4 года назад
ur channel it is going to be big in no time!! congratulations 4 the good work n sharing!!
@NamNguyen-hn5os
@NamNguyen-hn5os 3 года назад
thank you so much for this Video. Please keep up the good work. Much love from Vietnam!!
@revolvency
@revolvency 4 месяца назад
this is actually life changing for cheap marketers like me, thanks for the tutorial, much appreciated!
@TinaFasulo
@TinaFasulo 3 года назад
Thank you, this is great! I learnt lot of things watching your video!
@eugenepaulus9946
@eugenepaulus9946 3 года назад
Thank you for these videos. I appreciate you!
@rajeshparkar5683
@rajeshparkar5683 3 года назад
Thank you for step by step explanation
@therghammotlak2755
@therghammotlak2755 3 года назад
You are an amazing teacher
@huseyinataseven6032
@huseyinataseven6032 11 месяцев назад
A huuuuuuuuuuuge thumbs up!!! Thank you very much. You are a life saver.
@bokkenknuser
@bokkenknuser 4 года назад
This is brilliant! Thank you!
@ericagallego7825
@ericagallego7825 6 месяцев назад
you're real life saver. Please continue making videos about these.
@ekeretteekanem
@ekeretteekanem 3 года назад
huh.. super long and fun journey. Nicely delivered!
@hanshima_
@hanshima_ 4 года назад
Thank you so much. Just an incredible tutorial.
@harry33316
@harry33316 4 года назад
It’s very impressive! Thank you!
@ciarajanay23
@ciarajanay23 4 года назад
I really appreciate your channel!
@musicacafeinafan1
@musicacafeinafan1 3 года назад
Great job ! Very clear . Thank you !
@traingappscript3624
@traingappscript3624 4 года назад
Really great video here. Thanks !
@Mikarevival
@Mikarevival 4 года назад
Great Job!!!
@pedrotomasdominguezcardena9206
@pedrotomasdominguezcardena9206 4 года назад
Eres brillante!☆☆☆☆☆ El mejor canal de GAS☆☆☆☆☆
@alyahyai
@alyahyai 4 года назад
I enjoyed this tutorial, thank you
@bobykumar3960
@bobykumar3960 3 года назад
PRICELESS WORK ,,,,,FREE,,, THANKS A LOT
@danisentinella
@danisentinella 3 года назад
You are incredible! Thank you so much for helping me
@fabriciosouza408
@fabriciosouza408 4 года назад
Just awesome! That's was exactly what I needed. Thanks a lot buddy!
@marvincubias7900
@marvincubias7900 4 года назад
We're you able to make it work?
@ubaidshakri7987
@ubaidshakri7987 11 месяцев назад
Great info..thank you
@ezzyhann
@ezzyhann 3 года назад
Excellent !
@MsBoolo
@MsBoolo 9 месяцев назад
Awesome tutorial ♥♥♥♥♥
@pichit.raetai
@pichit.raetai 4 года назад
Love this channel
@lasaventurasdevitoelgatoma3405
@lasaventurasdevitoelgatoma3405 4 года назад
Holy Mary, u r a genius!!
@wonjinpark7502
@wonjinpark7502 4 года назад
I really like this one!!!
@guitarman7575
@guitarman7575 3 года назад
Excellent
@elricho72
@elricho72 2 года назад
Great Video, thank's David
@gamingfunforall
@gamingfunforall 7 месяцев назад
very useful, as i was searching this from since many time but it seems i wasn't having option other than an add-on, but you have done a grate job brother, thanks for this video !!
@dbclmy
@dbclmy Год назад
Thanks Mate! You have been a very big help.
@valentinpereira810
@valentinpereira810 3 года назад
Thank you so much ! I have a question : When a form es edited and resubmitted. The namedvalues code only returns the modified values, there is a way to get all the values of the current row and execute the pdf creation? I Will be very grateful for your response ! Thank you !
@giancarloschafloqueguzman9918
@giancarloschafloqueguzman9918 4 года назад
Awesome!!
@cheskavillanueva5772
@cheskavillanueva5772 4 года назад
Awesome! Plese don't get tired of doing more videos like this! Maybe you can share the script as well? Heh. :)
@danisentinella
@danisentinella 3 года назад
Oh, i would love it too!
@digitaldevinder1770
@digitaldevinder1770 3 года назад
It much better to learn if u share script. Thanks
@namwan.c6947
@namwan.c6947 11 месяцев назад
Thank you very much for your tutorial. As of the present (2023), some methods in the code cannot be used, such as the "removeFile" function, which can be replaced by using the "setTrashed(true)" method.
@alfonsogarcia5768
@alfonsogarcia5768 3 года назад
Great tutorial! Very useful! What changes would you do at the script if instead of Google Docs, the template was Google Slides?
@romans8024
@romans8024 4 года назад
You rock, man!
@DILEEPKUMAR-is1vi
@DILEEPKUMAR-is1vi 3 года назад
Awesome
@ClaudiaMoschettini
@ClaudiaMoschettini 4 года назад
Great! Thanks!
@FaccinEnrico
@FaccinEnrico 8 месяцев назад
Wowwwww, just amazing! Thanks a lot!
@lucasflorentinovarella7817
@lucasflorentinovarella7817 3 года назад
Man, you are THE guy. Yhank you so much. That will change my life. hahaha. Brilliant!
@anirudhvktakkar
@anirudhvktakkar 2 года назад
Fantastic! Thanks a lot for this! I already followed along with the create bulk PDF docs tutorial, and it worked like a charm! Then came here looking for triggers to make the script run automatically. This looks very very close to what I am looking for. However, I have one question. The Google Sheet from where I am pulling data into the Google Doc and converting to PDF is not connected to a Google Form. It is actually connected to Piotnet Forms on my WordPress website. Will this script run with a formSubmit trigger if it is not connected specifically to a Google Form? If not, can you please suggest a workaround if possible?
@richardpowell4667
@richardpowell4667 Год назад
You are amazing! You know your stuff. I like how you basically say "I'm going to do this and let's see how we do that". I noticed your permissions was causing drama to send the email. Would it be that the user of the form would have those permissions come up on their end and have to give permission too? I imagine it should be. Cheers
@Akash-ef4vx
@Akash-ef4vx 4 года назад
Many Many thanks.its working..
@JustinAquino
@JustinAquino 2 года назад
This was awesome! Learned so much!
@ExcelGoogleSheets
@ExcelGoogleSheets 2 года назад
:)
@danielch8186
@danielch8186 Год назад
Perfect bro. You helped me a lot
@Ma3rcellus
@Ma3rcellus 2 года назад
Muito bom vídeo!!!Aprendi muito com esse tutorial. Obrigado!!!!!
@camillemalamo9207
@camillemalamo9207 3 года назад
THANK YOU SO MUCH!
@yayodelflow
@yayodelflow 3 года назад
This is awesome, congrats... I have a question, do u have a tutorial to do the same, but instead a doc template using a sheet? nos using text, just the range of the sheet. Thank U!
@aldoalbar3516
@aldoalbar3516 6 месяцев назад
wow thaank you ... well ... the slowmo guys would be very useful here ...
@gravityelements14
@gravityelements14 2 года назад
TriggerEvent step seems to have changed since you made this video. Google sheet form submit event shows a caution message “make sure you use this form submit trigger with SpreadsheetTriggerBuilder”. I am unable to pass googlesheet info data - that comes from google form - to google doc variables using event trigger. Any advise?
@calidadsed4713
@calidadsed4713 Год назад
Excelente muchas gracias por su ayuda, que mi Dios lo bendiga por siempre. 🙏
@icoldwell
@icoldwell 4 года назад
Great video ! Thank you. Your projects are so easy to follow, and you make the learning easy. Any change you could do a video tutorial on how to gather form data like this but from an externally hosted HTML web form and populate a google sheet? This is a use case I would often like to use. Once again thanks for fabulous easy learning tutorials. :)
@a7medabd-elwahab674
@a7medabd-elwahab674 2 года назад
I want this code please
@emingunduz4690
@emingunduz4690 Год назад
Hi guys. I foundt how to do that. I'v just made it. He has a video how to make a htmlTeplate file. after you did this you need to create string html output from that template. HtmlService.createHtmlOutput(htmlBody); // const blobPDF = htmlToPDF.getAs(MimeType.PDF); after these everytihng is the same
@xHao27
@xHao27 3 года назад
Thank you for your sharing. It is very helpful for set up the Google form to pdf. Is it possible to use a spreadsheet instead of a document as template? 🤔 Does this replace text functions still work on the spreadsheet?
@ali5t4ir
@ali5t4ir 3 года назад
Thanks again - I was also wondering if send email trigger can be put in place when a cell is populated manually in google sheets - i.e. when you manually enter a test result in the cell it will trigger to populate the PDF & then it will send an email with attached PDF to the person in the row...much appreciated
@daleramirez7438
@daleramirez7438 3 года назад
Thank you for this video. I learned a lot! I'm just wondering how about the google form requires to submit an image and the image will be used in google docs. I'm currently working with an Application Form that needs photo. Thank you
@alejandrojaviercuellarrodr9948
@alejandrojaviercuellarrodr9948 4 года назад
Excelent video as always! How about trying to switch between different document templates?
@camposricardo86
@camposricardo86 Год назад
Thank you so much Chi! say I want to get an image uploaded in the form, should I use the mime type 'image'?
@oic-chiefadministrativeoff9617
@oic-chiefadministrativeoff9617 3 года назад
Very useful, nicely done. Can you make a video of sending confirmation on form submit with results preview?
@jaleahmad3248
@jaleahmad3248 3 года назад
Thanks. Couldn't be easier than this...
@ilhan_idriss
@ilhan_idriss 9 месяцев назад
Oh man, this makes my life easy
@tinman.12
@tinman.12 4 года назад
On Line 18 you have get file by ID. Is there any way that could be get active file instead? I have multiple documents that the user selects to use (which they select 1st) then fill in the form that i hope to get the ws to populate the pdf data
@missnorazila1742
@missnorazila1742 2 года назад
VERY BRILIANT !!!
@ExcelGoogleSheets
@ExcelGoogleSheets 2 года назад
Thanks!
@kogilan2042
@kogilan2042 Год назад
Thank you so much sir
@bobykumar3960
@bobykumar3960 3 года назад
MAY BE ONE DAY I HAVE THE HONOUR OF MEETING YOU..
@yentranthi7097
@yentranthi7097 3 года назад
Tks so much ....
@nataliariabina3227
@nataliariabina3227 4 года назад
Thank you , its wonderful !!! Question- when I make the same form "edit response " and submit , it will fill in PDF only edited fields, not edited- will insert as blank , how do I deal with that to make them to pick up old values and fill in new PDF ?
@valentinpereira810
@valentinpereira810 3 года назад
Hello, did you find a way to fix that ? I will be very grateful to you !
@kurtsanchez2810
@kurtsanchez2810 Год назад
Hi! What should I change in the code if I want to attach two pdfs. The first one being the customized one in the sheets and the other one is a uniform pdf for all?
@shaunprevatt1636
@shaunprevatt1636 3 года назад
Great video. Do you have a video on creating a pdf from the sheet you are working on and emailing that multiple people?
@carlossilva-sc8my
@carlossilva-sc8my 3 года назад
Thx Ill try it
@AbrahamHernandez-nv9kv
@AbrahamHernandez-nv9kv 4 года назад
Hi, I just used this video, and I have created a proper notification system, add as many emails to notify (through google forms), and create the log with google sheets. Great stuff. Thank you, I just want to create a customized subject for my emails using the google docs {} in my template. Can that be done?
@rudheesh
@rudheesh 8 месяцев назад
Thanks bro 😍
@TheBricolore
@TheBricolore 3 года назад
that's awesome! well i do have a question , how do i replaceText in the createPDF method when i have added a column with lets say a SUM ? when the form is submitted , it inserts a row in the sheet , so i made another sheet2 with the main columns and some extras , how do I use these extra column content with the replaceText?
@rayhutchinson5642
@rayhutchinson5642 3 года назад
Great video I love the simple step by step detail! Is there a way to add multiple quantities to different items for instance if I had a form where people ordered different types of shirts how could I program it to make a pdf that would capture 3 red and 2 blue shirts?
@richardpowell4667
@richardpowell4667 Год назад
I'd imagine you just add the extra columns to your spreadsheet and add the variables to your email.
@pvamshikrishna3169
@pvamshikrishna3169 3 года назад
Finally, script is working fine.
@jayasri-ft8040
@jayasri-ft8040 2 года назад
I spend whole day. But failed, can you share your sources code sir
@HarshitSharma-lp8qm
@HarshitSharma-lp8qm Год назад
Thank you.. 🤝
@ashutoshsharmamagicfinmart4323
@ashutoshsharmamagicfinmart4323 4 года назад
This is very useful video for me, Now I have one requirement that on the basis of data entered by this form I am bringing some values in additional column form restored data but I am not able to pick values of those columns using info object. Can we do this? Eg. I have added a dropdown of Form submitter Jhon, Mike, Cali, getting there emails id from form, but while sending emails then I want to keep their superior into copy and that I am bringing using look-up function. But I am able to get only data submitted by the form.
@rafariot
@rafariot 3 года назад
cheeers!!! thankyou
@hemantshinde4857
@hemantshinde4857 3 года назад
Thank you ver much Sir. I was looking for this for a long time. I don't know the coding, but i still managed to follow the tutorial and create the mail merge as given in the tutorial. One request to you Sir, please also show how to merge the images uploaded through the forms in the doc and finally in pdf. I collect the information of my newly admitted students via google forms in which, I also collect there photos(images). So please provide next part of this tutorial in which there will be solution for merging the images in pdf. With regards.
@AndeanFace
@AndeanFace Год назад
Hi @ExcelGoogleSheets, I hope that you are doing very well! I made the script as you presented it, and was working very well, but at the momment it seems to have two problems, and maybe you have some information about them. 1) It seems that the "Class File" from Apps Script, the method "removeFile" used at the end of the script "tempFolder.removeFile(newTempFile); " isn't anymore supported, it appears crossed over in .gs . Could you recomend other method to do the same part of the script? And my second question, I receive this message of error: "TypeError: Cannot read properties of undefined (reading 'namedValues')" on the constant declaration, line 3: "const info = e.namedValues;" in the function declaration. Do you have the seame error message? Many thanks for your help!
@ExcelGoogleSheets
@ExcelGoogleSheets Год назад
maybe newTempFile.setTrashed(true)
@ali5t4ir
@ali5t4ir 3 года назад
This was great thank you so much - it would be great if you can advise the code at the end of how we can password protect the PDF file so it can't be edited but you can print ONLY please
@otaviopinhotavares4225
@otaviopinhotavares4225 4 года назад
Amazing content! Can you please do a video with an uploading image? Exemple employers data and pic. I use gsuite files only work on my domain is that a problem to generate pdf with the pic?
Далее
БАТЯ И СОСЕД😂#shorts
00:59
Просмотров 2,2 млн
Why The Windows Phone Failed
24:08
Просмотров 234 тыс.
Google Sheets Form for Data Entry - Apps Script
59:47
Просмотров 339 тыс.