Back to blog
Features

3-Step Workflow: Junyr's Quality Guarantee

January 18, 20269 min

Query Check, Execution, Verification: the 3-step workflow that significantly reduces errors and guarantees quality.

3-Step Workflow: Junyr's Quality Guarantee

One of Junyr's unique features is the 3-step workflow with built-in verification. Unlike traditional automation platforms where you hope for the best, Junyr guarantees output quality through systematic validation. Here's how it works.


TL;DR: The 3-Step Workflow

StepNamePurposeExample
1Query CheckClarify and scope the task"Do you want a CSV or PDF?"
2ExecutionAgent performs the workProcesses 50 leads
3VerificationQuality control before deliveryAI verifies completeness & accuracy

Key innovation: Step 3 (Verification) uses a separate AI to check the work, not the same agent that did it.

Verdict: This workflow reduces errors by 70-90% compared to "run and pray" automation.


1. The Problem: Automation Without Verification

Traditional Automation (Make, Zapier, n8n)

With Make or Zapier, the workflow is simple:

  1. Trigger: Event occurs (email received, webhook, schedule)
  2. Execute: Run actions (send email, create row, API call)
  3. Done: Hope it worked 🤞

Problem: No built-in quality control.

Example: Send 50 sales emails via Zapier

Trigger: Google Sheets (new row with lead data)
↓
Action 1: Generate email from template
↓
Action 2: Send email via Gmail API
↓
Done ✅

What could go wrong?

  • Template variable not replaced: "Hello {{name}}" sent as-is
  • Invalid email address: Bounces but you don't know
  • Email too long: Gmail truncates or marks as spam
  • Duplicate emails sent: Same lead appears twice in sheet

Result: You discover errors after damage is done (angry customers, bounce rate spike).


2. Junyr's 3-Step Workflow

Step 1: Query Check (Clarification)

When you assign a task to a Junyr agent, the first step is clarification.

Purpose: Ensure the agent understands the task correctly before starting.

Example:

User: "Max, process the 50 leads in the CSV and send them emails."

Max (Query Check):
"I understand you want me to process 50 leads. Before I start, I need to clarify:

1. Output format: Do you want a CSV report, PDF summary, or email-only?
2. Email sending: Should I send emails immediately or provide drafts for approval?
3. Personalization level: Generic template or personalized based on company/title?
4. Error handling: If a lead has no email, skip or ask you?

Please answer these questions so I can do the work correctly."

User responses:

  1. "CSV report with results"
  2. "Send immediately"
  3. "Personalized based on company and title"
  4. "Skip leads with no email and log them"

Result: Max now has a precise specification before starting.

Step 2: Execution

Max performs the work according to the confirmed specification.

Example:

Max (Execution):
- Reads CSV (50 leads)
- For each lead:
  - Extracts: name, company, title, email
  - If email is missing: Skip and log
  - Generates personalized email:
    - Uses company name in subject: "Opportunity for [Company]"
    - Mentions title in body: "As [Title], you might be interested in..."
  - Sends email via SMTP
  - Records in CSV: email sent, timestamp, response (if any)
- Generates final CSV report with 50 rows (45 sent, 5 skipped)

Duration: 5-10 minutes for 50 leads.

Step 3: Verification (Quality Control)

Before delivering the result, a separate verification AI checks the work.

Purpose: Catch errors before delivery.

Verification AI (not Max):

Verification checklist:
✅ All 50 leads processed (45 sent, 5 skipped = 50 total)
✅ No template variables left unprocessed ("Hello {{name}}" → error)
✅ All emails have valid format (regex check)
✅ Personalization applied (company name appears in subject)
✅ CSV report complete (50 rows, correct columns)
✅ Skipped leads logged with reason (5 rows with "No email provided")
âš ī¸ Warning: 2 emails might be flagged as spam (too many links)

Overall quality score: 9/10

Recommendation: Deliver with warning about potential spam flagging.

User notification:

"Your task is complete! Max processed 50 leads and sent 45 emails.

Quality score: 9/10

Results:
- 45 emails sent successfully
- 5 leads skipped (no email)
- âš ī¸ Warning: 2 emails might be flagged as spam (contains 5+ links)

CSV report ready for download."

Result: You know exactly what happened before receiving the deliverable.


3. Why a Separate Verification AI?

The Problem: Self-Verification Doesn't Work

If Max (the same agent) checks his own work, he might:

  • Overlook errors he made (confirmation bias)
  • Be too lenient (judge his own work favorably)
  • Use the same flawed logic that caused errors

Analogy: A student grading their own exam.

The Solution: Independent Verification

Junyr uses a separate AI for verification:

  • Different model (e.g., Claude for execution, GPT-4 for verification)
  • Fresh context (doesn't inherit biases from execution)
  • Focused role (only checks, doesn't execute)

Analogy: A teacher grading the student's exam.

Result: Error detection rate increases by 70-90%.


4. Comparison with Traditional Automation

Scenario: Send 50 Sales Emails

With Make (No Verification)

Workflow:
1. Read Google Sheets (50 leads)
2. For each row:
   - Generate email from template
   - Send via Gmail API
3. Done ✅

Potential errors:

  • Template variable not replaced: "Hello {{name}}"
  • Invalid email format: "john@acme" (missing .com)
  • Duplicate sends: Same lead appears twice
  • Email too long: Gmail truncates

Detection: You discover errors when:

  • Customers complain: "Why did you send me an email addressed to '{{name}}'?"
  • Bounce rate spikes: Gmail rejects 10 invalid emails
  • You manually check sent emails (time-consuming)

Impact: Damage done, reputation harmed.

With Junyr (3-Step Workflow)

Workflow:
1. Query Check:
   - "Do you want a CSV report or email-only?"
   - "Send immediately or provide drafts?"
   - "Personalization level?"
2. Execution:
   - Processes 50 leads
   - Generates personalized emails
   - Sends emails
3. Verification:
   - Checks template variables replaced
   - Validates email formats
   - Detects duplicates
   - Scores quality 9/10
   - Warns about potential spam issues

Detection: Errors caught before delivery.

Impact: Zero customer complaints, zero reputation damage.


5. Real Example: Invoice Processing

Scenario: Process 100 Customer Invoices

Without Verification (Traditional Automation)

Zapier workflow:
1. Trigger: Email received with PDF attachment
2. Extract invoice data (amount, date, VAT)
3. Create row in Google Sheets
4. Done ✅

Potential errors:

  • PDF password-protected → extraction fails
  • Invoice in French → "TVA" not recognized (expecting "VAT")
  • Amount format: "1.234,56 â‚Ŧ" (European) vs "1,234.56" (US) → parsing error
  • Duplicate invoice → processed twice

Detection: You discover errors when:

  • Accounting reports don't match (missing â‚Ŧ5,000)
  • Customer complains: "Why was I billed twice?"
  • Tax audit finds missing VAT entries

Impact: Financial errors, compliance issues.

With Junyr (3-Step Workflow + Verification)

Workflow:
1. Query Check:
   - "How should I handle password-protected PDFs?"
   - "What VAT rate should I expect (20% standard)?"
   - "Output format: Google Sheets or accounting software?"
2. Execution:
   - Processes 100 invoices
   - Extracts: amount, date, VAT (handles French "TVA" and English "VAT")
   - Handles European number format (1.234,56 â‚Ŧ)
   - Detects duplicates (same invoice number + amount)
3. Verification:
   - Checks VAT calculation: Amount × 20% = VAT amount ✅
   - Validates all dates are in the past ✅
   - Detects 3 duplicates → Flags for manual review âš ī¸
   - Detects 2 password-protected PDFs → Skipped, logged âš ī¸
   - Quality score: 8/10

User notification:

"Invoice processing complete!

Results:
- 95 invoices processed successfully
- 3 duplicates detected (flagged for manual review)
- 2 password-protected PDFs skipped

Quality score: 8/10

Action required: Review 3 flagged invoices and provide passwords for 2 PDFs."

Impact: Zero financial errors, full audit trail.


6. Verification Checklist (What Is Verified?)

Junyr's verification AI checks:

CategoryChecks
CompletenessAll inputs processed? Any skipped?
AccuracyData extraction correct? Calculations valid?
FormatOutput matches requested format (CSV, PDF, email)?
ConsistencyNo contradictions? Logical coherence?
DuplicatesSame data processed twice?
Edge casesErrors handled correctly? (missing data, invalid input)
QualityProfessional tone? Grammar correct?

Scoring: Each check gets 0-10 points → Overall quality score 0-100.

Threshold: If score < 70, task is sent back to execution agent for corrections.


7. Comparison Table

FeatureJunyr (3-Step Workflow)Make / Zapier / n8n
Clarification step✅ Query Check (asks questions before starting)❌ Executes immediately (no clarification)
Execution✅ AI agent performs task✅ Workflow executes actions
Verification✅ Separate AI checks quality before delivery❌ No verification (you discover errors later)
Quality score✅ 0-100 score with detailed feedback❌ No scoring
Error correction✅ Automatic (if score < 70, re-executes)❌ Manual (you must fix workflow)
Audit trail✅ Full log (query, execution, verification)✅ Execution log only

Winner: Junyr for quality assurance, Make/Zapier for speed (no verification delay).


Conclusion

Traditional Automation: "Run and Pray"

With Make, Zapier, n8n:

  • You build a workflow and hope it works
  • Errors discovered after damage is done
  • No built-in quality control

Analogy: Sending a rocket without pre-flight checks.

Junyr: "Verify Before Delivery"

With Junyr:

  • Query Check: Clarify before starting
  • Execution: AI performs task
  • Verification: Separate AI checks quality before delivery

Analogy: NASA's launch checklist (verify every step before go).

Result: 70-90% fewer errors, zero customer complaints, full audit trail.


Next: Discover Universal Inbox: 360° View or Agent Memory & Context

#workflow#verification#quality#separate-ai#anti-error
JT

Junyr Team

AI Platform Team

The Junyr team builds AI workforce tools that help European SMEs recruit, train, and manage autonomous AI agents for everyday business tasks.