I have a googles form that takes some information and saves it to a Sheets document. The next step in my Zap is to send an email with Gmail to a processor. We use this method to assure that all associated info is sent with the doc.
I’ve read the Zapier documents that discuss the need for the folder to be public in order to send the document as an attachment. Unfortunately I’m still getting a link to the document. I have set the folder to be publicly accessible, with the same result.
If I can get the file attached I’m assuming I can move the doc to a secure folder after processing.
Any ideas why I’m not getting an attachment.
Best answer by Troy TessaloneBest answer by Troy Tessalone
@Leithal
The link provided is a GDrive file VIEW link.
The GDrive File ID comes after the id= parameter.
You can get the GDrive File link using a Formatter > Text > Replace step to isolate the GDrive File ID.
First off… Thank you very much. I’m just getting started with Zapier and appreciate the help.
If I’m reading that article correctly I’ll need to change the value of the spreadsheet/file link that comes from the Google sheet.
From what I’m seeing (below) I’d need to change/replace values in the middle of a string. I don’t see anything (but there is a lot to go through) that would let me manipulate a single variable in a Zap. If I can’t do that my next step, with the knowledge I have now, would be to import all the data from one Google Sheet to a second, and create a formula to create the new string in Sheets.
So this is what is in the Google sheet, that receives the data from the google form. The Google form just asks for attachments, with no restriction on the type, since it could be anything from an image to a PDF, etc…
Thank you. I hadn’t stumbled onto the Formatter - very nice.
It looks like that resolved the issue, and I have an email with an attachment!
Thank you very much!
I didn’t even know about Formatter, since there are thousands of modules… any advice for a beginner to locate the correct the correct module? It’s almost like C++ - where you just needed to know what lib to include to get a function. Some kind of index would be helpful.