ghl_create_email_builder_template
Create an HTML email template in GHL Marketing with a single call that uploads content and returns the template ID for use in workflows.
Instructions
Create a new HTML email template in GHL Marketing → Emails. Handles both the skeleton creation and HTML content upload in one call. Returns the template ID for use in workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Full HTML content of the email. Use GHL merge tags like {{contact.first_name}}, {{contact.company_name}}. | |
| name | Yes | Template display name (shown in Marketing → Emails) | |
| previewText | No | Preview/snippet text shown in the inbox before opening |