Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt

Use this file to discover all available pages before exploring further.

Real-World Example

ABC Collections uploads a CSV file or places a file on SFTP. The portal maps the headers, processes consumers in chunks, creates import history, records failed rows, and deactivates removed accounts when the import rules call for it.

Visual Flow

How It Should Work

  • It should process large imports through queued chunk jobs.
  • It should preserve upload history, mapped headers, successful records, and failed row details.
  • It should deactivate or update consumers only according to the import rules and creditor scope.

How It Should Not Work

  • It should not process all rows in a long web request.
  • It should not deactivate consumers outside the creditor file scope.
  • It should not hide failed row details from import history.

Developer Notes

  • Manual CSV imports and scheduled SFTP imports share the same consumer-import safety concerns.
  • Import changes can trigger consumer communications when offers, removals, or pay terms change.
  • app/Livewire/Creditor/ImportConsumers/UploadFilePage.php
  • app/Livewire/Creditor/ImportConsumers/MapUploadedFilePage.php
  • app/Jobs/ImportConsumersCoordinatorJob.php
  • app/Jobs/ProcessConsumerChunkJob.php
  • app/Jobs/FinalizeConsumerImportJob.php
  • app/Jobs/ImportDeactivatedConsumersJob.php
  • app/Jobs/GenerateErrorFileOfImportedConsumersViaSFTPJob.php
  • app/Console/Commands/ImportConsumersViaSFTPCommand.php
Last modified on May 25, 2026