Sync Servipag payments to Toku daily
Recipe ToolsMarketingFile TransferData ParserUtilities
What it does
When the scheduled time arrives each day, this automation downloads payment files from the Servipag SFTP server. It transforms them into CSV format, parses the payment data, and prepares it for upload to Toku, skipping execution on holidays.
Who it's for
Finance teams who need to reconcile Servipag payments in Toku without manual file downloads and conversions.
How teams use this
Automate daily payment reconciliation
Download and convert Servipag payments every business day without manual intervention. The file arrives in Toku ready for the next step in the payment workflow.
Skip processing on company holidays
The automation checks a holiday calendar before running so payments are not processed on days when the office is closed. This keeps the reconciliation schedule aligned with business operations.
Add validation for payment amounts
Include a condition to check that each parsed payment amount is within an expected range before sending to Toku. Only rows that pass validation move forward to the next step.
Route payments by transaction type
Filter the parsed CSV rows by payment type and send each group to a different Toku queue or endpoint. This requires adding a condition to categorize transactions during the parse step.
How it works
- Run on a daily schedule. The automation starts once per day at a set time to check for new Servipag payments that need to be synced to Toku.
- Check if today is a holiday. Call a Workato Recipe Function to determine whether the current date is a holiday. If it is, the automation stops. If not, it continues to download the payment file.
- Download the payment file. Download the Servipag payment file from the SFTP server so the data can be transformed and parsed for Toku.
- Convert and parse the payment data. Transform the text file into CSV format and parse each row so the payment information is ready to send to Toku for each transaction.