Skip to main content

Customers

Customers

In Parlant, a customer is anyone who interacts with an agent.

While agents can operate anonymously (without knowing who they're talking to), tracking customers enables powerful personalization opportunities. By letting your agents understand who they're talking to, you can tailor interactions for different user segments: High-profile customers might receive premium offers, new users can get focused onboarding guidance, and so on...

Parlant makes customer-specific personalization simple and privacy-conscious, requiring only minimal identification of a specific customer—in fact, just a name.

$ parlant customer create \
--name "Scooby"

Tags

You can also divide your customers into different groups and control group-specific personalization by using tags. For example, you can create a tag for VIP customers:

$ parlant tag create \
--name "VIP"
$ parlant customer tag \
--id CUSTOMER_ID \
--tag-id TAG_ID
note

To learn more about advanced personalization possibilities for specific customers and groups, check out the context variables section.

API Highlights

Viewing a customer

$ parlant customer view \
--id CUSTOMER_ID

Updating a customer

$ parlant customer update \
--id CUSTOMER_ID \
--name "Scooby"

$ parlant customer set \
--id CUSTOMER_ID \
--key email \
--value CUSTOMER_EMAIL

Deleting a customer

$ parlant customer delete \
--id CUSTOMER_ID