Home › Flow Templates › SFTP & Storage
SFTP & Storage ✓ Zero On-Premises Data Gateway Required Setup: ~5 mins

SFTP SSH Private Key (PEM) Nightly ERP & Logistics File Sync Without 504 Timeouts

Connect Power Automate Cloud Flows to bank, 3PL logistics, and SAP SFTP servers using RSA/Ed25519 PEM Private Keys without hitting native connector 504 timeouts or deploying VM gateways.

Why Makers Use This Blueprint: Power Automate’s built-in SFTP-SSH connector frequently times out on large directory listings or rejects modern OpenSSH private key formats.
Download Blueprint (.JSON) Test Live in SFTP Gateway → Get Free Bearer Key (zl_...)

Cloud Flow Architecture (Trigger → Zetaleap → Destination)

STEP 01 • Power Automate Recurrence

Trigger Scheduled Sync

Polls configured SFTP profile via Bearer zl_... authentication.

STEP 02 • Zetaleap SFTP Gateway

List & Retrieve New Remote Files

Authenticates with encrypted PEM key and streams remote payloads cleanly.

STEP 03 • Zetaleap Toolkit / ERP

Parse CSV/XML & Archive

Convert semicolon CSV or UBL XML to JSON and move processed SFTP file.

Power Automate HTTP Action Definition (GET /api/sftp/{companyId})
Replace zl_YOUR_API_KEY with your free Personal Access Token from /profile — or import the typed Custom Connector at /connectors.
{
  "type": "Http",
  "inputs": {
    "method": "GET",
    "uri": "https://zetaleap.com/api/sftp/files?path=/outbound",
    "headers": {
      "Authorization": "Bearer zl_YOUR_API_KEY"
    }
  }
}
Returned Dynamic Output Tokens
successfiles[].namefiles[].sizefiles[].modify_time
← All 12 Flow Templates