Sync Oracle line items from Sftp via scheduled job
Recipe ToolsFile TransferData ParserMarketingUtilitiesDeveloper ToolAPI Integration
What it does
When a scheduled interval triggers, this automation downloads a file from Sftp, parses the Json, and sends the header ID to a Rest service. The created line file is then uploaded back to Sftp so the records stay in sync.
Who it's for
Finance teams who need to automate Oracle line item creation from Sftp files on a regular schedule.
How teams use this
Automate daily Oracle line creation
Run this automation each morning to create line items from purchase requisitions that arrived overnight. The team no longer enters them manually, and Sftp stays current with Oracle.
Route files by purchase order type
Add a condition to check the PO type in the Json and route different files to different Rest endpoints. This lets one automation handle multiple Oracle business units.
Notify the team when lines are created
Include a Slack message after the Rest call succeeds so the procurement team knows the line items are live in Oracle. No extra polling or email checks needed.
How it works
- Run on a set interval. This automation runs at a specified time each day or week to keep Oracle line items current without manual work.
- Download the file from Sftp. Retrieve the CreatedPR file from the Sftp server so the Json data is available for parsing and processing.
- Parse the Json data. Extract the header ID and other fields from the CreatedPR Json file so they can be sent to Oracle.
- Call Rest service. Send the header ID to the Oracle Rest service so line items are created for each purchase requisition header in the system.
- Upload the result file to Sftp. Place the CreatedLine file back on the Sftp server so the team can verify the line items were created in Oracle.