Skip to content
Home » Random Daily Audience Sampling in Bloomreach

Random Daily Audience Sampling in Bloomreach

    Random Daily Audience Sampling in Bloomreach

    Daily random audience sampling in Bloomreach extracts a subset of your eligible customer base on a recurring schedule, either as independent random splits evaluated fresh each day or as persistent randomized cohorts pulled from pre-calculated profile attributes.

    This approach controls messaging volume, respects API rate limits for downstream platforms, and enables continuous holdout control groups without permanently excluding the same users.

    How mature is your CRM setup?

    Find out in minutes with a free CRM maturity check.

    Get Your Free Check

    How to randomly sample audiences daily in Bloomreach

    A recurring scheduled trigger combined with condition nodes creates a daily batch of eligible customers ready for random distribution. Set up a Repeat trigger configured to run daily, then attach a condition node to filter for both database and scenario navigation—such as email consent equals true and active user status equals true.

    This ensures only relevant customers enter the scenario each day. After filtering, pass the audience through either an A/B test node for percentage-based splits or a customer limit node for absolute volume caps. The scenario then routes sampled users to actions like emails or ad webhooks, while non-sampled users either flow to control branches or exit the scenario.

    Bloomreach evaluates customer profiles dynamically as they pass through scenario nodes, meaning each daily trigger run processes the current audience state. Condition nodes re-evaluate consent and eligibility on each execution, so users who unsubscribe or change their status will be automatically filtered out on the next run.

    Bloomreach A/B test node vs persistent random attributes

    An A/B test node applies a hash function to unique customer identifiers and assigns variants randomly as users enter the scenario, creating independent splits on each execution.

    A persistent random attribute, by contrast, assigns a static random integer (such as 1 to 100) to each customer profile once during import or profile creation, then uses a condition node or dynamic segment to filter users where that attribute meets a threshold.

    The A/B test node is ideal when you want fresh, unrelated randomization each day; the persistent attribute is ideal when you need the same user to always fall into the same sample group across multiple campaigns or time periods.

    The key difference lies in determinism. A standard A/B test node will assign the same customer to the same variant on every scenario run unless you introduce day-of-month parameters into the hash calculation.

    This means if you run an A/B split daily without modification, users in the 10% sample on Monday will likely remain in the 10% sample on Tuesday, creating overlapping daily cohorts. A persistent random attribute ensures consistency within a user’s profile but does not rotate the sample group membership across days.

    For holdout control groups that measure long-term campaign lift, persistent attributes work well because the same control group is always excluded. For ad platform throttling or API rate limit management, where you need a fresh daily sample, day-based dynamic rotation is more effective.

    Implementation experience from global control group setup shows that mixing both approaches—using persistent attributes for permanent control groups and dynamic Jinja expressions for rotating daily samples—delivers the most flexible architecture.

    Avoiding sampling the same users each day in scenarios

    Re-evaluate conditions after wait nodes and use dynamic segmentations based on timestamp and ID hashes to ensure a completely non-overlapping daily cohort. Insert a condition node immediately after any wait node to re-check consent and eligibility status, since customer attributes can change during the wait period. Then, instead of relying on a standard A/B test node alone, combine a customer ID hash with the current day of the month in a Jinja expression to rotate which users qualify for sampling each day.

    For example, a condition node checking whether (customer_hash + day_of_month) % 20 == 0 will assign different users to the sample group on the first of the month than on the fifteenth. This ensures that a 5% daily sample rotates its membership without overlapping with the previous day’s cohort. The modulo function (%) divides the combined value and uses the remainder to determine bucket assignment, creating a deterministic but date-dependent split.

    Bloomreach condition nodes evaluate these expressions at scenario execution time, so the day-of-month variable updates automatically each time the scenario runs. This approach requires that customer profiles contain a stable hash or ID field; most implementations use a registered ID or a pre-calculated random integer attribute.

    How mature is your CRM setup?

    Find out in minutes with a free CRM maturity check.

    Get Your Free Check

    Bloomreach Jinja expressions for day-based sampling

    A custom Jinja expression combining a customer hash with the current day of the month generates a rotating daily bucket that changes membership without requiring manual scenario edits. Jinja is Bloomreach’s templating language for dynamic expressions in condition nodes and content blocks.

    To build a day-based rotating sample, use a condition node with an expression like (customer.random_id + now.day) % 100 < 5, where customer.random_id is a pre-calculated random integer on the profile, now.day retrieves the current day of the month, and the modulo operator % 100 creates a 0-99 range. The < 5 threshold selects the lowest 5% of that range, creating a 5% daily sample.

    This expression recalculates on each scenario execution, so the sample membership rotates daily without manual intervention. If customer.random_id is 47 and today is the 5th, the calculation is (47 + 5) % 100 = 52, which does not qualify (52 is not less than 5). On the 15th, (47 + 15) % 100 = 62, which also does not qualify. On the 25th, (47 + 25) % 100 = 72, again no match. This ensures the same user cannot occupy the sample on consecutive days. Adjust the threshold (< 5 for 5%, < 10 for 10%) to match your desired sample size.

    Bloomreach customer limit node for daily sample size

    The customer limit operator restricts scenario flow to an exact absolute number of customers rather than a percentage split, capping daily volume regardless of how many eligible users enter the scenario.

    Place a customer limit node after your condition node and before your action nodes. Configure it to specify the maximum number of customers (such as 1,000) that proceed past that point each day. When the daily limit is reached, all subsequent customers that day flow to an alternative path or exit the scenario.

    This approach is useful when your downstream system has a fixed capacity—such as an API that accepts only 1,000 webhook calls per day—or when you want to control absolute spend rather than a percentage of your audience.

    The customer limit node processes customers in the order they enter the scenario, so if 5,000 eligible users enter and your limit is 1,000, the first 1,000 are processed and the remaining 4,000 are blocked or routed elsewhere. On the next day, the counter resets and a fresh 1,000 users can pass through.

    Random daily sampling for ad platform throttling

    Sending daily webhooks to ad platforms while staying within API rate limits uses randomized percentage splits to distribute the outbound volume across your eligible audience.

    Configure an A/B test node set to a percentage that matches your platform’s rate limit—for example, if your ad platform accepts 10,000 API calls per day and you have 100,000 eligible users, set the A/B test to 10% sample and 90% holdout. Route the 10% sample path to the ad platform webhook and the 90% path to an end node or an alternative action.

    The Repeat trigger ensures this split runs daily, so each day a fresh 10% of your audience is sent to the ad platform. Because the A/B test node re-evaluates on each scenario run, users in the 10% sample on one day may not be in the 10% sample on the next day, unless you introduce static attributes or day-of-month parameters.

    If your ad platform requires consistent user identifiers across days (such as for frequency capping or deduplication), combine the A/B test node with a persistent random attribute so the same users always route to the webhook on every execution.

    Creating a rotating control group in Bloomreach

    Route the non-sampled portion of traffic into an inactive branch to measure campaign lift over time without permanently excluding the same profiles. After your A/B test node or customer limit node, direct the sampled users to your action path (such as an email send or webhook) and the non-sampled users to a control branch—typically an End node with no action. This control group receives no message from that scenario but remains in your database and can be measured against the treated sample.

    If you use a day-based Jinja expression to rotate the sample membership, the control group also rotates daily, meaning different users occupy the control group each day. Over a campaign period, most of your audience will spend time both in the treated sample and in the control group, allowing you to measure the incremental lift of your messaging without permanently excluding any user.

    This approach differs from static holdout groups, which exclude the same users indefinitely. For long-running campaigns or continuous engagement programs, rotating control groups provide more statistical power because every user has an equal chance of receiving the message eventually.

    Sampling MethodBloomreach ConfigurationPrimary Use Case
    A/B Test Node (Dynamic)Repeat trigger > Condition node > A/B split (e.g., 10% / 90%) > ActionFresh independent splits each day; ad platform throttling; no user overlap required
    Persistent Random AttributeCondition node filtering customer.random_bucket <= 10 > ActionStable holdout groups; consistent user assignment across campaigns; frequency capping
    Customer Limit NodeRepeat trigger > Condition node > Customer limit (e.g., 1,000) > ActionFixed absolute volume caps; API rate limits; spend control

    Frequently asked questions

    What is random daily audience sampling in Bloomreach scenarios?

    Random daily audience sampling extracts a randomized subset of your eligible customer base on a recurring daily schedule, either as independent splits evaluated fresh each day or as persistent cohorts mapped to pre-calculated profile attributes. It prevents audience fatigue, respects API rate limits for external platforms, and enables rotating control groups that measure campaign lift without permanently excluding the same users.

    How do you configure A/B split percentages in Bloomreach?

    Insert an A/B test node into your scenario after your condition node, then specify the percentage split—such as 10% for sample and 90% for holdout—and route each variant to separate action paths. Bloomreach applies a hash function to customer identifiers to assign variants randomly; the split recalculates on each scenario execution unless you use static profile attributes.

    Can you sample audiences for Google Custom Audiences in Bloomreach?

    Yes, use a webhook node to send sampled customer data to a custom audience platform API, combining an A/B test node or customer limit node to control which users are sent. Ensure your webhook includes the required customer identifiers (such as email or hashed ID) that the platform expects for audience matching.

    How do wait nodes affect data changes in daily scenarios?

    Wait nodes pause the scenario for a specified duration, during which customer attributes and consent status can change in your database. Bloomreach recommends including a condition node immediately after a wait node to re-check consent and eligibility before proceeding to actions, ensuring you do not send messages to users who have unsubscribed or changed their status.

    Review your sampling setup

    Ensure your daily sampling scenarios are configured to rotate audiences instead of hitting the exact same users repeatedly. Check whether your A/B test nodes include day-of-month parameters in their hash calculations, or whether your Jinja expressions combine customer IDs with current date variables to generate non-overlapping daily cohorts.

    Voxwise has implemented global holdout groups and rotating control architectures across dozens of campaigns, and the difference between overlapping and rotating daily samples directly affects both statistical validity and user experience.

    Tags: