Skip to content
HumanTaskAPI

Capability · mystery_shopping

Run a Mystery Shopping Task Anywhere

Deploy verified local humans for mystery shopping, customer experience checks and structured reports.

Evidence returnedExample

Mystery Shopping · field capture

captured_at · location_confirmed

Structured checklist

required fields · exceptions

Task result object

capability: "mystery_shopping"

Mystery Shopping is useful when software knows what information or action it needs but the final step requires a person at a physical location. On HumanTask API, the request is framed as a bounded job: run a predefined customer-experience scenario through a human visitor and return structured observations rather than a free-form review. The requester defines the target, timing and proof before anyone accepts the work.

When to Use Mystery Shopping

The best mystery shopping jobs are concrete enough that two independent workers would understand the same objective. Examples include test whether staff follow a scripted sales process; check whether a promotion is offered correctly; observe wait time and basic service steps; or verify whether a location follows brand presentation requirements. These are not broad consulting assignments. They are observable field actions that can be accepted, completed and checked.

Define a Mystery Shopping Request

A requester should provide scenario and persona boundaries, visit location and window, and questions and rating fields. It should also state purchase limit if any, receipt requirements, and what the worker must not disclose. The instruction should separate facts the worker can observe from decisions the AI or business will make later. That distinction prevents a simple field task from quietly turning into specialist advice.

Required inputs

  • Scenario and persona boundaries
  • Visit location and window
  • Questions and rating fields
  • Purchase limit if any
  • Receipt requirements
  • What the worker must not disclose

Evidence That Makes the Result Useful

For mystery shopping, a useful completion package may contain structured survey, timing observations, receipt or permitted photos, factual notes, and exception flags. The evidence schema should be selected before dispatch. A task that merely says “send proof” is weaker than one that specifies which files, fields and observations are mandatory. The receiving agent can then test completeness without interpreting a chat message.

Suggested result fields

  • Structured survey
  • Timing observations
  • Receipt or permitted photos
  • Factual notes
  • Exception flags

Failure Modes to Plan For

Real locations create exceptions that software APIs rarely face. In this capability, common examples are: the scenario cannot be completed because the store is closed, the worker is recognized, a purchase is required but item availability prevents completion, and a question would require subjective or regulated professional judgment. Those outcomes should be returned as explicit exception states rather than hidden inside a free-text note. An AI agent can then retry with new instructions, choose another location, widen the deadline or escalate to a specialist.

Exception examples

  • The scenario cannot be completed because the store is closed
  • The worker is recognized
  • A purchase is required but item availability prevents completion
  • A question would require subjective or regulated professional judgment

Example Workflow for an AI Agent

Consider this workflow: A franchise QA agent can trigger visits only at stores where other data suggests a problem, reducing the cost of broad manual audits. The agent first decides that a physical check is necessary, then creates a mystery_shopping task with the address, deadline and evidence fields. The worker accepts the job, completes only the permitted actions and submits the requested proof. After the result arrives, the software can validate required fields, store the media references and continue its original plan.

Who Uses Mystery Shopping

Mystery Shopping can support retailers, hospitality groups, franchise systems, CX teams and AI quality-control workflows. These users have different business goals, but they share the same bottleneck: the missing fact or action exists offline. A reusable task definition lets them solve that bottleneck without maintaining a field team in every city.

API Shape for Mystery Shopping

The machine-facing representation should be narrow. A mystery_shopping request can carry a normalized location, human-readable instructions, a deadline, budget, required evidence and a client reference. The response should return a task identifier and lifecycle state. Follow-up operations should expose status and evidence without forcing the caller to scrape a dashboard. MCP can present the same operation as an agent tool; REST and OpenAPI can serve conventional application integrations.

Example task object

json · Example
{
  "capability": "mystery_shopping",
  "location": {"address": "TARGET_ADDRESS"},
  "deadline": "ISO_8601",
  "instructions": "TASK-SPECIFIC_INSTRUCTIONS",
  "evidence_required": ["TASK_SPECIFIC_FIELDS"]
}

Launch a Mystery Shopping Task

Start with one mystery shopping request that has an unambiguous outcome. Define the location, deadline and proof first; then create the task through the web flow or the available developer interface. If the workflow repeats, promote the same evidence schema into a reusable integration.

What makes mystery shopping different from a generic gig

The value is not simply that a person is available. The value is that the request is standardized enough for software to understand the expected result. For mystery shopping, the schema should reflect the actual decision being supported: the agent needs evidence about run a predefined customer-experience scenario through a human visitor and return structured observations rather than a free-form review. That makes the task easier to price, route, compare and audit than an open-ended message to a freelancer.

json · Example result shape
{
  "task_id": "tsk_example",
  "capability": "on_site_photos",
  "status": "evidence_submitted",
  "evidence": [
    { "type": "photo", "captured_at": "…", "location_confirmed": true }
  ],
  "exceptions": []
}

Frequently asked questions

What should a mystery shopping request contain?

Include scenario and persona boundaries, visit location and window, questions and rating fields, and purchase limit if any. Add the remaining task-specific fields when they affect access, proof or timing.

What does HumanTask API return for mystery shopping?

A result can contain structured survey, timing observations, receipt or permitted photos, and factual notes, plus explicit notes when the task cannot be completed as planned.

What can prevent a mystery shopping task from completing?

Typical blockers include the scenario cannot be completed because the store is closed, the worker is recognized, and a purchase is required but item availability prevents completion. The worker should report the blocker rather than invent a successful result.

Can an AI agent create mystery shopping programmatically?

Yes. The intended machine-facing capability is `mystery_shopping`, using the same task object whether the caller comes through REST, OpenAPI or MCP.

When is mystery shopping a poor fit?

It is a poor fit when the request is unsafe, requires unverified professional expertise, depends on private access that has not been arranged, or cannot be evaluated with observable evidence.

Next step

Put a human on it.

Describe the place, the action and the proof you need. The API and MCP integration are in developer preview.