IntegrationsBuilt-in toolsSFTP
Connect SFTP to Salesforce with a visual flow
The Edge Connect SFTP to Salesforce integration picks up each new CSV file in your SFTP folder and loads its rows into Salesforce, so partner files stop being imported by hand. You build the flow on a visual canvas.
- Password or PEM private key
- No code
Why connect
Why connect SFTP to Salesforce?
Partners, banks, and internal systems still exchange data as files. A CSV lands in a folder, and someone opens it, fixes a column, checks it against what’s already in Salesforce, and imports it by hand. Until that happens, the records are not in the CRM, and nobody downstream can act on them.
The work is repetitive and easy to get wrong, and it tends to land on the same person. An import script becomes something only its author understands. A custom integration joins the developer queue, and an enterprise integration platform is a big project for one folder of files.
Edge Connect puts the import on a visual canvas that your Salesforce Admin controls. Every file goes through the same steps, and each step writes its input and output to the logs.
How it works
How does the SFTP to Salesforce integration work?
What do you need before you start?
- The server’s host and port (22 for SFTP), a username, a password or PEM private key, and the path of the incoming folder
- A Salesforce org with Edge Connect installed from the AppExchange
- A sample file, and the mapping from its columns to your Salesforce fields
Built in
What happens to a row that fails?
Send a bad row aside
Set On error on the Salesforce step to send the error and the flow data to an error port. From there, the flow can add the failed row to a CSV file for someone to review.
Catch errors across the flow
The OnError trigger fires when there is an error anywhere in the flow, so a failed load can start its own alert path.
Go back to a version that worked
Version history keeps earlier versions of the flow. If a change to the file steps breaks the load, restore the last version that worked.
What syncs
What data moves between SFTP and Salesforce?
In Edge Connect, reading and editing rows is the job of the CSV step, not of the FTP connector. The CSV step reads column names from the first row only, and its delimiter is a single character you set, a comma by default.
- 1trigger
- 8actions
- 01Files in a folderLoad the rows into Salesforce. Starts on: new file, new folder.
- 02DirectoriesCreate a folder for each new partner.
- 03Rows inside a CSVRead the rows that become Salesforce records.
Triggers
What can start an SFTP flow?
The server connector has one trigger: New File, which watches a folder for new files and folders. Everything else it offers is an action the flow calls.
If the work should start with something else, use that trigger and call the FTP connector as a step. A change in Salesforce can start it, and so can a Timer.
Trigger
- New File
8 actions
- Download File
- Upload File
- Rename File
- Remove File
- Get File Info
- List
- Create Directory
- Remove Directory
Example flow
Example: a partner’s CSV file becomes Salesforce records
What changes for your team: the file reaches Salesforce without anyone opening it. When a record looks wrong, the step logs show the row it came from.
This is an example. Your mapping, your objects, and the rules for what counts as a match are yours to decide.
- 01Start with a triggerA partner or system drops a file in the folder.
- 02Read the fileThe flow opens the CSV and reads each row.
- 03Create the recordsThe flow creates or updates a Salesforce record for each row.
Copilot
Can Copilot build the file flow from a sentence?
Describe the flow in one sentence, for example “When a new file lands in the partner folder, read the CSV and load the rows into Salesforce.” Edge Connect’s Copilot adds the steps and links them. Open any step to check the folder path and the fields, then run Test Flow.
Use cases
More ways to use SFTP with Salesforce
Mark the file as done
Rename the processed file, for example with a date in front, or remove it once its records are in Salesforce.
Check the file before you load it
Read a file’s metadata or list the folder first, and branch on what you find.
Create the folder you need
A flow can create a directory, so a new partner can be set up without anyone opening an FTP client.
From Salesforce
Can Salesforce send data to an SFTP folder?
Files can go out as well as in. An Edge Connect flow can query Salesforce, build a CSV from the result with the CSV step, and send it to an SFTP folder with Upload File, for a partner or a bank to pick up.
Start it with a Timer or a Scheduler when a partner expects the file on a schedule. The Timer runs as often as every 5 minutes, so the partner’s copy stays in sync with Salesforce without a manual export.
One flow, more than one connector
Can one flow use SFTP, Salesforce, and Slack?
This flow picks up a file, loads it, and reports back. It uses the SFTP connector, the CSV step, Salesforce, and Slack:
A Condition step can decide which steps run. For example, post to Slack only when the file has more rows than a number you set.
- 01Start with a triggerNew File picks up the partner’s file.
- 02Read the rowsGet Rows turns the file into a list of rows for the next step.
- 03Load the recordsCreate and update actions write each row to Salesforce.
- 04Tell the teamThe flow posts a message to a Slack channel with the result.
AI steps
Which AI steps can an SFTP flow use?
Partner files often include a column people fill in freely. An Edge Connect AI step can sit between reading the rows and loading them into Salesforce, and work on that text.
- 01Turn text into fieldsTransform Text to JSON turns a notes column into named fields the flow can save.
- 02Screen the notes columnModerate flags text that may be harmful before it lands on a Salesforce record.
Slack
Can I connect SFTP to Slack?
Let the team know what happened to each partner file. With Edge Connect, a flow can post to a channel with Send Channel Message when:
A partner file arrives in the folder
The rows from a file are in Salesforce
A step fails and On error sends the details to an error port
For example, when the bank’s file arrives, the flow posts to your operations channel, and a second message follows once the records are loaded. To connect Slack, you sign in to your workspace once.
By team
Which teams use the SFTP to Salesforce integration?
Salesforce Admins
Salesforce Admins stop being the person who imports files by hand.
See the Salesforce AdminsOperations
Operations and data teams get the same rules applied to every file.
See the OperationsPartner and channel teams
Partner and channel teams onboard a new partner by pointing a flow at a folder.
Financial services
Financial services teams that trade files with banks and credit unions get them into Salesforce without a manual import.
See the Financial services
Integrations
SFTP is one of 200+ connectors
Edge Connect is a low-code integration platform for Salesforce from InnovAgents / M&S Consulting, available on the Salesforce AppExchange. The CSV step, Converters, and Slack often join the FTP connector in a file flow.
Browse all integrations- CSVBuilt-in tools
Read rows, add, update, or delete them, or build a new CSV to send back.
- DataWeaveBuilt-in tools
Write a DataWeave script for files the CSV step can’t handle. This step is code, so plan for someone who knows DataWeave.
- Amazon S3Documents & storage
Start a flow from a bucket instead of a folder: NewObject fires for POST, copy, and multipart uploads, and UpdatedObject for files sent with PUT.
- SlackCommunication
Post a message to a channel when a file is loaded.
- HTTPBuilt-in tools
Call an API directly, for systems that have no connector of their own.
- OpenAIAI & agents
Add AI steps to your flow: send prompts, extract fields from text, or run an AI agent.
By industry
SFTP in industry flows
If the files come from partners or distributors, see Salesforce integration for distributors or Salesforce integration for manufacturers.
Banks & credit unions
Start a flow when your core's nightly file lands, and download, upload, or move files on the server.
See the Banks & credit unionsWholesale & distribution
Start a flow when a partner’s file lands, and download, upload, or move files on your server.
See the Wholesale & distributionManufacturing
Start a flow when a distributor’s file lands on your server.
See the Manufacturing
FAQ
Frequently asked questions
Still have a question? Talk to our team, or read the Get started guide.
Is there an SFTP connector in Edge Connect?
Yes. Edge Connect lists it as FTP, and the same connector handles FTP and SFTP servers. You choose SFTP in the account settings.
Can Edge Connect read a CSV from an SFTP server?
Yes. The New File trigger picks up the file, and the CSV step’s Import CSV and Get Rows actions turn it into rows the flow can load.
How are the records loaded into Salesforce?
Salesforce has separate create and update actions, so the flow can look up each row first and then create a record or update the one it found.
What if my partner sends Excel files?
Add a Converters step before the CSV step. XLSX2CSV turns the sheet into a CSV the flow can read.
Do I need a developer to connect SFTP to Salesforce?
Not to connect the server or read the file. In Edge Connect, a Salesforce Admin sets up the FTP account, the New File trigger, and the CSV step on a visual canvas. A file that needs reshaping beyond the CSV step calls for a DataWeave script, which is code.
How is Edge Connect different from Salesforce Flow?
Use them together. Salesforce Flow handles record logic in your org, and Edge Connect handles the file server. A screen flow can call an Edge Connect flow with the Call Edge Connect Flow component, which sends a body and gets a response back. In the other direction, Edge Connect’s CallFlow action can run a Salesforce flow after a file loads.
How do I connect SFTP to Salesforce?
After you install Edge Connect from the Salesforce AppExchange, give access to the profiles that need it, because only System Administrator has it at first. Then open Edge Connect from Salesforce, add your server as an FTP account, and point the New File trigger at a folder.


