hcp_set_business_profile
Define or update business profile sections (shop, vendors, pricing, payroll, comms) for this installation. Each call replaces a whole section; null clears it, and data stays local.
Instructions
Store one or more business-profile sections for this installation: shop, vendors, pricing, payroll, comms. Each section replaces the stored section whole, and null clears one - so save a section only after reading the whole section back to the user for a yes. The profile is this installation's own file, on this machine, beside the defaults file. Nothing in it is read from Housecall Pro or sent to it, or to anyone else. The sections hold the shop's own facts, never a customer's, and never credentials: a vendor's account_hint refuses anything that looks like a full account number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop | No | Who the shop is: trade(s), region, team size, and any peer group they benchmark against. Pass null to clear the section. | |
| comms | No | How outbound messages should sound: sender name, a short voice sample in the shop's own tone, and the follow-up cadence in days. Pass null to clear the section. | |
| payroll | No | Payroll rules: when the pay week starts and the commission rules by role. Pass null to clear the section. | |
| pricing | No | Pricing rules: the margin floor, per-category overrides, and how prices are rounded. Pass null to clear the section. | |
| vendors | No | Who they buy from: vendor name, a shipped pack name when one matches, how purchase documents arrive, an account hint (never a full number), and any learned custom layout. Pass null to clear the section. |