r/GoogleAppsScript • u/vitorri • Jan 27 '24
Question Copying/getting google forms summary graphs with google apps script
In the 'responses' tab of Google Forms, within the 'summary' section, you can view and copy graphs (with the use of a button) generated from the responses (such as a pie chart depicting the chosen options). I am looking to automate the creation of reports using Google Apps Script. Essentially, the script needs to iterate through each question and paste the corresponding graphs of the answers into Google Docs. How can I achieve this?
Thanks in advance!
1
u/driveyourscripts Jan 27 '24
I am available if you want to chat back and forth about this you can DM me
0
u/estadoux Jan 27 '24
How would that work? I think is not possible directly from Forms but maybe from Sheets?
1
u/driveyourscripts Jan 27 '24
0
u/estadoux Jan 27 '24
Well played but no thanks
1
u/driveyourscripts Jan 27 '24
I am willing to help you. This is not some scam. We can go back and forth here too. Pastebin what code you do have and drop it in a link and post in the thread.
You just asked how we would do that so I sent you the link to the Google apps script discord.
0
u/estadoux Jan 27 '24
Yeah sure.
I have no code or use for that solution right now as OP might do. Just wanted to learn something new but if you keep trying to drive the conversation to private spaces or out of Reddit then you’re missing the point of Reddit and I’m not interested in that.
3
u/driveyourscripts Jan 27 '24
Pastebin allows you to drop big sections of code and Paste them as a link. It is not a private space. 👍
2
u/driveyourscripts Jan 27 '24
So when I asked you to do that, I meant right here in this public thread of the reddit you started in.
2
u/MDB_Cooper Jan 27 '24
i've never tried to do this before, but I just quickly looked over the available get actions using FormApp and i didn't see anything that would natively allow you to getCharts or the such.
you'll likely need to push the form responses to a sheet and then build charts using SpreadsheetApp.