Zapier

Upload files to SFTP from any Zapier trigger in 4 steps.

1

Create a Zap

Choose your trigger — "New Email in Gmail", "New File in Google Drive", "New Row in Google Sheets", or any other app.

2

Add "Webhooks by Zapier" as an action

Search for Webhooks by Zapier and select Custom Request.

3

Configure the request

MethodPOST
URLhttps://pushftp.com/api/upload/YOUR_CONNECTION_ID
Data{"url":"(file URL from trigger)","path":"/uploads/"}
HeadersAuthorization: Bearer pftp_your_api_key
Content-Typeapplication/json

Tip: Use the url field — Zapier passes file URLs from Gmail, Drive, OneDrive, etc. PushFTP fetches and uploads them automatically. No need for extra file conversion steps.

4

Test and turn on

Click "Test step". If you see "success": true, your file was uploaded. Check your SFTP server to confirm, then turn on the Zap.

Popular Zapier workflows

GmailPushFTPSFTP
Google DrivePushFTPSFTP
Google SheetsPushFTPSFTP
JotformPushFTPSFTP
OneDrivePushFTPSFTP
WebhooksPushFTPSFTP

Optional: Advanced fields

Add these to the JSON body for more control:

{
  "url": "{{file_url}}",
  "path": "/invoices/",
  "filename": "custom-name.csv",
  "filename_template": "{name}-{date}{ext}",
  "overwrite": false
}
  • filename — override the filename
  • filename_template — rename with tokens like {date}, {timestamp}. See all tokens →
  • overwrite — set to false to skip if file already exists