Question

Uploading Salesforce files to Google Drive, creating text instead of files.

  • 18 January 2024
  • 3 replies
  • 77 views

I'm encountering an issue with my Zap where I aim to copy salesforce file (ContentDocument record) to Google Drive. Despite attempting various URLs, the document added to Google Drive appears as a text with the value of the field I am referencing to generate a doc at Google Drive.

I have tried to give the download Link as a field: it generates a file with JS written on it.

Documentation and articles show that the field indicated by something like this: file exists but not shown. but no field in Content Document/ Content Version says that.


3 replies

Userlevel 7
Badge +14

Hi @Prateek Sholapurkar 

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

We would need to see screenshots with how your Zap steps are outlined and configured to have full context.

Step 1: Trigger: Getting the Content Document Record 

Step 2: Upload File in Google Drive

 

Generated Document:

 

If instead of Id, any other field is referenced, its value is printed.

If ContentVersion is taken as Salesforce Object, and VersionData field is selected, Same document is generated with Record Link Printed in the generated doc

Userlevel 7
Badge +14

@Prateek Sholapurkar 

Make sure to review the field description for guidance.

Help about sending files in Zaps: https://help.zapier.com/hc/en-us/articles/8496288813453

The File field expects a file url or a file object, rather than an ID value.

 

Reply