Spojit
Klaviyo automation

Automate Klaviyo SFTP imports and exports

Spojit picks up CSV files from your SFTP server and turns each row into a Klaviyo profile on the right list, and on a schedule exports Klaviyo lists or events to CSV files on SFTP for other systems.

  1. Every hourtrigger
  2. Download new CSVaction
  3. Parse and validateaction
  4. Upsert Klaviyo profilesaction
  5. File archiveddone
How it works

The workflow, step by step

    1

    Watch the SFTP folder

    On a schedule, the FTP connector lists the import folder and downloads new files from your ERP, POS or loyalty system.

    2

    Parse and check the CSV

    CSV tools parse the file, check the columns, and drop rows without a valid email or phone number.

    3

    Upsert profiles

    Each row creates or updates a Klaviyo profile with its properties, and profiles are added to the right list.

    4

    Archive the file

    The processed file is moved to an archive folder, so it is never imported twice.

    5

    Export on a schedule

    For the other direction, Klaviyo profiles or events are read, turned into a CSV and uploaded to the export folder.

How Spojit connects Klaviyo

Klaviyo is a built-in connector in Spojit, connected with a private API key from Settings, API Keys, scoped to what your workflows need.

What you need
  • A Klaviyo account
  • A private API key with the scopes your workflows need
Make it yours

Ways to adapt it

  • Import in-store purchases as Klaviyo events, so flows react to POS sales.
  • Export unsubscribes nightly so other systems respect them.
  • Send the team a summary of rows that failed validation.
  • Read files from email attachments instead of SFTP.
FAQ

Questions, answered

Doesn't Klaviyo have its own SFTP import?

Klaviyo offers an SFTP import for profiles. Spojit is for when you need your own server, exports as well as imports, events, or validation and mapping before data reaches Klaviyo.

Can it handle large files?

Yes. Rows are processed in batches, and durable execution resumes a long import after a timeout.

Does it support FTPS and SFTP?

Yes. Spojit's FTP connector handles FTP, FTPS and SFTP, with password or key authentication for SFTP.

Build it in minutes

Describe this workflow to Miraxa and it builds it for you, ready to test. Start free, no credit card required.