parley
DocsPlatform
Resources
JournalIdeas on running AI supportCustomer storiesHow teams use ParleyGuidesStep-by-step playbooksChangelogWhat shipped, by versionHelp centerAnswers and support
CustomersPricing
LoginGet started
DocsPlatformCustomersPricingJournalCustomer storiesGuidesChangelogHelp center
Get startedLogin

Take charge of your AI customer experience

Get startedTalk to sales

Platform

Platform overviewChannelsPlaybooksIntegrationsAnalyticsPricing

Resources

DocumentationGuidesCustomer storiesJournalChangelogHelp center

Company

AboutCareersContact salesContact supportTerms of servicePrivacy

Security

Trust centerSOC 2ISO 27001GDPRHIPAAData processing
parley

© Parley. All rights reserved.

Docs home

Get started

Quickstart

Build your agent

PlaybooksChannelsKnowledgeActions

Developers

Parley CLICustom codeAPI keysWebhooks

Test and ship

TracesSplit testingSimulations
All docs
Docs home

Get started

Quickstart

Build your agent

PlaybooksChannelsKnowledgeActions

Developers

Parley CLICustom codeAPI keysWebhooks

Test and ship

TracesSplit testingSimulations
Docs/Test and ship

Simulations

Simulations are scripted or generated customers that talk to your agent the way real ones do. Each scenario checks the outcome, the tone and the rules you care about.

Writing a scenario

A scenario describes who the customer is, what they want and what a pass looks like. Parley plays the customer, varying wording and mood across runs.

yaml
scenario: Outside return window
customer: Bought a jacket 45 days ago, polite but firm.
expect:
  - explains the 30 day policy
  - offers store credit as an exception
  - never promises a cash refund
  - hands off if asked twice for a manager

Generating scenarios

Point Parley at a week of real conversations and it drafts scenarios from them, grouped by topic. Review and keep the ones that matter.

Running suites

bash
parley test run --env returns-v2
# 3 scenarios passed · 0 failed · avg score 94

Run suites from the editor, on every push from the CLI, or nightly against main. Simulations are never billed.

PreviousSplit testing

Something unclear?Contact supportor browse thehelp centerAll guides

On this page

Writing a scenarioGenerating scenariosRunning suites