Skip to main content
Question

Creating and emailing a google doc as an attachment in one zap


Hi,

 

I have created a Zap that will pull data from Google Sheets to create a Google Doc report. I’m trying to add an action to the end of that zap where an email will be sent with that Google Doc report attached. I can’t figure out what is supposed to go in the “Attachments” field though. Do I need to create another step to find the document in my Drive first? I have been trying to figure out where the file ID is so I can put it in the URL,  “https://docs.google.com/document/d/{File ID}/edit" but that has been tricky also. I’m sure I’m overcomplicating this...

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @MWilliams 

Help link about using files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps

 

NOTE: This link structure https://docs.google.com/document/d/{File ID}/edit is NOT a direct download link.

This utility can be used to see the proper Google Drive link structure to use: https://sites.google.com/site/gdocs2direct/

 

A file link needs to be a publicly accessible direct download link.

A file object is a temp file that expires after some time.

Both can be used to send an attachment.

 

If you still need help, for us to have more info, post screenshots showing how your Zap steps are outlined and configured in EDIT mode so we can see the field mappings.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7547 replies
  • October 15, 2024

Hi there @MWilliams

Just came across this and wanted to check on how things are going. Were you able to select a publicly-accessible direct download link or file object for the Attachments field as Troy mentioned?

Happy to assist if you’re still having some trouble, just let us know! 🙂