Тёмный

Learn Google Apps Script Project Lesson Create PDF from Docs Using Google Sheet Data send Emails 

Laurence Svekis
Подписаться 8 тыс.
Просмотров 18 тыс.
50% 1

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

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@ivanoleksii284
@ivanoleksii284 4 месяца назад
Above and beyond Thank you a million !!!
@praditleelanimit3153
@praditleelanimit3153 Месяц назад
Thank you greatfully. This is help me to finish my work.
@VaHuPeJu_Mesei
@VaHuPeJu_Mesei 8 месяцев назад
Thank you gratefully. This is exactly what I needed.
@LaurenceSvekisCourses
@LaurenceSvekisCourses 7 месяцев назад
You're very welcome!
@ucanubibi5329
@ucanubibi5329 Год назад
Thanks for the amazing lesson!!!! Appreciate alotttttttt!!!!
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
thanks for your support
@emrahoz07
@emrahoz07 Год назад
Thanks for the good information. We look forward to the continuation.
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
thank you for watching please let me know if you have any questions
@emrahoz07
@emrahoz07 Год назад
@@LaurenceSvekisCourses First of all, thank you for your interest. I have a personal project that I want to do. A small Tattoo studio needs a management program. I want to add an appointment to google calendar with fields such as Customer Appointment information (Name Surname, Country, Hotel, Tattoo Type, Tattoo Artist, Tattoo Designer, Payment Method, Fee, Deposit, Free Service etc.). I also want to print the appointment information and the contract on a single A4 page and give it to the Customer. And I want a section to be made for calculating the percentage earnings of Tattoo Artists and Studio staff. Is it possible to manage this application from a web application using google script? Can you make a video about it?
@PedroBessa-l6u
@PedroBessa-l6u Год назад
Dude, you're amazing! I've spent the entire day revising your video and its really gonna help me at work. Cheers from Brazil. Keep up the good work!
@scarabtube
@scarabtube Год назад
This was absolutely amazing. Thank you for this. Subscribed for LIFE!
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
Awesome, thank you!
@temyraverdana6421
@temyraverdana6421 2 года назад
Thanks, a wonderful lesson.
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
Glad you liked it!
@sujunprodhanwordpress
@sujunprodhanwordpress 2 года назад
Thanks for share 👍👍👍👍👍
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
Thanks for visiting
@thejatinkmr
@thejatinkmr Год назад
Thank you for sharing it, this is super useful 👍🏻
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
Glad it was helpful!
@FilipSmycek
@FilipSmycek 2 года назад
great tutorial, keep doing pls ..
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
Thanks, will do!
@blazed-space
@blazed-space Год назад
Epic! One can utilize this to create server less erp/CRM solutions for business without breaking the bank.
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
Yes thats the best thing about it, its a free server that has a tonne of built in services and processes on the ready. Thats actually how I ended up starting with Apps Script, a simple app they client had no server.
@yani_promax
@yani_promax 7 месяцев назад
Thank you so much How can I increase the 6 minute execution limit in Google Apps script?
@darestvwig2860
@darestvwig2860 Год назад
thank you so much for this :D
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
You're very welcome!
@vegasrunaway
@vegasrunaway 4 месяца назад
I'm trying to tie this to a form so that the email from the sheets goes out upon form submission. Is there simple code to add to sheets or should I start over and code the form?
@CRISTINAPONCE-u4b
@CRISTINAPONCE-u4b 25 дней назад
This is amazing! I'm having two issues... 1) I keep getting more copies of the file, but it's not replacing the one before. 2) The rest of the {} parts that need to be replaced by the worksheet are not working. Can anyone help please?!
@MangJuArnz
@MangJuArnz Год назад
Hi, Laurence! Your help is greatly appreciated. Question though, how can I make a line spacing between sentences in message.body? I want to make a sentence/paragraph next line below the first sentence with a single line space.
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
You can add a blank line or change the setting of the doc
@MatheusSilva-qm3ph
@MatheusSilva-qm3ph 2 года назад
Very cool. A question how to do not repeat messages already recorded ? Please save em from this code.
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
Sorry I don't understand the question
@MatheusSilva-qm3ph
@MatheusSilva-qm3ph 2 года назад
@@LaurenceSvekisCourses I wanted to know if it is possible to save data in goolge sheets without repeating what has already been recorded. Would you help me? Thanks.
@stolzmeadglobal
@stolzmeadglobal 6 месяцев назад
Okay, this video is assume. I have one question... could the code be set so IF the Sheet gets a new submission, it automatically runs the Email Out script? Or does the Email Out have to be run manually?
@masbromw3880
@masbromw3880 2 месяца назад
Hello Sir, How to replace text with QR from URL?
@MangJuArnz
@MangJuArnz 2 года назад
Thanks for making our work easier. I do have an issue though, whenever I script "Hi,${row[3]}." in the messagebody for the email, it won't populate. and its text is red. any tips how to resolve? Thanks in advance.
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
You need to use the backtick for template literals, or for quotes you need to break out of the string and use the +
@MangJuArnz
@MangJuArnz 2 года назад
@@LaurenceSvekisCourses thanks, I solved it thru the link provided. my script is now fully functional. this is new to me and i learn ir overnights..
@LaurenceSentieri
@LaurenceSentieri 4 месяца назад
Hello, I am trying to automate a template using a spreadsheet but I seem to be having issues populating multiple fields. I am able to body.replaceText once but when I try to add the others it won't work. How do I know which row number to use? thank you. Example: body.replaceText('{Employee Name}',row[1]) body.replaceText('{Field 2}',row[?]); body.replaceText('{Field 3}',row[?]);
@anurag9392
@anurag9392 Год назад
Thanks for the useful video. In this process, excell data creates the doc file and simultaneously pdf file. However I have a project in which i have google sheet having a script which creates the doc file, filled with the sheet details. And second script in the doc template that is save as pdf and send on mail. Every time sheet is filled and doc is created and the save and send email script is run it asks for permission for every new doc file. How to resolve that? So that after checking doc file it directly save as pdf and send on email without asking everytime permission. Plz help me.
@DrMAccount
@DrMAccount Год назад
Thank you so much for your hard work. If you don't mind is there a way to add a link of the pdf file created next to the sent date.
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
Yes you can get the URL of the PDF and set the link as needed.
@janaeharrison3633
@janaeharrison3633 Год назад
Is there a way to populate the new Google sheet document instead of the date for sent column?
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
Yes it will take whatever content is posted to the cells in setValues()
@leosumantra7549
@leosumantra7549 2 года назад
If i make 5 doc from the spreadsheet, How to auto merge them? Thank You
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
Sorry I don't understand, why would you not just create the one doc why 5 and then merge?
@usedelectro5648
@usedelectro5648 Год назад
I cannot get the body.replaceText to work, any ideas?
@Herzontix
@Herzontix Год назад
How do you do the same thing, except instead of having it automatically emailed, it's saved to email draft instead
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
For draft emails you need to use the gmailapp service not mailapp
@monidhariya4002
@monidhariya4002 9 месяцев назад
I have salary slip of employee n data i want to learn
@bombardier2
@bombardier2 Год назад
Hi, sometimes the script runs and sometimes just shows in the log "started running" and after few seconds "stopped running"
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
It depends on the task, there is a timeout of 15 minutes on scripts also depending on the server load
@TheKAMP2012
@TheKAMP2012 11 месяцев назад
Hi! I keep getting this error message and I can't figure out what I've done wrong - TypeError: Cannot read properties of null (reading 'getDataRange')
@meliodassama9738
@meliodassama9738 Год назад
Thanks for ur tutor bro. But i have problems when we fill email not in sequence, why is not sent, it says "Failed to send email: No Recipient". for example we have 6 data, first to fourth is running like u did because is sequence, but if we jump to sixth, which is fifth data is empty, sixth row is not send and error message come out. How we fix this so we can fill the data not just in sequence? I really apreciate for ur answer
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
Generally you would see that type of error if the email was not a valid one, check if you have whitespace also try to prefill the email and test to see if it works.
@meliodassama9738
@meliodassama9738 Год назад
@@LaurenceSvekisCourses yes, if email is not valid, it cant be sent. But the problem is, if we jump to another row, like tenth row. first to fourth row, we fill data and valid email like u did is running, but fifth to ninth is empty, completely blank row,and we fill data and valid email in tenth row, is not running is not sent, but if i fill 4 to 9 again with valid email, tenth row running again and sending. why i cant fill any position of row that i want? why cant be any blank row? why must in sequence? Really appreciate with ur answer🙏
@meliodassama9738
@meliodassama9738 Год назад
i figure it out, just put this if (email == "") return; before mailapp thanks anyway bro
@garimamishra792
@garimamishra792 Год назад
Hello Sir Can You create a simple CRM Like asana or Google Streaks by using a google app script, please tell us as soon as possible
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
I have several lessons on similar content, although a full CRM is a lot of work
@garimamishra792
@garimamishra792 Год назад
@@LaurenceSvekisCourses Can You Please Share a simple blank View In Gmail Like for Example Inbox in Gmail has its own view by using the app script,or please share references by which I can try to do it myself
@pintuchoyan9526
@pintuchoyan9526 2 года назад
Sir {FIRST}{LAST} in docs not working . Please help.header1=heading.toUpperCase() body.replaceText( '{${header1}}'.row[1] I think problem.
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
if you use template literals its a backtick not a single quote `
@pintuchoyan9526
@pintuchoyan9526 2 года назад
@@LaurenceSvekisCourses SIR PERFECTLY WORK . '{${header1}}' THIS WAS MY MISSTAKE .THANKS .
@johnnydragovic6892
@johnnydragovic6892 2 года назад
Is it possible to modify the data in the spreadsheet using vanilla JavaScript?
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
Yes you can, you can use the webapp and set a doPost() to retrieve the JavaScript request Keep in mind that this opens the sheet since its frontend code and the URL will be visible
@LaurenceSvekisCourses
@LaurenceSvekisCourses 2 года назад
I have some other videos that show how to setup the JavaScript connection to Apps Script web app
@ravinduabeysinghe3466
@ravinduabeysinghe3466 Год назад
I get an error when I run the script and it says, " Exception: The document is inaccessible. Please try again later. (anonymous) @ Code.gs:14 sender @ Code.gs:12 " How can I solve this problem ?
@LaurenceSvekisCourses
@LaurenceSvekisCourses Год назад
Its possibly a permissions issue
@ravinduabeysinghe3466
@ravinduabeysinghe3466 Год назад
@@LaurenceSvekisCourses Thank you and I have sorted out the issue
@xavierswiss
@xavierswiss Год назад
I had the same issue. It must be a google doc file. I had a word docx, which made this error.
@ravinduabeysinghe3466
@ravinduabeysinghe3466 Год назад
@@xavierswiss yeah I got it, that was the error
Далее
HA-HA-HA-HA 👫 #countryhumans
00:15
Просмотров 4 млн
Earn $1,350/Day with ChatGPT & Google Drive for FREE
17:03
How To Send Email Attachments with Google Apps Script
10:42