Use-Cases

Request sensitive files from clients into external storages

24min
introduction why hubspot does not allow pii? hubspot’s terms of conditions https //legal hubspot com/terms of service specify that it does not support storage of sensitive data this includes files stored in the hubspot file manager tool personally identifiable information (pii) which includes personal documents such as passport, government identifications etc… cannot be stored in hubspot still, as business professionals, we require collecting such important documents and store them in a cloud storage such as google drive or sharepoint here’s where cloudfiles can help your business through the cloudfiles app you can collect this information through hubspot and send it your backend storage which is compliant with all the laws how & why cloudfiles can help? cloudfiles is a gdpr compliant and deeply integrated tool for hubspot it provides a feature called file requests which can be used with hubspot workflows to collect & store sensitive files these files can be then sent to folders in sharepoint, google drive, onedrive, box, dropbox or even aws s3 to be stored in a compliant way thus, your business overcome hubspot file manager limitations to store pii and phi by using cloudfiles as a layer to collect and transfer the files from hubspot to an external cloud storage how does the end result look like using the various cloudfiles workflow actions, we have created a process such that whenever a deal is created, a link would appear on the left side of the deal record this link can be sent to customers manually or automatically when the customer opens it, they would be able to upload files that will go into a folder on google drive we would be able to see the uploaded files in google drive as well as from the deal record in hubspot in the gif below, we see this in action the gif is divided into 6 parts create a new deal wait for the link to appear open link in new tab upload files see uploaded files in hubspot see uploaded files in google drive it’s important to note that the same is possible with sharepoint, onedrive, box, dropbox and aws s3 moreover, the same process can run with contacts, companies & tickets as well in hubspot read on to understand how to install the app and setup the workflow to achieve the same result setup install cloudfiles in hubspot before we delve into the tutorial, you need to install cloudfiles into a hubspot account you can install the app from the hubspot marketplace using the steps below these are also detailed here in the installation guide https //support cloudfiles io/support/solutions/articles/84000370665 installation guide for hubspot cloudfiles integration access the click on the “connect button” on the top right of the page log in with your hubspot administrator account, and click “connect app” button once the app is installed, you should see the cloudfiles widget on the right sidebar of your deal, company, ticket and contact records check this now that you have the app installed, you can connect an automation user for your workflow executions connect automation user for storage in addition to installing cloudfiles in hubspot, you also need to set an automation user for the workflow to work this is the integration user that will be used by the workflow actions to pass files into the cloud storage to connect an automation user, simply head over to app cloudfiles io http //app cloudfiles io/ > settings > integrations > google drive and login through your google account what is an 'automation user' and how does it work? docid 9ibd0tgbyrtn kgjpxhtn this article explains everything you need to know about the automation user, including what it is, why it's useful, and how it operates design of the workflow to summarize the process, we will create a deal workflow using hubspot this workflow will contain various cloudfiles related actions it will first create a dataroom and add a file request block to it it will then configure the file request block to store the documents in a specific folder in google drive finally it will create a sharing link for the dataroom and paste it in one of the deal properties the workflow consists of the following 6 elements trigger standard contact creation trigger that would fire this workflow when a new contact is created create dataroom cloudfiles’ dataroom feature will be used to request files create attachment associates the newly created dataroom to hubspot record so we can see file uploads from the record itself add to dataroom a file request block will be added to dataroom with the destination set as a google drive folder share attachment create a sharing link of the dataroom that can be sent to customers to upload files copy sharing link copy the link in a property to be used manually and automatically here’s how our final workflow looks like we detail these elements in the sections below trigger we would like to have a sharing link ready on our hubspot property whenever a new deal is created for this reason, we choose a simple deal create date is known trigger the trigger is shown below action create dataroom cloudfiles datarooms are very much like file portals they can be used to share multiple files and folders they can also be used to request files from customers we will discuss this file request feature later in this section we detail the “create dataroom” workflow action which can auto create datarooms the create dataroom action has 3 parameters that have been detailed in create dataroom action docid\ vj173 v2 dx9qyyfz4n9z article here is a summary name dataroom name that can be created using personalization tokens this name appears on top of the dataroom description any description that can also be created using personalization tokens template id (optional) this is used if you want to clone an existing dataroom this is left blank for this tutorial here’s how our final workflow action looks action create attachment in order to access the uploaded files from the contact record itself, it is important to associate this dataroom to the contact this way we can see it in the contact sidebar cloudfiles provides an easy to use “create attachment” action that can create this association automatically with the previously created dataroom the “create attachment” action will need the following properties library since we are attaching a dataroom, set this to “cloudfiles” resource type in this dropdown, select dataroom option resource id this can be selected using the dropdown the new dataroom id is returned by our previous action where we created the dataroom see the screenshot below other properties since we are attaching a dataroom, other properties are not important and must be left blank you can learn more about this action in this help article https //support cloudfiles io/support/solutions/articles/84000375663 create attachment action here’s how our final action looks like action add to dataroom the add to dataroom action is where we add a file request block to our newly created dataroom and set the destination parameters such that the uploaded files go into a google drive folder there are a bunch of parameters available in this action you can see all the details about this action in this help article https //support cloudfiles io/support/solutions/articles/84000375496 add to dataroom action for our use case, we will use the following parameters of the actions dataroom id we want to add a file request block to the dataroom that we created above so we will simply choose new dataroom id from the return values of create dataroom action this is exactly the same as getting the resource id in the last section type we want to add a file request block, so we choose ‘file request’ here name this is the name you wish to give your file request block usually it's a good practice to use personalization tokens or names of specific documents that the customer needs to upload here description this is an additional level of detail that you can give to your file request block e g the specifications or count of files that need to be uploaded here add a destination since we want to store the file in google drive, we will select yes here additional parameters will show up below library choose google drive here this is the only change that needs to be made if sharepoint, onedrive or some other cloud storage needs to be used shared drive id choose google drive here this is the only change that needs to be made if sharepoint, onedrive or some other cloud storage needs to be used path to destination folder this specifies the final folder where the file must go to you can enter a ‘/’ separated path here check this article https //help cloudfiles io/hubspot/add to dataroom action#r7xib to see how to copy this easily from the cloudfiles interface here’s how our final action looks action share attachment in order to share with customer, we need to create a personalized sharing link of the dataroom since we have already created a record attachment for the dataroom in one of the earlier steps, we will simply use the share attachment action to create a sharing link we will later copy this link into a deal property this action only needs one parameter which is the id of the attachment to share we can grab this id from our previous create attachment action this is shown in the graphic below you can check this help article https //support cloudfiles io/support/solutions/articles/84000375492 share attachment action to learn more about the share attachment action action copy link to property finally we will use the copy property value action provided by hubspot to copy the sharing link into one of the properties for this tutorial, we created a contact property called ‘hubspot demo dataroom url’ that we are using to copy the files into the sharing link can be grabbed from the return values of the share attachment that we used above this is shown in the graphic below more use cases cloudfiles provides a few other workflow actions as well which can be used creatively to create even more complex process automations we have a detailed a few actions below which, in combination with the above tutorial, can enable some complex use cases you can also read about all the cloudfiles’ workflow actions https //support cloudfiles io/support/solutions/folders/84000346155 here create folder action docid\ pv7lhq31uhqys8n5zdxkx this action can help create a personalized folder for the contact (or any record) in an external drive you can use this multiple times to create folder hierarchies & set one of the folders as the destination of upload thus your uploaded files would always stay segregated move hubspot files https //support cloudfiles io/support/solutions/articles/84000380070 move hubspot files action this action can move the files uploaded through hubspot forms to an external storage thus, if you are already using a hubspot form to request files, you can now move them to external folders moreover, when requesting more files, you can send the dataroom link instead so that the customer does not have to fill the whole form again create attachment action docid\ wqal9oeb5 ei8hsg1zckm in the tutorial above, we only created a dataroom attachment on the record we can also attach the upload folder directly so that with a single click, the hubspot user can go to the upload folder from the contact add to dataroom action docid\ yhtyoon7q8tuwx5s6sifw along with file request blocks, you can also add files & folders into the dataroom using the automation this enables you to not only show the customer all the files they have uploaded till date, you can also share other stuff with them to view when they are uploading those files update link settings action docid\ txeurvb8geaqpdvdcgsxm we created only a basic cloudfiles link above you can add a lot of security and analytics settings on it automatically using the update link settings action e g you can add email authentication such that only this contact’s email is allowed to view the dataroom error debugging in case you see some issues with the final execution, you can investigate the workflow execution error logs you can also send us these logs and we can inform you of the issue or resolution quickly ping a screenshot of error logs as covered below on chat (bottom right) or on support\@cloudfiles io to get the execution error logs in hubspot workflows, go to the workflow edit screen on top right click on enroll > view enrollments a sidebar opens up on the right with all your record executions hover over the problematic one and click on enrollment details in the details you will see success / error against each of the action execution for this workflow run you can expand and check the error logs here the most common issues include not connecting an automation user see the setup step above mentioning incorrect drive / path in add to dataroom action take these parameters carefully from the cloudfiles app as mentioned above pricing info this particular use case is possible on all cloudfiles plans and works with any hubspot licenses provided you have workflow access available however, there are a few limits you need to be aware of the use case would require 1 dataroom per client and consumes multiple workflow actions, thus the limits on datarooms and workflow actions on each plan become important here's relevant pricing & limits info about these pro plan if you are planning to purchase the pro plan ($19 / user / month) on cloudfiles, this plan offers 10 datarooms / user / month and 100 workflow actions / user / month you can purchase more pro licenses or talk to us to relax some of the limits if your requirements are in this ballpark business plan this plan is much more suitable for this use case at $100 / month for 3 seats this gives you 150 datarooms / month and 750 workflow actions / month again you can talk to us to adjust the limits or get a discount if your requirements are in this ballpark enterprise plan the enterprise plan starts at $150 / month for 3 users and offers custom limits on datarooms and workflow actions additionally, you can also white label the datarooms created to provide a more branded experience this plan is perfect if you have volume requirements for this use case and need branding on the shared datarooms note that we offer progressive pricing, so if purchasing more seats, the per user per month costs reduces summary in this tutorial, we created workflow with actions from cloudfiles to create an automation that lets us request files from our customers through hubspot deal objects and transfers them to google drive it can be extended to other cloud storages and other hubspot records as well we also saw a few other actions that make even more complex use cases possible cloudfiles is a document automation and sharing platform that integrates very deeply with hubspot it is useful for any sales, marketing or service team who have file management and sharing requirements and are considering or already using hubspot to learn more about the app, visit their hubspot integration page https //cloudfiles io/hubspot need help? book time with our team of experts