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:

ItemRequiredDescription
SFTP credentialsYesThe username and password used to connect to your server.
Server hostnameYesThe hostname of your SFTP server.
PathOptionalA specific folder on your SFTP server to send interactions to.
PGP public keyOptionalInclude this if you want the files to be encrypted.
FingerprintsOptionalUsed to verify your server.

Configure SFTP Settings

In this step, you'll create the integration and enter your SFTP details so Capacity can connect to your server.

  1. In the Admin section of your account menu, select Integrations.
  2. Select Add integration, then choose SFTP.
  3. When prompted, confirm your CI credentials, then select Authorize.
  4. Select Untitled SFTP integration, 
    1. Type a name that will help you recognize it later (for example, U.S. customer chats)
  5. Enter your server details:
    FieldRequiredDescription
    HostnameYesThe hostname of your SFTP server.
    PathOptionalThe 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/2026080417
    PGP public keyOptionalEncrypts the files sent to your server.
    FingerprintsOptional, comma-delimited Used to verify your server.
    Timezone​YesDefaults to Central time. Change timezone if your server is sensitive to differing timezones.
    Send in batchesOptionalFiles are sent in larger batches instead of individually
    Use SSH authenticationOptionalSee Authentication below
  6. 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.

OptionWhat you'll enterSetting
Username and passwordUsername and password for your SFTP serverDefault. No extra setting needed.
SSH keyUsername and private SSH keyTick Use SSH key authentication

Option 1: Username and Password

  1. Under Authentication, select Add authentication.
  2. Enter the Username and Password for your SFTP server.
  3. Select Save.
  4. When prompted, confirm your CI credentials, then select Authorize.

Option 2: SSH Key

  1. Tick Use SSH key authentication.
  2. Select Add SSH Key authentication.
  3. Enter the Username for your SFTP server.
  4. Enter your private SSH key. The key is hidden as you enter it. 
  5. Select Save.
  6. When prompted, confirm your CI credentials, then select Authorize.

Add a Trigger

Triggers control which interactions Capacity sends to your SFTP server.

  1. In your new SFTP integration, go to Triggers with this integration and select Add trigger.
  2. 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.
  3. 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.
  4. 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

  1. At the top of your SFTP integration, just under its name, select Enable.
  2. Save the integration if prompted.

Once the integration is enabled, interactions that match your trigger criteria start flowing from Capacity to your SFTP server.


Was this article helpful?