Clearer warning when a CRM import targets a paused campaign
Linking a CRM list to a campaign through lemAgent, the MCP or the API now tells you clearly when the import can't start yet. Before, the link succeeded silently and leads never arrived until the campaign was resumed, with no explanation why.
lemAgent and MCP (import_crm_leads_to_campaign) now show a warning: the list is linked, but no lead is imported until the campaign is resumed. The agent can offer to resume the campaign for you.
This applies to three cases: a paused campaign, an archived campaign, or a campaign whose CRM sync is paused.
The API (POST /api/campaigns/:campaignId/leads/import) still returns a 200 response, now with
{"ok": true, "importPending": true, "reason": ...}when the import is waiting. It returns{"ok": true}as before when the import starts right away.Trying to link a CRM filter again on a campaign that already has one now names the linked filter and says if it's paused.
Resuming the campaign starts the import, with the first leads arriving about an hour later.