Hi everyone!
I'm developing an app that saves and store data into a google sheet. I used apps scripts to retrieve, save and download the sheet as pdf. I connected the functions of apps script to App inventor, retrieve and save data functions works fine, but when I want to execute the function (getpdf) in app inventor it doesn't work, I don't know what I'm doing wrong. I'm not expert in apps script I just copied and modify some codes that I found in web.
The script code and blocks are attached.
Thanks for the help!