comms_render_message
Render a communication template as a visual image (PNG). Available templates: session-confirmation, session-reminder, payment-reminder. Use action "preview" to get the image URL, "send" to render and send via WhatsApp with the image attached. Each template requires specific data fields (clientName, providerName, date, time, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| width | No | ||
| action | No | preview | |
| apiKey | No | ||
| orgSlug | Yes | ||
| clientId | No | ||
| template | Yes | ||
| whatsappTo | No | ||
| whatsappBody | No |