When This Event Fires
- Campaign automation sends a follow-up message
- Message is sent via the Send Message API
- A message is successfully delivered to the lead’s LinkedIn inbox
Payload
Payload Fields
| Field | Type | Description |
|---|---|---|
eventId | string | Unique event identifier for idempotency |
eventType | string | Always message.sent |
timestamp | string | ISO 8601 timestamp when the message was sent |
workspaceId | string | Your workspace ID |
data.leadId | string | The lead who received the message |
data.campaignId | string | The campaign this lead belongs to |
data.linkedinUrl | string | LinkedIn profile URL of the lead |
data.senderId | string | LinkedIn sender account that sent the message |
data.messagePreview | string | First 100 characters of the message content |
data.sequenceStep | number | Which step in the campaign sequence (if applicable) |
Use Cases
CRM Integration
Log message activity in your CRM to maintain conversation history
Analytics
Track message delivery and sequence progression
Notifications
Alert team members when outreach is sent
Audit Trail
Build an audit log of all outreach activity
Example Handler
The
messagePreview field contains only the first 100 characters of the message for privacy. Full message content is available in the SendPilot dashboard.