# ngauge-indicator Docs

## Data Flow

1. Download job connects to FTP/SFTP and fetches `*.xml` files.
2. Files are placed into `@runtime/indicator/inbox`.
3. Process job parses XML and normalizes each order to JSON arrays.
4. Importer maps normalized orders into carts/cartlines.
5. A summary email is sent after each processing run.

## Runtime Paths

- Inbox: `@runtime/indicator/inbox`
- Processed: `@runtime/indicator/processed`
- Failed: `@runtime/indicator/failed`

## Operational Tips

- Start with a large pickup interval and lower after stable operation.
- Keep `deleteAfterDownload=false` initially for traceability.
- Configure a shared ops mailbox for summary reports.
