Top

WAPI Documentation

## Import Jobs & Background Processing

#### Welcome to WAPI!

Get an AI summary of this page
ChatGPT Gemini Grok Perplexity

#### 1. Overview

The Import Jobs engine handles bulk contact uploads in the background, ensuring smooth performance even with 10k+ records.

###### Async Engine

Prevents system lag during bulk tasks.

###### Live Tracking

Monitor status in real-time.

###### Error Logs

Detailed feedback for failed rows.

###### Strategic Benefits

- Multi-Tasking: Manage chats during imports.
- Scalability: Effortless 50k+ row processing.
- Reliability: Auto-resume on interruption.

#### 2. Dashboard Overview

- Job List: Chronological record of all imports.
- Live Status: Pending, Processing, or Completed.
- Metrics: Record counts and success ratios.

#### 3. Import Protocol

Upload CSV → Worker Queue → Schema Validation → Database Persistence

###### Monitoring & Resolution

Download logs for failed rows to fix formatting errors or duplicates before re-uploading.

#### 4. Scenario: 5,000 Contacts

System offloads the 5,000 row CSV to background workers. Total processing time: ~45 seconds without UI freezing.

#### 5. Troubleshooting

Issue | Cause | Solution
--- | --- | ---
Stuck 'Pending' | Server Load | Refresh after 1 minute.
Row Skipped | Duplicate | Check if contact exists.
Job Failed | Format | Verify CSV headers.