phone_sendText
Text a customer from the shop number, about their job. Give conversation_id to answer a thread, or to (a phone number) to start one. Doing Work adds the shop name, the opt-out line on the first text, and a "Sent by the shop's assistant" line when an agent sends it. It checks the stop list, consent (or a text from the customer in the last 24 hours, or ONE first text to a lead from Angi, Angie's List, HomeAdvisor or Modernize, whose forms cover texts), paused threads and quiet hours (8 AM to 9 PM where the customer is). A reply within 30 minutes of the customer's last text sends right away, even outside those hours. Until the shop's texting registration is approved the message goes to the customer's email instead and the result says fallback: email. Set expires_in_minutes for time-sensitive texts so they are dropped rather than sent the next morning. Transactional only, never sales.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| body | Yes | ||
| shop_id | Yes | ||
| conversation_id | No | ||
| expires_in_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||