Import Files into HubSpot
This task will upload files from the local filesystem to HubSpot. It supports both creating new and updating existing files in HubSpot, based on data provided via an XML file.
Settings
Connection
Required
The HubSpot connection to use. See Connecting to HubSpot.
Fail File
Required
The XML file to write failed records to.
Input File
Required
The XML file containing information about the files you want to import into HubSpot. A sample of the XML format is shown below, or refer to HubSpot File XML for more details.
Success File
Required
The XML file to write successfully imported records to.
Zynk Settings
Examples
A sample input file is shown below, showing how to create or update a file in HubSpot. For full documentation see HubSpot File XML.
<?xml version="1.0" encoding="utf-8"?>
<HubSpotFiles>
<HubSpotFile>
<LocalFilePath>C:\Users\john.smith\Documents\invoice.pdf</LocalFilePath>
<HubSpotFolderPath>/invoices</HubSpotFolderPath>
<HubSpotFilename>invoice_100004217.pdf</HubSpotFilename>
<OverwriteExistingFile>true</OverwriteExistingFile>
<Access>PRIVATE</Access>
<Charset>UTF-8</Charset>
</HubSpotFile>
</HubSpotFiles>