deploy ProspectOS workspace v7 final
This commit is contained in:
@@ -20,6 +20,17 @@ evidence and your offer; you edit and approve the draft yourself. Drafts now
|
||||
also return the reasoning, stored evidence IDs used, facts that still need
|
||||
confirmation, and a follow-up review note so a polished email is not mistaken
|
||||
for verified information.
|
||||
The draft dialog also includes a revision chat: after generating a draft, ask
|
||||
for changes such as “make this warmer”, “shorten the opening”, or “use the
|
||||
selected promotion more naturally”. The chat sends the current editable
|
||||
subject/body and applies the returned revision in place; it never sends an
|
||||
email. Every revision is saved on the prospect and recorded in the AI/audit
|
||||
logs for review.
|
||||
Draft instructions explicitly ask the model to choose a prospect-specific
|
||||
angle, use one or two real facts, vary its opening and close, avoid stock
|
||||
greetings and marketing filler, and read naturally aloud. The strategy note
|
||||
and variation hint are private planning context rather than copy to paste, so
|
||||
each run can use a different natural phrasing without inventing claims.
|
||||
The **Teach AI** view stores the sender company's website, services, packages,
|
||||
prices, and writing guidance. Its bounded public-page reader captures a
|
||||
reviewable homepage text snapshot that is included in AI assessments and email
|
||||
@@ -236,6 +247,11 @@ stores a bounded, reviewable public homepage snapshot. Promotions are managed
|
||||
with `GET/POST /api/promotions`, `PATCH /api/promotions/{id}`, and
|
||||
`DELETE /api/promotions/{id}`. An active promotion selected in the draft dialog
|
||||
is sent as `promotion_id` and retained on that prospect's draft.
|
||||
The initial email draft is generated with `POST /api/prospects/{id}/message`.
|
||||
The revision chat calls `POST /api/prospects/{id}/message/edit` with the current
|
||||
`subject`, `message`, and a bounded wording instruction. The endpoint reuses
|
||||
the same evidence and offer boundary, preserves a selected mockup preview URL,
|
||||
and persists the revised subject, body, rationale, unknowns, and evidence IDs.
|
||||
Mockups are created with `POST /api/prospects/{id}/mockup`, listed with
|
||||
`GET /api/prospects/{id}/mockups`, and opened by their public
|
||||
`/mockups/{token}` share URL. Choose `mode=onepage` for a single scrollable
|
||||
|
||||
Reference in New Issue
Block a user