Update prompt
update_promptUpdate an existing LinkedNav prompt template by ID. Supports name, context, connect message, first (welcome) message + its attachments, follow-ups + their attachments, model, and variables. Attachments (supported senders only) take LinkedNav-hosted upload URLs and are sent as files / voice notes / video notes by mimetype.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | Prompt category. Use "outreach" for a standard connect + DM / follow-up sequence — this is what the UI's "Direct Messages" prompt actually stores. Use "post-comments" for a post-comment engagement campaign. ("direct-messages" is a legacy value; the app saves DM prompts as "outreach".) | |
| aiModel | No | ||
| content | No | Legacy combined prompt content. Prefer context instead. | |
| context | No | Main AI instruction / business+product context used to generate messages (the live field; prefer over legacy content). | |
| followUp | No | ||
| promptId | Yes | Prompt ID to update. | |
| variables | No | ||
| description | No | ||
| firstMessage | No | AI instruction for the first message, used when firstMessageMode="generated". | |
| connectMessage | No | Connection request note template (sent with the connect invite when connectWithNote is true). | |
| connectWithNote | No | When true, send the connect request with connectMessage as a note; when false, connect without a note. | |
| firstMessageMode | No | "generated" = AI writes the first message from firstMessage; "template" = send the fixed firstMessageTemplate text. | |
| connectMessageMode | No | "template" = send the fixed connectMessage note; "generated" = AI writes each invite note from the prospect profile using connectMessageInstruction (supported senders only; legacy senders keep the fixed note). | |
| firstMessageTemplate | No | Fixed first-message text, used when firstMessageMode="template". | |
| firstMessageAttachments | No | Welcome (first) message media attachments (supported senders only). Omit to keep existing files; pass [] to clear. LinkedNav-hosted URLs only. | |
| firstMessageDelayMinutes | No | Minutes to wait after connection is accepted before sending the first message (0-1440). | |
| connectMessageInstruction | No | AI instruction for the connect note, used when connectMessageMode="generated". |