Sync CSL reports from Logisense via SFTP

Recipe ToolsMarketingDeveloper ToolAPI IntegrationFile Transfer

What it does

When a scheduled trigger runs every 5 minutes, this automation fetches a custom report from Logisense. It retries up to 3 times if connection errors occur, so reports stay current even when the server is temporarily unavailable.

Who it's for

Finance teams who need CSL reports synced automatically without manual downloads or monitoring.

How teams use this

Keep reports current automatically

Fetch the custom report every 5 minutes and store it via Sftp so the team always has the latest data without manual intervention.

Route reports to a data warehouse

Send the fetched report to a data warehouse or analytics platform instead of Sftp so it integrates with existing reporting tools.

Add alerts for repeated failures

Include a notification step that alerts the team if the report fetch fails after all 3 retries, so someone can investigate the issue.

How it works

  1. Run on a 5-minute schedule. This automation starts every 5 minutes so CSL reports are fetched regularly and stay up to date.
  2. Get a token from Logisense. Call the Logisense API via HTTP to retrieve an authentication token needed for the report request.
  3. Fetch the custom report. Send an HTTP request to Logisense with the DataSource Id to retrieve the CSL report data.
  4. Retry on connection errors. If the request fails with a timeout, 503, 504, or connection error, retry up to 3 times before stopping.