Connecting FTP Fulfillment Channel to Pipe17

The FTP Fulfillment Channel connector integrates Pipe17 with third-party logistics providers (3PLs) and warehouses that do not expose a REST API. Instead of HTTP calls, all communication happens through files on an FTP server - the connector uploads outbound files for the 3PL to consume and downloads inbound files that the 3PL places there.

This connector is designed for warehouses that manage operations through CSV, XML, or JSON files (sometimes via Excel or manual uploads), where direct API integration is not available or practical.

You can find the sample files at the bottom of this article.

Connector type: Logistics (3PL fulfillment channel) Supported protocols: FTP, FTPS, SFTP


How It Works

Architecture

All data exchange is file-based:

  • Pipe17 → 3PL (outbound): Pipe17 generates a file (CSV, XML, or JSON) and uploads it to a designated folder on the FTP server. The warehouse monitors that folder and acts on the file.
  • 3PL → Pipe17 (inbound): The warehouse creates a file and places it in a designated folder on the FTP server. The connector polls that folder, downloads new files, parses them, and creates or updates records in Pipe17.

File Lifecycle

Once the connector downloads an inbound file, it applies the Post-Processing Action set in the connection settings. The two most common actions are below. You can also choose Add '.processed' Extension (Rename) or No Action Required:

Action What happens
Move to ./processed folder (default) The file is moved to a processed/ subfolder within the same path, e.g. in/fulfillments/processed/
Remove file The file is deleted from the FTP server immediately after processing

Note: Pipe17 downloads and stores the file internally before processing. Even if the 3PL deletes files from their server on their own schedule, data is not lost.

Data Format

The connector converts between the 3PL's file format and Pipe17's internal JSON representation on every transfer. The file format is set once at the connection level and applies to all flows.


Setup and Settings

Before you begin

  • An FTP, FTPS or SFTP server that both the app and your 3PL can reach. The server belongs to you or your 3PL. Pipe17 doesn't host it.
  • From the server's administrator: the protocol, host name or IP address, port, username, and a password or, for SFTP, a private key.
  • Your 3PL's file specification: the file type (CSV, XML, JSON or X12), the CSV delimiter, the folder names, and sample files for each flow.
  • The list of flows you plan to use, such as shipping requests, fulfillments and inventory.

Prepare the FTP server

Ask the server's administrator to do the following before you connect.

  1. Create a user for the app with read, write and delete permissions on every folder the integration uses. The app writes outbound files, and it renames, moves or deletes inbound files after it processes them.
  2. Create a folder for every flow you plan to turn on. The app doesn't create these folders. You can change any path later on the integration's Settings tab. Paths must match the server exactly, including capital letters. The default folders are:
    Flow Default folder
    Shipping requests (app to 3PL) /out/shipments
    Shipment acknowledgments (3PL to app) /in/shipments-ack
    Fulfillments (3PL to app) /in/fulfillments
    Inventory (3PL to app) /in/inventory
    Locations (3PL to app) /in/locations
    Products (app to 3PL) /out/products
    Arrivals (app to 3PL) /out/arrivals
    Receipts (3PL to app) /in/receipts
    Returns (app to 3PL) /out/returns
    Return receipts (3PL to app) /in/returns
  3. If the server has a firewall, allow connections from Pipe17's IP addresses. See Whitelisted IPs for Connectors.
  4. For SFTP with key-based sign-in, generate a key pair, for example with ssh-keygen. Add the public key to the user's ~/.ssh/authorized_keys file on the server, and keep the private key for the app. Use a key without a passphrase, because the pop-up has no passphrase field.
  5. Test the login with an FTP client: sign in, create a folder, upload a file, download it, rename it and delete it. If any step fails, the app will fail at the same step.

Connect in the app

  1. Navigate to Integrations in the app and click Add Integration.
  2. Select FTP Fulfillment channel. The connection pop-up opens.

Connect FTP Fulfillment channel pop-up (top)
Connect FTP Fulfillment channel pop-up (bottom)

  1. Select the Communication Protocol. Use FTPS or SFTP when the server supports them. Plain FTP sends the password and files unencrypted.
  2. Enter Host without the protocol, for example ftp.example.com.
  3. Enter Port. The default, 22, is the usual SFTP port. For FTP and FTPS, the usual port is 21. For FTPS, the app uses port 21 if you enter 990.
  4. Enter Username and Password/Key. For an SFTP private key, paste the whole key, including the first -----BEGIN ...----- line and the last -----END ...----- line.
  5. Leave Disable TLS Validation off. Turn it on only to test with an FTPS server that has a self-signed certificate.
  6. Set the file options to match your 3PL's specification. The table below lists every field in the pop-up.
  7. Click Connect. The app signs in to the server and lists the user's home folder.

Note: If you click Add without credentials, the integration is added but doesn't sync until you enter the server details on the Connection Details tab and save.

Connection settings apply to all flows on the integration:

Field What it does Default
Communication Protocol FTP, FTPS or SFTP. FTPS or SFTP is recommended. FTP
Disable TLS Validation Skips the FTPS server certificate check. Use it for testing only. Off
Host Host name or IP address of the server, without the protocol. (required)
Port TCP port of the server. 22
Username The server user for the app. (required)
Password/Key The password (all protocols) or the private key (SFTP only). (required)
Import/Export File Type The file format for all flows. See File Formats below. JSON
Inbound File Processing Action What happens to an inbound file while it's being processed: No Action Required or Add '.processing' Extension (Rename). No Action Required
Post-Processing Action What happens to an inbound file after it's processed: No Action Required, Add '.processed' Extension (Rename), Move to './processed' Folder or Remove File. Move to './processed' Folder
CSV Column Delimiter The column delimiter in CSV files: comma, colon, semicolon, equals sign, vertical line, dollar sign or tab. Comma (,)
Quote CSV Values Only When Necessary Puts a CSV value in quotes only if it contains the delimiter or a quotation mark. On
Allow Case-Insensitive Fields in CSV Matches column names in inbound CSV files regardless of capital letters. Off
Check Write Permissions Checks in advance that the user can write to the folders of the flows you turn on. If it can't, the connection fails. Off
Upload Results for Incoming Files Writes a .results file for each inbound file, in a results subfolder of the download folder, with the import result of each record. Off
Delete old files after Deletes files older than this from the integration's FTP folders, including the processed subfolder: result files, stale .processing files, processed files and old source files. After 30 days

Note: Delete old files after is set to 30 days by default. If you or your 3PL need to keep files longer, choose a longer period or Never delete.

Confirm the connection

  1. On Integrations, check that the FTP Fulfillment channel integration shows Connected and that its switch is on. If it shows Error, the app couldn't reach or sign in to the server. Check that Host has no protocol prefix, that Port matches the protocol, the username and password or key, and the firewall allowlist. If Check Write Permissions is on, also check that the user can write to each flow folder. Fix the details on the Connection Details tab and save. If it shows Not Configured, enter the server details there and save.
  2. On the Settings tab, turn on Pull locations from FTP. Keep When pulling locations at Create default location only unless your 3PL sends a locations file. Click Save. Within about 5 minutes, a location with the integration's name appears in the app. Shipping requests, arrivals and returns reach this integration only through its locations.
  3. Turn on one flow at a time and click Save. Each time the app connects, it checks that the folder of each flow you turned on exists. If a folder is missing, that flow doesn't run. All flows run every 5 minutes. Test each flow with one record:
    Flow How to test What to check
    Products Add one SKU to Process only products with specific SKUs, turn on Push products to FTP, and save. Within about 5 minutes, a product file appears in the products upload folder. Only published products are sent.
    Inventory Add one SKU to Process only inventory items with specific SKUs, turn on Pull inventory information from FTP, and save. Ask the 3PL to place an inventory file in the inventory folder. Within about 5 minutes, the file is handled as set in Post-Processing Action, and the SKU's quantity updates in the app.
    Shipping requests Turn on Push shipping requests to FTP and save, then create a test order that is routed to this integration's location. There is no order filter, so every shipping request that becomes ready for fulfillment at this location is sent. Within about 5 minutes, a file appears in the shipping requests folder and the shipping request moves to Sent to Fulfillment.
    Fulfillments Turn on Pull fulfillments from FTP and save. Ask the 3PL to place a fulfillment file for the test order. Within about 5 minutes, the tracking number shows on the test order.
  4. While you test, turn on Upload Results for Incoming Files to get a .results file for each inbound file that shows how each record was handled.
  5. When the tests pass, clear Process only products with specific SKUs and Process only inventory items with specific SKUs, and click Save. With a filter cleared, the flow processes all records.

File Formats

The file format is set in Import/Export File Type and applies to all flows.

Format Best for
JSON API-style integrations; structured nested data
CSV (Flatten) Flat tabular files where the whole record is on one row; nested arrays use dot-path notation (e.g. lineItems.0.sku)
CSV (Unwind) Tabular files where each array item (e.g. each line item) becomes its own row
XML Standard XML with entity-typed root elements
X12 ANSI X12 EDI files
Other CSV and XML options Formats built for specific warehouse systems. Use one only when Pipe17 support sets it up for your warehouse.

Flow Settings

Turn on only the flows your 3PL requires. Each flow has a switch and path settings, described in the Flows section below.


Flows

1. Shipping Requests - Pipe17 → FTP

When an order is ready to be fulfilled, Pipe17 generates a shipping request file and pushes it to the 3PL's FTP server.

Direction: Outbound (Pipe17 uploads)

Setting Description Default
Push shipping requests to FTP Enable/disable this flow Off
Specify the path where shipping requests should be uploaded to FTP directory where shipping request files are placed /out/shipments
Specify components to be included in generated shipping request file name Parts included in the generated filename. Choose any combination of: Timestamp, Order Id, Entity Type (shipments) Timestamp + Order Id
Specify options to be processed within selected file conversion Extra values some file formats need. Change it only if Pipe17 support asks you to Preset
Enable pulling shipment acknowledgments Pulls acknowledgment files that the 3PL places after it receives shipping requests, and updates the matching shipping requests in the app Off
Specify the path to pull shipment acknowledgments from FTP directory the connector checks for acknowledgment files /in/shipments-ack

Filename example: 20240315_093000123_ORD-1234.csv. The parts are joined with underscores in the selected order. The extension matches the file type.

The 3PL monitors this folder, retrieves the file, and processes the outbound shipment.

2. Fulfillments - FTP → Pipe17

After the 3PL ships an order, they place a fulfillment (shipment confirmation) file on the FTP server. The connector downloads it and creates a fulfillment record in Pipe17, completing the order.

Direction: Inbound (connector downloads)

Setting Description Default
Pull fulfillments from FTP Enable/disable this flow Off
Specify the path where fulfillments should be downloaded from FTP directory the connector monitors for fulfillment files /in/fulfillments
Group multiple fulfillment records into a single fulfillment entity by these fields Combines several rows into one fulfillment when they share these fields, for example extOrderId and trackingNumber. Supported for CSV only (empty)

A fulfillment file should include at a minimum: SKU, quantity, tracking number, and the external order ID to match back to the original order.

3. Inventory - FTP → Pipe17

The 3PL periodically places inventory snapshot files on the FTP server. The connector pulls these and updates inventory levels in Pipe17.

Direction: Inbound (connector downloads)

Setting Description Default
Pull inventory information from FTP Enable/disable this flow Off
Specify the path where inventory should be downloaded from FTP directory the connector monitors /in/inventory
Process only inventory items with specific SKUs Process only inventory for specific SKUs. Leave empty to process all (empty - all SKUs)

An inventory file should include at a minimum: SKU, location ID, and available/on-hand quantities.

4. Locations - FTP → Pipe17

The connector can pull warehouse location definitions from FTP and register them in Pipe17, so that subsequent flows (especially arrivals) can route to the correct location.

Direction: Inbound (connector downloads)

Setting Description Default
Pull locations from FTP Enable/disable this flow Off
When pulling locations Choose how locations are sourced: Create default location only, Pull locations from FTP path defined below, or Create a default location and pull locations from FTP. The default location is named after the integration Create default location only
Specify the path where locations should be pulled from FTP directory to pull location files from /in/locations

For simpler integrations with a single warehouse, set When pulling locations to Create default location only - no FTP path is needed. Pull locations from FTP must still be on, or no location is created for the integration.

5. Products - Pipe17 → FTP

Pipe17 pushes the product catalog to the 3PL's FTP server so the warehouse has up-to-date SKU and product information.

Direction: Outbound (Pipe17 uploads)

Setting Description Default
Push products to FTP Enable/disable this flow Off
Specify the path where products should be uploaded to FTP directory where product files are placed /out/products
Specify components to be included in generated product file name Parts included in the generated filename: Timestamp, SKU, Entity Type (products) Timestamp
Process only products with specific SKUs Push only products with these SKUs. Leave empty for the full catalog (empty - all SKUs)
Force products catalog resync Trigger a one-time full catalog push Off

6. Purchase Order / Transfer Order Arrivals - Pipe17 → FTP

Note: Arrivals and receipts are available in the FTP connector. The app sends only arrivals in shipped status whose destination location belongs to this integration.

Background: POs, TOs, and Arrivals

Pipe17 supports two types of inbound goods movements:

Type What it is Direction
Purchase Order (PO) Goods arriving from an external supplier Supplier → Warehouse
Transfer Order (TO) Goods moving between two of your own warehouses Warehouse A → Warehouse B

Both are represented as arrivals in Pipe17. An arrival is an advance notice to the warehouse that goods are coming. When those goods physically arrive, the warehouse creates a receipt confirming what was actually received.

Arrivals-Out (ASN): Pipe17 → FTP

When an arrival is created in Pipe17 (from a PO or TO), the connector uploads an ASN (Advanced Shipping Notice) file to the FTP server to notify the 3PL.

Direction: Outbound (connector uploads)

Setting Description Default
Push arrivals/receiving orders (PO/TO) to FTP Enable/disable this flow Off
Specify the path where arrivals should be uploaded to FTP directory where arrival files are placed /out/arrivals
Specify components to be included in generated arrival file name Parts included in the generated filename. Choose any combination of: Timestamp, Arrival Id, Entity Type (arrivals) Timestamp + Arrival Id

Example filename: 20240315_093000123_PO-2026-001.csv

After the file is uploaded, Pipe17 updates the arrival status from shipped to expected (meaning the 3PL has been notified).

Receipts-In: FTP → Pipe17

After physical goods arrive at the warehouse, the 3PL creates a receipt file and places it on the FTP server. The connector downloads it and creates a receipt record in Pipe17.

Direction: Inbound (connector downloads)

Setting Description Default
Pull receipts/goods receipt confirmations from FTP Enable/disable this flow Off
Specify the path where receipts should be downloaded from FTP directory the connector monitors /in/receipts
Group multiple receipt records into a single receipt entity by these fields Combines several rows into one receipt when they belong to the same arrival. Supported for CSV only. To pick up only some files, end the download path with a file mask, for example /in/receipts/RECEIPT_*.csv (empty)

A receipt file must include at minimum: arrival ID (or external arrival ID) to link back to the correct PO/TO, SKU, and quantity received.

Receipts can arrive incrementally - if one truck delivers part of the PO today and the rest next week, each delivery generates a separate receipt file. Pipe17 aggregates them against the same arrival and moves the status through:

[ shipped ] → [ expected ] → [ partialReceived ] → [ received ]

If goods are cancelled, the arrival moves to cancelled and no further processing occurs.

Location Filtering for Arrivals

If you have multiple warehouses but only one uses this FTP connector, you don't need a filter setting. The app sends only arrivals whose destination location belongs to this integration. Arrivals destined for other locations are skipped.

7. Returns - Pipe17 → FTP

When a customer return is on its way back to the warehouse, the app uploads a file to the 3PL's FTP server telling the warehouse which goods to expect. The warehouse uses the file to check off the return when it arrives.

Direction: Outbound (Pipe17 uploads)

Setting Description Default
Push returns to FTP Turns this flow on or off Off
Specify the path where returns should be uploaded to FTP directory where return files are placed /out/returns
Specify components to be included in generated return file name Parts included in the generated filename Timestamp + Return Id

A return is sent only when both of these are true:

  • The return status is shipped. Returns at draft or authorized are not sent.
  • The return is assigned to a location that belongs to this FTP integration. If no location is linked to the integration, no returns are sent.

The app checks for eligible returns every 5 minutes and uploads one file per return in the connection's file format. If your returns mapping sets the filename, it overrides the filename setting.

What happens to the return:

Result Return status
File uploaded shipped → expected (the warehouse has been notified)
File could not be uploaded shipped → failed

A failed status means the file could not be delivered to the server. That includes a server that was briefly unreachable, not only bad data. The app does not retry failed returns on its own.

8. Return Receipts - FTP → Pipe17

When the warehouse receives returned goods, it places a receipt confirmation file on the FTP server. The connector downloads the file and adds a receipt to the matching return in the app. The receipt records the SKUs and quantities received and the arrival date. It can also include damaged quantity and a batch identifier when the warehouse sends them.

Direction: Inbound (connector downloads)

Setting Description Default
Pull return receipts/goods receipt confirmations from FTP Turns this flow on or off. Receives confirmations for returns that already exist in the app Off
Specify the path where return receipts should be downloaded from FTP directory the connector checks for return receipt files /in/returns
Group multiple return-receipt records into a single receipt entity by these fields Combines several rows into one receipt when a single receipt is split across rows. Supported for CSV only (empty)

Return receipts are separate from the arrival receipts in section 6, which apply to purchase orders and transfer orders. Each flow has its own settings and folder.

How a receipt is matched to a return:

  • The app looks for the return using the return reference the warehouse sends back in the file. The order number is never used, because one order can have more than one return.
  • The return must already exist in the app. The app never creates a return from a warehouse file. If no return matches, the record is skipped and the file is still processed.
  • If the same confirmation is processed again, the app does not create a duplicate receipt.
  • Ask your warehouse to send back the same return reference that was in the outbound returns file.

If Upload results for incoming files is turned on for the connection, the app writes a .results file for each processed file in a results subfolder of the download path. The file has one row per record, marked as processed, unresolved, duplicate or error. Check this file first when a receipt doesn't appear.

To process specific files again, for example after a mapping fix or when the warehouse re-sends a file, run the Pull return receipts from a file action on the integration. It processes the named files right away, works even when the flow is turned off, leaves the files on the server as they are, and does not create duplicate receipts.


Custom Field Mapping

Each flow supports custom field mapping to accommodate the 3PL's specific file format. The connector ships with default mappings for standard fields (SKU, quantity, tracking number, etc.), but you can extend these to pass additional fields through.

For example, if the 3PL expects a supplier_ref column that maps to an order's custom field, you add that mapping in the flow's JSON mapping configuration.

Mapping uses the same dot-path notation as the file format. For CSV (flatten), nested fields use index notation: lineItems.0.sku. For CSV (unwind), each row represents one line item so fields are flat.

Returns and return receipts always need a custom mapping that matches your warehouse's file layout. The Pipe17 team builds this mapping during implementation. Turning on the returns settings without that mapping won't produce working files. To build it, the team needs sample files for both directions, the warehouse's file specification, any account codes the warehouse requires (such as a client or site code), and the field the warehouse uses as its receipt number. Column renaming through mappings.csv does not apply to the returns flows.


Troubleshooting

Area Check What to do
Upload fails: path not found Target FTP folder does not exist Ask the FTP administrator to create the required folder (e.g., out/shipments, out/arrivals). The connector does not create directories. Verify any custom paths configured in settings also exist
Inbound files not being picked up Wrong path Confirm the configured download path exactly matches the 3PL file location, including case sensitivity
  File pattern mismatch If the download path ends with a file mask (e.g., RECEIPT_*.csv), make sure it matches the actual filenames from the 3PL
  Flow not enabled Verify the relevant flow switch (e.g., Pull fulfillments from FTP, Pull inventory information from FTP) is on and that its folder exists. A flow whose folder is missing doesn't run
  Files already processed If Post-Processing Action is set to Move to './processed' Folder, check the processed/ folder for previously handled files
Duplicate records being created Files reprocessed multiple times Set Post-Processing Action to Move to './processed' Folder or Remove File so each file is processed once. Confirm the 3PL is not re-uploading files with the same name
Receipts not matching arrivals Arrival ID mismatch (extArrivalId) Ensure the 3PL uses the exact arrival ID from the original file. The value is case-sensitive. Verify against the arrival record in the app
CSV field mapping errors Header case mismatch Turn on Allow Case-Insensitive Fields in CSV if header casing varies (e.g., SKU vs sku)
  Wrong delimiter Update the CSV Column Delimiter setting to match the file format (comma, semicolon, tab)
  Incorrect CSV format Switch between CSV (Flatten) and CSV (Unwind) based on the file structure (indexed vs one-row-per-item)
SFTP server compatibility issues Limited SFTP support (ROM or database-backed servers) Use Remove file instead of Move to processed, or work with the 3PL to use a standards-compliant SFTP server. Contact support if issues continue
Return stays at shipped and no file appears on the server Flow, location, or status Confirm Push returns to FTP is on, the return's location belongs to this integration, and the return status is shipped
Return moved to failed Upload path or server access Confirm the returns upload path exists and is writable. Contact support to re-send the return
Return receipt file processed but no receipt on the return Return reference mismatch Check the .results file for unresolved records. Confirm the warehouse sends back the return reference from the outbound file
Same return confirmation sent twice but recorded once Expected behavior No action needed. The app skips duplicate receipts
  • The integration shows Error after you connect
    The app couldn't reach or sign in to the server. Check that Host has no protocol prefix, that Port matches Communication Protocol (the default port, 22, is for SFTP), the username and password or key, and that the server's firewall allows Pipe17's IP addresses. Fix the details on the Connection Details tab and save.
  • The SFTP private key isn't accepted
    Paste the whole private key, including the BEGIN and END lines. Use a key without a passphrase, and check that the matching public key is in the user's ~/.ssh/authorized_keys file on the server.
  • A flow stopped running, or its files aren't uploaded
    The app checks the folder of each flow you turned on every time it connects. If the folder is missing, that flow doesn't run. Ask the server administrator to create the folder, check that the switch is still on, and save.
  • Files disappear from the server after a few weeks
    Delete old files after deletes files older than the selected period from the integration's folders. The default is 30 days. Choose a longer period or Never delete in the connection settings.
  • Some products are never sent to the FTP server
    The app sends only published products. Also check Process only products with specific SKUs: when it has values, only those SKUs are sent.

Need Help?

If you need additional assistance:

  • Use Ask Pippen, our AI agent, located at the top of the platform page.
  • Submit a support request with as much relevant detail as possible. Learn how to submit a request.

We’re here to help you succeed with your operations.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.

Have more questions?
Submit a request
Share it, if you like it.