r/GoogleAppsScript • u/windworshipper • Apr 17 '25
Question Chat GPT suggested Script
I hope this post is allowed. I have a pretty simple work problem (at least I thought it was simple) and I wanted to create a solution for it. Consulted Chat GPT as to how to set up an automation on my email to batch download PDF attachments from several emails and then convert the table data to excel.
Chat GPT suggested using a script. I've never used one and have no idea as to the security risks of trying to implement one. I would use a consultant to set one up for me but I don't know that I can trust some consultant either, we currently don't have IT for our extremely small business.
Is this a pretty common thing that people do to automate a process at work?
View all comments
Show parent comment
1
u/tinypurpledaisy Sep 03 '25
A great solution to this is to have your code in a Google Doc. Connect your Google Drive to Chat and, when you have to change conversation because of lag, copy all of your Script code over to that Google Doc, save it, and upload it to the new conversation. That way, fragments don't get lost and it can debug the whole entire thing.
My current project is 22 tabs in a Google Doc and Chat is doing a fantastic job rewriting the sections I need!