send_message
Send LinkedIn follow-ups, replies, or InMail to prospects, and delete recently sent messages within 60 minutes.
Instructions
Send follow-ups, replies, 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
"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'. For followup/reply.
text: For followup/reply on a hosted account: the message to send,
required; the cloud sends it as is in the outreach's LinkedIn
chat (the same route as answer_inbox reply). Without a backend
the message is generated. 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 |