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

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มิ.ย. 2024
  • 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

ความคิดเห็น • 569

  • @allisonharvill936
    @allisonharvill936 3 ปีที่แล้ว +9

    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 ปีที่แล้ว +27

    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 :)

  • @ridingwithcharley6821
    @ridingwithcharley6821 2 ปีที่แล้ว +3

    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.

  • @davidclough6288
    @davidclough6288 3 ปีที่แล้ว +2

    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? 🙂

  • @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.

  • @nikluz3807
    @nikluz3807 4 ปีที่แล้ว +8

    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

  • @emingunduz4690
    @emingunduz4690 ปีที่แล้ว +1

    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

  • @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 ปีที่แล้ว +1

    You have unlocked Pandora's box of creativity for me. Thank for teaching us🙏

  • @mohnasnassr9816
    @mohnasnassr9816 3 ปีที่แล้ว +1

    Great teaching skills. Awesome tutorials!

  • @juniorwalewangko
    @juniorwalewangko 3 ปีที่แล้ว +2

    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.👍🏻🙏🏻🙏🏻

  • @RoiUltraviolet
    @RoiUltraviolet 2 ปีที่แล้ว +1

    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.

  • @ciarajanay23
    @ciarajanay23 4 ปีที่แล้ว +3

    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.

  • @bocobox
    @bocobox 4 ปีที่แล้ว +2

    Addicted to your video. Just like daily routine. Thanks 😊

  • @gabrielcambronero4338
    @gabrielcambronero4338 6 หลายเดือนก่อน

    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!

  • @rajeshparkar5683
    @rajeshparkar5683 3 ปีที่แล้ว

    Thank you for step by step explanation

  • @luiscorado2868
    @luiscorado2868 4 ปีที่แล้ว +4

    Excellent like always!!!

  • @eugenepaulus9946
    @eugenepaulus9946 3 ปีที่แล้ว +1

    Thank you for these videos. I appreciate you!

  • @victormenna
    @victormenna 3 ปีที่แล้ว

    This tutorial is a new art form. Amazing

  • @TinaFasulo
    @TinaFasulo 3 ปีที่แล้ว

    Thank you, this is great! I learnt lot of things watching your video!

  • @lasaventurasdevitoelgatoma3405
    @lasaventurasdevitoelgatoma3405 3 ปีที่แล้ว +1

    ur channel it is going to be big in no time!! congratulations 4 the good work n sharing!!

  • @therghammotlak2755
    @therghammotlak2755 3 ปีที่แล้ว +1

    You are an amazing teacher

  • @hanshima_
    @hanshima_ 4 ปีที่แล้ว

    Thank you so much. Just an incredible tutorial.

  • @harry33316
    @harry33316 4 ปีที่แล้ว +1

    It’s very impressive! Thank you!

  • @NamNguyen-hn5os
    @NamNguyen-hn5os 3 ปีที่แล้ว

    thank you so much for this Video. Please keep up the good work. Much love from Vietnam!!

  • @ekeretteekanem
    @ekeretteekanem 2 ปีที่แล้ว

    huh.. super long and fun journey. Nicely delivered!

  • @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?

  • @bokkenknuser
    @bokkenknuser 4 ปีที่แล้ว +1

    This is brilliant! Thank you!

  • @ciarajanay23
    @ciarajanay23 4 ปีที่แล้ว

    I really appreciate your channel!

  • @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?

  • @revolvency
    @revolvency 2 หลายเดือนก่อน

    this is actually life changing for cheap marketers like me, thanks for the tutorial, much appreciated!

  • @pedrotomasdominguezcardena9206
    @pedrotomasdominguezcardena9206 4 ปีที่แล้ว

    Eres brillante!☆☆☆☆☆ El mejor canal de GAS☆☆☆☆☆

  • @traingappscript3624
    @traingappscript3624 4 ปีที่แล้ว +1

    Really great video here. Thanks !

  • @huseyinataseven6032
    @huseyinataseven6032 9 หลายเดือนก่อน

    A huuuuuuuuuuuge thumbs up!!! Thank you very much. You are a life saver.

  • @musicacafeinafan1
    @musicacafeinafan1 3 ปีที่แล้ว

    Great job ! Very clear . Thank you !

  • @namwan.c6947
    @namwan.c6947 10 หลายเดือนก่อน +6

    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.

  • @ericagallego7825
    @ericagallego7825 4 หลายเดือนก่อน

    you're real life saver. Please continue making videos about these.

  • @alyahyai
    @alyahyai 4 ปีที่แล้ว

    I enjoyed this tutorial, thank you

  • @fabriciosouza408
    @fabriciosouza408 4 ปีที่แล้ว +1

    Just awesome! That's was exactly what I needed. Thanks a lot buddy!

  • @danisentinella
    @danisentinella 3 ปีที่แล้ว

    You are incredible! Thank you so much for helping me

  • @valentinpereira810
    @valentinpereira810 3 ปีที่แล้ว +1

    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 !

  • @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'?

  • @glasswavedesign55
    @glasswavedesign55 3 ปีที่แล้ว +1

    This is brilliant! Thank you...

  • @bobykumar3960
    @bobykumar3960 3 ปีที่แล้ว

    PRICELESS WORK ,,,,,FREE,,, THANKS A LOT

  • @Mikarevival
    @Mikarevival 4 ปีที่แล้ว +1

    Great Job!!!

  • @ubaidshakri7987
    @ubaidshakri7987 10 หลายเดือนก่อน

    Great info..thank you

  • @Ma3rcellus
    @Ma3rcellus ปีที่แล้ว

    Muito bom vídeo!!!Aprendi muito com esse tutorial. Obrigado!!!!!

  • @elricho72
    @elricho72 2 ปีที่แล้ว

    Great Video, thank's David

  • @MsBoolo
    @MsBoolo 8 หลายเดือนก่อน

    Awesome tutorial ♥♥♥♥♥

  • @dbclmy
    @dbclmy ปีที่แล้ว

    Thanks Mate! You have been a very big help.

  • @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

  • @guitarman7575
    @guitarman7575 3 ปีที่แล้ว +1

    Excellent

  • @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

  • @wonjinpark7502
    @wonjinpark7502 4 ปีที่แล้ว +1

    I really like this one!!!

  • @cheskavillanueva5772
    @cheskavillanueva5772 4 ปีที่แล้ว +30

    Awesome! Plese don't get tired of doing more videos like this! Maybe you can share the script as well? Heh. :)

  • @ezzyhann
    @ezzyhann 3 ปีที่แล้ว +1

    Excellent !

  • @pichit.raetai
    @pichit.raetai 4 ปีที่แล้ว +1

    Love this channel

  • @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

  • @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!

  • @JustinAquino
    @JustinAquino 2 ปีที่แล้ว +1

    This was awesome! Learned so much!

  • @lasaventurasdevitoelgatoma3405
    @lasaventurasdevitoelgatoma3405 3 ปีที่แล้ว +1

    Holy Mary, u r a genius!!

  • @gamingfunforall
    @gamingfunforall 5 หลายเดือนก่อน

    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 !!

  • @DILEEPKUMAR-is1vi
    @DILEEPKUMAR-is1vi 3 ปีที่แล้ว +1

    Awesome

  • @romans8024
    @romans8024 3 ปีที่แล้ว +1

    You rock, man!

  • @oic-chiefadministrativeoff9617
    @oic-chiefadministrativeoff9617 3 ปีที่แล้ว

    Very useful, nicely done. Can you make a video of sending confirmation on form submit with results preview?

  • @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?

  • @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?

  • @lucasflorentinovarella7817
    @lucasflorentinovarella7817 3 ปีที่แล้ว

    Man, you are THE guy. Yhank you so much. That will change my life. hahaha. Brilliant!

  • @FaccinEnrico
    @FaccinEnrico 7 หลายเดือนก่อน

    Wowwwww, just amazing! Thanks a lot!

  • @calidadsed4713
    @calidadsed4713 ปีที่แล้ว +1

    Excelente muchas gracias por su ayuda, que mi Dios lo bendiga por siempre. 🙏

  • @giancarloschafloqueguzman9918
    @giancarloschafloqueguzman9918 3 ปีที่แล้ว +1

    Awesome!!

  • @ClaudiaMoschettini
    @ClaudiaMoschettini 4 ปีที่แล้ว +1

    Great! Thanks!

  • @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

  • @Akash-ef4vx
    @Akash-ef4vx 3 ปีที่แล้ว +1

    Many Many thanks.its working..

  • @alejandrojaviercuellarrodr9948
    @alejandrojaviercuellarrodr9948 4 ปีที่แล้ว

    Excelent video as always! How about trying to switch between different document templates?

  • @TheBricolore
    @TheBricolore 3 ปีที่แล้ว +1

    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?

  • @aldoalbar3516
    @aldoalbar3516 4 หลายเดือนก่อน

    wow thaank you ... well ... the slowmo guys would be very useful here ...

  • @azeezek2991
    @azeezek2991 4 ปีที่แล้ว

    Thanks for the Great tutorials,
    can you please tell me how can I automate download the pdf file created with form data...

  • @ali5t4ir
    @ali5t4ir 3 ปีที่แล้ว

    @Learn Google Spreadsheets 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 ONLY print please

  • @icoldwell
    @icoldwell 4 ปีที่แล้ว +1

    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

  • @AbrahamHernandez-nv9kv
    @AbrahamHernandez-nv9kv 3 ปีที่แล้ว

    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?

  • @danielch8186
    @danielch8186 ปีที่แล้ว

    Perfect bro. You helped me a lot

  • @mukhtarkhan4u
    @mukhtarkhan4u 3 ปีที่แล้ว

    Thank You !!! this is really excellent, you explained it so well, could you help me to add the total value while sending the PDF responses as it's only the form info fields. (eg if the form has the MRP and quantity, can we send the total value in the PDF.

  • @ashutoshsharmamagicfinmart4323
    @ashutoshsharmamagicfinmart4323 3 ปีที่แล้ว

    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.

  • @gravityelements14
    @gravityelements14 2 ปีที่แล้ว +3

    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?

  • @jaleahmad3248
    @jaleahmad3248 3 ปีที่แล้ว

    Thanks. Couldn't be easier than this...

  • @nataliariabina3227
    @nataliariabina3227 4 ปีที่แล้ว +2

    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 !

  • @rayhutchinson5642
    @rayhutchinson5642 3 ปีที่แล้ว +1

    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.

  • @otaviopinhotavares4225
    @otaviopinhotavares4225 3 ปีที่แล้ว +1

    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?

  • @hemantshinde4857
    @hemantshinde4857 3 ปีที่แล้ว +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.

  • @camillemalamo9207
    @camillemalamo9207 3 ปีที่แล้ว

    THANK YOU SO MUCH!

  • @bobykumar3960
    @bobykumar3960 3 ปีที่แล้ว +6

    MAY BE ONE DAY I HAVE THE HONOUR OF MEETING YOU..

  • @franztellocastillo709
    @franztellocastillo709 2 ปีที่แล้ว

    Awesome!! I have a Question, if I have a five Photos, How do I put those images in a pdf? (in order)

  • @flook-it1997
    @flook-it1997 4 ปีที่แล้ว +1

    thanks your chanel always awesome it would be great if you show me how to convert the data submitted to a PDF with image

  • @mohamedfazlan4074
    @mohamedfazlan4074 2 ปีที่แล้ว +1

    Thanks A lot. i Had a Small Issue ... How to Print Multiple Pages in 1 Pdf file? ( Mean Daily Entry as one PDF File or one Company invoices as one Pdf file)

  • @mowlawn2882
    @mowlawn2882 ปีที่แล้ว +1

    Hi! I have no training and new at this so this was perfect! Thank You! I am just having trouble with an addition. I added a column to the sheet to calculate two columns and just want to show the total on the google doc. It looks like it won't extract since it's a calculated value. Can you please tell me what script I need to accomplish this? THANKS AGAIN :)

    • @richardpowell4667
      @richardpowell4667 ปีที่แล้ว

      I would try to pass the dependent cells values in your sheet into the script and use the script to calculate instead, then store that in a variable. I'd have thought it could pass calculated values....?

  • @missnorazila1742
    @missnorazila1742 2 ปีที่แล้ว +1

    VERY BRILIANT !!!

  • @mohamedazzouz9207
    @mohamedazzouz9207 2 ปีที่แล้ว

    Thanks great tutorial .
    Is it possible to open a PDF file right after its creation with Apps Script in Google Sheets?

  • @AndeanFace
    @AndeanFace ปีที่แล้ว +1

    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!

  • @christourlightchurch8846
    @christourlightchurch8846 ปีที่แล้ว

    This is great. How can I include more than just the e.namedValues from the form? I have other headings with calculated data in the columns to include, but namedValues does not allow me to access them.