# Background tasks

Follow long-running jobs like history imports and profile syncs, and see what each one actually did.

Source: https://support.rework.com/article/prospect-tasks

Some jobs are too slow to run while you wait, like importing months of chat history or refreshing hundreds of prospect profiles. Prospect runs those in the background and records each one here, so you can see whether it finished and what it actually did.

**Settings** › **Background Tasks** **(1)** is admin-only. There's nothing to configure on this page: you start a task somewhere else and watch it here. ☕ The header counts the tasks that match, and holds the kind **(2)**, status **(3)** and date **(4)** filters above the **Task**, **Status**, **Started**, **Finished** and **Duration** columns **(5)**.

![Settings, Background Tasks page with the Background Tasks menu item (1), the All kinds filter (2), the Any status filter (3), the From and To date filters (4) and the Task, Status, Started, Finished and Duration columns (5) highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/dLYE2zFBurqLtuI3PssgG85E3F3xRPbDXp72ZemE6nAwms3qOTdnyKUqs8KQ1RI8/img.yXd6xGv1ELr256e0loDE2SUd9nuiSbMiyFTxb3bM1poEC68rfH0bBQZsipAGzyVu.png)

## What creates a task

| Task | Started from | Notes |
| --- | --- | --- |
| **Import history** | A Facebook Messenger channel, **Settings** › **Import history** | Covers the last 7 days at most |
| **Sync chat history** | A WhatsApp Business channel, **Settings** › **Sync chat history** | One at a time per channel |
| **Sync profiles** | The **Prospects** page: select prospects, then **Sync profile** | Refreshes names and pictures from the provider |

Imported messages never trigger flows, AI replies or notifications. Messages that are already in the conversation are skipped rather than duplicated, so there's no risk of doubling up.

## Reading the list

Each row shows the task with a one-line summary underneath, then **Status**, **Started**, **Finished** and **Duration**. The status filter **(1)** lists the same four statuses:

| Status | Meaning |
| --- | --- |
| **Queued** | Accepted, waiting for a worker |
| **Running** | In progress; the summary shows how far it has got |
| **Done** | Finished; the summary reports what was imported |
| **Failed** | Stopped; the summary carries the reason |

![Background Tasks status filter open with Any status, Queued, Running, Done and Failed (1) highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/vxHdwmpdOchXb3TZGuhQJIGuQkAXwZx4xNJAB0XXvyyWU5EwpGYz2dXRIpEjcQsu/img.oouRGFD3UMUWZfHpNs9m1PdTHkyE1iBhiTaX2VAhGeaNJ9b97atTzVKIz0WQ7YPV.png)

A finished history import reads like _3 prospects (1 new) · 5 conversations (2 new) · 41 new messages, 12 already imported_. When nothing was found you get **No messages found in this range**, and when everything was already there, a line saying nothing was new.

Rows update in place while you watch. A running task's progress moves without reloading the page, and it becomes **Done** or **Failed** right where it sits.

## Filters

There are four controls in the header, and you can combine them all:

1. Task kind **(1)**: **All kinds**, **Import history** or **Sync chat history**.
   
   ![Background Tasks kind filter open with All kinds, Import history and Sync chat history (1) highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/bDrJr43YaJIcuNgR4XRTa0JUSOLbxE8wcQyZqomxPpWYOYZ6Zq1hqHIzBDabwwLD/img.jIntydmfOrpNWHzFQXvgeriEB907FVLX6PWnE1y1IwFUQoA3apk45hKSAmNGsDfc.png)
2. Status: **Any status**, **Queued**, **Running**, **Done** or **Failed**.
   
3. **From** date.
   
4. **To** date.
   

Changing any filter returns you to the first page. The list shows 20 tasks per page.

> **Note:** The kind filter names only the two history jobs. Prospect syncs are still in the list, so leave the filter on **All kinds** to see them.

## When a task fails

The summary line carries the provider's own explanation. Two common ones:

- A WhatsApp history sync is refused if the number was not onboarded through the WhatsApp Business app, if more than 24 hours have passed since the number was connected, or if the business has not enabled history sharing.
  
- Anything mentioning invalid or expired access means the channel itself needs reconnecting before the import can work.
  

Failed tasks aren't retried automatically. No problem: fix the cause and start the job again.
