Actions30
- Lead Actions
- Funil Actions
- Tag Actions
- Equipe Actions
- Notificação Actions
Lead → Enviar Mensagem
AI-generatedSummary
Send a WhatsApp or internal note to a lead's conversation.
Inputs
- leadId (required) — UUID or phone number (with DDI, +55...) of the lead. Accepts lead_xxxx or +5511912345678 format.
- content (required) — Text of the message to be sent.
- type (required) — Message type: WhatsApp sends to the lead's conversation; Note creates an internal team-visible entry.
- source (required) — Who is performing this action, used for audit trail.
- additionalFields — Optional additional fields for the message.
Output shape
API response from POST /api/leads/{leadId}/messages, typically containing the created message object or status.
The operation consumes leadId (required, UUID or phone), content (required text), type (required, whatsapp/note), source (required, ai_agent/human default), and optional additionalFields for direction, sender name, media attachment, metadata, and reply-to. All parameters map directly to the API payload at /api/leads/{leadId}/messages.
