Configure Auto-Withdraw of Stale Invites
li_set_auto_withdrawTurn the daily automatic withdrawal of an account's still-pending invites on or off, and set the age at which an invite is withdrawn (7-180 days, default 60). It is OFF for a new account and is turned on deliberately: LinkedIn names invitations that are "ignored, left pending, or marked as spam" as a restriction trigger, so once an account has been sending for a while the pending pile is the risk and this cleanup is the protection — but on day one there is no pile, and the only invitations a sweep could reach are ones the person sent by hand before they ever used this product. Withdrawing does NOT notify the recipient, but you cannot re-invite the same person for ~3 weeks afterwards. Separately, untracked decides whether the sweep also retires invites this system never sent — outreach the person did by hand — which is OFF for new accounts and should only be turned on if they ask. Read the current settings and the last run with li_list_accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Turn the daily cleanup on or off | |
| maxPerDay | No | Cap on how many invites ONE daily sweep withdraws (default 50, max 100), and the SHARED daily budget a manual li_withdraw_invites draws from too. The sweep runs once per 24h, so this is also the per-day rate: a 900-invite backlog takes ~18 days at 50/day. Bounded because every withdrawal is a real click in a browser session, so ~50 is roughly 15 minutes of browser time during which this account cannot send. For a large existing backlog prefer li_withdraw_invites, which drains on demand from the same budget. | |
| sessionId | No | Sending account id (or use sessionLabel) | |
| untracked | No | Also withdraw pending invites this system never sent — the ones found on LinkedIn's own sent-invitations list, i.e. the person's own manual outreach from before they used this product. OFF for new accounts on purpose: measured on a live account, one pass retired 50 invites of which NONE were ours. Only turn this on when the account holder has asked for their existing backlog to be cleaned. | |
| sessionLabel | No | Sending account label, e.g. "Deven" | |
| olderThanDays | No | Withdraw invites once they are older than this many days (default 60) |