Extract Data from SFTP Files Task
What's on this page
About Extract Data from SFTP Files Task
The Extract data from SFTP files task allows you to import data from your SFTP server to use in Qualtrics. You can use this task to process just one or multiple files at a time. You can combine this task with other tasks, such as the Load data to XM Directory task, to import data into other places in Qualtrics.
Qtip: Qualtrics offers our own SFTP servers for clients through our Professional Services team. There is a cost associated with this service; however, we do guarantee that these servers will work with automations. For more information, please contact our Professional Services team.
Attention: Your SFTP account must have read, write, and delete permissions in order for this task to succeed.
Connecting an SFTP Account
Before you can use the Extract data from SFTP Files Task, you must connect an SFTP account for Qualtrics to extract the data from. Accounts may be added by Brand Administrators for other users in the brand to use, or by individual users for their personal use.
There are 3 different authentication options:
- Password: Authenticate with a username and password.
- SSH Key: Authenticate using a Secure Shell (SSH) key that you provide, or a key provided by Qualtrics.
- Encrypted SSH Key: Authenticate using an encrypted SSH key.
Qtip: When setting up an SFTP connection, we recommend your IT team Allowlist the Qualtrics IP Ranges.
Adding an Account as a Brand Administrator
If you are a Brand Administrator, follow the steps in this section to add an SFTP account for some or all users in your license to use.
Adding an account as an Individual User
Follow the steps in this section to add an SFTP account for your personal use. Only you will be able to use the account that you connect.
Testing the Connection
After you’ve added an account, you can test the connection from within the Extract data from SFTP files task. At the bottom of the task, click Test connection. This will upload a small test file to your server, read its contents, and then delete the file.
Downloading public SSH keys
If using an SSH key generated by Qualtrics, you can download the public key for the connection. When viewing the list of SFTP accounts to use, click the three dot menu to the right of an account and then choose Download public SSH key. This will download the key to your computer as a .pem file.
Updating Qualtrics-Generated SSH Keys
If using an SSH key generated by Qualtrics, you can regenerate the key if needed. This is useful if you believe the key has been compromised or if your company requires you to rotate keys after a certain amount of time.
Attention: This action will automatically update your account SSH key and cannot be reverted. Make sure you want to regenerate the key before following the steps in this section.
Qtip: Make sure to click Download public SSH key and Copy to clipboard to save your new SSH key.
Troubleshooting the “Extract Data from SFTP Files” Task
Here are best practices, limits, and troubleshooting advice for processing files with this task:
- File size limits: The Extract Data from SFTP Files task has a limit of 200 files per run, with each individual file having a 5 GB file size limit and a total file size limit of 10 GB for all files. If files exceed these limits, the task will fail, meaning none of the files will be processed.
- Headers required: Files need 1 row of headers to be processed. If a file is missing a header row, the file will be considered invalid.
- Files causing task failure: If you try to extract multiple files and 1 of them causes the task to fail, you need to change the file to prevent the workflow from trying to process it again, thus failing. For example, you can move the file into a different directory in your SFTP, delete it, or change the file prefix to something else.
- Escaped quotes: Backwards slashes ( \ ) are not valid escaped quotes for CSV files. Make sure you use straight quotation marks ( “” ). Do not use typographic quotes ( “ ” ).
- Line endings: If you are using a file that has only carriage return line endings, then they will be replaced with newline line endings.
- UTF-8 encoded CSVs: If you’re using a CSV, the only supported file encoding format for this task is UTF-8. Some spreadsheet software saves as Unicode UTF-8, which is different from UTF-8, if you are getting unexpected errors. Please ensure that you are exporting in UTF-8 format and not Unicode UTF-8.
Qtip: For information on general limits that apply to ETL workflows, see Workflow Limits. For any task-specific limits, refer to the information on this page.
For troubleshooting SFTP connections, see SFTP Troubleshooting.
Setting up an Extract Data from SFTP Files Task
Example Files
Below are example files for how to structure your data for import, depending on the type of data you want to import. Click on a file name to download the example file.
- Employee Data
- Account Data
- Contact Data
- Survey Response Data
- User Data
- Salesforce Account Team Member Data
- Chat conversational data
- Email conversational data
Extracting Conversational Data from SFTP Files
Conversational data is data from chats and emails. For example, if you have records of customer and support interactions, these would be conversational data. This kind of information can contain enriching open-ended feedback, as well as provide an opportunity to coach your customer-facing representatives on how to best serve your customers. You can perform this kind of conversational analytics once your data has been moved from your server to Qualtrics, with our host of Omnichannel Listening features.
To learn more, see Extracting Conversational Data from Files.
FAQs
Do I have access to all extensions available through the Workflows templates?
Do I have access to all extensions available through the Workflows templates?
Is there a link to all Workflows events and tasks?
Is there a link to all Workflows events and tasks?
What are Workflows templates?
What are Workflows templates?
What are workflows? / Where are actions?
What are workflows? / Where are actions?
There are no changes to workflow functionality as part of this update.
How do I add or remove an extension from my Qualtrics account?
How do I add or remove an extension from my Qualtrics account?
That's great! Thank you for your feedback!
Thank you for your feedback!