Send a request to the business
requestSend a request to one business: anything the user wants that business to do. Each business lists the kinds of request it takes (list_my_businesses and the server instructions; by default quote, sample, document, reschedule, complaint, other). When the user wants a call or meeting and the business lists "call", use kind call: the user gets the business's booking page at once and picks a time there. Otherwise nothing is sent on the first call: it returns a preview of exactly what would go to the business's contact person, and a confirmation code. Show the whole preview to the user; only if they agree, call again with the same business and confirm set to the code. Then Avenbridge emails the request to the contact (with the user's email as reply-to) and sends the user a copy; the reply shows up in status. The same request sent again within a day is not sent twice. Before a quote or sample request, ask the user for the items in the business's request checklist (shown by list_my_businesses and in the server instructions) so the request arrives complete, and put them in details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | One of the request kinds the business lists, e.g. quote, sample, call, other. | |
| title | Yes | One line, e.g. 'Quote for 500 × A-200 in 316 stainless'. | |
| confirm | No | The confirmation code from the preview. Only after the user has seen the preview and agreed; leave out on the first call. | |
| context | No | One line on what this is for, e.g. an order or project number. Optional. | |
| details | Yes | Everything the business needs, as the user stated it: quantities, part numbers, dates, the checklist items, what went wrong. Plain text. | |
| business | No | Name of the business as it appears in list_my_businesses. Used only when business_id is not given. Leave both out when the user has one business, or to search every business the user has. | |
| business_id | No | The business id exactly as given by list_my_businesses (for example yyigsmj5b7mcwxe7). Preferred: use it whenever you know it. |