Connect a LinkedIn account
connect_linkedinCreate a private, secure web link the user opens to connect their LinkedIn account by entering their cookie OR email+password on a bare form — instead of pasting those secrets into this chat. STRONGLY PREFER this over connect_linkedin_with_cookie / connect_linkedin_with_credentials whenever the user is in a shared or logged channel: the secret goes straight from their browser to the backend and is never exposed here or to anyone else in the conversation. Give them the returned url and tell them it expires in ~2 hours. The form auto-detects their browser fingerprint and lets them pick the account country, exactly like the in-app page. The connection is attached to the current AI setup automatically. Only for a LinkedIn account that is NOT connected yet. To fix, reconnect or re-login an account that is already connected (expired cookie, disconnected, needs a new password or 2FA), use update_linkedin_connection with its connectionId instead — connecting it again here creates a separate new sender that starts without the old one's synced message history (older Unibox / InMail threads), and removing the old sender deletes that history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional friendly name to pre-fill for this sender. | |
| country | No | Optional country to pre-select — a name token (e.g. "UNITED_STATES", "UNITED_KINGDOM") or a 2-letter ISO code (e.g. "us", "gb"); the user can change it on the form. |