TS Documents is built on the Salesforce platform using Apex and Lightning Components. So you may refer to Salesforce Privacy Policy in regards to use of Salesforce. Then TS Documents uses your Google Drive account to get google docs for templates and to generate new google docs and save them into your Google Drive. You control the access of your google docs within your Google Drive account for each document. Then TS Documents has a Google Script that is hosted on Google that processes the document requests to generate documents. Please refer to Google’s Privacy Policy for more information about using their service.
All the data comes with your own Salesforce org, and is processed on Google and saved within your Google Drive. TS Documents itself does not process or store any of your data from Salesforce or from your Google Drive account.
When you authorize your Google account to use within Salesforce under the TS Activate API tab, you are authorizing Salesforce with the TS Documents app to create new and modify your Google Documents. The Oauth token of access is saved in a protected custom setting within Salesforce. The authorization is also saved in your Google Account. If you go to Apps Connected to Your Account page in Google you can see the list of 3rd party apps you have authorized to use your Google Account and can de-authorize TS Documents there. The access token is saved within your Salesforce org and TS Documents does not have access to this directly. Using that Oauth token saved in your Salesforce TS Documents using Apex is able to make API calls to Google to create a copy of the template document in your Google Drive, then to update the document with the merge fields, then to set the sharing permission specified in the document template. The Google Doc is saved within your Google Drive or in any Google Drive folder you specify that you have write access to.
If you elected to generate another format than Google Doc like PDF, Word, then the file is generated and saved into your Salesforce org. TS Documents never processes or retains any of your data or files. New files can be saved as File within your Salesforce org. We have no access to your Google User data nor do we share any of your Google User data.
For more details on the security of the Google Drive platform, you can review this article.
If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us.