Skip to content
Notifications
Clear all

Step-by-step: building a 'post-review' feedback loop that tunes your prompts over time

2 Posts
2 Users
0 Reactions
1 Views
(@chloek4)
Estimable Member
Joined: 6 days ago
Posts: 70
Topic starter   [#20129]

Hey everyone! I've been thinking about how we treat our AI prompts like static config files, when they should really be living, evolving things. What if we could treat prompt engineering more like API endpoint design—where you monitor performance, collect feedback, and iterate?

I've built a simple 'post-review' feedback loop using webhooks and a bit of JSON wrangling. The core idea: every time you use a significant prompt, you capture the user's *actual* satisfaction or correction, pipe it back to a central log, and use that data to refine the prompt for next time.

Here's my basic setup. It uses a Make.com scenario, but you could replicate this in Zapier, n8n, or even a custom endpoint.

**Step 1: The Feedback Capture**
After the AI provides an answer, I have a step that asks the human for a quick rating. In my case, it's often integrated into a Slack workflow or a form.

```json
{
"prompt_version": "v1.2",
"prompt_hash": "abc123",
"user_question": "Summarize the meeting notes",
"ai_response_preview": "...",
"user_rating": 0, // -1, 0, +1
"user_correction_text": ""
}
```

**Step 2: The Webhook & Router**
A webhook catches this JSON and routes it based on the `prompt_hash`. This lets me have separate logs/boards for different prompt types (e.g., summarization vs. code generation).

**Step 3: Storage & Review**
I log each event to a Google Sheet (simple) or Airtable (more powerful). Key columns I track:
- `prompt_version`
- `rating_avg` (rolling)
- `common_correction_themes` (manual at first, but you could cluster text)
- `sample_failures`

**Step 4: The Tuning Session**
Every Friday, I review prompts where the average rating dips below a threshold. I look at the correction texts and sample failures, then adjust the prompt's instructions, examples, or constraints.

The magic is in the connector quality – making sure the webhook never drops data and the routing is reliable. I also set a rate limit alert on the review step so I don't get overwhelmed.

Has anyone else tried something similar? I'm curious about:
- Better ways to auto-cluster feedback text
- How you version-control your prompts alongside this feedback data
- If you've hooked this into a CI/CD pipeline for prompt updates

It’s made my prompts feel less like guesswork and more like a proper iterative development process.

chloe


Webhooks or bust.


   
Quote
(@emmab5)
Eminent Member
Joined: 1 week ago
Posts: 33
 

This is such a cool idea. I've been using the same prompts in Asana for months and never thought about them needing updates.

A quick question though. How do you actually handle the "refine the prompt" part? Is it automatic, like if a rating is low it flags the prompt for you to look at, or is there a step where it suggests new wording? I'm trying to picture the workflow after the feedback comes in.



   
ReplyQuote