{"ref":"content:handling-file-routing-and-alerts-in-sap-cpi-based-on-file-type","page":"/content/handling-file-routing-and-alerts-in-sap-cpi-based-on-file-type","json":"/content/handling-file-routing-and-alerts-in-sap-cpi-based-on-file-type.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"handling-file-routing-and-alerts-in-sap-cpi-based-on-file-type","title":"Handling File Routing and Alerts in SAP CPI Based on File Type","url":"https://community.sap.com/t5/technology-blog-posts-by-members/handling-file-routing-and-alerts-in-sap-cpi-based-on-file-type/ba-p/14064852","content_type":"blog","published_on":"source:sap-community","explains":["capability:integration-flows"],"summary":"Walks through building a [Cloud Integration](artifact:btp-cloud-integration) flow that pulls files from one SFTP server, captures the name and extension with a Content Modifier's `${file:ext}` expression, and uses a Router to send XML files on to a second SFTP server while any other extension, or a missing XML file, triggers an alert. The alert is a Mail adapter step authenticated against Gmail's SMTP server with an app password, so the piece covers an adapter, a router condition and a mail step as parts of one flow.","short":"Cloud Integration flow routing SFTP files by extension with alerts","author":"harsh__chauhan","published":"2025-04-03","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cloud-foundry-tag"},{"source":"source:sap-community","channel":"integration-suite-tag"}],"first_seen":"2026-10-07"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 19 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-04-03"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":3893,"unit":"views"},{"value":5,"unit":"comments"},{"value":2,"unit":"likes"}]},"signals":{"views":3893,"likes":2,"comments":5,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}