Composer is Klaviyo's AI marketing agent. It can build a segment from a plain-language description of the audience you want, so you spend less time assembling conditions by hand and more time deciding who to target. Composer drafts the segment, but you stay in control: you review it and save it yourself before it becomes part of your account.

You will learn

  • How to describe the audience you want
  • How to read the segment preview before you save
  • How Composer tells new segments apart from ones you already have
  • What to check before you save
  • Where to go to build a more detailed segment yourself

Before you begin

Composer builds segments from the profile properties, metrics, and consent data that already exist in your account. It can't invent a property you don't have, so a segment can only be as specific as your data allows.

You can create a segment on its own or as part of generating a campaign. To learn more about creating segments during campaign generation, see How to create campaigns with Composer.

Step 1: Describe the audience you want

Open Composer from within Klaviyo and describe the segment you want in plain language. The more specific you are about conditions, the closer the result will be. Strong prompts usually name three things:

  • Who to include: The consent status or group you're targeting, such as profiles with email marketing consent.
  • What they did or didn't do: The behavior that defines the audience, such as never having made a purchase, or having ordered 3 or more times.
  • The timeframe: The window the behavior applies to, such as the last 90 days or all time.

Here are three prompts that work well:

  • "Create a segment of all profiles with email consent who have purchased in the last 90 days but haven't opened an email in 30 days."
  • "Create a segment of all profiles within 10 miles of Boston, MA who have never made a purchase."
  • "Build a segment of repeat purchasers who have ordered 3 or more times in the last 6 months."

Composer works best with natural language, whole sentences rather than keywords. If a condition matters to you, say it explicitly. Leaving it out means Composer decides for you.

Step 2: Review the preview before you save

Composer returns a draft segment. Nothing is in your account yet. The preview shows three things:

  • The segment name
  • How many profiles currently match
  • The conditions in plain language, grouped so you can see how they combine

The preview groups the conditions to show how they work together. A profile has to match every group, but within a single group it only has to match one condition. So if one group is "has email marketing consent" and another is "purchased in the last 90 days," a profile needs both to be included. If a single group holds "purchased in the last 90 days" and "visited the site in the last 30 days," either one is enough.

You can tell a new segment from an existing one by what the preview shows. A segment Composer just created displays its full definition for you to review. A segment that already existed in your account shows only its name, because there is nothing new to check.

Check the profile count before you save. A misread prompt can produce a segment that's narrower or broader than you meant, or one that matches nobody at all. If the count is zero, or far from what you expected, revise your prompt and generate again rather than saving.

Step 3: Save the segment

When the segment looks right, select Save. The button changes to View, and the segment is now in your account under Lists & Segments.

From there it behaves like any segment you built yourself. You can edit its conditions, use it as a campaign audience, or trigger a flow from it. Composer doesn't send anything to the segment or use it anywhere until you do.

To understand the conditions Composer used, or to build a more detailed segment yourself, see Getting started with segments for the fundamentals, and Advanced segmentation reference for the complete set of conditions and how they combine.

Tips

  • Name your conditions explicitly: If consent, timeframe, or purchase history matters to you, say so in the prompt. Composer fills any gaps with its own assumptions.
  • Use the profile count as your check: The count is the fastest way to tell whether Composer understood you. Compare it against roughly what you expected before you save.
  • Revise the prompt rather than the segment: If the definition is well off, generate again with a clearer prompt instead of correcting conditions one at a time.
  • Start from an audit finding: If a segment audit flagged a coverage gap in your account, describe that gap back to Composer as a segment to create.

FAQ

Does Composer save the segment automatically?

No. Composer shows you a draft segment to review. It's added to your account only when you select Save.

Where do saved segments go?

Under Lists & Segments, alongside the segments you built yourself. They behave the same way, and you can edit them normally.

Can Composer edit a segment I already have?

No. Composer can review your existing segments and recommend changes through a segment audit, but you apply those changes yourself. Composer creates new segments rather than rewriting existing ones. See How to audit with Composer.

Can Composer create a segment while it builds a campaign?

Yes. When Composer generates a campaign it either selects an existing segment or creates a new one to send to. See How to create campaigns with Composer.

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type