Record Triage Decisions On Inbound Invitations
li_mark_invitationsRecord what you decided about people who invited this account, in OUR database only — it never clicks Accept, Ignore or Withdraw on LinkedIn and sends nothing. li_received_invitations(onlyUnreviewed) then leaves them out (counted under alreadyDecided) until their headline or company changes. Up to 200 per call; each is resolved to the inviter's member id (a renamed vanity URL stays the same person) and keyed per account — the same person inviting two of your accounts gets two independent decisions.
Decisions: rejected and wrong_lane need a reason (wrong_lane takes routeTo, the account that should reach them cold instead), deferred is 'look again later', failed is for a failed accept. accepted is REFUSED unless li_accept_invitations confirmed the accept or they are already in a campaign on this account — accept them with li_accept_invitations, which records accepted itself. Re-marking overwrites and keeps the old decision in the history. A rejection is NOT a do-not-contact: nobody is suppressed.
confirmMark=false is a dry run: every row says marked / updated / unchanged / refused (with why) and nothing is written. One refusal never blocks the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decisions | Yes | 1-200 decisions, one per inviter; each is applied or refused on its own | |
| sessionId | No | Account id from li_list_accounts. Needed (or sessionLabel) when you have more than one account; never guessed. | |
| confirmMark | Yes | true writes; false previews every row | |
| sessionLabel | No | Account by label, LinkedIn name, profile slug or member id (li_list_accounts). Needed (or sessionId) when you have more than one account; never guessed. |