Admin

How to Upload Files over SFTP to SPOTIO

Zack Shepherd
Zack Shepherd
  • Updated

SFTP (Secure File Transfer Protocol) allows users to seamlessly transfer files to and from their SPOTIO account externally. This feature is particularly beneficial for businesses that require large-scale data imports and exports on a regular basis. With SFTP integration, users can efficiently manage data, automate imports/exports at specific intervals, and streamline the process of migrating territories from external sources.

Key Benefits: 

  • Saves time with a more direct method to send and receive data to and from your SPOTIO account.
  • Allows for better consistency by automating FTP exports to occur in specific intervals (daily, weekly, monthly, etc.)
  • Makes it easier to migrate territories from external sources by allowing KML files to be imported in as new territories

Accessing SPOTIO SFTP

To get started, you need to access SPOTIO's SFTP server. The address you should use is: ftps://ftp.spotio2.com. This address ensures a secure connection for transferring your files.

Login Credentials

Once you have the SFTP address, you'll need login credentials to authenticate yourself on the server. SPOTIO provides these credentials through a secure channel, and you can request these credentials by contacting our Support or CX teams. You will receive a username and password, which you must use to log in to the SFTP server.

FTP Client Setup

Once you receive your credentials the next step is to enter those credentials into a File Transferring Software client. A download to a free open-source software that can be used for this can be found here.

Import Structure

SPOTIO organizes the import process into folders to make it more manageable. Depending on the mode you're using (classic or flexible), the import structure differs slightly:

  1. Classic mode - you can import records using the /Leads/Import/ folder.
  2. Flexible mode - you can import any data object type defined in the Workflow using the /DataObjects/Import folder.

Within these import folders, SPOTIO further divides the process into subfolders:

  1. New Folder: This is where you place new files that you want to import into SPOTIO.
  2. Success Folder: After processing, successful files are moved to this folder so you can review them later.
  3. Failed Folder: If any files fail during processing, they are moved to this folder, and you can access error reports for further analysis.

Formatting your Data for Import

Prior to importing your data, you will need to ensure that it is properly formatted. You can download a template with the appropriate header rows for your import from your SPOTIO account under Settings > Import Data.

  1. In Classic mode, you can simply click “download template”
  2. In Flexible mode, you will choose the data object first and then click “download template”

It is important that your data is formatted for the input type of the field that will receive it. For example - text values in a field formatted for number inputs will result in errors upon import. For guidelines on how to format your data prior to importing check out our article here.

Flexible Mode and File Naming

In flexible mode, you can only import one data object type in a file. To identify which data object type is being imported, follow this file naming convention: 

{DataObjectTypeName}_{YourFileName}

Flexible Mode and Relating Data Objects via Import

In flexible mode, you can relate child objects to their parent object by providing an identifier for the parent object in the “RelatedTo” column on the import template.

  • You can insert the SPOTIO RecordID of the parent into the “RelatedTo” column for the child object you would like to relate to the parent in SPOTIO
  • To get this ID, you can export SPOTIO records that you would like to relate child objects to.
    • For example – If you want to relate Contacts to Accounts, you can export the Accounts you want to add Contacts to, and include the RecordID for the account from the exported file in the “RelatedTo” column on the Contacts import file 
  • The relationship will be created when the child object is successfully imported

Importing Territories

You can import territories using the /Territories folder.

If you are importing territories into SPOTIO, there are specific guidelines to follow:

  • SPOTIO automatically adds new territories when you upload KML files with new territory titles.
  • If the territory name and title in the KML file are the same, the territory is updated with new shapes.
  • SPOTIO supports only simple polygon KML imports for territories.
  • The title of a polygon in the KML structure becomes the name of the territory.
  • Make sure to have the prefixes "1_," "2_," or "3_" in the file name, indicating the hierarchy levels of territories to ensure the proper order of processing. 
    • e.g.
      1_rooterritories.kml
      2_nested.kml
      3_nested2.kml
  • Multiple territories can be in 1 file and exist in the import folder or the territories can be in all separate files then added in the same import folder.

Large Files and Processing

SPOTIO automatically splits large files into 10,000 data object packages during import. It is recommended to start with smaller files to ensure that the import mechanism works correctly. The files are processed at an interval of one hour, so expect a maximum one-hour delay for file processing.

Other Features

SPOTIO also offers additional features to enhance the import process:

  • Support for Zip Files: You can upload and import files in ZIP format, making it more convenient to transfer multiple files together.
  • Export Functionality: SPOTIO allows you to export data objects on a daily or weekly basis, based on your specific requests.

Using External Identifiers

SPOTIO provides an extra option for enterprise companies to use their own identifiers for addresses (pins) and data objects. This involves adding an extra column in the CSV file during the import process:

  • ExternalLeadId: To identify leads in Classic mode.
  • ExternalDataObjectId: To identify data objects in Flexible mode.
  • ExternalPinId: To identify addresses (pins) and ensure all data objects are attached to the same pin if the address on the customer side is the same.

When you use these external IDs, they take precedence over other rules SPOTIO uses for matching data. This allows you to customize and maintain consistency in your data management.

 

Updating Records via Import

SPOTIO allows you to update records via imports through SFTP. You can upload a file of existing records with header rows for a unique identifier (such as SPOTIO DataObject Id or External DataObject Id) that can match to existing records in your SPOTIO account, and any fields you would like to update on the records. To update records via import, you should follow a few guidelines: 

  1. To update record fields in SPOTIO, prepare a file with the External DataObject Id or SPOTIO DataObject Id in one column, and include only the columns for the fields you wish to update 
  2.  **IMPORTANT** When the External DataObject Id or SPOTIO DataObject Id in a row of data matches an existing record in SPOTIO with one of these identifiers, the record in SPOTIO will be updated with data from any columns you provide in your import file
  3. You can choose to only update specific columns in your data by removing any columns you do not wish to update
  4. You cannot replace values with blanks when updating via import
  5. Only Custom Field values, Stages, and Owners can be updated via import

 

Conclusion

Now that you understand the process of uploading files over SFTP to SPOTIO, you can efficiently manage your data objects, territories, and leads. Whether you're in classic mode or flexible mode, SPOTIO's SFTP import system ensures secure and reliable data transfers for your business needs. Happy importing!

Was this article helpful?

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.