# Import / Export Workers


# excel-import-export

Type: HTTP Worker Route: api-private.influtics.com/excel/*

Accepts Excel file data from the frontend, validates the structure, creates an import_jobs record, and enqueues batches to EXCEL_QUEUE.

Auth: Requires owner, admin, or editor role.


# excel-processor

Type: Queue Consumer Queues consumed: EXCEL_QUEUE, excel-processing-queue

Processes both direct Excel imports and Google Sheets worksheet batches.

Queue Message type Action
EXCEL_QUEUE excel_import_batch Process Excel file rows, upsert videos
excel-processing-queue worksheet_processing Fetch Google Sheet rows, split into URL batches
excel-processing-queue worksheet_url_batch Process Sheets URL batch, upsert videos + sources

Retry logic: Up to 3 retries with exponential backoff (1s, 2s, 4s). On final failure: message acknowledged, error logged to Sentry.