SFTP
Connect your SFTP server to Capacity to export customer interaction details and metadata from Conversation Intelligence (CI). This article covers how to set up the SFTP integration within CI.
How It Works
The SFTP integration sends individual JSON files per interaction from Capacity to your SFTP server. You decide which interactions are sent by setting up triggers, which use the same filters you see in the Filter panel on Search & Browse. Once the integration is enabled, every interaction that matches a trigger is sent to your server.
For details of the data you'll receive, see Conversation Intelligence Data Model.
Before You Begin
- You must be a CI Admin to set up the SFTP integration.
- SFTP must be enabled for your organization. If it isn't, email creovai-support@capacity.com and ask for it to be enabled before you start.
Have the following information ready:
| Item | Required | Description |
|---|---|---|
| SFTP credentials | Yes | The username and password used to connect to your server. |
| Server hostname | Yes | The hostname of your SFTP server. |
| Path | Optional | A specific folder on your SFTP server to send interactions to. |
| PGP public key | Optional | Include this if you want the files to be encrypted. |
| Fingerprints | Optional | Used to verify your server. |
You'll be copying sensitive credentials from your SFTP server into Capacity. Paste them directly rather than typing them, and don't leave them visible on screen once you've finished.
Configure SFTP Settings
In this step, you'll create the integration and enter your SFTP details so Capacity can connect to your server.
- In the Admin section of your account menu, select Integrations.
- Select Add integration, then choose SFTP.
- When prompted, confirm your CI credentials, then select Authorize.
- Select Untitled SFTP integration,
- Type a name that will help you recognize it later (for example, U.S. customer chats)
- Enter your server details:
Field Required Description Hostname Yes The hostname of your SFTP server. Path Optional The folder to send interactions to.
You can include specially formatted text to include parts of the current date in your path:
e.g. SomePath/{'month'}'-'{'day'}'-'{'year'}' becomes SomePath/08-04-2026
e.g. SomeOtherPath/{'year'}'{'month'}'{'day'}'{'hour'} becomes SomeOtherPath/2026080417PGP public key Optional Encrypts the files sent to your server. Fingerprints Optional, comma-delimited Used to verify your server. Timezone βYes Defaults to Central time. Change timezone if your server is sensitive to differing timezones. Send in batches Optional Files are sent in larger batches instead of individually Use SSH authentication Optional See Authentication below - Select Save
Authentication
CI can authenticate with your SFTP server using either a username and password or an SSH key. Choose the option that matches how your server is set up.
| Option | What you'll enter | Setting |
|---|---|---|
| Username and password | Username and password for your SFTP server | Default. No extra setting needed. |
| SSH key | Username and private SSH key | Tick Use SSH key authentication |
Option 1: Username and Password
- Under Authentication, select Add authentication.
- Enter the Username and Password for your SFTP server.
- Select Save.
- When prompted, confirm your CI credentials, then select Authorize.
Option 2: SSH Key
- Tick Use SSH key authentication.
- Select Add SSH Key authentication.
- Enter the Username for your SFTP server.
- Enter your private SSH key. The key is hidden as you enter it.
- Select Save.
- When prompted, confirm your CI credentials, then select Authorize.
Enter your private key, not your public key. Never share your private key by email or chat. Enter it only in this field.
If you change or remove your credentials or key on your SFTP server, update them in the integration too. Otherwise the connection will stop working.
Add a Trigger
Triggers control which interactions Capacity sends to your SFTP server.
Required: no interactions are sent to your SFTP server unless the integration has at least one trigger.
- In your new SFTP integration, go to Triggers with this integration and select Add trigger.
- Choose your filter criteria. These are the same filters used on Search & Browse, so you can narrow interactions by date and time, country, language, categories, custom groups (teams), talk time, agents, customers, number dialed and more.
- Name the trigger something that reflects the criteria you chose (for example, U.S. Sales closer or provider). Select the trigger name and type into the field that appears.
- Save the trigger. If you don't, any changes you've made may be lost.
You can enable or disable each trigger separately from the integration on the Triggers page.
Enable the Integration
- At the top of your SFTP integration, just under its name, select Enable.
- Save the integration if prompted.
Once the integration is enabled, interactions that match your trigger criteria start flowing from Capacity to your SFTP server.
The connection can stop working if you delete your SFTP credentials from the integration, or if you change them on your SFTP server and don't update them in Capacity. If this happens, update the credentials in the integration to restore the connection
