send_message
Send follow-up DMs, replies, voice memos, or InMail to prospects on LinkedIn, and delete recent messages. Manage outreach actions across campaigns.
Instructions
Send follow-ups, replies, voice memos, or InMail to prospects.
Args:
action: What to do:
"followup" — Send a follow-up DM after connection accepted
"reply" — Reply to a prospect who has messaged you
"voice" — Send a voice memo on LinkedIn
"delete" — Delete a recently sent message (within 60 min on LinkedIn)
"inmail" — Send an InMail to a NON-connection. Preconditions
(each fails closed with no send): prospect has a
provider_id; they are NOT a 1st-degree connection
(use followup/DM for those); no InMail already sent
on this outreach; InMail credits remaining > 0.
A pending invitation to the same person is allowed
— that is the escalation path. Requires outreach_id.
campaign_id: Which campaign to send from. Uses active if empty.
outreach_id: Specific outreach to target. Required for inmail.
format: 'text' (default) or 'voice' (audio via Hume TTS). For followup/reply.
text: Custom text for voice memo. Auto-generates if empty.
For delete: optionally pass a Unipile message_id directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| action | No | followup | |
| format | No | text | |
| campaign_id | No | ||
| outreach_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |