Support template · 9 steps

Review reply drafts

New reviews get a tone label and a drafted public reply that the owner approves before it is posted.

TRIGGERNew reviewAI CLASSIFYRead the toneCONDITIONRating 2 or less?DRAFT MESSAGEDraft apologyDRAFT MESSAGEDraft thank-youHUMAN APPROVALOwner approvesSEND MESSAGEPost replyCRM WRITELog replyENDReplied

Highlighted: the path taken by the “Five star review” sample after approval.

Trigger

New public review

Input: Reviewer name, rating and text

Output

Approved reply (simulated post) and a review log

Every write and send waits for a human approval first.

Permissions it would need
  • Read reviews
  • Post replies (after approval, simulated)
  • Write review log (after approval)

Sample input

{
  "review_id": "RV-881",
  "reviewer": "Marta",
  "rating": 5,
  "text": "Great service, the team was friendly and fast."
}

Steps in run order

#StepTypeWhat it does
01New reviewTriggerWhere a run starts: a form, email, call, schedule or other event.
02Read the toneAI classifyLabels text. In this demo a seeded keyword model stands in for a language model.
03Rating 2 or less?ConditionSends the record down the true or false branch based on your rules.
04Draft apologyDraft messageWrites a message from a template and the record. It is a draft until a Send step.
05Draft thank-youDraft messageWrites a message from a template and the record. It is a draft until a Send step.
06Owner approvesHuman approvalPauses the run until a person approves or rejects. Required before sends and writes.
07Post replySend messageSimulated send of a drafted message. Nothing leaves this demo.
08Log replyCRM writeWrites a row to the synthetic CRM, with retries and a dead-letter queue.
09RepliedEndMarks a finished branch and names the outcome.

Seeded scenarios and what they produce

Synthetic run

Five star review

Happy customer. A thank-you is drafted.

Result: Reply posted (simulated) and logged

Synthetic run

One star review

Upset customer. An apology with a direct contact offer is drafted.

Result: Reply posted (simulated) and logged

Synthetic run

Mixed review

Three stars and mixed words.

Result: Reply posted (simulated) and logged

Guardrails

  • No money offered in public
  • Owner approves every reply

Connectors used

Try the live studio