Import The Triage Ledger (one-time migration)
li_import_invitation_decisionsOne-time migration of an existing triage ledger into the memory — the JSON the routine kept in Google Drive, as-is: { "": { "account", "decision", "reason", "icp", "campaignId", "date" } }. account is matched like sessionLabel, among YOUR accounts. Each URL is resolved to the inviter's member id (our records first; the rest by a read-only LinkedIn lookup on that account, one browser session per account) — two URLs that turn out to be one person are merged, keeping the later decision. URLs that could not be resolved are imported against their slug and listed in unresolved (the next tray read re-keys them). accepted rows without an accept on record or a campaign on that account are refused, like li_mark_invitations. Always run with confirmImport=false first: it returns the full diff (create / update / unchanged / refused / merges) and writes nothing. Re-running is idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledger | Yes | The ledger object, or the same as a JSON string | |
| confirmImport | Yes | true writes; false returns the dry-run diff | |
| resolveWithLinkedIn | No | Look up member ids we do not already hold on LinkedIn (read-only). Default true. |