Build XML from Airtable or Google Sheets and send bulk upsert payloads to MiniCRM SyncFeed.
A rate limit miatt egy futás órákig tarthat. A kimenet mostantól tárolva van, tehát nem vesz el, ha kozben bezárod a fület.
Nothing here empties itself. A redeploy used to wipe every table; this tab is where clearing becomes a decision instead of a side effect.
Any id finds the rest: MiniCRM id, SyncFeed reference, Airtable ref or record id, AC id, portal id, email.
Scope is mandatory and there is no "all". The reference map and the AC-note ledger are deliberately absent: one hands out identity, the other is what the ToDo undo reads.
Runs the whole chain for one person — company → Contacts card → company link → tags → notes — in the only order that works, and reports what it did per contact. Dry run is on by default: this writes to five different places, so a forgotten checkbox should be the harmless direction.
ContactId can never be changed afterwards.
Needs the cat-84 link map — run Warm Contacts-links first after any deploy.
#Project-84/43258 → 43258).
ID values. Keep it to tens — the inline tag
cleanup costs roughly a minute and a half per linked contact.
Matches existing Cég records by VatNumber (no name-guessing) and creates the rest. Never touches Tags. The Representative→Company link backfill is a separate step further down (Phase 3).
BusinessId on each Representative's carded contact. MiniCRM moves the Person's
tags to the Cég when this happens (confirmed bug, even when the Cég already has its own tags) —
this job captures the tags first and restores them to the Person afterward, but the Cég keeps its
own transferred copy too (accepted tradeoff, cleaned up later via a separate manual/scripted pass,
not by this importer). Re-resolves/creates the full Companies table every run (~15-20 min) before
touching any Representative. Requires "Warm Contacts-links" to have been run recently. Full run is
~10-20h — never during a live demo.
MiniCRM has a systemic duplicate-Person problem (every category that's ever created a new
cat-82/83/84/97 card has been minting one duplicate Person contact per person, tenant-wide).
This finds email groups with exactly one carded (visible) member — that's "the real
one" — and permanently deletes (PurgePerson, not soft-delete) every
uncarded sibling, after migrating any differing Phone / Email / NewsletterSubscription2
value onto the keeper first. Groups with zero or >1 carded members are left alone
entirely (no evidence either way). Approved by Vera 2026-08-12.
⚠️ This is irreversible. Always Preview first, then a small limit (10-20) for a manual spot-check in the MiniCRM UI, before an unlimited real run. Don't run during a live demo or while anyone else is deploying — warming 4 categories takes ~20-25 min alone.