Compose Message
neuron_compose_messageCompose and send a new message to a phone number via a specific channel. Automatically creates a new conversation if one does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number (E.164 format, e.g., '2348012345678') | |
| text | Yes | Message text content | |
| sendAt | No | ISO 8601 date-time for scheduled delivery (e.g., '2025-12-31T10:00:00Z'). Message sends immediately if omitted. | |
| mediaUrl | No | URL of media to attach (required for non-text message types) | |
| channelId | Yes | Unique identifier (UUID) of the WhatsApp channel to send through | |
| contactName | No | Display name for the recipient contact | |
| messageType | No | Type of message: 'text' (default), 'image', or 'document' |