Send HTTP request when SFTP file updates
File TransferRecipe ToolsData ParserMarketingUtilitiesDeveloper ToolAPI Integration
What it does
When a new or updated file appears in a specified SFTP directory, this automation downloads it. The file is parsed and sent via HTTP request to an external system, with each step logged to the job report.
Who it's for
Engineering teams who sync SFTP file changes to external systems via HTTP without manual steps.
How teams use this
Sync inventory updates to a partner API
When inventory XML files land on SFTP, parse them and send the data to a partner's HTTP endpoint. The job report confirms each sync so the team knows what was sent.
Route EDI documents to multiple systems
Monitor SFTP for EDI XML files and send them to different HTTP endpoints based on document type. Only the HTTP endpoint and XML parsing logic change per route.
Add authentication headers to HTTP calls
Include API key or OAuth token headers in the HTTP request so the receiving system can verify the sender. Set headers before the HTTP send step to secure the integration.
How it works
- Monitor SFTP directory for file changes. Watch a specified directory on the SFTP server for new or updated files. When one appears, this automation starts.
- Download the file from SFTP server. Retrieve the new or updated file from the SFTP server so its contents can be processed and sent to the HTTP endpoint downstream.
- Parse the XML document for HTTP. Extract structured data from the XML file using the XML Parser so it can be formatted and sent to the HTTP endpoint as a request.
- Send request via HTTP. Post the parsed data to an external system or API endpoint using Rest. The job report logs the request and response for tracking.