Set site chat
set_site_chatChange the site's chat bot settings; only the fields you pass change. Leads save to Form Submissions as "Chat". Visitors see it while the owner has credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| enabled | No | Turn chat on or off. | |
| greeting | No | First message visitors see. | |
| leadFields | No | Details to collect before saving a lead. Must include email or phone. | |
| notifyEmail | No | Extra address emailed for each lead. Empty stops. | |
| instructions | No | Owner guidance: tone, what to push, what to avoid. Empty clears. | |
| assistantName | No | Name shown in the chat header. | |
| dailyCreditCap | No | Credits per UTC day for all chats; 0 pauses chat. Omit for the plan default. | |
| leadCollectionSlug | No | Also save each lead as a row in this collection. Empty stops. |