App Logo
linkedin.com

Edit sent message

Automatically edit sent message on linkedin.com. Edit a message you already sent in a classic LinkedIn messaging thread (NOT Sales Navigator), by thread URL from list_inbox. Edits your most recent message by default, or the one message containing `match`; when several of your messages contain it, nothing is edited and status is ambiguous with the candidates listed. LinkedIn only allows editing for ~60 minutes after sending — past that returns not_editable; the recipient sees an "(Edited)" tag. Only messages loaded in the thread's most recent page are searchable. Returns status (edited/not_found/not_editable/ambiguous), oldText and newText.

Input

newText required

The replacement text for the message

threadUrl required

URL of the conversation thread, e.g. https://www.linkedin.com/messaging/thread/<id>/ (from list_inbox)

match optional

Optional substring of the current message text, used to pick which of your own messages to edit. Defaults to your most recent message in the thread. Must match exactly one of your messages; if several match, nothing is edited and status is ambiguous.

Output

status required

edited = saved; not_found = no own message (matching `match`) in the loaded thread; not_editable = LinkedIn's ~60min edit window has passed (no Edit item in the message menu); ambiguous = several of your messages contain `match`, nothing was edited — pass a longer `match` (see candidates)

newText required

The text that was saved (null unless status=edited)

oldText required

The message text before the edit (null when not_found or ambiguous)

threadUrl required
candidates optional

Only when status=ambiguous: the texts of your messages that contain `match`.

FAQ

Edit a message you already sent in a classic LinkedIn messaging thread (NOT Sales Navigator), by thread URL from list_inbox. Edits your most recent message by default, or the one message containing `match`; when several of your messages contain it, nothing is edited and status is ambiguous with the candidates listed. LinkedIn only allows editing for ~60 minutes after sending — past that returns not_editable; the recipient sees an "(Edited)" tag. Only messages loaded in the thread's most recent page are searchable. Returns status (edited/not_found/not_editable/ambiguous), oldText and newText.
Ask an AI agent connected to Reduck to run reduck/linkedin.com/edit_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linkedin.com/edit_message
You do not need one. "Edit sent message" drives the real linkedin.com pages in a browser, so it works whether or not linkedin.com offers an API for this.
Required: threadUrl, newText. Optional: match.
It returns status, newText, oldText, threadUrl, candidates.
Yes. It acts as you on linkedin.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the linkedin.com cookies saved by the Reduck extension.
It makes changes on linkedin.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/linkedin.com/edit_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linkedin.com/edit_message
It is part of Reduck's official curated catalogue.

Start building not clicking