Back to Blog
    Marketing & Analytics20 April 202610 min read

    Flows: AI Editor and A/B Testing for Campaigns That Convert

    You now know your ads are working. The next step: send campaigns in a few clicks — with AI-generated variants and built-in A/B testing.

    TL;DR

    Viali Flows is the campaign module in Viali: you pick a patient segment, write the message with a built-in AI editor, generate genuine A/B variants in one click, and see the results — from sent to booked to revenue — in the same window. No separate tool and no agency in the middle.

    Flows: AI Editor and A/B Testing for Campaigns That Convert

    The last post was about tracking. Tracking shows what works — but it doesn't create a campaign. You now know that Google Ads costs CHF 382 per paying patient and Meta costs CHF 933. That's valuable knowledge. But what do you do with it?

    That's exactly where Flows comes in. Flows is the campaign module in Viali: you define who you want to reach, write a message — with AI assistance —, test two or three variants against each other, and see the results in the same window. No separate tool. No agency in the middle.


    1. From Tracking to Action

    Most clinics today have more data than before. They know which campaigns bring patients. What they don't have is a simple way to act on that data — without briefing a marketing agency or opening three different platforms.

    The standard process: campaign idea → brief the agency → wait → draft → feedback → send → export results somewhere → analyze manually. A two-week cycle when everything goes smoothly.

    Flows shortens this to an hour — or less. → See Viali Flows


    2. Step 1 — Choose Your Segment

    Campaigns sent to everyone convert poorly. Campaigns sent to a precise group of patients convert well. Flows starts with a point-and-click segment builder that works directly with your patient data.

    You combine filters to your needs:

    • Patients whose last visit was more than 6 months ago
    • Treatment includes Botox or hyaluronic filler
    • Age between 35 and 55
    • No-show on last appointment
    • No follow-up appointment booked yet

    On the right you immediately see how many patients match your segment — and whether GDPR consent is present for the chosen channel.

    Viali Flows — Segment builder with three active filters and reachability badge
    Viali Flows — Segment builder with three active filters and reachability badge

    3. Step 2 — Choose Your Channel

    Email or SMS — one click. Viali manages your patients' opt-out status automatically. You don't need to clean a list manually: anyone who has unsubscribed is excluded from the send without any action on your part.

    SMS works for short reminders and time-sensitive offers. Email works for longer messages with images and a booking CTA. Both channels are treated identically in Flows — same interface, same A/B testing, same results view.


    4. Step 3 — Write the Message, With AI

    This is the core. The Flows composer has a built-in AI chat. You describe the campaign in one sentence — for example: "Write a friendly reminder for Botox patients who haven't visited in over 6 months. Offer 15% off." — and the editor returns a ready-to-send message.

    Variables like {{patient.firstName}} and {{clinic.name}} are pre-formatted and automatically replaced on send. The preview on the right shows how the message looks for a real patient.

    Other things you can ask the AI editor:

    • Shorten it — to 160 characters for SMS
    • Change the tone — more professional, warmer, more direct
    • Add urgency — offer expires Friday
    • Translate to German or adjust from dialect to standard language
    Viali Flows — AI editor: chat input on the left, email preview with merge variables on the right
    Viali Flows — AI editor: chat input on the left, email preview with merge variables on the right

    5. Step 4 — A/B Testing With One Click

    At the top of the composer you see three tabs: A, B, C. Variant A is the message you just wrote. One click on "Generate variant B" — and the AI editor writes a genuine alternative, not a paraphrased clone: a different angle, a different opening, a different tone.

    You configure what percentage of your segment each variant receives. Default: 10% per arm, 80% hold group that receives the winning variant. Or you send all three variants equally and let Viali automatically determine the winner after 24 hours.

    No separate A/B testing tool. No copy-pasting between platforms. Everything on one screen.

    Viali Flows — A/B test: three variants side by side, hold-out slider, variant C being generated
    Viali Flows — A/B test: three variants side by side, hold-out slider, variant C being generated

    6. Step 5 — Booking Link Built In

    Every campaign includes a personalized booking link. This link:

    • Expires automatically after the campaign period
    • Pre-fills the treatment promoted in the campaign
    • Skips past dates
    • Tracks the click back to the patient

    A patient clicks the SMS link → lands directly on the pre-filled booking form → picks a time → done. No searching on the website, no re-entering their name, no phone call needed.


    7. Step 6 — Results in the Same Window

    After sending, the results view opens in the same tab. No exporting, no switching to an analytics dashboard. You see:

    • Sent → Delivered → Opened → Clicked → Booked → Revenue — as a funnel, not raw numbers
    • Per variant: open rate, click rate, booking count
    • The winner, highlighted in green — with a "Set as winner" button that delivers the remaining hold group
    Viali Flows — Campaign results: 6-stage funnel, A/B/C variant comparison with winner highlighted
    Viali Flows — Campaign results: 6-stage funnel, A/B/C variant comparison with winner highlighted

    8. Why This Matters

    Clinics that systematically test subject lines consistently see 20–40% higher open rates. This isn't a marketing myth — it's a replicated finding across thousands of email campaigns in various industries.

    Why don't most clinics do it? Because A/B testing used to mean effort: a separate tool, duplicate templates, manual analysis. When testing costs time, nobody tests.

    With an AI editor, variant B costs exactly one click. The writing is free. The analysis happens automatically. The only thing you need to do: pick the winner.

    Without integrated A/B testing, this insight is lost — campaign after campaign, month after month.


    Conclusion

    Tracking → Campaigns → Testing. All in one tool.

    That's the point where clinic marketing stops being a black box. You know which channels work. You reach the right patients. You optimize the message systematically, not by gut feeling.

    See Flows in your clinic


    Frequently asked questions

    What is Viali Flows?

    Flows is the campaign module in Viali: you define who to reach, write a message with AI assistance, test two or three variants, and see the results in the same window — no separate tool and no agency in the middle.

    How does the AI editor work?

    You describe the campaign in one sentence and the editor returns a ready-to-send message. You can also ask it to shorten the text, change the tone, add urgency, or translate it.

    How does A/B testing work in Flows?

    One click generates a genuine alternative variant. You choose what percentage of the segment each variant receives, and Viali can automatically determine the winner after 24 hours.

    Which channels does Flows support?

    Email and SMS, treated identically — same interface, same A/B testing, same results view. Opt-out status is managed automatically.

    How are results shown?

    In the same window as a funnel — Sent, Delivered, Opened, Clicked, Booked, Revenue — with per-variant open, click and booking metrics and the winner highlighted.

    Do campaigns include a booking link?

    Yes. Every campaign includes a personalised booking link that pre-fills the promoted treatment, expires after the campaign, skips past dates, and tracks the click back to the patient.

    Ready to experience this yourself?

    Book a demo and see how Viali transforms your clinic operations.

    Request Demo