Send message
ghl_send_messageSend an outbound SMS or email to a contact by providing a valid contact ID and choosing the channel, with optional subject, HTML body, and sender number. Requires valid phone or email for the recipient.
Instructions
Send an outbound message to a contact via SMS or Email. For Email you must provide subject and html (or message as plain text). For SMS provide message. The contact must have a valid phone/email for the chosen channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | HTML email body (Email only). | |
| type | Yes | Channel to send through. | |
| message | No | Message body (required for SMS; plain-text body for Email). | |
| subject | No | Email subject (Email only). | |
| contactId | Yes | Recipient contact id. | |
| fromNumber | No | Override the sending phone number (SMS). |