Create prompt
create_promptCreate a new LinkedNav prompt template. There is no prompt slot limit. If sourceAiSetupId is omitted, the active setup is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Prompt name. | |
| 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".) | outreach |
| aiModel | No | Claude Opus 4.8 | |
| 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 | ||
| 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. | |
| sourceAiSetupId | No | Setup ID to attach the prompt to. Omit to use active setup. | |
| firstMessageMode | No | "generated" = AI writes the first message from firstMessage; "template" = send the fixed firstMessageTemplate text. | generated |
| connectMessageMode | No | "template" (default) = 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). | template |
| firstMessageTemplate | No | Fixed first-message text, used when firstMessageMode="template". | |
| firstMessageAttachments | No | Welcome (first) message media attachments (supported senders only). 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". |