# How to Set Up the Ad Optimization Module Source: https://help.maestra.io/ad-optimization/how-to-set-up-the-ad-optimization-module The Ad Optimization module automatically transmits audience segment data from Maestra to ad dashboards such as: * Google Ads; * Facebook; * MyTarget. The list of ads dashboards will be extended as new ads dashboards are released. # How to create a new Ad cabinet integration 1. Go to **Integration Settings** → **Integration Setup** and click the "**Create integration**" button: ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-05_12-56-06.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=f8c2a281b0685fa083a50673153eba32) 2. Then choose to create Advertising cabinet: ​ ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-05_13-15-17.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=b0867544eedd113005c9d2e7ae495d7b) 3. Name the **Ad cabinet integration**, choose a brand (for multi brand projects) and click the "**Create**" button: ​ ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-05_13-02-53.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=ad22a64312f15864da0dce976d2bcbef) # How to add connections to ads dashboards > [!NOTE] > > Enable module on **Billing detalization page** in **Administrative settings** on your own. 1. Go to **Integration**→ **Ad Optimization** and open the Connections tab: ![03\_adoptimize](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_adoptimize.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=9136e76cfcd8927fe11aaa3faf1102f3) 2. Select a relevant ads dashboard: ![04\_adoptimize](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_adoptimize.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=5687862c0d0efb68812cbdfe093a36aa) 3. Name your connection: ![05\_adoptimize](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_adoptimize.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=e6bed1bd74b76be021507502f0591fab) 4. Click **Grant access**: ![06\_adoptimize](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_adoptimize.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=703cfb6bbaaf68c8c3ff7a5348fe8257) The connection has been added successfully! # How to create an integration 1. Go to **Apps** and click **New**: ![07\_adoptimize](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_adoptimize.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=d02f489ad7fdbef448d2dfa2e5e1a29a) 2. Select the source of data import — Maestra: ![08\_adoptimize](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_adoptimize.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=87b4fbab12ddc96b3fbf52de7648524d) 3. Always check in **real time** for your integration operation: ![10\_adoptimize](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_adoptimize.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=0fd20d3e8f42c503b6bff5bb63799693) 4. Select your method of data encryption and the audience segment you want to send from Maestra: ![11\_adoptimize](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_adoptimize.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=2a8cc7e193c59d4dd0af084a59f05977) > [!NOTE] > > **How to create a segment** > Refer to the guidelines on [How to create a segment.](/segments/how-to-filter-customers-into-segments) 5. Select where to send data to: ![12\_adoptimize](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_adoptimize.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=017bcf1046614548f4c8617a9987a3ba) 6. Set up the fields you want to transmit: ![14\_adoptimize](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_adoptimize.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=c2233f8dfd9171b8aaaa7cda8e4852ce) ![15\_adoptimize](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/15_adoptimize.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=8a3b60bbc8988c4fcd02882d27385cb0) 7. Click **Start** to launch the integration: ![16\_adoptimize](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/16_adoptimize.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=c59e2d36e294d094990411dfa16a6293) # How the Billing page works Source: https://help.maestra.io/administration/billing The **Billing** page is where you see what you're paying for — a line-by-line breakdown of the current and past months, the state of your subscription, the billable data on your project, and the modules you can turn on or off. To open it, go to **Profile → Billing**. ![Open Billing from the Profile menu](https://mintcdn.com/maestraio/IEV-eWE5LUJbY-aQ/images/billing/open-billing.png?fit=max\&auto=format\&n=IEV-eWE5LUJbY-aQ\&q=85\&s=abff2003a3446f4a433a0fa6e087f0f5) > [!NOTE] > > Everything on this page is specific to you. Every figure, limit, rate, and rule comes from your own contract — not a general price list. Plans differ between customers and change over time, so the numbers in this article are illustrative only. To check a real limit or rate, hover the **?** icon next to any field on the page. Anything not covered by a tooltip is in your contract. ## Who can see this page Access to Billing is a separate permission, configured per user in **Settings → Security → Users**. To open the page you need `View billing details` — see [permissions for the Billing section](/administration/staff/what-permissions-are-needed-for-different-tasks-v2#billing), or [Permission Groups: Managing User Access](/administration/staff/what-security-groups-are-available) for how permissions work overall. Users without billing permissions see an empty page. **Good to know:** * Turning modules on or off is a further permission, available to the project owner or to a role that's been granted it. * Anyone who can open the page can download the Expense Breakdown. ## Quick jump to a Billing section Looking for a description of a specific section? Click any card below to jump straight to it. > [card] [1. Billing forecast / Detailing](#billing-forecast) > > Line-by-line breakdown for the current or a closed month. > [card] [2. Subscription](#subscription) > > Your current state, plan, and payment scheme. > [card] [3. Invoice status](#invoice-status) > > Where the invoice status shows up. Feature still in development. > [card] [4. Documents](#documents) > > Download the Expense Breakdown — closed months only. > [card] [5. Account data overview](#account-data-overview) > > Billable data on your project. > [card] [6. Modules](#enabled-modules) > > Turn paid modules on or off and see how they're priced. ![Overview of the Billing page](https://mintcdn.com/maestraio/IEV-eWE5LUJbY-aQ/images/billing/billing-page.png?fit=max\&auto=format\&n=IEV-eWE5LUJbY-aQ\&q=85\&s=9999d07aa68240a7879566195ac0d990) ## Choosing a period Use the arrows and the dropdown in the top-right corner to switch months. ![Switch months with the arrows and dropdown in the top-right corner](https://mintcdn.com/maestraio/IEV-eWE5LUJbY-aQ/images/billing/choose-period.png?fit=max\&auto=format\&n=IEV-eWE5LUJbY-aQ\&q=85\&s=840060731d67eb9f2f2aace7c711720c) The heading tells you which kind of view you're looking at: * **Billing forecast for \[month]** — the current month. Figures are still moving and will change until the month closes. * **Detailing for \[month]** — a closed month. Figures are final and match your invoice. ![Detailing heading for a closed month](https://mintcdn.com/maestraio/IEV-eWE5LUJbY-aQ/images/billing/detailing-heading.png?fit=max\&auto=format\&n=IEV-eWE5LUJbY-aQ\&q=85\&s=01a4ab20cafb31c99b8ab7b2c64809ad) ## Billing forecast ### Fixed fees The Maestra Platform fee (**CDP**) plus any paid modules you have enabled. * The CDP price depends on the size of your customer database. How it scales — a flat fee, a per-profile rate, or tiers — is set by your plan. Hover the **?** next to **CDP** to see your terms. * Modules are billed as separate fixed monthly fees. Depending on your plan, they're expressed as an amount, as a percentage of the platform cost, or both. A module's price is shown on its card in **Enabled modules** below. ### Usage-based fees – Lifetime project data Charges for data stored above the volume included in your plan. | Column | What it shows | | - | - | | **Over the limit** | How far past your included quota you went during the month | | **Cost** | What that overage is billed at | > [!NOTE] > > **Overage is the excess, not the total.** The **Over the limit** column shows how far past your included quota you went. Your quota is in the tooltip. Only the metrics that exceeded their limit appear here. If everything fits inside your plan, the section is empty. **Good to know:** * Each row has a **?** with your included limit, and the amount in **Cost** has its own **?** explaining how that specific figure was calculated. * Overage rates aren't always a single flat price per unit — some plans use tiers, where the rate changes as volume grows. Check the tooltip on the **Cost** figure and your contract for the rule that applies to you. ### Discounts Any reductions applied to your bill, shown as negative amounts. Discounts can be one-time and fixed, percentage-based, recurring, or tied to a promotional period. Hover the **?** on a discount row to see what it covers. The section only appears when a discount applies to the selected month. ### Totals * **Subtotal without tax** — fixed fees plus usage-based fees, less any discounts. * **Tax** — see [Tax](/administration/invoices-and-payment#tax) in [Invoices and payment](/administration/invoices-and-payment). * **Total with tax** — the amount for the month. ### Payment forecast What the totals above mean for your actual payment depends on your payment scheme. **If you're on postpayment** — the standard scheme on current plans — this block shows a single line: the full actual amount for the period, the same figure as **Total with tax**. **If you're on prepayment**, the block reconciles the advance you've already paid against what you actually used: | Line | What it is | | - | - | | **Payment forecast for \[selected month]** | The balancing payment for that month, on top of the advance you already paid for it. The advance itself is shown on the previous month's tab. If the advance was smaller than your actual usage, you pay the difference. If it was larger, the surplus carries over and reduces the line below | | **Payment forecast for \[next month]** | The advance for the current period, payable next month. It equals the actual amount for the period that has just closed, less any surplus carried over from your previous advance | | **Total invoice forecast including tax** | The sum of the two — what your invoice will show | The advance sits on your balance until that month closes, and is then drawn down against your actual usage — which is what produces the balancing line the following month. ## Invoice status The invoice status for this view shows up in two places: a badge inline with the page title, and the **Bill** block at the top of the right-hand panel, above **Subscription**. Common paired states are **Bill is paid** / *All payments are up-to-date* and **Bill not found** / *Invoice not found*. > [!WARNING] > > This feature is still in development and doesn't currently show whether your invoice has actually been paid. Invoices also aren't uploaded into the platform yet — they're sent by email. Both of these are on our roadmap, and we'll update this article as soon as the improvements ship. For now, to check where you stand, contact support or your account manager. For how invoices are sent, payment terms, and how tax is charged, see [Invoices and payment](/administration/invoices-and-payment). ## Subscription | Field | What it shows | | - | - | | **Subscription status** | Your current state and the date it started. The date is when the contract was signed, the advance paid, and the integration period began | | **Payment plan** | Your scheme — postpayment or prepayment. This is your contractual setting, not a general rule | | **Due date** | The deadline for the current invoice | | **Data for billing** | Which figures are used to bill you. **Max. per month** means the peak value of the month is used, not the value at the moment you're looking at the page | | **Your plan** | Your plan version. All limits, rates, and rules on this page follow from it | ## Pricing plan Your plan version, repeated for quick reference. ## Documents **Expense Breakdown** — a PDF containing the same table you see on the page, for the selected month. **Good to know:** * Generated on the second day after the month closes, so there's no document for the month in progress. * Anyone with access to the Billing page can download it. * This is the only document available in the platform. Invoices aren't uploaded here. ## Account data overview The billable data on your project. For the **current month** these are live values, as of today. For a **closed month** they're the figures that were fixed for billing. | Metric | What it counts | | - | - | | **Monthly active profiles** *Not every plan uses this metric.* | End Customer Profiles with at least one activity in the calendar month: an attempt to send them a message through the platform, whether or not it was delivered, or any inbound activity by an identified customer — a site or app visit, an authentication, an email open or click, a purchase, an order status change. Activity by an anonymous visitor who hasn't been resolved to a profile doesn't count | | **Customer storage** | Every profile in the CDP, with no exclusions | | **Inactive users** *Not every plan uses this metric.* | Profiles that weren't active in the month — Customer storage minus Monthly active profiles for the same month | | **Action storage** | Recorded events linked to a profile: a message sent, a visit, a purchase, an email open. The counter is cumulative and doesn't reset; it only goes down when you delete data | | **Orders customer actions** | Order-related customer actions. Hover the **?** for the volume included in your plan | | **Segment data** | Segment records generated by your project | | **Brands** *Applies to projects with 2+ brands.* | Distinct stores or properties with their own website, catalog, branding, or integrations | **Good to know:** * An **End Customer Profile** is a single deduplicated master record that consolidates everything known about one person. * **Deleted profiles** stop counting from the next billing period, not immediately. * **Storage metrics** — Customer storage, Inactive users, Action storage, Orders, Segment data — **are taken on the last day of the month**. Monthly **active profiles** are accumulated across the **whole month**: every profile with at least one activity, counted once. * **Active and inactive profiles are counted against separate limits and separate rates.** A profile is billed as one or the other in a given month, never both — but because the two are measured at different points, the two figures added together may not exactly equal your Customer storage. ## Example: How your bill comes together > [!WARNING] > > Illustrative only — your own limits and rates are in the tooltips and your contract. ![Example Billing detailing for a closed month](https://mintcdn.com/maestraio/lJPGPMxVXZj677Fw/images/billing/example-bill.png?fit=max\&auto=format\&n=lJPGPMxVXZj677Fw\&q=85\&s=322ca381bfda9678d790da458a23aca9) Here the project held 1,544,205 monthly active profiles against an included 150,000, so 1,394,205 profiles were billed as overage. Inactive profiles were handled the same way against their own, much larger, included volume — which is why a bigger number produces a much smaller charge. > [!NOTE] > > **Why this page may not match your other reports.** Campaign and analytics reports count what happened; billing counts what was stored and measured, at the moment of measurement. Deleted records, time zones, and the difference between a live and a fixed figure all contribute. If a number here looks wrong, contact support with the month and the metric. ## Enabled modules > [!TIP] > > This section only shows up when the current month is selected in the period picker in the top-right corner. Below the main table, modules are grouped into tabs by product area. You only see the modules available on your plan, so the set of tabs and cards differs between projects. ![Enabled modules grouped into tabs by product area](https://mintcdn.com/maestraio/IEV-eWE5LUJbY-aQ/images/billing/enabled-modules.png?fit=max\&auto=format\&n=IEV-eWE5LUJbY-aQ\&q=85\&s=b8eb893c46f75ff67069b6151b48433e) Each card shows: * the module name and what it does; * its price — as an amount, as a percentage of the platform cost, or both, depending on your plan; * an **Enable** or **Disable** button. ### Turning a module on or off Click **Enable** or **Disable** on the card. Available to the [project owner](/administration/staff/what-security-groups-are-available#owners), or to a role that's been granted this permission. ![Enable or Disable button on a module card](https://mintcdn.com/maestraio/IEV-eWE5LUJbY-aQ/images/billing/module-enable-disable.png?fit=max\&auto=format\&n=IEV-eWE5LUJbY-aQ\&q=85\&s=b65b15438a7f20da6cb8a329d0223a38) > [!NOTE] > > **We recommend turning modules on and off on your side.** Involving our CSM or Support team isn't ideal — reserve it for exceptional cases, and always via a written email request. **Good to know:** * Disabling takes effect immediately — the functionality stops right away. * Your settings and data are kept. If you enable the module again later, months later if you like, your configuration is still there. For details on your specific case, talk to your personal manager. > [!WARNING] > > **Module fees are fixed monthly.** They're not prorated by days active — turning a module on at the end of the month, or off partway through, still costs the full month. ## Canceling your subscription You can cancel from this page. Once you confirm: * the subscription stops immediately; * **for 28 days** you keep access to the project, so you can export whatever you need and delete data yourself; * **on day 29** access is closed; * **on day 30** the project is queued for automatic deletion; * **within 60 days** the depersonalized backups are destroyed permanently and irreversibly. If billing ends because the contract is terminated, the final month is billed in full; there are no charges from the following month, unless agreed otherwise. > [!TIP] > > Still have questions? Check out [common billing questions](/administration/billing-faq). # Common billing questions Source: https://help.maestra.io/administration/billing-faq Answers to the questions we hear most often about billing, invoices, and the numbers on your monthly bill. Can't find yours here? Contact support or your account manager. ## Your bill and metrics > [accordion] Why did my bill change this month? > > Compare the **Usage-based fees** rows month to month. Overage moves with your data volume, and a small change in profile count can cross a limit. Fixed fees change only when a module is enabled or disabled. > [accordion] I deleted profiles — why am I still billed for them? > > Deleted profiles drop out of the calculation from the next billing period. And for monthly active profiles, a profile that was active at any point in the month counts for that month even if it's gone by the end of it. > [accordion] Why doesn't Account data overview match the Usage-based fees rows? > > The overview shows totals; the fees table shows only the amount above your included limit. For the current month the overview is also live, while billing figures are fixed when the month closes. ## Modules > [accordion] What happens if I switch a module to demo mode? > > You can no longer reach your end customers through it. The settings, content, and reporting for the module you turned off stay available in Maestra Platform. > > **For example:** switch the personalization module to demo mode, and pop-ups stop showing on your site — but the pop-ups themselves, their settings, and their reports are all still there for your team. > > **Billing for the current month doesn't change** — a module that was active for even one day is billed for the full month. > [accordion] What happens to my bill if I disable a module? > > Your subscription drops by that module's price **from next month**. The current month is still billed in full, since module fees aren't prorated by days active. > [accordion] Who can enable a module? > > The [project owner](/administration/staff/what-security-groups-are-available#owners), or a role that's been granted the `Ability to manage billing` permission. For where the button lives and what happens when you click it, see [Turning a module on or off](/administration/billing#turning-a-module-on-or-off). > > Your CSM or Support can also do it, but treat that as an exception and send a written request by email. ## Invoices > [accordion] Has my invoice been paid? > > The [Billing](/administration/billing) page doesn't show this yet — the feature is in development. For now, check with support or your account manager. > [accordion] Where is my invoice? > > In your email. Invoices aren't stored in the platform — the only document here is the Expense Breakdown. For a duplicate, contact support or your account manager. > [accordion] There's no detailing for this month. > > The Expense Breakdown is generated on the second day after the month closes. For the month in progress, use the figures on the page. ## Subscription and plans > [accordion] When does billing actually start after I sign the contract? > > Billing doesn't begin when the contract is signed. First comes the integration period — normally up to three months, or as stated in your contract. Billing starts on the day the integration period ends. > [accordion] Can I see what a different plan would cost? > > Plans are individual. Talk to your account manager. # How to create an external system Source: https://help.maestra.io/administration/how-to-create-an-external-system Maestra account can support multiple systems (for example, two online stores). To keep product data separated by source, Maestra uses **External Systems**. Product and category IDs are stored under a specific external system (e.g., one per store), so data from different systems never overlaps. ​ An **External System** represents the system your product data comes from. Products typically come from a website or your store backend, and in Maestra these sources are set up as External Systems. Some projects use multiple feeds where product IDs can overlap. To keep IDs from different feeds separate, import each feed under its own external system. > [!NOTE] > > **External Systems are not the same as Integration Points:** > > * **Integration Points** identify the customer’s system — the source of events and API requests. > * **External Systems** identify the source of product data. How to create an external system: 1. Go to **Settings** → **Products and Orders** → **External Systems**, and click "Add": ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-04_17-06-45.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=064224fa2c87075d81b848a24b6f84b2) 2. Fill in the fields and click "Add": ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-04_17-09-43.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=39a3c905d7a037f55caf325e2272601e) # Invoices and Payment Source: https://help.maestra.io/administration/invoices-and-payment For a breakdown of what you're paying for each month, see [Billing](/administration/billing). Invoices are sent by email in the first one to three business days of the month, for the period that has just ended. They aren't uploaded into the platform. * **Format.** A PDF, together with a link for online payment — by card, bank transfer, and other methods. * **Recipients.** The invoice goes to your contact person. You can add any number of additional recipients, for example your finance team — ask support to set this up. * **Payment term.** Fourteen days from receipt of the invoice, unless your contract says otherwise. * **Currency.** Fixed by your contract and shown on the [Billing](/administration/billing) page. * **Didn't receive an invoice, or need a duplicate?** Contact support or your account manager. ## If an invoice goes unpaid We send a reminder to the address on file. Late-payment interest may be charged, and access to the project is suspended automatically fourteen days after the due date. > [!WARNING] > > A suspension doesn't reduce the fee: the full monthly subscription is still billed for that month. ## Tax Tax is zero by default. * VAT is charged where the contract is with our Netherlands entity and your own legal entity is also in the Netherlands. * For contracts with our US entity, tax may apply in certain states. * In all other cases no tax is charged and the line shows zero. This is determined individually in each contract. # Multibrand Source: https://help.maestra.io/administration/multibrand **Multibrand mode** lets you manage multiple brands (2+) in one account. Each brand can keep its own settings, content, subscription preferences, while customer data stays unified in a **single customer account**. For each brand, you can set up access permissions and senders. Reports will also be divided by brands. ​ Modules and billing are shared across all brands. # How to add a brand 1. Go to **Settings** → **System** → **Brands**, and click "Add": ​ ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-03_20-48-07.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=e3372257426e0a7a03c72bb8b726932b) 2. Enter brand name, system name and industry, and click "Save Brand". ​ ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-03_20-54-31.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=329d67f994c8df246e069a56a5a587a0) Choosing an industry sets the benchmarks for your “[Email Health](/campaigns/email-campaigns/email-deliverability/email-health-report)” metrics. ## After you add a brand After you add your first additional brand to a project, any existing entities (like flows, campaigns, settings, or imports) continue to work for the original brand as they did before. The new brand starts with its own empty configuration, so you’ll need to review the brand-specific settings and complete the required setup steps to activate it before you can use it. *** **Entity: Subscriptions in customer profile** * ***After you add a brand*** * The subscriptions section for the newly added brand will be empty in the customer’s profile, while subscriptions for the original brand remain unchanged. * ***Required updates*** * Before you can send emails for a new brand, import subscription statuses (subscribed or unsubscribed). Otherwise, your emails won’t go out. * ***What gets added*** * From now on, you’ll need to choose a brand for every subscription change — whether you’re importing customers (file or API) or making subscription changes in a customer profile. *** **Entity: Customer actions** * ***After you add a brand*** * All past customer actions stay with the original brand. * ***Required updates*** * No changes needed. * ***What gets added*** * To assign an action, **either select a brand or choose an integration point tied to that brand.** *** **Entity: Saved filters: "Customer—Subscription"** * ***After you add a brand*** * Becomes a filter for the original brand. For example, the filter **“Subscription — Subscribed”** will change to **“Subscription — Subscribed in Brand 1 .”** * ***Required updates*** * Adjust filters and segments for different brands, where necessary. * ***What gets added*** * You’ll need to specify a brand in any subscription-based filters. *** **Entity: Saved filters "Action—Registration" and "Action—First Interaction"** * ***After you add a brand*** * Becomes a filter for all the brands. For example, the "Customer Action—Customer Registration" filter will turn into the "Customer Action—Customer Registration in Any Brand" filter. * ***Required updates*** * Adjust filters and segments for different brands, where necessary. * ***What gets added*** * You’ll be able to choose a specific brand in **"Action—Registration"** filters and **"Action—First Interaction"** filters — or leave it open to all brands. *** **Entity: RFM segments** * ***After you add a brand*** * Remains tied to the original brand. * ***Required updates*** * Add RFM segments for the new brand if needed. * ***What gets added*** * Choose a brand when creating a new RFM segment. *** **Entity: Product feeds** * ***After you add a brand*** * Remains tied to the original brand. * ***Required updates*** * If needed, add products for your new brand. * ***What gets added*** * To add products or feeds, you must assign them to a brand. *** **Entity: Campaigns** * ***After you add a brand*** * Remains tied to the original brand. * ***Required updates*** * Create or duplicate campaigns for the new brand, if needed. * ***What gets added*** * Specify the brand when creating campaigns *** **Entity: Pop-ups, embedded forms, widgets** * ***After you add a brand*** * Brand is inherited from the site integration point. All previously created integration points stay tied to the first brand they were created under. * ***Required updates*** * Create new forms for the new brand if needed. If you’re using custom JavaScript, you may need to adjust some API methods (see the Technical Specification section). * ***What gets added*** * Nothing changes — you’ll just need to select the site where it should display. *** **Entity: In-apps** * ***After you add a brand*** * Brand is inherited from the app integration point. All previously created integration points stay tied to the first brand they were created under. * ***Required updates*** * Create In-Apps for the new brand if needed. * ***What gets added*** * Nothing changes — you’ll just need to select the app. *** **Entity: Event-Based Flows** * ***After you add a brand*** * Remain tied to the original brand. * Actions issued in Steps node inherit the flow’s brand * Event-based flow is typically triggered **only by events (actions and products) associated with its brand**, but there are some exceptions. Learn more in the **[Events in flows](#h_cc342498bb)** section. * ***Required updates*** * If needed, duplicate your flows under the new brand — or restrict who can enter the flow to the right brand with conditions like subscriptions or touchpoints. * ***What gets added*** * Specify the brand when creating a new flow. *** **Entity: Scheduled flows** * ***After you add a brand*** * Remain tied to the original brand. As these flows have no triggering event, they run for all the customers who meet the conditions in the schedule filter. * ***Required updates*** * If needed, restrict who can enter the flow to the right brand with conditions like subscriptions or touchpoints. * ***What gets added*** * Specify the brand when creating a new flow. *** **Entity: Promocode Pools / Points balances/ Voting Polls** * ***After you add a brand*** * The entities are not linked to the brand * ***Required updates*** * No changes needed. * ***What gets added*** * The entities are not linked to the brand *** **Entity: API Methods** * ***After you add a brand*** * Brand is determined by the integration point. All integration points remain under original brand. * ***Required updates*** * Add the new brand’s integration point to the existing API method setup, or build new methods just for that brand. * ***What gets added*** * Everything stays the same — just pick the right brand’s integration point when setting up the new method. *** **Entity: API documentation** * ***After you add a brand*** * For any methods that pass the `subscriptions` object (steps such as "Customer—Register" / "Customer—Authenticated—Enrich" / "Authenticated—Edit" / "Unauthenticated—Register or Enrich" / "Customer—Import" / "Customer—Create and Subscribe to Campaigns"), if a brand isn’t explicitly specified, the customer will be subscribed under the brand associated with the method’s integration point. All integration points remain assigned to the original brand. * Any subscription-edit method ("Customer—Authenticated—Edit" and "Customer—Unauthenticated—Edit") configured as “Set manually” in edit by data field will continue updating subscriptions for the original brand. * In methods that return data ("Customer—Get Current Customer Data" and "Customer—Merge"), if no brand is specified, the response includes data for all brands. * New fields will appear in exports: * Download Customer Discount Cards discountCards/ discountCard/ customer/ subscriptions/ subscription/ brand * Download Customers customers/ customer/ subscriptions/ subscription/ brand * Download Merged Customers customerMerges/ customerMerge/ resultingCustomer/ subscriptions/ subscription/ brand * ***Required updates*** * Review the settings for any methods that include these steps. Specify a brand where required, or allow all brands when appropriate. * ***What gets added*** * You’ll be able to choose a brand in integration points, route actions by brand, or update multiple brands’ data in a single API call. *** **Entity: Folders** * ***After you add a brand*** * All brands allowed * ***Required updates*** * If needed, restrict staff access to brand folders. For each folder, either assign a specific brand or leave it available to all brands. * ***What gets added*** * You can restrict specific folders by brand. This ensures campaigns and flows can only be created under the allowed brand, and only by staff who have permission for that same brand. *** **Entity: Promotions** * ***After you add a brand*** * The entities are not linked to the brand * ***Required updates*** * You can limit promotions by channel, so that they apply to websites and offline stores of the selected brand only. * ***What gets added*** * Creating promotions works the same way as before. Use channel limits to make a promotion run only for the chosen brand’s online or offline channels. *** **Entity: Discount cards** * ***After you add a brand*** * The entities are not linked to the brand * ***Required updates*** * Can be grouped and managed by type if needed. * ***What gets added*** * Adding discount cards works the same way as before. *** **Entity: Product recommendations** * ***After you add a brand*** * Product brand is automatically considered in recommendations. * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: A/B tests by customer segments** * ***After you add a brand*** * The brand is not considered in A/B testing. However, tests are tied to campaigns for a specific brand, so the winning variant is unaffected. * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: A/B tests by website users** * ***After you add a brand*** * Brand is determined by the integration point. * ***Required updates*** * Create tests for the new brand if needed * ***What gets added*** * Nothing changes, you need to select a website for the test *** **Entity: Reports** * ***After you add a brand*** * You can view reports for a specific brand. * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity:** Report Subscriptions * ***After you add a brand*** * Report subscriptions stay tied to the initial brand. * ***Required updates*** * Re-subscribe or add a subscription to a new brand if needed * ***What gets added*** * Specify the brand when subscribing *** **Entity: Integration points** * ***After you add a brand*** * Integration points stay tied to the initial brand. * ***Required updates*** * Create integration points for the new brand. If needed, add them to existing methods or set up separate methods for that brand. * ***What gets added*** * Specify the brand when creating Integration points. *** **Entity: FTP import** * ***After you add a brand*** * **FTP import** stays tied to the initial brand. * ***Required updates*** * Duplicate it for the new brand if needed * ***What gets added*** * Specify the brand during setup. *** **Entity: FTP export** * ***After you add a brand*** * Brand isn’t set in the FTP configuration, but it may appear in exports depending on the method you use * Export Discount CardsdiscountCards/ discountCard/ customer/ subscriptions/ subscription/ brand * Export Customers customers/ customer/ subscriptions/ subscription/ brand * Export Customer Merges customerMerges/ customerMerge/ resultingCustomer/ subscriptions/ subscription/ brand * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: API calls** * ***After you add a brand*** * Each call always includes an `endpointId` (integration point), which determines the brand. [Product import](https://developers.maestra.io/docs/prodimportcsv), however, requires explicitly passing the brand in the URL or request body. * ***Required updates*** * Set up calls for the new brand’s integration points, and include the brand in [product import requests](https://developers.maestra.io/docs/prodimportcsv). * ***What gets added*** * Nothing changes. Just use the integration point for the correct brand in your calls. For product imports, you must always pass the brand explicitly. *** **Entity: SMPP connections** * ***After you add a brand*** * SMPP connections stay tied to the initial brand. * ***Required updates*** * Add SMPP connections for the new brand if needed. * ***What gets added*** * Specify the brand during setup. *** **Entity: Webhooks** * ***After you add a brand*** * The entity is not linked to the brand. However, you may have to specify the brand in the request body when passing a subscription object (see **API documentation** section) * ***Required updates*** * Check if calls include subscription data. Add the brand if needed. * ***What gets added*** * You can specify the brand in webhook request body when including a subscription object. *** **Entity: Action templates** * ***After you add a brand*** * Allowed in all brands * ***Required updates*** * No updates needed * ***What gets added*** * Can be allowed in specific brands only *** **Entity: Channels and touchpoints** * ***After you add a brand*** * The entities are not linked to the brand * ***Required updates*** * You can add new ones for the new brand—for example, to limit promotions. * ***What gets added*** * Nothing changes *** **Entity: Staff** * ***After you add a brand*** * All brands allowed * ***Required updates*** * Restrict staff members by brand if needed. * ***What gets added*** * You can restrict staff members by brand. This ensures they can only create campaigns and flows for that brand, and they’ll only be able to build filters within their assigned brand. *** **Entity: Permissions** * ***After you add a brand*** * Only users with “Brand View” permission can create campaigns and flows. * ***Required updates*** * Add the "Brand View" permission to the staff members and security groups * ***What gets added*** * Nothing changes *** **Entity: Loyalty program participants** * ***After you add a brand*** * **Loyalty program participants** stay tied to the initial brand. * ***Required updates*** * Specify for the new brand if needed * ***What gets added*** * You have to select the brand during the setup *** **Entity: Pop-up frequency control** * ***After you add a brand*** * Applies to the entire project, not individual brands. * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: Order attribution** * ***After you add a brand*** * Is automatically scoped to the brand * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: Variables** * ***After you add a brand*** * The entities are not linked to the brand * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: Zones** * ***After you add a brand*** * The entities are not linked to the brand * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: Email settings—DKIM senders** * ***After you add a brand*** * **DKIM senders and subscriptions** stay tied to the initial brand. * ***Required updates*** * Add senders for the new brand * ***What gets added*** * The senders will be created within the specific brand *** **Entity: Email settings—Subscription confirmation** * ***After you add a brand*** * **Subscription confirmation** stay tied to the initial brand. New brands are added with subscription confirmation disabled by default. * ***Required updates*** * Set up subscription confirmation for the new brand or leave it disabled * ***What gets added*** * You can enable or disable Subscription confirmation for each brand independently. *** **Entity: SMS settings—Subscription confirmation** * ***After you add a brand*** * **Subscription confirmation** stay tied to the initial brand. New brands are added with subscription confirmation disabled by default. * ***Required updates*** * Set up subscription confirmation for the new brand or leave it disabled * ***What gets added*** * You can enable or disable Subscription confirmation for each brand independently. *** **Entity: UTM tags** * ***After you add a brand*** * Remain tied to the original brand. For any new brand, default UTM tags are applied automatically utm\_campaign \$\{Message.MailingUtmName} utm\_source maestra utm\_medium email * ***Required updates*** * Update the UTM tags for Email, and add Web Push tags for the new brand if needed. * ***What gets added*** * You can configure tags for each brand independently. *** **Entity: Topics** * ***After you add a brand*** * Remain tied to the original brand. * ***Required updates*** * Add topics for the new brand if needed. * ***What gets added*** * Create topics within the specific brand *** **Entity: Control group** * ***After you add a brand*** * Control groups aren’t scoped to a brand, since customers can interact across brands. * ***Required updates*** * No updates needed * ***What gets added*** * Nothing changes *** **Entity: Autodeletion** * ***After you add a brand*** * Saved Subscription filters apply to the original brand by default. For example, **“Subscription—Subscribed”** filter will become **“Subscription—Subscribed to Brand 1”.** The "Action—Registration" and "Action—First Interaction" filters will become set 'in any brand'. For example, the "Customer Action—Customer Registration" filter will turn into the "Customer Action—Customer Registration in Any Brand" filter. * ***Required updates*** * Update any auto-deletion filters that use these conditions, if needed. * ***What gets added*** * When setting auto-deletion criteria in filters, make sure to select a brand. *** ## Events in flows If your account includes multiple brands (2+), you’ll be asked to select the brand when creating a flow. ​ A flow is typically triggered **only by events (actions and products) associated with its brand**, but there are some exceptions. ​ ​**These exception events ignore the brand and trigger across all brands:** * Product list changed * Customer entered the segment * Customer quit the segment * Predictive AI: Next Best ActionTo segment customers by brand for flows triggered by exception events, add Condition blocks and set the filter to the required brand. > [!WARNING] > > Any event not listed as an exception must belong to the flow’s brand to trigger it. # How to disable the brand Before disabling the brand, you need to delete or edit the entities associated with it: * Campaigns in "Ready to Send" status (drafts and completed campaigns can be left untouched, but clicks on campaigns already sent within that brand will no longer be tracked); * flows; * product feeds; * folders limited by the brand; * subscriptions to brand reports; * Integration points and their linked functionalities: * API methods; * Pop-ups, embedded blocks, widgets;; * In-Apps, * A/B tests for website. 1. In the **Settings** → **System** → **Brands** tab, go to the edit screen for the brand you want to disable: ​ ![](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=c480c61a30e0bdbaae225be811320350) 2. Uncheck the "Active brand" checkbox and click "Save brand". ​ ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-03_21-05-09.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=3c4ae99ff297f6a931bac580ce828ae4) A validation message will appear if there are any associated entities: ​ ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-03_21-12-31.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=c773bc87990397a93be0d5ed72cc622b) ## After You Disable a Brand ## What happens to existing entities within the project that are linked to a deactivated brand. * * * * * * * * 1. 2. 3. | **Entity** | **What happens** | | - | - | | **Subscriptions in Customer Profile** | Subscriptions for the disabled brand will not be displayed in customer's profile. ​ If only one brand remains, the brand breakdown in the Subscriptions menu is removed. The data for the remaining brand still appears, but it’s no longer labeled by brand. You also no longer need to specify a brand in filters, since only one brand remains. | | **Saved filters: "Customer—Subscription in Brand"** | Filters are retained when the project contains two brands and more. If one brand remains, filters are switched to "Customer—Subscription" | | **Saved filters: "Customer Action—Customer Registration in Brand" and "Customer Action—First Interaction in Brand"** | Filters are retained when the project contains two brands and more. If one brand remains, filters are switched to "**Customer** Action—**Customer** Registration" and "**Customer** Action—First Interaction" | | **Saved filters: "Action—Brand"** | Filters by brand are retained even if only one active brand remains on the project | | **Products** | Products are retained | | **Campaigns** | Completed, paused campaigns, and drafts remain in the deactivated brand | | **Technical Specification** | If only one active brand remains in the project:You can still specify the active brand in the Subscriptions node for API methods that involve subscription handling (steps: "Customer—Register" / "Customer—Authorized—Add" / "Authorized—Edit" / "Unauthorized—Register or Add" / "Customer—Import" / "Customer—Create and Subscribe to Campaigns").The /customer/subscriptions/subscription/pointOfContact field will no longer be available in the API methods that return data ("Customer—Receive Data on Current Customer" / "Action—"Merge Customers")The following fields will be removed from exports:Download Customer Discount Cards discountCards/ discountCard/ customer/ subscriptions/ subscription/ brandDownload Customers customers/ customer/ subscriptions/ subscription/ brandDownload Merged Customers customerMerges/ customerMerge/ resultingCustomer/ subscriptions/ subscription/ brand | | **FTP export** | These fields will be removed from API exports If only one active brand remains in the project::Customer Discount Cards Export—discountCards/ discountCard/ customer/ subscriptions/ subscription/ brandDownload Customers—customers/ customer/ subscriptions/ subscription/ brandDownload Merged Customers—customerMerges/ customerMerge/ resultingCustomer/ subscriptions/ subscription/ brand | | **API methods** | Data related to inactive brands will not be processed. Requests sent to deleted endpoints (integration points) will fail with an error.[Product imports](https://developers.maestra.io/docs/prodimportcsv) can still include a brand, but it must be an active one. | | **Email, SMS, and SMPP connection settings** | Settings for the deactivated brand are hidden | | **Webhooks** | Do not use brands. However, data related to a deactivated brand may still be passed in the request body. | | **Staff** | Staff access can be restricted by the inactive brand. Adjust access permissions if necessary | | **Permissions** | If only one active brand remains on the project, the "Brand View" permission will no longer be required for creating flows and campaigns | | **Reports** | Reports for deactivated brands are hidden | # How to add a User Source: https://help.maestra.io/administration/staff/how-to-add-a-staff-member Add a teammate to your Maestra Platform account so they can log in and start working on customers, campaigns, and reports. 1. Go to **Settings** → **Security** → **Users**. ![2026 05 18 18 10 52](https://mintcdn.com/maestraio/kdTRGTjFjvZPSo1S/images/2026-05-18-18.10.52.png?fit=max\&auto=format\&n=kdTRGTjFjvZPSo1S\&q=85\&s=8758c09eb807bd8ae8de6da140696869) 2. Click **Create user**. ![2026 05 18 18 19 02](https://mintcdn.com/maestraio/kdTRGTjFjvZPSo1S/images/2026-05-18-18.19.02.png?fit=max\&auto=format\&n=kdTRGTjFjvZPSo1S\&q=85\&s=9839eab9f1bfe489fefa0466228bbf4a) 3. Fill in the new user's profile. ![2026 05 18 18 25 19](https://mintcdn.com/maestraio/kdTRGTjFjvZPSo1S/images/2026-05-18-18.25.19.png?fit=max\&auto=format\&n=kdTRGTjFjvZPSo1S\&q=85\&s=298dece945a3e1db341ea08c3e58caae) ## Basic settings * **Username** — Latin characters only. Required. * **Email** — we'll send a password setup link here. Required. If the email doesn't arrive within 10 minutes, ask them to use the password recovery flow. * **Mobile number** — optional, but required if you want them to use SMS-based [two-factor authentication](/security/how-two-factor-authentication-works). * **Comment** — usually the person's role (for example, "Email Marketing Manager"). Required. * **Language** — interface language. * **Date & time format** — how dates and times display for this user (12-hour or 24-hour). * **Account is active until** — set an expiration date for contractors or seasonal staff. The account is blocked automatically on that date. * **Provide access to support chat** — enables the in-platform support chat for this user. Billable once more than five users on your account have it. * **Name** and **Last name** — optional. ## Accesses ![2026 05 1818 37 01](https://mintcdn.com/maestraio/kdTRGTjFjvZPSo1S/images/2026-05-1818.37.01.png?fit=max\&auto=format\&n=kdTRGTjFjvZPSo1S\&q=85\&s=265e51e15281723a7fc5af183aaf5f91) * **Allowed brands** — keep **All brands** or switch to **Selective** to limit the user to specific [brands](/administration/multibrand). * **Allowed folders** — keep **All folders** or switch to **Selective** to limit the user to specific folders. ## Permissions ![2026 05 18 18 41 32](https://mintcdn.com/maestraio/kdTRGTjFjvZPSo1S/images/2026-05-18-18.41.32.png?fit=max\&auto=format\&n=kdTRGTjFjvZPSo1S\&q=85\&s=af2aae22f595025b26baef4e005b70c5) * **Permission group** — a bundle of permissions. Pick a [built-in group](/administration/staff/what-security-groups-are-available) (like Marketers or Analysts) or a [custom one](/administration/staff/how-to-create-a-security-group) you've created. To assign a group, you either need to be a member of it yourself or hold every permission it contains. * **Additional permissions** — extra rights on top of the group. You can only grant permissions you have yourself. > [!NOTE] > > At least one permission or one permission group is required. 4. Click **Save**. The new user gets an email with a link to set their password. # How to bulk import User from a file Source: https://help.maestra.io/administration/staff/how-to-bulk-import-staff-from-a-file If you're onboarding a whole team at once, you don't have to add each person manually. Upload a CSV and Maestra creates the accounts for you. ## Import Users 1. Go to **Settings** → **Security** → **Users**. ![2026 05 18 18 10 52](https://mintcdn.com/maestraio/kdTRGTjFjvZPSo1S/images/2026-05-18-18.10.52.png?fit=max\&auto=format\&n=kdTRGTjFjvZPSo1S\&q=85\&s=8758c09eb807bd8ae8de6da140696869) 2. Click **Import**. ![2026 05 18 19 09 42](https://mintcdn.com/maestraio/p_1bL77W2cdNA9BN/images/2026-05-18-19.09.42.png?fit=max\&auto=format\&n=p_1bL77W2cdNA9BN\&q=85\&s=9b1e35e8211250c926bf79cf5bee5718) 3. Choose **Bulk user import**. A file template is available for download. ![2026 05 18 19 12 54](https://mintcdn.com/maestraio/p_1bL77W2cdNA9BN/images/2026-05-18-19.12.54.png?fit=max\&auto=format\&n=p_1bL77W2cdNA9BN\&q=85\&s=2121b392106d3af496743e2f48c5a718) The page also displays all available upload fields, including each field's name, description, whether it's required, and examples of accepted formats. 4. Prepare your file. * **Format:** CSV * **First row:** field names (headers) **Required fields** | Field | Notes | | - | - | | `UserName` | Login. Latin characters only | | `Email` | Password setup link is sent here | | `Comment` | Usually the person's role | **Optional fields** | Field | Notes | | - | - | | `MobilePhone` | Phone number. Needed for SMS-based [two-factor authentication](/security/how-two-factor-authentication-works) | | `FirstName` | First name. | | `LastName` | Last name. | | `Groups` | System name(s) of permission groups to assign. | | `Permissions` | Additional permissions on top of the group. | | `IsChargeable` | Whether to enable support chat access (billable). | Example of a completed file: ![2026 05 18 19 43 17](https://mintcdn.com/maestraio/p_1bL77W2cdNA9BN/images/2026-05-18-19.43.17.png?fit=max\&auto=format\&n=p_1bL77W2cdNA9BN\&q=85\&s=053c4ac85b26e3f1ea2da27bc8a8b79f) > [!NOTE] > > You can only assign a permission group if you belong to it yourself or hold every permission it contains. The same rule applies to individual permissions — you can only grant permissions you have.\ > \ > Pick a [**built-in group**](https://maestraio.mintlify.app/administration/staff/what-security-groups-are-available) (like Marketers or Analysts) or a [**custom one**](https://maestraio.mintlify.app/administration/staff/how-to-create-a-security-group) you’ve created. 5. Upload the file and click **Launch import**. A task link appears. ![Снимок Экрана — 2026 05 18 В 19 49 00](https://mintcdn.com/maestraio/R3PS9JT_enABDNfZ/images/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0-%E2%80%94-2026-05-18-%D0%B2-19.49.00.png?fit=max\&auto=format\&n=R3PS9JT_enABDNfZ\&q=85\&s=914ad0dd3d266a12e20e5e0b83d575d0) Staff will be added once the task is completed successfully. ![2026 05 18 19 50 57](https://mintcdn.com/maestraio/RRyrhe5nFcFcpJLK/images/2026-05-18-19.50.57.png?fit=max\&auto=format\&n=RRyrhe5nFcFcpJLK\&q=85\&s=62af79e3f068756f9dabc28159b15ea3) Once it finishes, the new users receive an email with a link to set their password. After that, they can start working in Maestra. # How to check your own permissions Source: https://help.maestra.io/administration/staff/how-to-check-your-own-permissions There are several ways to see which permissions you have on a project, and which ones are open to you depends on the permissions you already hold: * View your own profile from **Profile** → **Edit profile**. * View your own profile from **Settings** → **Security** → **Users**. * View your own permissions from **Settings** → **Security** → **Users** by expanding your row. * Find the permissions you need with a filter. Here's each one, starting with the easiest. ## View your own profile from Profile → Edit profile Available if you have the `Manage personal user profile` permission. Click the user icon in the bottom-left corner → **Edit profile**. ![Edit profile menu](https://mintcdn.com/maestraio/jZoXnKSOtjMhqiPk/images/own-permissions/edit-profile-menu.png?fit=max\&auto=format\&n=jZoXnKSOtjMhqiPk\&q=85\&s=e8167eef878286c40f765a6074db0bdc) Your profile page opens. Scroll down to see all your groups and permissions. ## View your own profile from Settings → Security → Users Available if you have the `View and export the users list` and `View users` permissions. Go to **Settings** → **Security** → **Users**. ![Settings Security Users](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/settings-security-users.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=86ec96b0a81aa460402ac276b20ce654) Find your own profile, and open it. ![Find your own profile in the users list](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/find-your-profile.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=1eef5f1a9d68ae0c8927fad63efa413f) Your profile page opens. Scroll down to see all your groups and permissions. ## View your own permissions from Settings → Security → Users by expanding your row If you can open the users page but not individual profiles — meaning you only have the `View and export the users list` permission — click the row with your details. It expands to show your access, including your permissions. ![Expanded user row in the users list](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/users-list-row-expanded.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=21a84ab0eb42253d4adb05cdbac72efe) > [!TIP] > > The permissions each standard group grants are listed in [Permission Groups](/administration/staff/what-security-groups-are-available). ## Find the permissions you need with a filter Another option on the users page, so you don't have to work through group permissions — use filters. Go to **Settings** → **Security** → **Users**. ![Settings Security Users](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/settings-security-users.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=86ec96b0a81aa460402ac276b20ce654) Filter your profile by username or email, then add a condition for the permission you're interested in. For example: * The user can export personal data. ![Filter matching a user who has the permission](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/filter-permission-match.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=a61ac8e345879e00097e4716ecf9f6d0) * The user can't view billing details. ![Filter returning no results for a permission the user lacks](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/filter-permission-no-match.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=d697ade7dc2de00779bf7fa127f414e5) # How to create a permission group Source: https://help.maestra.io/administration/staff/how-to-create-a-security-group > [!NOTE] > > This feature may not be enabled on your account. Check with your Maestra Forward Deployed Marketer or contact support. Built-in groups (Marketers, Analysts, Owners, etc.) cover most teams, but if you need a different bundle of permissions — say, "Email Specialist" who can build and send emails but not touch SMS — create a custom permission group. ## Create a permission group 1. Go to **Settings** → **Security** → **Permission groups settings**. ![2026 05 19 12 36 25](https://mintcdn.com/maestraio/5InPbFYt5U8fzTlg/images/2026-05-19-12.36.25.png?fit=max\&auto=format\&n=5InPbFYt5U8fzTlg\&q=85\&s=8c2add96e66cd135480b33c09b9a24c4) 2. Click **Create**. ![2026 05 19 12 41 39](https://mintcdn.com/maestraio/5InPbFYt5U8fzTlg/images/2026-05-19-12.41.39.png?fit=max\&auto=format\&n=5InPbFYt5U8fzTlg\&q=85\&s=3624baffd6a512041f6b4b1259d5337a) 3. Fill in the fields: * Name — what shows up in the group list. * System name — used when you assign this group via bulk staff import. * Description — what role this group is for. * Permissions — pick the permissions the group grants. ![2026 05 19 12 49 25](https://mintcdn.com/maestraio/5InPbFYt5U8fzTlg/images/2026-05-19-12.49.25.png?fit=max\&auto=format\&n=5InPbFYt5U8fzTlg\&q=85\&s=ec96a6e602229736906c316fd2a41f3c) 4. Click Add. ![2026 05 19 12 57 11](https://mintcdn.com/maestraio/ExyKctw45le9-bJn/images/2026-05-19-12.57.11.png?fit=max\&auto=format\&n=ExyKctw45le9-bJn\&q=85\&s=730a6f098b221928e23b1ee36f88082c) # How to extend a user's permissions Source: https://help.maestra.io/administration/staff/how-to-extend-staff-permissions Sometimes the [permission group](/administration/staff/what-security-groups-are-available) a user is assigned doesn't cover everything they need to do. When that happens, you can extend their permissions. ## Which permissions to grant Start here: 1. Find the [permissions the task requires](/administration/staff/what-permissions-are-needed-for-different-tasks-v2). 2. [Check whether the user is actually missing them](/administration/staff/how-to-check-your-own-permissions). You don't have to grant permissions one by one — you can also swap the user's permission group entirely. That's the better move when a lot of permissions are missing. Pick a [standard group](/administration/staff/what-security-groups-are-available) that fits, or [create a new one](/administration/staff/how-to-create-a-security-group). > [!TIP] > > Create a group when several people need the same non-standard set of permissions. For a one-off, stick with additional permissions on top of the existing group. ## Who can extend permissions Two things matter here: access to editing users, and holding enough permissions yourself. ### Access to editing users You can edit users if you have these permissions: * `View and export the users list` * `View users` * `Edit users` The **Owners** standard group has all three. ### You can't grant what you don't have Whatever you grant has to be covered by your own access: * You can only grant additional permissions that exist on your own profile. * To assign a permission group, you either need to belong to that group yourself or hold every permission it contains. > [!NOTE] > > Permissions are usually granted by **Owners**, since they have the widest access on the project. So if you're not an Owner and the permissions you need to grant are outside your own access, find an **Owner** who can grant them for you — use the filter on the users page. ![Users list filtered by the Owners permission group](https://mintcdn.com/maestraio/enKM3om20bSB6TmV/images/extend-permissions/filter-owners.png?fit=max\&auto=format\&n=enKM3om20bSB6TmV\&q=85\&s=e9b53e5f65ee1a3c93bea04f89d64936) ## How to grant additional permissions **1. Open the users list** Go to **Settings** → **Security** → **Users**. ![Settings Security Users](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/settings-security-users.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=86ec96b0a81aa460402ac276b20ce654) **2. Open the user's profile** Find the user you need and open their profile. ![Find the user in the users list](https://mintcdn.com/maestraio/X7Uj_hkpTeqFCNnJ/images/own-permissions/find-your-profile.png?fit=max\&auto=format\&n=X7Uj_hkpTeqFCNnJ\&q=85\&s=1eef5f1a9d68ae0c8927fad63efa413f) **3. Add the permissions** Pick the permissions you need from the **Additional permissions** dropdown. ![Additional permissions dropdown on the Edit user page](https://mintcdn.com/maestraio/enKM3om20bSB6TmV/images/extend-permissions/additional-permissions-dropdown.png?fit=max\&auto=format\&n=enKM3om20bSB6TmV\&q=85\&s=4a39afc712808df87926665b93cbef9c) **4. Save** Click **Save**. # What permissions are needed for different tasks Source: https://help.maestra.io/administration/staff/what-permissions-are-needed-for-different-tasks-v2 Every action in Maestra Platform requires a specific permission. Use this page as a lookup: pick a section of the platform, find the action you want to perform, and grant the listed permissions. > [!TIP] > > Use **Ctrl / ⌘ + F** to search this page for an action ("export customers") or a permission name ("Edit folders"). ## Jump to a section > [card] [Customers](#customers) > [card] [Actions & engagement](#actions) > [card] [Segments](#segments) > [card] [Products](#products) > [card] [Campaigns](#campaign-manager) > [card] [Personalization](#personalization) > [card] [Flows](#flows) > [card] [Promotions & loyalty](#loyalty) > [card] [Analytics & A/B tests](#analytics-%26-a%2Fb-tests) > [card] [Integrations](#integrations) > [card] [Settings](#settings) > [card] [Billing & profile](#profile) > [!TIP] > > Permissions stack on top of a [permission group](/administration/staff/what-security-groups-are-available). You can extend an individual user's access or build a [custom group](/administration/staff/how-to-create-a-security-group). *** ## Customer Data Platform ### Customers **To open this page:** `View customer list` + `View customer` ![2026 05 20 10 21 59](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.21.59.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=ce3c5c9bb6989a5dcd4d79d0cf937434) | To do this on the page | Add these permissions | | - | - | | View or edit name, email, and phone | `View and edit customer personal details` | | Add to a segment / Remove from a segment | `Edit customer segment`, `View segment groups` | | Assign an action | `Add actions`, `View campaign manager` | | Edit bonus balance | `Edit customer balances` | | Merge customers | `Manual customer merging` | | Issue a promo code | `View promo codes`, `Edit promo codes` | | Delete customers | `Delete customers` | | Add a customer | `Add customer` | | Import customers | `Add customer`, `Edit customer`, `Add bulk tasks` | | Edit the product list | `Add actions` | | Import areas | `Edit order settings` | | Export customers | `Export customers` + `Export personal data` (to include name, email, phone, DOB) + `View non-system tasks`*or*`View personal bulk tasks only` (to see the task and download the file) | | **New export** button | `Export customers`, `Edit folders`, `View campaign manager` | | Export areas | `Export areas` + `View non-system tasks`*or*`View personal bulk tasks only` | | Export the blocklist | `Export customers` + `View non-system tasks`*or*`View personal bulk tasks only` | | Create a segment | `View segment groups` | | Edit a segment | `Edit segments` | | Send bulk campaign | See the [Campaign Manager](#campaign-manager) section | ### Customer profile **To open a profile:** `View customer list` + `View customer` **To see customer actions in detail:** `View actions` ![2026 05 20 10 27 29](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.27.29.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=4f67fbaa22dd67ce35615d5d60780c47) | To do this on the profile | Add these permissions | | - | - | | View or edit name, email, and phone | `View and edit customer personal details` | | Edit the customer / Issue a discount card | `Edit customer` | | Mark an email as valid | `Edit email validity` | | Add an action | `Add actions`, `View campaign manager` | | Cancel an order | `Order cancellation` | | Update balance | `Edit customer balances` | *** ## Actions ### Actions page **To open this page:** `View actions` ![2026 05 20 10 30 27](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.30.27.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=9ab3d8b658d3621ddfc88e42bdecebb8) | To do this | Add these permissions | | - | - | | Import | `Actions bulk import` | | Export | `Export actions` | | Delete actions | `Delete customer actions` | | Cancel an order | `Order cancellation` | ## Campaign Engagement page **To open this page:** `View actions` ![2026 05 20 10 33 01](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.33.01.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=b4ae2931b8d9081ae64b0c41cc241e53) | To do this | Add these permissions | | - | - | | Export | `Export messages` | *** ## Segments **To open the section or a segment:** `View segment groups` ![2026 05 20 10 35 04](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.35.04.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=48b78245a44a81eb7f72bf31c7d6ff0c) | To do this | Add these permissions | | - | - | | Add / Edit / Delete / See where it's used | `Edit segments` | | Import | `Add bulk tasks` | | View the task (scheduled segments only) | `View system tasks` (Maestra staff only) | *** ## Products **To open the section, add, edit, or delete a product:** `View products` ![2026 05 20 10 36 56](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.36.56.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=fae44e2452ef0a93748c33e90c2c04d0) | To do this | Add these permissions | | - | - | | Import products or manufacturers | `Add bulk tasks` | | YML import settings | `Edit third-party system connectors`, `Edit product list` | | Export | `Export products` + `View non-system tasks`*or*`View personal bulk tasks only` | *** ## Campaign Manager **To open the Campaign Manager:** `View campaign manager` ![2026 05 20 10 40 57](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.40.57.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=12f4af1dcaf9e4708830b1ac9c7291fd) > [!NOTE] > > If a user's folder access is restricted, they'll only see the allowed folders in the list. | To do this | Add these permissions | | - | - | | Add / Edit / Delete a folder | `Edit folders` +`Limit campaigns to segments`*(if you need to restrict users to specific folders only)* | To view or add an asset to a folder, you need permissions specific to each asset type — see the sections below. Surveys, Promo code pools, and API methods are visible by default. ### Messaging channels (Email, SMS, Mobile push, Web push, Viber) ![2026 05 20 10 51 46](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.51.46.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=81b0809a5b607acbb92091855f4b1ac6) All five channels follow the same permission pattern. Just swap in the channel-specific permission for **Channel messages permission** in the table below. | Channel | Channel messages permission | | - | - | | Email | `View and edit email messages` | | SMS | `View and edit SMS messages` | | Mobile push | `View and edit mobile push messages` | | Web push | `View and edit web push notifications` | | Viber | `View and edit Viber messages` | **To open the channel section:** `View campaign manager` + the channel's messages permission. **To open a specific campaign:** the channel's messages permission. | To do this | Add these permissions | | - | - | | Add a campaign | `View brands` (multibrand projects only) | | Start / Schedule / Stop / Cancel / Finish editing an automated campaign | `Campaign sending` | | Send a test message | `Send test messages` | | Copy / Delete / Run test mode | None — the channel's messages permission is enough | | Save or edit a template version in the email builder *(Email only)* | `Create, edit and delete blocks in the email constructor` | ### API methods **To open the section or view the spec:** `View campaign manager` ![2026 05 20 10 58 58](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.58.58.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=1ce4b90d2bc70794138331d9823e4dfb) | To do this | Add these permissions | | - | - | | Add / Edit / Delete | `Edit folders` + `Export event log` (to add an "Export event log" step) + `Export dashboards` (to add an "Export report" step) | *** ## Personalization ### Recommendation widgets **To open the section:** `View campaign manager` + `View and edit website personalization forms` | To do this | Add these permissions | | - | - | | Add | `View integrations`, `Edit external systems`, `View product recommendation algorithms` | | Edit | `View integrations` (if changing the integration), `Edit external systems` (if changing the external system), `View product recommendation algorithms` (if changing the algorithm) | | Start / Stop / Delete | None — `View and edit website personalization forms` is enough | ### Pop-ups, Embedded blocks **To open either section:** `View campaign manager` + `View and edit website personalization forms` | To do this | Add these permissions | | - | - | | Add | `View integrations` | | Edit | `View integrations` (only if changing the integration) | | Start / Stop / Delete | None — `View and edit website personalization forms` is enough | ### In-app **To open the section:** `View campaign manager` + `View in-apps` | To do this | Add these permissions | | - | - | | Add | `Run and edit In-apps`, `View integrations`, `View segment groups` (if refining the targeting segment) | | Edit / Delete | `View integrations`, `View segment groups` (if changing the targeting segment) | | Start / Stop | `Run and edit In-apps`*or*`View integrations` | ### Surveys **To open the section:** `View campaign manager` ![2026 05 20 10 56 41](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-10.56.41.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=013e73cc582c3d16da406cb54947b02f) | To do this | Add these permissions | | :- | :- | | Add / Edit / Delete | `Edit folders` | ### Product recommendations **Required permission:** `View product recommendation algorithms` ### Communication boosters → Popup frequency control **Required permission:** `View and edit website personalization forms` ## Automations ### Flows **To open the section:** `View campaign manager` + `View flows` | To do this | Add these permissions | | - | - | | Open a flow | `View flows` | | Add a flow | `Edit flows`, `View integrations`, `View brands` (multibrand projects only) | | Edit a flow | `Edit flows` | | Start / Stop / Delete a flow | `Edit flows` | | Export customers from flow steps | `Export customers from scenario execution report` | ### Wallet / OSMICards / Telegram **To open the section:** `View campaign manager` | To do this | Add these permissions | | - | - | | Add / Edit / Delete / Start / Stop | `View and edit "MMS and messengers" messages` | > [!NOTE] > > You'll also need a provider connection set up before you can use this section. Reach out to your Maestra Forward Deployed Marketer. *** ## Loyalty ### Promotions **To open the section:** `View promotions`, `View and edit promotions`, *or* `View and launch promotions` | To do this | Add these permissions | | - | - | | Change the promotion tree | `View promotions` (read-only), `View and edit promotions` (draft / completed / archived / stopped only), `View and launch promotions` (all types) | | Add a promotion or group / Edit name and description | `View and edit promotions`*or*`View and launch promotions` | | Start or stop a promotion | `View and launch promotions` | | Archive | `View and launch promotions` | | Open a promotion | `View promotions`, `View and edit promotions`or, `View and launch promotions` (all types) + `View promo codes` + `View campaign manager` | | Edit a promotion | `View and edit promotions` | ### Gift cards **To open the section, edit, or export:** `View gift cards` | To do this | Add these permissions | | - | - | | Import | `Add bulk tasks` | ### Promo code pools **To open the section:** `View campaign manager` + `View promo code` ![2026 05 20 11 00 46](https://mintcdn.com/maestraio/TRHh-TeMU-Eu2FIz/images/2026-05-20-11.00.46.png?fit=max\&auto=format\&n=TRHh-TeMU-Eu2FIz\&q=85\&s=e400dc87ee824b39dad27f777dbe5822) | To do this | Add these permissions | | :- | :- | | Add / Edit / Delete a pool | `Edit folders` | | View promo codes | `View promo codes` | | Import | `Add bulk tasks` | | Export | `Export promo codes` | | Edit / Delete promo codes | `Edit promo codes` | *** ## Analytics & A/B tests ### Analytics **Required permission:** `View reports` > [!NOTE] > > **Brand-restricted users** only see allowed brands in the **Revenue & Drivers** and **Subscribers** reports. **Folder-restricted users** only see allowed folders in the **Campaigns** report. ### A/B tests **To open the section:** `View A/B tests` | To do this | Add these permissions | | - | - | | Add | `Run and edit A/B tests`, `View segment groups` (to pick a participant segment) | | Open an A/B test | `View segment groups` (to see the selected segment) | | Start / Stop / Delete | `Run and edit A/B tests` | | Edit | `Run and edit A/B tests`, `View segment groups` (optional, only if changing the segment) | *** ## Integrations **To open the section or an integration:** `View integrations` | To do this | Add these permissions | | - | - | | Add an integration | `Edit integrations` | | Edit / View and create test secret keys | `Edit integrations` | | View and copy any keys | `Manage secret keys` | | Create any keys | `Edit integrations` + `Manage secret keys` | | Set up FTP import | `Edit third-party system connectors` + `Manage secret keys` (to edit login/password) | | Set up YML import | `Edit third-party system connectors` + `Edit product list` | | Set up webhook integrations | `View webhook builder` + `Webhook builder access` (to send from static IPs) + `Manage secret keys` (to view static IPs, add or view secret headers) | ### Integration logs | Action | Required permissions | | - | - | | API methods — open / get log link | `View integration logs` | | API methods — export | `View integration logs` + `Export integration logs` | | Webhooks — open / get log link | `View integration logs` + `View webhook builder` | | Webhooks — export | `View integration logs` + `View webhook builder` + `Export integration logs` | ### Integration monitoring Any project access is enough — no extra permissions required. ### Webhooks (builder) **To open the section:** `View webhook builder` | To do this | Add these permissions | | - | - | | Add / Delete / Edit / Clone | `Webhook builder access` + `Manage secret keys` (to view secret headers) | ### Media **Required permission:** `View integrations` ### WebPush — integration verification Any project access is enough. ### Customer token verifier **Required permission:** `Customer token verification` *** ## Settings ### Settings — System ![2026 05 20 В 17 05 44](https://mintcdn.com/maestraio/K4LIHNBm5guDZIF7/images/2026-05-20-%D0%B2-17.05.44.png?fit=max\&auto=format\&n=K4LIHNBm5guDZIF7\&q=85\&s=bbfb205f13679538014a878be7f88b0c) | Page | Required permissions | | - | - | | Platform settings | `Edit project settings` | | Automated data cleanup | `Edit auto-deletion settings` | | Brands — open | `View brands` | | Brands — add / edit | `Add and edit brands` | | Fields Settings — open / see where used | `View custom fields` | | Fields Settings — create / edit / delete / import | `Edit custom fields` | #### Bulk Tasks **To open the section:** `View personal bulk tasks only` (shows only non-system tasks created from the logged-in user's account) **To expand what tasks are visible:** * `View non-system tasks` — user tasks (auto-deletion, manual deletion, segment imports, report or export) * `View all system tasks` *(Maestra staff only)* — technical tasks (segment recalcs, campaign sends) **To access import source files:** * `View personal bulk tasks only` — own tasks only * `View imports input files` — download files from any task **To access export files** (separate permission per data type): | Export type | Permission | | - | - | | Customers, product lists, customer discount cards, blocklist contacts, customer segment changes | `Export customers` | | Customer actions, orders, order line items, balance change history | `Export actions` | | Products, product categories, product segment changes | `Export products` | | Areas | `Export areas` | | Campaigns | `Export messages` | | Campaign statuses | `Export statuses` | | Flows | `Export flows` | | Customers from flow step executions | `Export customers from scenario execution report` | | Operation and webhook logs | `Export integration logs` | | Bulk and dynamic campaign reports | `Export dashboards` | | Promotions | `Export promotions` | | To do this on a task | Add these permissions | | - | - | | Stop / Resume a task | `Manage tasks` | | Force a task | `Force tasks` | ### Settings — Security | Page | Required permissions | | - | - | | Users — open | `View and export the users list` | | Users — add / import | `Edit users` | | Users — block | `View users` + `Edit users` | | Users — export | `View and export the users list` | | Users — open a profile | `View users` | | Users — edit | `View users` + `Edit users` + `Limit staff campaign access` (if restricting campaign access) | | Permission groups — open | `View permission groups` | | Permission groups — create / delete / open / edit | `Edit permission groups` | | Security policy — open | `View security policy` | | Security policy — edit alternative login user list | `View security policy` + `Manage security policy: partial access` | | Security policy — edit any settings | `View security policy` + `Edit security policy` | | Event logs | `View activity logs` | > [!NOTE] > > To assign a permission group, you either need to belong to that group yourself or hold every permission it contains. Maestra internal groups can't be selected from the UI. You can only grant additional permissions that exist on your own profile. > [!NOTE] > > System permission groups can't be edited or deleted. A group must have no users assigned before it can be deleted. ### Settings — Customers and actions | Page | Required permissions | | - | - | | Customer profile | `Edit third-party system connectors` | | Discount cards — open | `View discount cards list` | | Discount cards — import / export / detach / delete | `Discount card bulk tasks` | | Discount card types | `Manage discount card types` | | Action templates — open | `View action template list` | | Action templates — create / tag / set category / delete / export / edit / copy | `Edit action template list` | | Channels — open / export | `View touchpoint list` | | Channels — add / delete / import / edit | `Edit touchpoint list` | | Touchpoints — open / export | `View touchpoint list` | | Touchpoints — add / delete / import / edit | `Edit touchpoint list` | ### Settings — Products and orders | Page | Required permissions | | - | - | | Order line statuses | `Edit order settings` | | Payment methods | `Edit order settings` | | External systems | `Edit external systems` | | Customer product lists — open / add / edit | `Edit product list` | | Customer product lists — generate methods | `Edit folders` + `Edit product list` | | Attribution | `Edit order settings` | ### Settings — Communication To open the **Campaign settings** area at all, you need `Edit subscription topics`. | Page | Required permissions | | - | - | | Email settings | `Edit subscription topics` + `Edit email settings` | | Default UTM tags | `Edit subscription topics` + `Edit default UTM tags` | | SMS settings | `Edit subscription topics` + `Edit SMS settings` | | Subscription Topics | `Edit subscription topics` | | Universal links | `Edit subscription topics` + `Edit email settings` | | Global control group | `Edit subscription topics` + `Editing global control group settings` | | SMS connections — open / add / edit | `Edit SMS settings` | | SMS connections — delete | `Delete SMS connections` | | Viber connections — open / add / edit | `Edit Viber settings` | | Viber connections — delete | `Delete Viber connections` | ### Settings — Loyalty | Page | Required permissions | | - | - | | Loyalty program members | Any project access | | Points balances — open | Any project access | | Points balances — add / edit / delete | `Edit folders` | | Personal offers list | Any project access | *** ## Help ![2026 05 20 17 02 51](https://mintcdn.com/maestraio/K4LIHNBm5guDZIF7/images/2026-05-20-17.02.51.png?fit=max\&auto=format\&n=K4LIHNBm5guDZIF7\&q=85\&s=bd3d29a3c84948097cb93a13562dc391) | Page | Required permissions | | - | - | | Dynamic parameters | `View message template variables (tab)` | *** ## Campaign & Data Monitoring **To open the section:** `Project monitoring access` ![2026 05 20 17 01 05](https://mintcdn.com/maestraio/K4LIHNBm5guDZIF7/images/2026-05-20-17.01.05.png?fit=max\&auto=format\&n=K4LIHNBm5guDZIF7\&q=85\&s=124d9a983217068abc2bd85bc321efd2) *** ## Profile ![Снимок Экрана — 2026 05 20 В 16 42 09](https://mintcdn.com/maestraio/K4LIHNBm5guDZIF7/images/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0-%E2%80%94-2026-05-20-%D0%B2-16.42.09.png?fit=max\&auto=format\&n=K4LIHNBm5guDZIF7\&q=85\&s=d26d89e492822a31116aee3dc15cb875) ### Manage Your Profile | Page | Required permissions | | - | - | | Edit your profile | `Manage personal user profile` + `View and export the users list` | | Edit the **Email** field in your own profile | Add `Edit users` | ### Notification Settings **To open the section:** Any project access | Page | Required permissions | | - | - | | Subscriptions | Any project access | | Reports and downloads | Any project access | ### Billing **To open the section:** `View billing details` | To do this | Add these permissions | | - | - | | Enable / Disable a module / Activate billing / Cancel subscription | `Ability to manage billing` | ### My tasks Opens the **Bulk Tasks** section pre-filtered by user. **To open the section:** `View personal bulk tasks only` For broader task visibility, import-source-file access, and per-data-type export permissions, see [Bulk Tasks](#bulk-tasks) above. | To do this | Add these permissions | | - | - | | Stop / Resume a task | `Manage tasks` | | Force a task | `Force tasks` | # Permission Groups: Managing User Access. Source: https://help.maestra.io/administration/staff/what-security-groups-are-available A **permission group** is a bundle of permissions that controls what someone can see and do in Maestra Platform — which pages they can open, and whether they can create, edit, or delete things on those pages. Maestra ships with a set of **standard groups** that cover most teams out of the box. If none of them fit, you can build a [custom group](/administration/staff/how-to-create-a-security-group) with exactly the permissions you need. You'll find every group on your account under **Settings** → **Security** → **Permission groups Settings**. ![2026 05 19 11 06 00](https://mintcdn.com/maestraio/t7COMsc3e9CvbKlK/images/2026-05-19-11.06.00.png?fit=max\&auto=format\&n=t7COMsc3e9CvbKlK\&q=85\&s=94c37116f156057c0523d09fea73643c) ## Picking the right group Here's a quick side-by-side of the standard groups you can assign to your team. A few additional groups exist for Maestra staff only and aren't listed here. | Group | Best for | Customers | Campaigns | Reports | Integrations | Settings | Billing | | - | - | - | - | - | - | - | - | | **Owners** | Project leads | Full | Full | Full | Full | Full | View & manage | | **Marketers** | Campaign managers | View & edit | Full | Full | View | Partial | — | | **Analysts** | Data analysts | View & export (no PII) | — | Full | — | — | — | | **Client developers** | Engineers on your side | — | — | — | View | — | — | | **Accountants** | Finance & bookkeeping | — | — | — | — | — | View | | **Layout of email templates** | Designers & HTML coders | — | Email: build & test | — | — | — | — | | **API** | Technical service accounts | Create & edit via API | Send via API | — | — | — | — | > [!TIP] > > Need the full permission list for a specific group? Open **Settings** → **Security** → **Permission groups Settings** and click the group name. ## Learn more about each group ### Owners **Use it for:** Project leads on your team who need to run the whole account. **What they can do:** * **Customers and data** — full access to customer profiles (including PII), actions, segments, and exports. * **Marketing tools** — campaigns (email, SMS, push, Viber), flows, personalization, promotions, promo codes, gift cards, A/B tests. * **Products and recommendations** — manage the catalog, recommendation blocks, and algorithms. * **Reports** — every report. * **Settings** — manage users, permission groups, billing, and integrations. * **Billing** — view invoice breakdowns and manage your plan. **What they can't do:** * Access system tasks like segment recalculations or campaign send jobs. > [accordion] Full permission list > > * Ability to manage billing > * Actions bulk import > * Add actions > * Add and edit brands > * Add bulk tasks > * Add customer > * Add orders > * Add orders for special postal address > * Add prize draw requests > * Campaign sending > * Cancel tasks > * Create, edit and delete blocks in the email constructor > * Customer token verification > * Delete SMS connections > * Delete Viber connections > * Delete customer actions > * Delete customers > * Delete issued prizes > * Delete issued prizes and return bonus points > * Discount card bulk tasks > * Edit "MMS and messengers" integrations > * Edit SMS settings > * Edit SSO settings > * Edit Viber settings > * Edit action template list > * Edit algorithm settings > * Edit auto-deletion settings > * Edit certificates list > * Edit custom fields > * Edit customer > * Edit customer actions > * Edit customer balances > * Edit customer segment > * Edit customer subscriptions > * Edit default UTM tags > * Edit email settings > * Edit email templates in new builder > * Edit email validity > * Edit external systems > * Edit flows > * Edit folders > * Edit integrations > * Edit order settings > * Edit permission groups > * Edit prize list > * Edit product categories > * Edit product list > * Edit product segment > * Edit product-based flows > * Edit products cost price > * Edit project settings > * Edit promo codes > * Edit security policy > * Edit segments > * Edit subscription topics > * Edit third-party system connectors > * Edit touchpoint list > * Edit users > * Editing global control group settings > * Export actions > * Export areas > * Export customer campaign engagement > * Export customers > * Export customers from scenario execution report > * Export dashboards > * Export event log > * Export flows > * Export integration logs > * Export messages > * Export personal data > * Export product list item history > * Export products > * Export promo codes > * Export promotions > * Force tasks > * Forwarding email attachments > * Issue prizes > * Limit campaigns to segments > * Limit staff campaign access > * MCP access > * Manage allowed IPs for API > * Manage consent for AI assistant > * Manage discount card types > * Manage personal user profile > * Manage secret keys > * Manage tasks > * Manage unsubscribe page > * Manual customer merging > * Modify model messages > * Order cancellation > * Project monitoring access > * Publish prizes > * Record user actions in activity log > * Roll back order status > * Run and edit A/B tests > * Run and edit In-apps > * Run and edit quizzes > * Send test messages > * Set order status to "received" > * Set order status to "returned" > * Unmask personal data > * View A/B tests > * View Dependencies > * View Email clicked link > * View SKU > * View Sms clicked link > * View action template list > * View actions > * View activity logs > * View all code generation requests > * View and edit "MMS and messengers" messages > * View and edit SMS messages > * View and edit Viber messages > * View and edit customer personal details > * View and edit email messages > * View and edit mobile push messages > * View and edit promotions > * View and edit web push notifications > * View and edit website personalization forms > * View and export the users list > * View and launch promotions > * View area list > * View billing details > * View brands > * View campaign manager > * View certificates > * View code pools > * View custom fields > * View customer > * View customer list > * View discount cards list > * View flows > * View generated email > * View gift cards > * View gift cards CVV > * View imports input files > * View in-apps > * View integration logs > * View integrations > * View lottery tickets > * View message template variables (tab) > * View non-system tasks > * View order details > * View permission groups > * View personal bulk tasks only > * View personal code generation requests > * View prize list > * View product recommendation algorithms > * View product-based flows > * View products > * View products cost price > * View promo codes > * View promotions > * View quizzes > * View reports > * View security policy > * View segment groups > * View touchpoint list > * View user settings > * View webhook builder > * View winners > * Webhook builder access ### Marketers **Use it for:** Marketers, CRM managers, and email specialists running day-to-day campaigns. **What they can do:** * **Customers** — view and edit profiles (including PII), add new customers, export without PII, and manage segments. * **Actions** — view, create, and assign actions to customers. * **Campaigns** — full access to email, SMS, mobile push, web push, and Viber campaigns, plus flows and personalization. * **Mechanics** — promotions, A/B tests, quizzes, in-apps, and product recommendations. * **Promo codes and cards** — view and add codes (no export), manage gift cards. * **Products** — full catalog management. * **Reports** — every report. * **Settings** — UTM templates, mailing topics, external systems, order settings, and custom fields. * **Campaign and Data Monitoring** — Working with issues, warnings and the event log. **What they can't do:** * Delete or merge customers, or export PII. * Delete or export actions. * Export promo codes. * Manage integrations, webhooks, staff, or billing. * Manage discount cards (only discount card *types*). > [accordion] Full permission list > > * Actions bulk import > * Add actions > * Add bulk tasks > * Add customer > * Add orders > * Add orders for special postal address > * Campaign sending > * Create, edit and delete blocks in the email constructor > * Delete SMS connections > * Delete Viber connections > * Edit "MMS and messengers" integrations > * Edit action template list > * Edit algorithm settings > * Edit certificates list > * Edit custom fields > * Edit customer > * Edit customer actions > * Edit customer balances > * Edit customer segment > * Edit customer subscriptions > * Edit default UTM tags > * Edit email templates in new builder > * Edit external systems > * Edit flows > * Edit folders > * Edit order settings > * Edit prize list > * Edit product categories > * Edit product list > * Edit product segment > * Edit promo codes > * Edit segments > * Edit subscription topics > * Edit touchpoint list > * Export areas > * Export customers > * Export customers from scenario execution report > * Export dashboards > * Export flows > * Export messages > * Export products > * Export promotions > * Issue prizes > * Limit campaigns to segments > * Limit staff campaign access > * Manage discount card types > * Manage personal user profile > * Manage tasks > * Manage unsubscribe page > * Order cancellation > * Project monitoring access > * Publish prizes > * Record user actions in activity log > * Run and edit A/B tests > * Run and edit In-apps > * Run and edit quizzes > * Send test messages > * Set order status to "received" > * Set order status to "returned" > * View A/B tests > * View Dependencies > * View Email clicked link > * View SKU > * View Sms clicked link > * View action template list > * View actions > * View activity logs > * View all code generation requests > * View and edit "MMS and messengers" messages > * View and edit SMS messages > * View and edit Viber messages > * View and edit customer personal details > * View and edit email messages > * View and edit mobile push messages > * View and edit promotions > * View and edit web push notifications > * View and edit website personalization forms > * View and export the users list > * View and launch promotions > * View area list > * View brands > * View campaign manager > * View certificates > * View code pools > * View custom fields > * View customer > * View customer list > * View flows > * View generated email > * View gift cards > * View in-apps > * View integrations > * View message template variables (tab) > * View non-system tasks > * View order details > * View personal bulk tasks only > * View personal code generation requests > * View prize list > * View product recommendation algorithms > * View products > * View promo codes > * View promotions > * View quizzes > * View reports > * View segment groups > * View touchpoint list > * View user settings > * View winners ### Analysts **Use it for:** Data analysts who need to dig into performance without touching live campaigns. **What they can do:** * **Customers** — view and export, no PII. * **Actions** — view only. * **Products** — view and export the catalog. * **Campaigns** — view personalization mechanics, flows, in-apps, and quizzes. * **Promotions and gift cards** — view promotions; view, edit, and export gift cards. * **Reports** — full access. * **Recommendations and tests** — view product recommendations and A/B tests. **What they can't do:** * Edit, add, or delete customers, or see PII. * Add or export actions. * Create or send campaigns. * Create segments. * Add, delete, or export promo codes. * Access integrations, campaign settings, or staff management. * Edit custom fields > [accordion] Full permission list > > * Export areas > * Export customers > * Export customers from scenario execution report > * Export dashboards > * Export flows > * Export messages > * Export products > * Export promotions > * Manage personal user profile > * Record user actions in activity log > * Run and edit A/B tests > * Run and edit In-apps > * Run and edit quizzes > * View A/B tests > * View Email clicked link > * View SKU > * View Sms clicked link > * View action template list > * View actions > * View and edit promotions > * View and edit website personalization forms > * View and launch promotions > * View area list > * View brands > * View campaign manager > * View custom fields > * View customer > * View customer list > * View flows > * View generated email > * View gift cards > * View in-apps > * View message template variables (tab) > * View order details > * View personal bulk tasks only > * View prize list > * View product recommendation algorithms > * View product-based flows > * View products > * View promo codes > * View promotions > * View quizzes > * View reports > * View touchpoint list > * View winners ### Client developers **Use it for:** Engineers on your team setting up and troubleshooting integrations. **What they can do:** * **Integrations** — view operations and the integration list. * **Personalization** — view and tune mechanics, including popup frequency caps. * **Testing** — view in-apps, A/B tests, and quizzes. * **Monitoring** — view the staff list. **What they can't do:** * Open customer data, campaigns, or billing. * Edit integrations (view-only). > [accordion] Full permission list > > * Record user actions in activity log > * View A/B tests > * View Email clicked link > * View Sms clicked link > * View and edit website personalization forms > * View area list > * View campaign manager > * View generated email > * View in-apps > * View integrations > * View quizzes > * View user settings ### Accountants **Use it for:** Finance and bookkeeping. **What they can do:** * View invoices and spend breakdowns. **What they can't do:** * Access marketing tools, customer data, or integrations. * Change your plan or billing settings. > [accordion] Full permission list > > * View Email clicked link > * View Sms clicked link > * View billing details > * View generated email ### **Layout of email templates** **Use it for:** Designers and HTML coders building email templates. **What they can do:** * **Email** — view, edit, and add email templates. * **Testing** — send test emails. **What they can't do:** * Send real campaigns to customers. > [accordion] Full permission list > > * Create, edit and delete blocks in the email constructor > * Edit action template list > * Manage unsubscribe page > * Send test messages > * View Email clicked link > * View Sms clicked link > * View action template list > * View and edit email messages > * View brands > * View campaign manager > * View generated email > * View products ### API **Use it for:** Service accounts for API interaction. **What they can do:** * **Customers** — create and edit customers via API. * **Actions** — add and edit actions. * **Orders** — create orders. * **Campaigns** — send campaigns. * **Segments and balances** — change customer segments, balances, and subscriptions. * **Products** — edit the catalog. * **Promo codes and prizes** — edit promo codes, publish and remove prizes. * **Touchpoints** — edit. **What they can't do:** * Sign into the Maestra Platform UI — API requests only. > [accordion] Full permission list > > * Actions bulk import > * Add actions > * Add bulk tasks > * Add customer > * Add orders > * Add orders for special postal address > * Campaign sending > * Delete issued prizes > * Delete issued prizes and return bonus points > * Edit customer > * Edit customer actions > * Edit customer balances > * Edit customer segment > * Edit customer subscriptions > * Edit product list > * Edit product segment > * Edit promo codes > * Edit touchpoint list > * Publish prizes > * Record user actions in activity log > * View Email clicked link > * View Sms clicked link > * View area list > * View generated email ## What's next If the standard groups don't quite fit, you have two options: * Extend a user's permissions by adding individual permissions on top of their group. * [Create a custom permission group](/administration/staff/how-to-create-a-security-group) with the exact mix of permissions you need. # API v3 Methods: Basics Source: https://help.maestra.io/api-integrations/api-v3-methods-basics API v3 methods are responsible for real-time data exchange between third-party systems (e.g. your CRM, ERP, POS, etc.) and Maestra. # API v3 methods feature * An API call constructor; * Document automation; * An exception History Log; * Integration status check; * Notifications on exceptions and aborted method calls. # Key features of API v3 methods API v3 methods can perform a variety of tasks, including 1. Customer base management: * Adding new customers (registration, import, subscription); * Getting data personal data, IDs, subscriptions, bonus points balance, associated segments, etc; * Editing customer profiles; * Sending details of customer actions: viewing pages, adding items to the cart, placing orders, etc. 2. Creating and updating orders. 3. Getting data for website personalization. 4. Exporting and importing data to sync customer’s profiles in the business system and Maestra. # How to Create an API v3 Method 1. Go to **Campaigns** → **Campaign manager** and select the campaign in which you want to create your API v3 method: ![apiV3\_1](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_1.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=fad0fb929aff8169abb4e55a9a5c9096) 2. Click **Add** → **API Method**: ![apiV3\_2](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_2.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=6e7dc1a16593e6bdc91d0c8bd898a111) 3. Fill in the fields. For example: ![apiV3\_3](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_3.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=3b0fd23976577597a51fb1eb66f9171c) 4. Select relevant values for the settings: * Select the relevant API endpoint. This can be a website, landing page, POS, or mobile app. You can select multiple endpoints, but make sure they all have the same settings. * If **"API method requires DeviceUUID"** is checked, the DeviceUUIDs will be required for API method calls. * If "**API method requires a secret service key**" is checked, the data transfer or editing will not be limited for calls of an API method with a secret key. However, it won’t be possible to call the API method using a JS tracker. * If "**API method returns validation errors**" is checked, detailed information on the processing errors will be returned, handled by your system, and reported to your customer — for example, if the customer tries to register with an invalid email. 5. Select the steps for your API method — for example, register a customer, place an order, or send a transactional email: ![apiV3\_4](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_4.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=7e354c394e3a1cfb6f4c3896bd3fd4da) 6. Click **Add**: ![apiV3\_5](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_5.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=e1aa616994be743c69b92aedc56b01d6) 7. Click **View description**: ![apiV3\_6](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_6.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=7cde1e26dedc227f0dcd3ef1d114741b) The Method description page contains a description of the request, data transfer formats, and supported data types: the request body, description of the fields, and examples of requests and responses. The system generates a specification based on selected steps and project settings: ![apiV3\_7](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_7.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=fc7c2715458bdb1a220d8431c031eb1b) # The synchronous and asynchronous mode for API method calls Depending on the settings, you can call the API method in the synchronous or asynchronous mode. Refer to the method description for the available request options. * **Requests in the async mode** ​ Maestra processes data in series. The relevant response returns the message that the call was successfully placed in the queue. Requests in the async mode are applied to the most frequent API methods for which you don’t have to wait for a response. Examples: product browse, category browse, and adding products to the cart or a wishlist. To analyze received errors, refer to the Integrations monitoring section. * **Requests in the sync mode** ​ Maestra runs an API method in real time and returns the results. Use an API method in the sync mode when you need the requested data from Maestra or method execution results. For error descriptions, refer to the response message body or the method’s error log. # The API methods can be called in the sync mode only if The "**Include data in operation response**" or "**API method returns validation errors**" checkbox is ticked: ![apiV3\_8](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/apiV3_8.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=9b5b25aa60bd06ab193967722e176666) # What a DeviceUUID is and why it is passed in the API A [DeviceUUID](https://intercom.help/maestraio/v1/docs/what-is-a-deviceuuid) is a unique device identifier for a browser or a mobile app. Maestra uses it to record the customer’s device and later to track all the customer’s actions. A special JS tracker provided by Maestra generates DeviceUUIDs. **With a DeviceUUID you can:** * Save the action history of anonymous customers. Without the DeviceUUID, session data is lost after 30 minutes of inactivity; * Track when the session ends and trigger relevant events; * Deduplicate customer profiles in the database by merging them, based on their DeviceUUIDs. # Debug integrations and analyze errors Where to view errors? 1. The **API health status page** contains the list of all API methods with the number of related errors. 2. The **API error logs** page — API error logs contains the list of API method calls with errors. 3. Method response analysis: select the "**Include data in operation response**" or "**API method returns validation errors**" checkbox, and you will be able to analyze errors in a relevant method response. # Computed fields Source: https://help.maestra.io/api-integrations/computed-fields **Computed fields** allow aggregating data about your customer and fill their profile in with additional info based on their user behavior. For example, such fields can help you identify what products, categories, or vendors your customer buys or views most frequently. Computed fields can be used as any other custom fields, e. g. for segmentation, campaigns, promotions, etc. # Creating a computed field > [!NOTE] > > You can create up to 3 fields 1. Go to the **Settings tab** → **System settings** → **Custom fields** and click "**Create computed field**": ![01\_ComputedFields](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_ComputedFields.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=d0cd0687ca0c9bfe878b85fdb45d2f3c) 2. Fill in the settings: ![00\_ComputedFields](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_ComputedFields.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=4eeb77d8ad2f5a9d12f86cf6d1ee1edf) ## General settings * Name — the same as displayed in filters or campaigns * Brand * System name — is used in integrations and the message template engine ## Recalculating * Frequency is daily or just once (per all the time the field exists) * Period is the data time frame you want to use in your report. ## Formula 1. Choose what type of events to collect data for: views or orders ![08\_Computed fields](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_Computed-20fields.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=23f65a8a231afe80db47f3600fcb8ec8) 2. Choose which entity to search in processed data — it will be filled in customer’s calculated field. * **Product** ![](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_ComputedFields.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=af71bd26c9a94c8079a3019f7e7e634b) ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/09_Computed-fields.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=ce8c3e8e21ae0367b3d6a561781cfb68) | Find the most frequently purchased product: ​ | | - | | Or the most frequently viewed product: ​ | * **Category** — you need to select categories among which the calculation will take place ![](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_ComputedFields.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=4c0484d13ffa918f711091223d913a2c) | Find the most frequently purchased category of the four selected: ​ | | - | > [!WARNING] > > Important: You cannot select a parent and child category at the same time > ​ > > ![11\_Computed fields](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_Computed-20fields.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=1a3b672fb9c61bd5f987c5a93a48325c) * **Manufacturer** ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_Computed-fields.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=0e038a125f0d7c7a6b5258a7379189c6) | Which manufacturer's products are most frequently purchased or viewed by the customer: | | - | * **Product’s [custom field](/api-integrations/how-to-create-a-custom-field)** - string, integer and enumerated field types are available. ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_Computed-fields.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=293dbee5dc36914fa65ade8491ea53f2) | Product from which collection the customer purchases most often | | - | * **Order’s [custom field](/api-integrations/how-to-create-a-custom-field)** - string, integer and enumerated field types are available. ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_Computed-fields.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=083928d6aa2ca4b2a1ff686f7ac40042) | Which delivery type the customer uses most often: | | - | * **Order’s touchpoint** ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/15_Computed-fields.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=62fac72c2d58c8f90ee741da60707034) | Where the customer makes purchases most often: | | - | **Additional conditions** - allow you to narrow the selection of data among which the calculation will take place. ![NEW\_08\_ComputedField](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/NEW_08_ComputedField.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=b2749e8cfbd3fe84b40881b3eb8b9c68) ![NEW\_09\_ComputedField](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/NEW_09_ComputedField.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=d6a02194eb8a4e6fb7e0ed46c1b84db7) | Find the client's brand of interest in the eyewear category: ​ | | - | | Find the most frequently purchased product in the women's category and only from delivered items: ​ | Minimum views/orders for this product is the action number threshold for the value to be filled in the field. You can also set the Calculation priority: * Most recent * Most expensive 3. Click "Save" Done: ![04\_ComputedFields](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_ComputedFields.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=83c691fc7bbcc8451392bf5ba93aa26a) > [!NOTE] > > Filed computing is launched at night. # Customer search Custom and computed fields are located in the same tab in your customer card: ![05\_ComputedFields](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/05_ComputedFields.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=8b72a3bdf14d99d72bec97f6b6d39ff2) You can use filters to filter out the customers with the filed value needed: ![06\_ComputedFields](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_ComputedFields.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=78c9ab0902a2ba5d812539013a3e2ee4) # Display in the campaign Computed field parameters are listed in **Recipient.CustomField** To display products for a customer, use a parameter of this type: **Recipient.CustomField.\{Filed system name}**. The available parameters depend on the type of calculated field. * If you defined the product - all parameters for the product are available: ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_ComputedField.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=13135ee0f9e1d13899305a23e2805335) * If you were looking for the most common value of the custom field - parameters for displaying this field are available: ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/NEW_10_ComputredField.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=e005d245c33b49f6f9e4ac277e279531) It is also possible to display recommendations for computed products and categories. ![NEW\_11\_ComputedFields](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/NEW_11_ComputedFields.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=3ff13c07afe888c7b8da570dde3b57d2) # Use in the flow In the flow you can use “Preferred product changed” event, which allows you to react to a decrease in the cost of a product from a calculated field: ![NEW\_12\_ComputedFields](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/NEW_12_ComputedFields.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=04d0af504daf58655d4d60f5d67c45c9) Example: ["The price of the most viewed or purchased product has dropped" flow](https://intercom.help/maestraio/v1/docs/the-price-of-the-most-viewed-or-purchased-product-has-dropped-flow) # Connect an AI Assistant to Maestra via MCP Source: https://help.maestra.io/api-integrations/connect-an-ai-assistant-to-maestra-via-mcp Let Claude, ChatGPT, and other AI assistants query your Maestra Platform data directly through a secure MCP connector. > [!TIP] > > **Install Maestra skills — your AI works better with them.** > > They're public now, so you can grab them straight from [github.com/maestra-io/maestra-plugins](https://github.com/maestra-io/maestra-plugins). > > Available today: **filter creation** and **email campaigns**. New skills roll out automatically. **MCP (Model Context Protocol)** is an open standard that lets AI assistants connect to external tools and data sources. Instead of copy-pasting data into a chat window, the AI can fetch it directly — in real time, with the right context — using tools that you authorize. Think of it as a secure plugin system for AI. Maestra Platform exposes an MCP endpoint that lets an AI assistant — Claude, ChatGPT, and others — query your account data and run analytics tools directly inside your chat session. ## What you can do with MCP Once connected, your AI assistant can work with your Maestra data on demand — no copy-pasting numbers from reports. It can pull performance metrics, read campaign and custom-field details, and even edit email campaign drafts and custom fields directly from your chat. Currently available tools: | Tool | What it does | | - | - | | `campaign_report` | Returns campaign performance: revenue, orders, sends, delivery rate, open rate, click rate, conversion rate, unsubscribe rate, spam rate, bounce rate. Supports filters by date range, channel, activation type, brand, and goal. Includes summary totals, optional timeline, and per-campaign or per-folder breakdown. | | `flow_report` | Returns flow performance with the same metric set as `campaign_report`, plus per-flow grouping. Includes summary totals, optional timeline, and per-flow breakdown sorted by your chosen metric. | | `email_health_report` | Returns an email deliverability health check for a brand: an overall verdict plus per-metric cards (open, click, bounce, unsubscribe, spam, and sent-to-inactive rates). Each card shows the current value, the 7-day change, the industry benchmark, the target bands, and a plain recommendation. Optionally breaks results down by inbox provider (Gmail, Outlook, etc.). | | `campaign_get` | Reads a single email campaign by ID: its current settings, send schedule, sending restrictions, UTM tags, audience selection, and — per variant — subject, sender, and message formats with preview links. Drafts included. This is the starting point before editing a campaign. | | `campaign_edit_content` | Updates the message content of an email campaign: subject line, sender and reply-to, preheader, and the HTML body. Changes are saved as a draft — nothing is sent until a person activates and sends the campaign in Maestra Platform. Returns a preview link to review the result. | | `campaign_edit` | Updates an email campaign's base settings: name, send time and timezone, UTM tags, hourly send throttle, and sending restrictions (frequency policy, subscription status, transactional flag). Only the fields you pass are changed; everything else is left as-is. | | `customfields_list` | Lists the custom field definitions for an entity type (Customer, Order, Product, Promotion, and others): system name, value type, flags, and an in-app edit link. Use it to see which fields already exist. | | `customfield_create` | Creates a new custom field on an entity type — for example a `loyaltyTier` field on Customer. You set the display name, system name, value type (text, number, date, boolean, enum), and options such as enum values, "allow multiple", or a PII flag. | | `customfield_edit` | Updates an existing custom field's definition: display name, nullability, public/PII flags, merge strategy, and adding or removing enum values. The system name, value type, and entity type are fixed and can't be changed. | | `personalization_list` | Lists your site personalization campaigns — pop-ups and embedded forms — with filters by name, type, status, and folder. Returns each campaign's ID, name, type, status, and dates. Use it to find a campaign before reading its details or pulling a report. | | `personalization_get` | Reads a single personalization campaign by ID: its template, status, schedule, display frequency, page and behavior targeting rules, audience targeting, and — for embedded forms — where on the page it appears. This is the starting point for reviewing how a campaign is set up. | | `personalization_report` | Returns site personalization performance for pop-ups and embedded forms. Two report types: lead generation (targeting → views → leads) and notification (targeting → views → clicks → orders, with revenue). Shows stage-to-stage conversion rates, an optional per-campaign breakdown, and an optional timeline. Product recommendation widgets aren't included yet. | **Also available:** * **SMS campaign data.** Ask about an SMS campaign the way you already can about email — its text, A/B variants, link, sender, and more. * **SMS Expenses report.** Ask what you're spending on SMS. It's the same data as the SMS Expenses dashboard in Maestra Platform. > [!NOTE] > > New tools are added over time. You don't need to reconnect or reinstall the connector — your AI assistant picks up new tools automatically (an app restart may be needed to refresh the list). ## Connect your AI assistant Connect to `https://mcp.maestra.io`. When you connect, enter your admin panel address (for example `yourbrand.maestra.io`) and sign in with your Maestra login. > [!TIP] > > You need the **MCP Access** permission. It's granted by default to Owners, Analysts, and Marketers. If you don't have it, ask your account Owner. Need several Maestra accounts? In Claude, add a separate connector for each account, using that account's own link from **Integrations → MCP server** (`https://mcp.omega.maestra.io/c/{accountSystemName}`). ![Screenshot 2026 06 11 At 16 35 13](https://mintcdn.com/maestraio/zO7NeWJLPChWZ77W/images/Screenshot-2026-06-11-at-16.35.13.png?fit=max\&auto=format\&n=zO7NeWJLPChWZ77W\&q=85\&s=6674acb3df5ed5742d0343b4176bd656) ### Connect Claude Claude (claude.ai, desktop, and mobile apps) supports custom MCP connectors. How you add it depends on your Claude plan: > [tab] Pro or Max plan > > Go to **Customize → Connectors → + → Add custom connector** and paste `https://mcp.maestra.io`. > > [See Anthropic's guide →](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp) > [tab] Team or Enterprise plan > > Only an **Owner** of your Claude organization can add connectors. They do this under **Organization settings → Connectors → Add**. After the Owner adds it, individual members can connect to it from their own accounts. > > [See Anthropic's guide →](https://support.claude.com/en/articles/11503834-build-custom-connectors-via-remote-mcp-servers) > > > [!NOTE] > > > > If your team uses Team or Enterprise Claude, coordinate the setup with your Anthropic workspace Owner — members can't add the connector themselves. > [tab] Free plan > > You can add one custom connector total. #### Connect via Claude Code (terminal) Run this command: ```bash theme={null} claude mcp add \ --transport http \ "Maestra CDP" \ "https://mcp.maestra.io" ``` Or add this block manually to your Claude Code config file: ```json theme={null} "Maestra CDP": { "type": "http", "url": "https://mcp.maestra.io" } ``` > [!TIP] > > The server uses OAuth2 — no Bearer token required. ### Connect ChatGPT ChatGPT supports MCP connectors in a similar way. Use the same URL above. Refer to [OpenAI's documentation](https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt) for setup steps in your ChatGPT account. ### Other AI agents The MCP spec is open, and other clients (Cursor, Cline, and custom agents) should work with the same URL and OAuth flow. That said, Maestra Platform has only been tested end-to-end with Claude and ChatGPT. Treat other clients as exploratory — not yet a supported integration. ## Maestra skills Skills sit on top of MCP: instead of you explaining a task step by step, your assistant follows Maestra's own instructions for getting it done. * Install them from [github.com/maestra-io/maestra-plugins](https://github.com/maestra-io/maestra-plugins) — no zip files to download and unpack. * Two skills are available today: **filter creation** and **email campaigns**. * New skills are added over time and roll out to you automatically. ## What can I ask Maestra's MCP? > [!TIP] > > **You:** Show me yesterday's email campaign results — revenue, open rate, click rate, unsubscribes. Flag anything that looks off. ![Screenshot 2026 06 08 At 12 50 04](https://mintcdn.com/maestraio/EZOfz4PmCprH7vmx/images/Screenshot-2026-06-08-at-12.50.04.png?fit=max\&auto=format\&n=EZOfz4PmCprH7vmx\&q=85\&s=c3bc1de7ff4b1ed816327e5a79bac4c6) > [!TIP] > > **You:** Which email flows drove the most revenue over the last 30 days? Show me top 5 with open rate and conversion rate. ![Screenshot 2026 06 08 At 12 25 19](https://mintcdn.com/maestraio/EZOfz4PmCprH7vmx/images/Screenshot-2026-06-08-at-12.25.19.png?fit=max\&auto=format\&n=EZOfz4PmCprH7vmx\&q=85\&s=5a220774414a585d08498d593b309296) > [!TIP] > > **You:** SMS campaigns over the last month — show me conversion rate by week. Is there a drop, and if so, which week did it start? ![Screenshot 2026 06 08 At 12 54 43](https://mintcdn.com/maestraio/EZOfz4PmCprH7vmx/images/Screenshot-2026-06-08-at-12.54.43.png?fit=max\&auto=format\&n=EZOfz4PmCprH7vmx\&q=85\&s=c0044f05d692ad4afca7543b2911cee1) ## Security and data privacy * **Authentication.** The MCP endpoint uses your existing Maestra staff login. The same role-based permissions that apply in the admin panel apply through MCP — if an action requires additional permissions, they're enforced the same way. * **No customer PII is exposed.** The MCP tools return aggregated performance metrics only. No personal data belonging to your customers is transmitted. * **No third-party sharing.** Maestra does not share your session data with third parties, including LLM providers. The data that passes through your MCP session (request parameters and results) is stored temporarily for debugging and quality improvement, and is purged when your account is offboarded. * **You control your AI provider's data policy.** How your AI assistant (Claude, ChatGPT, etc.) handles the data it receives is governed by your agreement with that provider — manage this through your Anthropic or OpenAI account settings. ## Troubleshooting > [accordion] The connector won't authenticate > > Make sure the MCP feature is enabled for your account and the MCP Access permission is granted. > [accordion] I don't see the MCP Access permission > > Contact your account Owner to grant you the MCP Access permission. > [accordion] A new tool isn't showing up > > Restart your AI assistant app. Tool lists refresh on startup. > [accordion] I'm on a Team or Enterprise Claude plan and can't add the connector > > Only your Claude organization Owner can add connectors for Team/Enterprise plans. Reach out to whoever manages your organization's Claude account. > [accordion] The AI assistant isn't using any Maestra tools. > > Your MCP authorization may have expired. MCP sessions last up to 30 days — after that, Claude loses access to Maestra data and stops responding with real results. To fix this open connector settings and sign in again. # Consent Modes and Cookie Banner Setup Source: https://help.maestra.io/api-integrations/consent-and-tracking A visitor who clicks an email usually lands on your site before they answer the cookie banner. They might browse two or three pages before clicking Accept, or never answer at all. What happens before they answer depends on the consent mode you choose: * **Buffer** — the tracker saves the landing page in the visitor's browser without sending anything to Maestra Platform. If the visitor accepts, it's sent and recorded. If they decline, it's deleted. * **Gate** — nothing is collected until the visitor accepts. Here's a closer look at each mode. ## Consent modes | | Buffer (default) | Gate | | - | - | - | | **Before the visitor answers** | The tracker script loads but sends no tracking requests and sets no cookies. It keeps the landing page URL (with UTM parameters and click IDs), referrer, and arrival time in the browser's session storage. | Nothing is kept. On Shopify, the tracker script isn't even requested until the visitor accepts. | | **After Accept** | The saved landing page is sent once, followed by the current page. The visit is recorded at the time the visitor arrived, not when they clicked Accept. Identifier cookies are created at this point. No page reload needed. | Tracking starts from the current page. If the visitor accepted on a later page, the landing page and its UTM parameters are lost. | | **After Decline** | The saved landing page is deleted. Nothing is sent. | Nothing is sent. | > [!TIP] > > Use **buffer** to keep email and campaign attribution.\\ > > Choose **gate** only if your legal team requires that no data is stored in the browser or sent to Maestra Platform before consent. ### When a visitor withdraws consent If a visitor accepts and later switches to Decline, Maestra Platform: * Deletes its identifier cookies (`maestraDeviceUUID`, `directCrm-session`) and the data it keeps in local storage and IndexedDB. * Stops sending tracking requests from that page on. If they accept again, tracking starts over with a new anonymous identifier. > [!NOTE] > > **The visitor's choice is remembered.**\\ > > Once the visitor accepts or declines, the choice is saved in the `maestraConsent` cookie for up to one year. On later pages, the tracker applies it right away instead of waiting for the banner. The cookie holds the choice, its date, the purposes, and where the choice came from — no identifiers. Safari and other browsers with tracking prevention delete it after about 7 days, so a returning visitor may see the banner again. ## Set up consent with the Maestra Shopify app The Maestra app embed reads the visitor's choice from Shopify's Customer Privacy API. It works with the native Shopify cookie banner and with any consent app that reports to Shopify. **1. Open App embeds** In Shopify admin, go to **Online Store → Themes → Customize → App embeds**. **2. Open the Maestra embed** Find the **Maestra** embed and open it. **3. Set Consent mode** * **Buffer until consent** — buffer mode (default). * **Don't load before consent** — gate mode. **4. Click Save** How the Shopify integration handles consent: * Maestra Platform tracks a visitor only when they allow **both** analytics and marketing. A visitor who allows analytics but not marketing isn't tracked. * In regions where your store doesn't show a cookie banner, tracking starts on page load, as before. * The Shopify Web Pixel (cart and product events) follows the same choice. No separate setup needed. * The app also reads PieEye's choice directly, even though PieEye doesn't report to Shopify. * The app passes the visitor's purposes (analytics, marketing, preferences, sale of data) with each choice. See [Shopify notes](/api-integrations/tracking-consent-in-maestra-platform#shopify-notes) for how they map. > [!WARNING] > > **Remove hand-pasted tracker code from your theme.** If your theme has its own `maestra('create', …)` snippet that runs before the app embed, that snippet wins and consent settings are ignored — the visitor is tracked before they answer the banner. Remove the snippet and keep only the app embed. > [!WARNING] > > **Consent apps that don't report to Shopify.** Some consent tools don't pass the visitor's choice to Shopify's Customer Privacy API, so the Maestra app can't see it. PieEye is the exception: the app reads it directly. For any other such tool, pass the choice to the tracker yourself with `consent.set`, as described below. ## Set up consent with JavaScript If you install the tracker with a code snippet or through a tag manager, add a `consent` block to the `create` call, then pass the visitor's choice from your consent tool to the tracker. ### 1. Add consent settings to `create` ```js theme={null} maestra('create', { endpointId: 'YourEndpoint.Website', consent: { mode: 'buffer', // or 'gate' default: 'pending' // wait for the visitor's choice } }); ``` | Setting | Values | What it does | | - | - | - | | `mode` | `'buffer'` (default), `'gate'` | See [Consent modes](#consent-modes). | | `default` | `'pending'`, `'granted'`, `'denied'` | The state before the visitor makes a choice. Use `'pending'` when your banner asks for opt-in. Required whenever `consent` is present. | Without the `consent` block, the tracker works as before and tracks every visitor from the first page. > [!WARNING] > > If the `consent` block is invalid — for example, `default` is missing or misspelled — the tracker tracks no one until the visitor makes an explicit choice. Check the browser console for errors after setup. > [!NOTE] > > In gate mode on your own site, the tracker script still loads — it just keeps and sends nothing. If you need zero requests to Maestra Platform before consent, load the tracker snippet only after the visitor accepts. ### 2. Pass the visitor's choice Call `consent.set` from your consent tool's callback when the visitor answers the banner or changes their choice later: ```js theme={null} maestra('consent.set', 'granted'); // visitor accepted maestra('consent.set', 'denied'); // visitor declined or withdrew consent ``` You can call it on every page with the current choice. Repeating the same value does nothing. A string sets every purpose to the same value. If your consent tool reports purposes separately, pass an object instead: ```js theme={null} maestra('consent.set', { purposes: { analytics: 'granted', marketing: 'granted', preferences: 'denied', advertising: 'denied' }, saleOfData: 'granted', source: 'platform', provider: 'onetrust' }); ``` | Field | Values | What it does | | - | - | - | | `tracking` | `'granted'`, `'denied'` | Whether the visitor may be tracked. Optional: without it, tracking is denied if analytics or marketing is denied, and granted if both are granted. If neither applies, the call is ignored. | | `purposes` | Object with `analytics`, `marketing`, `preferences`, `advertising`; each `'granted'` or `'denied'` | The visitor's choice per purpose. Each key is optional. `advertising` never affects tracking. | | `saleOfData` | `'granted'`, `'denied'` | Whether the visitor allows the sale or sharing of their data. Optional: without it, the last known value stays. | | `source` | `'platform'`, `'api'` (default) | `'platform'` when the choice comes from a consent banner or consent tool, `'api'` for your own code. | | `provider` | Text, up to 64 characters | The consent tool's name, for example `'onetrust'`. Optional. | Unknown keys are ignored. If a value is invalid, the call is ignored and the consent state doesn't change. `consent.get` and `consent.subscribe` still return the state as a string. > [accordion] Mapping Google Consent Mode and consent tool categories > > If your consent tool uses Google Consent Mode, we suggest this mapping: > > | Google Consent Mode | Purpose | > | - | - | > | `analytics_storage` | `analytics` | > | `functionality_storage` or `personalization_storage` | `preferences` | > | `ad_storage`, `ad_user_data`, and `ad_personalization` all granted | `advertising` | > > Take `marketing` from your consent tool's marketing or personalization category. Map a "targeting" or "advertising" category to `advertising`. ### 3. Read the current state (optional) ```js theme={null} // Current state: 'pending', 'granted', or 'denied' maestra('consent.get', function (state) { console.log(state); }); // Called every time the state changes maestra('consent.subscribe', function (state) { console.log(state); }); ``` > [!NOTE] > > Calls made while consent is pending — product views or cart updates, for example — are held in the browser. They're sent if the visitor accepts on the same page and discarded if they decline. ## What lands on the customer profile When storing consent on the profile is turned on for your account, every explicit choice is also kept on the customer profile: * A system action — **Tracking consent granted**, **Tracking consent withdrawn**, or **Sale of data opt-out** — with the source, consent tool, browser, sale of data, and each purpose. * The current consent for each browser and site, on the customer card under **Devices** → **Browsers**. * A **Consent changed** entry in the customer's change history. The tracker sends a grant right after it registers the visit, and a withdrawal just before it deletes its identifiers. If the browser has Global Privacy Control on, it also sends a separate sale-of-data opt-out. Defaults from `create` are never sent. You can then find customers with the **Tracking consent** and **Sale of data** filters. For details, see [Consent on the Customer Profile](/api-integrations/tracking-consent-in-maestra-platform). ## What the tracker stores in the browser for consent Consent adds two records to what Maestra Platform keeps in the visitor's browser. List them in your cookie policy under whichever category your legal team chooses. | Record | Where | Lifetime | Contents | | - | - | - | - | | `maestraConsent` | Cookie, your website (first-party) | Up to 1 year after the choice; about 7 days in Safari and other browsers with tracking prevention | The visitor's choice (accepted or declined), its date, the purposes, the sale of data, and where the choice came from — no identifiers. Set once the visitor answers; on later pages the tracker applies it right away instead of waiting for the banner. See [Consent cookie](/api-integrations/cookies-and-browser-storage#consent-cookie). | | `maestraLanding` | sessionStorage | Until consent is given or declined, or the tab is closed | The saved landing page in buffer mode (see [Consent modes](#consent-modes)). | For identifier cookies and everything else Maestra Platform stores, see [Cookies and Browser Storage](/api-integrations/cookies-and-browser-storage). ## How to check it on your site Open your website in a private window, so no earlier choice is stored, and open your browser's developer tools. **1. Check Network before answering the banner** Go to **Network** and filter by `maestra`. In buffer mode, you should see only the tracker script (`tracker.js`). In gate mode on Shopify, you should see nothing. **2. Check cookies and session storage** Go to **Application → Cookies**. There shouldn't be a `maestraDeviceUUID` cookie yet. In buffer mode, **Session Storage** holds `maestraLanding` with your landing page. **3. Click Accept** In **Network**, you should see visit requests. `maestraDeviceUUID` and `maestraConsent` appear in **Cookies**, and `maestraLanding` disappears. > [!NOTE] > > Questions? Reach out to your Maestra Platform Forward Deployed Marketer. # Cookies and Browser Storage Source: https://help.maestra.io/api-integrations/cookies-and-browser-storage Maestra Platform uses cookies to recognize a visitor's device from one visit to the next. That way, page views, cart activity, and form submissions are tied to the right customer profile and can power personalization. ## Summary * Maestra Platform cookies hold an anonymous device identifier or technical markers. They contain no names, email addresses, phone numbers, or other contact details. * Records about pop-up views, closes, and submissions live in the browser's local storage, not in cookies — so they aren't sent to the server with every request. ## Main cookies | Cookie | Set on | Lifetime | Purpose | | - | - | - | - | | `maestraDeviceUUID` | Your website (top-level domain, first-party) | Up to 400 days (the browser limit), renewed on each visit | Anonymous device identifier ([DeviceUUID](/api-integrations/what-is-a-deviceuuid)). Links on-site activity on this device to the customer profile in Maestra Platform. | | `deviceUUID` | Maestra tracking API domain (e.g., `api.maestra.io`), third-party | Up to 400 days, renewed on each visit | Server-side copy of the device identifier. `HttpOnly` and `Secure`. Browsers that block third-party cookies (Safari, Firefox) don't keep it — tracking keeps working through the first-party cookie. | | `popmechanic_sbjs_migrations` | Your website (first-party) | 6 months, renewed when the pop-up script loads | Technical marker the pop-up and forms script uses for traffic-source tracking. Set when the site has at least one Maestra Platform pop-up or form. Contains no personal data. | | `_qz_sess` | Your website (first-party) | 24 hours, renewed on each display | Session ID for a product-finder quiz. Only set when such a quiz is shown. | | `maestraConsent` | Your website (first-party) | Up to 1 year after the choice; about 7 days in Safari and other browsers with tracking prevention | The visitor's cookie-banner choice. Only set when the tracker is configured for consent and the visitor answers. Contains no identifiers. See [Consent cookie](#consent-cookie). | > [accordion] Legacy cookies > > | Cookie | Set on | Lifetime | Purpose | > | - | - | - | - | > | `mindboxDeviceUUID` | Your website (first-party) | Up to 400 days, renewed on each visit | The same device identifier under its legacy name. Only present on sites that use the older tracker setup; otherwise it isn't set. | > | `directCrm-session` | Your website (first-party) | Up to 400 days (set for 2 years; browsers cap it at 400 days) | Legacy copy of the device identifier, kept for compatibility with older integrations. | > [!NOTE] > > The tracker requests a longer expiry for the identifier cookies, but modern browsers (Chrome and others) cap any cookie at 400 days. In practice, the cookie lives up to about 13 months after the visitor's last visit. ## Consent cookie When the tracker is set up for consent (see [Consent Modes and Cookie Banner Setup](/api-integrations/consent-and-tracking)), it remembers the visitor's last choice in the `maestraConsent` cookie. On later pages, it applies the choice right away instead of waiting for the banner, and it doesn't send the same choice twice. The cookie holds a JSON object: ```json theme={null} { "state": "granted", "timestamp": "2026-11-03T10:15:00.000Z", "v": 2, "purposes": { "analytics": "granted", "marketing": "granted", "preferences": "denied", "advertising": "denied" }, "saleOfData": "granted", "source": "platform", "provider": "shopify", "reported": true } ``` | Field | What it holds | | - | - | | `state` | The visitor's choice: `granted` or `denied`. Absent when only a Global Privacy Control opt-out was recorded. | | `timestamp` | When the choice was made. | | `v` | The cookie format version, `2`. Earlier tracker versions wrote only `state` and `timestamp`. | | `purposes` | The choice per purpose, if the consent tool passed purposes. | | `saleOfData` | `granted` or `denied`, if known. | | `source` | Where the choice came from: `platform` (a consent banner or consent tool), `api` (a `consent.set` call), `gpc` (Global Privacy Control), or `stored`. | | `provider` | The consent tool's name, if it was passed. | | `reported` | `true` once the choice was sent to Maestra Platform. Present only when [storing consent on the profile](/api-integrations/tracking-consent-in-maestra-platform) is turned on for your account. | The cookie expires one year after the choice was made. Saving the same choice again doesn't extend it. Safari and other browsers with tracking prevention delete cookies set by scripts after about 7 days, so a returning visitor may see the banner again. ## Temporary technical cookies The tracker also sets two cookies that are deleted immediately — in under a second: | Cookie | Purpose | | - | - | | `domaintest` | Checks which top-level domain cookies can be set on. | | `testcookie` | Checks that cookies are enabled in older browsers. | ## Other data stored in the browser (not cookies) To decide when and to whom to show pop-ups, Maestra Platform also keeps some data in the browser's local storage, session storage, and IndexedDB. This data stays on the device and isn't sent with every request. | Storage | What it holds | Lifetime | | - | - | - | | localStorage: `maestraDeviceUUID` / `mindboxDeviceUUID` | Backup copy of the device identifier | Until cleared | | localStorage: `maestra_cart` | Cart contents for the Shopify integration | Until cleared | | localStorage: keys starting with `popmechanic.` | Pop-up display rules: when a pop-up was last shown, closed, or submitted; A/B test variant; recently viewed pages; segment check cache | Until cleared | | localStorage: keys starting with `popmechanic_sbjs_` | Traffic source of the first and current visit (source, channel, UTM campaign, referrer, number of visits) | 6 months; session data 30 minutes | | sessionStorage: `maestraLanding` | The landing page saved while the visitor hasn't answered the cookie banner (buffer mode, see [Consent Modes and Cookie Banner Setup](/api-integrations/consent-and-tracking#consent-modes)) | Until the visitor answers, or the tab is closed | | sessionStorage: `popmechanic.session-start`, `popmechanic.la` | Session start and last activity time (for "time on site" and "inactivity" rules) | Until the tab is closed | | IndexedDB: `popmechanic.db` | History of pop-up events and viewed pages, used for targeting (e.g., "viewed product X") | 6 months; older records are removed daily | ## For your cookie banner If your site uses a consent tool, list the cookies above under the category that matches your privacy policy. Maestra Platform cookies are used for customer recognition, analytics, and on-site personalization. Classifying them is your call as the site owner — check with your legal team. ## How to check on your own site Open your website and use your browser's developer tools to see these records for your domain. > [tab] Chrome > > Go to **DevTools → Application → Cookies** (and **Local Storage** / **IndexedDB**). > [tab] Safari > > 1. Turn on developer tools: **Safari → Settings → Advanced**, then tick **Show features for web developers**. > 2. Go to **Develop → Show Web Inspector → Storage**. > 3. Check **Cookies** (and **Local Storage** / **Indexed Databases**). > [!NOTE] > > Questions? Contact your Maestra Platform Forward Deployed Marketer. # How to Create a Custom Field Source: https://help.maestra.io/api-integrations/how-to-create-a-custom-field Custom fields are used to enter data that are not covered by the set of main fields. To create a custom field, simply follow these steps 1. Go to **Integration settings** → **Custom fields**: ![field\_1](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/field_1.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=687fef92fcd23084627dfc5a95e4916a) 2. Click **Create custom field**: ![field\_2](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/field_2.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=44d7eb92a15cb142d948602c65c240fc) 3. Fill in the fields: ![field\_3](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/field_3.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=527aaa99eebc3afdc81128ee4fdc60ab) 1. **Entity**: select the entity that your field will belong to. Entities include: Customer, Customer action, Touchpoint, Product, Product list item, Order, Promotion, Order line, Area, Discount card, and Prize. **2. Name:** this name will be displayed in filter conditions. **3. System name:** this will be used in imports and in the API. 4\. **Field type:** * Integer: the field value must be an integer number, e.g., 123456 * String: the field value can be any string of up to 1,000 characters * Boolean: true / false * Decimal: e.g., 12345.67 * Date: e.g., 03/12/2021 * Date & time: e.g., 03/12/2021 04:30 * Enumerated: the field offers a drop-down list. For more details, see here * Unique ID: one cannot sign up with the same ID twice * Social network ID: this ID does not have to be unique and can be used more than once when signing up. ## How to merge (for the Integer and Decimal types): **Take value from priority customer:** the inserted value will be taken from the higher-priority customer. **Take greatest value:** the inserted value will be the highest of all the values available for the customer’s custom field. # Additional settings **Allow multiple values in a single field, separated by a "|" symbol in a .csv file:** you can enter multiple values in a single field. **Erase previous data if field value is blank in new import:** the system removes field values if the field name is submitted but the field value is blank. **Example:** Age is imported with a blank field value in a method or CustomFieldAge. If this entity is not imported, then the system will keep the previous value. **Field is public:** the field can be requested or edited without applying a secret key. **Create enum field value if the field value has not been found (for the Enumerated type):** the system will auto-add the new Enumeration value from the import file. **Do not merge customers with different IDs (for the Unique ID type):** the system will not merge a new customer with their duplicate. The system will replace the ID for the new customer. Thus, no history search will be available for the new customer. 4. Click **Create custom field:** ![field\_4](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/field_4.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=6411526a140315cdc239e431493a0d73) # How to create and configure an integration point Source: https://help.maestra.io/api-integrations/how-to-create-and-configure-an-integration-point To start using Maestra, you need to set up data exchange between Maestra and your external system — a website, mobile app, point of sale, etc. This connection is called an **integration**. Each of your systems needs a unique identifier in Maestra to send and receive data. That identifier is called an **integration point**. Each integration point is created once per system. When data is exchanged, the integration point tells Maestra exactly which system is sending it and which saved settings to apply. For each integration point, you can define a touchpoint, contact verification settings, account access settings, and the sites where the Maestra JS tracker is installed. To create a new integration point, go to **Integrations** **→** **Integration Setup** **→** **Add integration**. ​ ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-03--16_46_24.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=c4e9159b850e345f4ac5f2c71f049e60) Then select the appropriate preset. ​ ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-03--16_55_16.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=ee1d2f0e194c10f5598a82a55158cdee) Let's walk through each settings section in detail. # Integration name A display name for your integration point — for example, "Website" or "iOS App". This is not a system identifier and is used for display purposes only. ​ ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-03--17_04_45.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=fe2fffc461c2ac9d718bb81e91db58e3) # General settings * **Brand** (multi-brand projects only) — the brand this integration point will be linked to. * **ID** — the system name used when calling operations. Two options are available: * Specify name manually — the project name is always added as a prefix — you can't change that part. In multi-brand projects, the brand name comes next, followed by "Website" or "Custom" based on the integration type. You're free to replace this brand + type segment with any word you'd like. * Use generated name — a GUID is automatically generated as the system name. Available for Website, Other, iOS app, and Android app integration types. ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-06--13_04_09.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=78719204d5218ff0062e7ea6c616f2fd) # Secret keys Secret keys secure the data transfer between your systems and Maestra. A production key is generated automatically when you create an integration point. You can also add extra production keys and test keys. > [!NOTE] > > **Permissions required:** > > * View and copy a test key — **View integrations** > * View and copy any key — **Manage secret keys** > * Create a test key — **Edit integrations** > * Create any key — **Edit integrations** + **Manage secret keys** Test key limitations: * Export operations can't be called with a test key * The key expires 12 hours after it's saved * Rate limit: 100 operation calls per hour ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-06--13_16_28.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=015bb416e12d58b7029ef8a6146b7f5d) > [!TIP] > > Each integration point **has its own secret key**, so if one key is compromised, the others remain unaffected. ## How to rotate a production key without downtime 1. Create a new production key in your integration settings — keep the old key active for now. 2. Find all operations using the old key and pass their system names to your dev team along with the new key. ​ ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-06--13_24_02.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=4db26258aec7788922194cdab30f7a5f) 3. Once the new key is deployed, verify that no calls are still going through the old key. 4. Delete the old key from your integration settings. # Attribution settings A **touchpoint** tracks where a user came from and where they take actions. Each integration point must have a unique contact point. It's created automatically when you set the integration point's system name, or you can assign an existing contact point manually. ​ ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-06--13_29_05.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=4970c1c8621498f640ee5e13553bf749) # Contact confirmation settings Only needed for projects with a customer account managed on the Maestra side. Specify which contact details should enable registration, login, and password recovery. A contact marked as **granting account access** has a special status in the system: * A customer with that contact can't be registered again. * Two customers with account-granting contacts can't be merged. # Account access settings Primarily needed for projects with a customer account managed on the Maestra side. If you need to verify that an email belongs to a subscriber who has opted in to communications, use a separate subscription confirmation mechanism (double opt-in). ​ ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-06--14_08_27.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=41ec78003cef0a601145436aac09ee4c) > [!NOTE] > > **Why account access settings might be needed**: > > For example, in a loyalty program, you might want to allow points redemption only for customers with a verified phone number and/or email. Subscription confirmation alone doesn't work here — a customer could unsubscribe from emails but still use the loyalty program. # Site personalization settings Specify the operation names used to pass product views, category views, and cart state data from the site this integration point belongs to. This is important for correct popup targeting. This section is only available for the **Website** integration type. For a full setup guide, see the [Website Personalization](https://developers.maestra.io/page/website-personalization) article. ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-06--14_15_09.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=103ccb898d13a068a52b6c71476ca6dc) # Sites with JavaScript SDK Enter the site URLs (without the protocol) where the Maestra JS tracker is installed. Data about customer actions will only be collected from the listed sites. This section is only available for the **Website** integration type. ​ ![](https://mintcdn.com/maestraio/r828FJluJuRkymKc/images/imported/--2026-03-06--14_19_17.png?fit=max\&auto=format\&n=r828FJluJuRkymKc\&q=85\&s=e82635b5af758c5d3a75c4f6b069d5b7) Common errors: 1. **Domain is already used in another project.** One domain can only be assigned to one integration point across all Maestra projects. You can skip this and pass the integration point ID directly in the [JavaScript SDK](https://developers.maestra.io/docs/javascript-sdk) instead. 2. **Subdomains aren't tracked**. The tracking code doesn't collect data from subdomains of your site by default. Enable the **Including subdomains** flag in settings, or list each subdomain manually. 3. **Domain entered with a protocol**. Use the format `site.com` or `www.site.com` — not `https://site.com`. If your domain is `site.com` (no www), make sure to enter it exactly that way, otherwise you'll see a console error: **"Requests from `http://site.com` are not allowed. Add your domain in integration settings."** # Examples * **You have one website**. Create one integration point. * **You have a website and a landing page**, and you want to track where subscribers come from. Create two integration points — one for each. Assign a unique touchpoint to each. To find users who came through the landing page, simply filter customers by touchpoint. > [!NOTE] > > When importing customers or orders, the choice of integration point depends on the data source. For example, if you're uploading customers who registered on the website, select the website integration point. # Site Personalization Before Cookie Consent Source: https://help.maestra.io/api-integrations/site-personalization-before-cookie-consent Until a visitor answers your cookie banner, Maestra Platform can still show them pop-ups, embedded forms, and non-personalized recommendations — it just doesn't identify or track them. Content is displayed, but no cookies are set, no [DeviceUUID](/api-integrations/what-is-a-deviceuuid) is assigned, and no page views are recorded. Here's what visitors see before they consent, what waits for consent, and how to set up campaigns so the important ones reach everyone. ## Who this applies to Content before consent is shown only in **buffer** mode (the default). For more on consent modes, see [Consent Modes and Cookie Banner Setup](/api-integrations/consent-and-tracking). | Situation | What the visitor sees before answering the banner | | - | - | | Buffer mode (in the Shopify app — **Buffer until consent**) | See [What's shown before consent and what isn't](#what’s-shown-before-consent-and-what-isn’t) | | Gate mode (**Don't load before consent**) | Nothing. The script doesn't load until the visitor consents | | A region where the banner isn't shown (for example, the US) | Full tracking from the first page | | A site without a `consent` block in `create` | Full tracking — the tracker assumes consent is given | > [!NOTE] > > Full consent means the visitor allowed **both** analytics and marketing. A visitor who allowed only one of the two sees the same thing as a visitor who hasn't consented. ## What's shown before consent and what isn't > [!WARNING] > > This section doesn't apply to gate mode. In gate mode, visitors don't see any personalization until they consent. There's one rule: **a campaign shows before consent if everything it needs is on the current page**. If it needs the visitor's history, their profile, or data stored in the browser, it waits for consent. | Campaign setting | Before consent | | - | - | | Page: URL, page type, the product or category on the page, an element on the page | Shown | | UTM parameters and referrer of the current page | Shown | | Time, day of the week, device type | Shown | | Triggers: delay, scroll, exit intent, inactivity | Shown | | Frequency cap | Works within a single browser tab. Close the tab and the counter resets | | Cart: has products, cart total, specific products | Waits for consent | | Number of visits, pages visited, time on site, pages per session | Waits for consent | | Form shown / submitted / not submitted | Waits for consent | | Customer segment, product segment | Waits for consent | | Location by IP | Waits for consent — unless your site passes the location on the page itself | | JavaScript condition | Waits for consent: Maestra Platform can't tell what data it reads | | A/B test, control group, participation in a global A/B test | Waits for consent (see [A/B tests](#a/b-tests) below) | | A form that updates an existing customer's data (edit mode) | Waits for consent | | A lead generation form or a quiz that asks for contact details, if your site has bot protection enabled | Waits for consent | > [!TIP] > > If a condition that waits for consent is joined to the rest with **AND**, the whole campaign waits for consent. For example: "visited yourbrandpromo.com" (shown before consent) AND "customer segment: VIP" (waits for consent). > > If it's joined with **OR**, the campaign can still show through the condition that doesn't need consent. For example: "visited yourbrandpromo.com" (shown before consent) OR "customer segment: VIP" (waits for consent) — the campaign can show through the "visited yourbrandpromo.com" branch. Conditions that wait for consent are checked the moment the visitor clicks **Accept** — no page reload needed. Here's how a delay works before and after consent: * **"Product X page" + 30-second delay** — no consent needed. The pop-up shows 30 seconds after the page opens. * **"Previously viewed product X" + 30-second delay** — the 30 seconds count from when the page opened, and the browsing history is checked when the visitor clicks **Accept**. If 30 seconds have already passed by then, the pop-up shows right after **Accept**. ## Cart and progress bars The same rule applies to the cart: **a campaign shows before consent if everything it needs is on the current page**. * **"\$X left until free shipping" text in a pop-up or block** **On Shopify**, it works before consent. The total comes from the store's cart right on the page, and nothing is stored or sent. For example, with \$15 in the cart and a \$99 threshold, the bar reads "\$84 more to unlock Free Shipping." **On other sites**, it waits for Accept. The total comes from the data your site passes to the tracker, and the tracker doesn't hand it over before consent. If the visitor declines, the pop-up or block doesn't show. * **Cart targeting conditions** ("cart has products," "cart total ≥ X," "cart contains product Y") wait for consent on every site, including Shopify. They use Maestra Platform's own cart data, which exists only for visitors who've consented. * **Templates with a list of cart products** Before consent, they're shown with an empty cart on every site, including Shopify. To avoid an empty block, add the "cart has products" condition to the campaign. It waits for consent, so the pop-up won't show before **Accept** — and after **Accept**, it shows with the products. The exception is sites that put the cart on the page themselves in `window.PopMechanicCartData`. If the template reads the cart from there, the list is filled before consent too. > [!TIP] > > **Shopify only:** to show the "\$X left until free shipping" text to everyone, swap the cart condition for a page condition: the cart URL, a product page, or a category page. The amount inside will still show the real cart total. This won't work for a list of cart products: it only appears after consent (see **Templates with a list of cart products** above). ## Lead generation forms and recommendations **Lead generation forms** — embedded, pop-up, and quizzes — are shown and can be submitted before consent. * A customer profile is created from the email or phone number. It holds only what the visitor entered and the subscription consent they gave in the form. * Location by IP and the DeviceUUID aren't passed, even if they're set up in the form settings. * The new profile isn't linked to this visitor's browsing history. * Two kinds of forms wait for consent: forms that update an existing customer (edit mode), and every lead generation form if your site has bot protection enabled. **Recommendations.** Before consent, presets that don't need the visitor's history work. | Preset | Before consent | | - | - | | Bestsellers Recommendation Preset, Category Bestsellers Recommendation Preset | Work | | Similar Products Recommendation Preset, Related Products Recommendation Preset, Custom Recommendation Preset (based on the product on the page) | Work | | Personal Recommendation Preset | Shows bestsellers | | Recently Browsed Products, Bestsellers from Previously Viewed Categories, presets based on the last order, presets based on products in the Cart or Favorites | Don't work | If a widget has a fallback preset from the top rows of the table (bestsellers, for example), the widget shows with that preset. If every preset in the widget depends on history, the widget doesn't show before consent. ## A/B tests Site personalization campaigns with an A/B test or a control group wait for consent. To show a visitor the same variant every time, Maestra Platform has to remember them — and that takes a DeviceUUID, which isn't assigned until the visitor clicks **Accept**. * This covers A/B tests inside a campaign, control groups, and campaigns included in a global A/B test. * Test results stay accurate, but they describe only visitors who consented. In regions with a consent banner, not every visitor accepts, so fewer visitors take part in the test and it may need more time. * Exception: campaigns that run on your site but aren't named in any variant of the global A/B test. Before consent, Maestra Platform doesn't know which variant the visitor will land in. So campaigns named in variants wait for **Accept**, while unnamed campaigns show to everyone before consent — even to visitors who won't see them after **Accept**. This happens in two cases: * **The test has a variant with all campaigns selected.** For example, variant A has all campaigns, and variant B has only X and Y. Campaign Z isn't named in either variant. After **Accept**, visitors in variant B don't see it, but before **Accept**, everyone does. * **The test has a control group.** After **Accept**, visitors in the control group don't see any campaigns, but before **Accept**, they see every unnamed one. > [!TIP] > > **If a campaign has to reach everyone** (your main email capture pop-up, for example), launch it without an A/B test or a control group. If a global A/B test is running on your site, tick **Display form for all global A/B test participants on the website** in the campaign's general settings, and don't add the campaign to any test variant. Campaigns with this box ticked don't take part in the global A/B test: every visitor sees them in every variant, including before consent. ## Reports and attribution Contacts submitted through a form by visitors who haven't consented (the **Leads** metric) are counted in the report, but their impressions and clicks aren't. Visitors who've consented are counted in full. Here's how that shows up in **Reports → Website personalization** (the **Revenue** and **Lead generation** tabs): | Metric | Counts visitors without consent? | What it means | | - | - | - | | **Targeted visitors**, **Impressions rate** (views) — both tabs | No | Your real reach is bigger than the report shows | | **CTR** — Revenue tab | No | Clicks from visitors without consent aren't visible | | **Total revenue**, **Average order value**, **Conversion to order** — Revenue tab | No | Revenue is tied to a click from the same device | | **Leads** — Lead generation tab | Yes | Every submitted contact is counted | | **Lead conversion rate** — Lead generation tab | Leads — yes, views — no | The conversion rate looks higher than it really is | > [!WARNING] > > "Without consent" and "anonymous" aren't the same thing. A visitor who consented but hasn't shared contact details yet is counted in full: their impressions, clicks, and targeting matches are all recorded. A few more things to know: * **Orders reach the customer profile** through your store integration. It runs on Maestra Platform's servers and doesn't depend on cookies on your site. * **Email and SMS revenue** is attributed as usual, by message. * **Flows based on site behavior** (product view, abandoned cart on the site) don't fire for visitors who never consent. * **The A/B test report** is built only from visitors who consented. ## After consent and after decline **If the visitor consents**, tracking turns on right on the same page, without a reload: * Pop-ups and widgets already on screen stay put and don't show again. * Campaigns on hold (with history-based conditions or A/B tests) start being checked. * The page the visitor landed on (UTM parameters, referrer) is sent to Maestra Platform, so the visit source isn't lost. * Whatever was shown before consent isn't added to the report retroactively. **If the visitor declines**, they keep seeing the available content for customers without consent, and everything Maestra Platform kept in their browser is deleted. > [!TIP] > > Before consent, Maestra Platform stores data only in sessionStorage — no cookies, no identifiers. It's all deleted when the tab closes. | Record | Contents | | - | - | | `maestraLanding` | Landing page, referrer, and arrival time (buffer mode) | | `popmechanic.last-shown-` | When the campaign was last shown — used for the frequency cap | ## How to prepare campaigns and check them on your site To make sure an important campaign shows to every visitor: * Target only by page, time, device, and triggers (delay, scroll, exit intent). * Don't use an A/B test or a control group. * Don't use a JavaScript condition. In particular, remove any homemade consent checks (through `customerPrivacy`, for example): Maestra Platform checks consent itself. * Make sure the lead generation form creates a customer rather than editing an existing one. * Give the recommendation widget a fallback preset that doesn't need history (bestsellers or similar products). **How to check it on your site** **1. Open your site without answering the banner** Open your site in a private window from a region where the cookie banner shows (or through a VPN). Don't answer the banner. **2. Check that the content shows** Make sure the pop-up, block, or widget you need appears. **3. Check cookies and session storage** In developer tools, open **Application → Cookies**: there shouldn't be a `maestraDeviceUUID` cookie. **Session Storage** should hold only `maestraLanding` and `popmechanic.last-shown-…`. **4. Click Accept** `maestraDeviceUUID` and `maestraConsent` appear, and campaigns that were waiting for consent start being checked. # Consent on the Customer Profile Source: https://help.maestra.io/api-integrations/tracking-consent-in-maestra-platform How a visitor's cookie-banner choice is stored on the customer profile, where to see it, and how to find customers by it. When a visitor answers your cookie banner, Maestra Platform can keep that choice on the customer profile as evidence: what the visitor chose, on which browser and site, when, and through which consent tool. You can then see the choice on the customer card and find customers by it with filters. This article covers what is stored and where to find it. To set up the banner integration itself, see [Consent Modes and Cookie Banner Setup](/api-integrations/consent-and-tracking). > [!NOTE] > > **Available on request.**\\ > > Storing consent on the profile is turned on per account by the Maestra Platform team. It isn't a self-service setting. To turn it on, contact support or your Maestra Platform Forward Deployed Marketer. ## Before you start Maestra Platform records a choice only when the tracker knows about consent: * **Maestra Shopify app.** The app embed passes choices automatically. See [Shopify notes](#shopify-notes). * **Your own site or a tag manager.** The `create` call must have a `consent` block, and your consent tool must call `consent.set` when the visitor answers. See [Set up consent with JavaScript](/api-integrations/consent-and-tracking#set-up-consent-with-javascript). Without a `consent` block in `create`, the tracker tracks every visitor as before and records no consent. ## What gets recorded The tracker reports **explicit choices** only: | Event | When it's sent | | - | - | | The visitor grants consent | Right after the tracker registers the visit, so the record carries the browser's device ID. | | The visitor withdraws consent | Just before the tracker deletes its identifiers from the browser. This is the only request sent after a withdrawal. | | The visitor clicks only **Do not sell or share my data** | A sale-of-data opt-out alone. Tracking consent and the purposes stay as they were, and the banner is still awaited. | | Global Privacy Control is on | A separate sale-of-data opt-out. See [Global Privacy Control](#global-privacy-control). | | A saved choice was never sent | If the page closed before a choice reached Maestra Platform, the tracker sends it once on the next page. It shows as **Stored choice**. | These aren't recorded: * **Regional defaults.** A state that comes from the `default` in `create` (for example, a region where your store shows no banner) is not the visitor's choice and is never sent. * **Repeats.** A choice identical to the one already stored changes nothing on the profile. You can call `consent.set` on every page. * **A decline on the first visit.** A visitor who declines before ever accepting has no device ID, and none is created. There is nothing to attach the choice to. > [!NOTE] > > Recording consent never creates a customer, never changes email or SMS subscriptions, and isn't triggered by a form submission. ## What is stored on the profile ### Consent purposes Each choice can carry four purposes, each **granted** or **denied**: | Purpose | What it covers | | - | - | | **Analytics** | Measuring visits and site usage. | | **Marketing** | Personalization and marketing based on the visitor's interests on your site. | | **Preferences** | Remembering the visitor's settings. | | **Advertising** | Passing the visitor's data to advertising platforms. | **Tracking consent** is analytics and marketing together: it's granted only when both are granted. Advertising is stored separately and never affects tracking consent. **Sale of data** is a separate value: **opted out** when the visitor (or their browser, through [Global Privacy Control](#global-privacy-control)) refuses the sale or sharing of their data. ### Consent state per browser and site Maestra Platform keeps the current consent for every combination of customer, browser, and site. A customer who uses two browsers, or visits two of your sites, has a separate state for each. The state changes only when the choice changes. ### System actions Every change adds one of three system actions to the customer's activity feed: | Action | When | | - | - | | **Tracking consent granted** | The visitor grants tracking consent, or changes purposes while tracking stays granted. | | **Tracking consent withdrawn** | The visitor withdraws tracking consent, or changes purposes while tracking stays denied. | | **Sale of data opt-out** | The sale of the visitor's data becomes opted out: a **Do not sell or share my data** choice on the website, or the browser's Global Privacy Control signal. The **Tracking consent: source** field tells them apart: `platform` or `gpc` (`stored` when the website choice reached Maestra Platform only on a later page). | The actions are in the **Personal** category. They carry these custom fields: | Field | Values | | - | - | | **Tracking consent: source** | `platform` — a consent banner or consent tool; `api` — a direct `consent.set` call; `gpc` — Global Privacy Control; `stored` — a saved choice sent on a later page. | | **Tracking consent: consent platform** | The consent tool that reported the choice, such as `shopify` or `pieeye`. Empty when the tool didn't say. | | **Tracking consent: device** | The browser's device ID. | | **Tracking consent: sale of data** | `granted` or `denied`. | | **Tracking consent: analytics**, **marketing**, **preferences**, **advertising** | `granted` or `denied` for each purpose. A purpose the consent tool didn't send is left empty. | The action date is the moment the visitor made the choice, not the moment Maestra Platform received it. ### Change history Each change also adds a **Consent changed** entry to the customer's change history, with the browser, the site, the source, and the old and new values. ## Where to see it in the customer card **1. Open the customer** Go to **Customer Data Platform** → **Customers** and open the customer's profile. **2. Open the browsers list** Go to **Devices** → **Browsers**. The **Tracking consent** column shows **Granted**, **Withdrawn**, or **No data** for each browser. **3. Expand a browser** The **Tracking consent** group shows: * **Changed** — when the visitor made the choice. * **Source** — where the choice came from, for example **Platform banner · Shopify**, **consent.set API**, **Stored choice**, or **GPC**. * **Sale of data** — **Opted out**, **Opted out (GPC)** when the opt-out came from the browser's Global Privacy Control signal, or empty. * **Purposes** — the analytics, marketing, preferences, and advertising values. The consent actions are also in the customer's activity feed, and each change is in the change history. ## Find customers by consent Two filter conditions are available for customers. | Condition | Value | Matches customers who… | | - | - | - | | **Tracking consent** | **Granted** | granted tracking consent on at least one browser and site. | | | **Withdrawn** | made a choice, and no browser or site has tracking consent granted. | | | **No data** | never made a tracking choice. | | **Sale of data** | **Opted out** | opted out of the sale of data on at least one browser and site, by choice or through Global Privacy Control. | | | **No data** | never opted out. | To build a filter: **1. Open the filter** Go to **Customer Data Platform** → **Customers** and add a condition. **2. Pick the condition** Search for **Tracking consent** or **Sale of data**. **3. Pick the value** For example, choose **Granted** to build a segment of customers you may track on your site. > [!TIP] > > To find customers who granted tracking but refused the sale of their data, combine **Tracking consent** is **Granted** AND **Sale of data** is **Opted out**. For filter basics, see [How to Create Filters](/filters/how-to-create-filters). ## Global Privacy Control Global Privacy Control (GPC) is a browser setting that tells websites not to sell or share the visitor's data. The tracker reads it from `navigator.globalPrivacyControl`. When GPC is on and tracking is granted, the tracker sends a separate opt-out with source `gpc`. The profile gets the **Sale of data opt-out** action with source `gpc`, and the browser's **Sale of data** shows **Opted out (GPC)**. GPC changes only the sale of data. It doesn't change tracking consent or the purposes. GPC is sent even when tracking is granted only by the regional default. It isn't sent again once the sale of data is already known for that browser, and it can't be recorded for a visitor who hasn't granted tracking. ## Anonymous visitors A visitor who grants consent before you know who they are (before they sign in, subscribe, or place an order) has no customer profile yet. Maestra Platform keeps their choices for **30 days** without creating a profile. When the browser is identified within those 30 days, the choices are attached to the customer's profile in the order the visitor made them, with their original dates. A later choice wins over an earlier one. Choices older than 30 days are dropped. ## Shopify notes The Maestra app embed reads the visitor's answer from Shopify's Customer Privacy API and passes it to the tracker with provider `shopify`: | Shopify purpose | Maestra Platform purpose | | - | - | | Analytics | Analytics | | Marketing | Marketing | | Preferences | Preferences | | Sale of data | Sale of data | | — | Advertising: granted when marketing is granted and the sale of data isn't denied | Shopify has no separate advertising purpose. Its marketing purpose covers the merchant's own ads, and its sale-of-data purpose covers sharing with third parties for advertising. That's why advertising needs both. For PieEye, the embed reads PieEye's categories with provider `pieeye`: | PieEye category | Maestra Platform purpose | | - | - | | Performance | Analytics | | Targeting/Advertising | Marketing, advertising, and sale of data | | Preferences or Functionality | Preferences | On Shopify, an answer counts as a choice when the visitor refused analytics or marketing, or accepted both. Anything else is the regional default: it goes to the tracker only as the `create` default and is never recorded. A choice the visitor made on an earlier page (or at checkout) is recorded too, unless the tracker already remembers a choice in its cookie. ## Limits * **Available on request.** The feature is turned on per account by the Maestra Platform team. * **30 days for anonymous visitors.** Choices of a visitor who isn't identified within 30 days aren't kept. * **Browser cookie lifetime.** The tracker remembers the choice in the `maestraConsent` cookie for up to a year, but Safari and other browsers with tracking prevention delete cookies set by scripts after about 7 days. A returning visitor may then see the banner again. Answering it again doesn't create duplicate actions, because a choice identical to the stored one is ignored. See [Cookies and Browser Storage](/api-integrations/cookies-and-browser-storage#consent-cookie). * **Sent, not confirmed.** The tracker sends a choice and doesn't wait for an answer. A request lost by the network leaves the choice off the profile. * **Deleted customers.** Deleting a customer deletes their consent records too. ## Related * [Consent Modes and Cookie Banner Setup](/api-integrations/consent-and-tracking) — consent modes and how to pass the visitor's choice to the tracker. * [Cookies and Browser Storage](/api-integrations/cookies-and-browser-storage) — what the tracker keeps in the browser. * [What is a DeviceUUID?](/api-integrations/what-is-a-deviceuuid) — the device ID used for each browser. # What is a DeviceUUID? Source: https://help.maestra.io/api-integrations/what-is-a-deviceuuid A DeviceUUID is a unique identifier of a browser or mobile app. It helps you record users’ actions on your website and in mobile apps. # How to find your customer’s DeviceUUID 1. Go to **Database** → **Customers** and open the customer’s profile. Click **All devices:** ![all devices.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/all-20devices.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=40b9bfe7b825a1febd57d6adea5ecf54) 2. Open the browser tab: ![device.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/device.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=bfda25b52654b2522145e669afadc5a0) DeviceUUIDs for browsers and mobile apps are different — let’s go into more detail on each. # Browser DeviceUUIDs ## How a browser DeviceUUID is generated When a user visits your website for the first time, our JS tracker generates and assigns a unique DeviceUUID to the specific browser they are using to visit the website. This means that two browsers on the same device will be assigned two different DeviceUUIDs. As sessions are recorded once they are closed (30 minutes after the last action) a DeviceUUID may be generated with a small delay. If the DeviceUUID was transferred using API methods only, you won’t see this ID in the customer’s profile, despite the customer’s device being identified. ## Updates to the DeviceUUID The system resets the DeviceUUID if the user deletes all cookies and local storage. The system does not reset the DeviceUUID after the user clears the cache or starts a new session. ## A DeviceUUID is designed to: — Track the start and the end of a session, launch a flow for these events — Record anonymous actions and record them in Maestra’s action history after the customer registers: for anonymous customers, the system uses DeviceUUID to track their actions on the website — Show recommendations to anonymous and identified customers. ## The following API methods require a DeviceUUID: — When the system transmits event data from the website (item browse, category browse, adding items to the cart, etc). A DeviceUUID allows to more accurately identify customers (even those who were not authorized in this session) and to track the session lifetime. This is why the system needs a DeviceUUID upon user authentication — to sync the authenticated user with an anonymous one. — When the backend system transmits event data. With a DeviceUUID, the system can record the session and sync frontend data with that of the backend. — API methods that work with web push notifications (methods that subscribe customers and validate whether a customer has a subscription). — The system may request a DeviceUUID for other API methods that are used in various business tasks. To enable DeviceUUID transfer, check the following option in the API method’s settings: ![api device.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/api-20device.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=7632d0cf9076a26ae9bf36c934a3f961) ## Is a DeviceUUID always generated? Yes, if the tracker has been added to the website and initialized. However, the system will not generate DeviceUUIDs for browsers with an ad-blocker installed or JavaScript disabled. In these cases, the tracker is blocked and frontend events cannot be logged in the system. ## To check whether the tracker is installed: Open developer tools, go to the Elements tab, and look for the following script: ``` `` ``` ### To check whether the tracker has been initialized: Open developer tools, go to the Console tab, type in ’maestra’, and click apply. If the system shows you the "Uncaught ReferenceError: maestra is not defined" message, the tracker has not been initialized. ## How to find a DeviceUUID in a browser: Open developer tools on the target website, click on the **Application tab**, and go to the **Cookies** section. Next, select the website and find the **maestraDeviceUUID** line: ![cookies.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/cookies.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=ef9ef3158775c585eac5d64dd4190298) # FAQ ## How to transmit data to the backend system: Cookies are transmitted to the website backend system, so the DeviceUUID can be collected from there. ## Does the system store DeviceUUIDs of anonymous customers (and why)? Yes, the system stores this data so that it can upload customers’ actions when they register. For more information, please refer to this article. ## What if an API method requires a DeviceUUID that was not transferred? The API method will be completed with an error. The only exception is when a customer is identified only by DeviceUUID. In this case, the API method will not be completed. ## What if an API method does not require a deviceUUID but it was transferred? The API method will be completed with an error. ## How does the system generate a DeviceUUID in incognito mode? A new DeviceUUID is generated every time. ## Does the system generate different DeviceUUIDs for different websites? No, there is one DeviceUUID for all websites. ## Do DeviceUUIDs work the same in mobile browsers? Yes, the same rules apply. # Mobile app DeviceUUIDs A DeviceUUID can also be a unique identifier of a mobile app on a device. The system generates it when the SDK is first launched on a device. DeviceUUIDs are always transferred when apps request API methods. If data is transmitted using the backend system, DeviceUUIDs are optional. ## iOS iOS apps can insert one of the following three values into a DeviceUUID: * **DFA**: an advertising identifier of a device. This code is generated by the phone OS. All apps on the same device get the same value. An IDFA value is generated when the user agrees to receive notifications. The user can download the AppsFlyer app to find this ID on their device. * **IDFV**: a device identifier for vendors generated by the device OS. This is a code assigned to all apps developed by the same vendor. Therefore the IDFV is the same for apps made by the same developer and differs between apps made by different developers. The user can download the AppsFlyer app to find this ID on their device. * An ID generated by Maestra. This is unique for each app. If IDFAs cannot be collected the system assigns IDFVs. If IDFVs are unavailable, the system inserts the IDs generated by Maestra. ## Android On Android, an advertising ID is inserted into a DeviceUUID. This advertising ID is the device identifier generated by the device OS for advertisers. All apps on the same device get the same ID. An advertising ID can only be generated if ad tracking has not been disabled in the device settings. If a phone user disables ad tracking (in Settings > Privacy > Ads), access to this data may be denied. As soon as ad tracking is enabled, the system will generate a new advertising ID. However, the DeviceUUID for the project will remain the same. The change in the advertising ID does not affect web push notifications. If an advertising ID is unavailable, the system inserts an ID generated by Maestra. ## Can the DeviceUUID change? The device memory stores the DeviceUUID and does not change it until an app is deleted. If this app is reinstalled, the device will continue using the old DeviceUUID, provided that the code was generated using an advertising ID. If the DeviceUUID was generated using an SDK, a new code will be generated. # A/B Tests by Customer Segments Source: https://help.maestra.io/campaigns/ab-tests/ab-tests-by-segments A/B tests by customer segments let you measure the impact of almost any campaign on Maestra Platform — email and SMS blasts, push notifications, media placements, promotional offers, on-site personalization, loyalty mechanics, and more. Instead of splitting traffic inside a single campaign, you split your audience into segments up front, run the campaign variants against each segment, and compare the results. Use this approach whenever you want to: * Compare two or more campaign concepts head-to-head (for example, a 10% discount vs. free shipping). * Validate a hypothesis about how a specific mechanic changes customer behavior. * Establish a clean control group that doesn't receive the campaign at all, so you can isolate net incremental revenue. ## How it works Running an A/B test by segments takes three steps: 1. **Create an A/B test.** Define the participant segment, the number of variants, how traffic is split between them, and the metrics you want to track (conversion rate, average order value, or ARPU). 2. **Wire each variant into your campaigns.** Use a filter in every campaign mechanic so that only customers from the matching test variant receive that version. 3. **Wait for results.** Maestra Platform monitors statistical significance and notifies you when the test reaches a conclusion — either confirming the hypothesis or rejecting it. > [!NOTE] > > Each customer is assigned to exactly one variant for the lifetime of the test. That means a customer in variant A will never accidentally receive variant B, no matter how many campaigns the test feeds. ## Step 1. Create the A/B test Open the **A/B tests** section and create a new test. You'll be asked to configure the following fields. ### Hypothesis A short statement of what you expect the test to prove or disprove — for example, "Customers who receive a 10% discount email will place 15% more orders than customers who receive a free shipping email." A clearly written hypothesis keeps the team aligned and makes it easier to interpret the report later. ### Participants The segment of customers eligible for the test. Maestra Platform will randomly assign every customer in this segment to one of the variants. A few rules of thumb: * The smaller the segment, the longer the test will take to reach significance. * The segment should be large enough that each variant ends up with a representative sample. * Avoid changing the participant segment after the test has launched — it invalidates the random assignment. ### Number of variants and traffic distribution Choose how many variants you want to test and how to split traffic between them. Shares are entered as fractions and automatically recalculated into percentages. A typical setup: | Variant | Share | Purpose | | - | - | - | | 0 | 0.25 | Control group — receives nothing | | 1 | 0.25 | Discount email | | 2 | 0.25 | Free shipping email | | 3 | 0.25 | Loyalty points bonus | > [!WARNING] > > The more variants you add, and the more unevenly traffic is split, the longer the test needs to run before it can detect a meaningful difference. Stick to two or three variants when you can, and keep splits as even as possible. ### Control group If you want to measure the net incremental effect of a campaign — that is, how much extra revenue it actually generates compared with doing nothing — designate **variant 0** as your control group and don't assign any campaign mechanic to it. The report will then compare every other variant against variant 0 as the baseline. ### Metrics Pick a primary metric and, optionally, a secondary metric: * **Conversion rate** — the share of customers in each variant who completed the target action (a purchase, a registration, etc.). * **Average order value (AOV)** — average revenue per order placed by customers in the variant. * **ARPU** — average revenue per customer in the variant, regardless of whether they ordered. The primary metric is what Maestra Platform uses to decide whether the test is statistically significant. ### Advanced settings These come pre-filled with sensible defaults, but you can adjust them if you know what you're doing: * **Expected lift** — the minimum improvement you want to be able to detect. Smaller expected lifts require larger samples. * **Statistical power** — the probability that the test will detect a real effect if one exists. Default is 80%. * **Confidence level** — the probability that the detected effect is not due to random chance. Default is 95%. ## Step 2. Add each variant to your campaigns Once the test is saved, each variant becomes a filter you can use anywhere on Maestra Platform. For every campaign mechanic that's part of the test: 1. Open the campaign (email, SMS, push, pop-up, promo, loyalty rule, etc.). 2. In the **Recipients** or **Audience** filter, add the condition: *Customer is in A/B test variant X*. 3. Save and launch the campaign. Repeat for each variant, plugging the matching variant filter into the matching mechanic. Leave the control group (variant 0) without any campaign — that's what makes it a control. > [!TIP] > > You can run a single A/B test across multiple channels at once. For example, variant 1 could include both an email and a push, while variant 2 includes only an email. Just add the variant filter to every mechanic you want bundled into that arm of the test. ## Step 3. Monitor and stop the test While the test is running, Maestra Platform tracks the chosen metrics for each variant and updates the report at least once every 24 hours. The report shows: * The number of customers in each variant. * The value of each metric per variant. * The percentage difference vs. the baseline (variant 0 or the lowest-numbered variant if there's no control). * A statistical significance indicator that turns green once the result is reliable. > [!WARNING] > > Tests do **not** stop automatically when significance is reached. You decide when to call the test and switch off the losing variants. Stopping a test too early — before significance — produces unreliable conclusions; leaving it running far past significance just delays the rollout of the winning variant. ## Examples ### Compare two offer mechanics You want to know whether a flat 10% discount or free shipping drives more revenue. * **Participants**: all customers who opened at least one email in the last 30 days. * **Variants**: 0 (control, 25%), 1 (10% discount email, 37.5%), 2 (free shipping email, 37.5%). * **Primary metric**: ARPU. * **Hypothesis**: free shipping will outperform the 10% discount by at least \$1 ARPU. Add variant 1's filter to the discount email, variant 2's filter to the free shipping email, and leave variant 0 alone. After two weeks, the report shows free shipping's ARPU is \$1.40 higher than the discount at 95% confidence — hypothesis confirmed. ### Validate a new welcome series You want to know whether your redesigned welcome series actually lifts first-order conversion. * **Participants**: new subscribers from the last 60 days. * **Variants**: 0 (control, 50%, no series), 1 (new welcome series, 50%). * **Primary metric**: first-order conversion rate. Add variant 1's filter to every email in the new series. Variant 0 receives nothing. When the report reaches significance, you know exactly how much incremental revenue the series is generating. ## Best practices * **Write the hypothesis first.** If you can't state what you expect to learn, you're not ready to run the test. * **Don't change the test mid-flight.** Adding variants, shifting traffic, or editing the participant segment after launch breaks the math. * **Run one test at a time per audience.** Overlapping tests on the same customers contaminate each other's results. * **Give it enough time.** Most retail tests need at least one full purchase cycle (typically 2–4 weeks) before results stabilize. * **Always keep a control group when you care about incremental revenue.** Comparing two campaigns tells you which one is better; comparing both against a control tells you whether either one is worth running at all. # A/B Tests in Flows Source: https://help.maestra.io/campaigns/ab-tests/ab-tests-in-flows Flows let you run A/B tests to split your customer base into groups with a defined probability and validate hypotheses about how different interactions affect your metrics. You can add up to ten A/B tests to a single flow. ## Setting up an A/B test When you add an A/B test block to a flow, you'll configure the following parameters: **Hypothesis** — what you plan to prove or disprove with the test. **Traffic** — how participants are distributed across variants, expressed as percentages. You can give each variant a custom name, which makes the test report easier to read and helps you find specific customers later. The maximum number of variants is **five**, including the control group. Keep in mind that a test with three or more branches will run longer, because it takes more time to accumulate participants in each branch. **Analytics** — the metrics used to decide which variant wins. ### Primary success metric The primary success metric determines the winning variant. The available options are: * **Order conversion rate** — the percentage of customers who placed at least one order after being assigned as test participants. * **Average order value (AOV)** — revenue generated during the test divided by the number of orders placed. * **Average revenue per user (ARPU)** — revenue generated during the test divided by the number of participants in the variant. > [!NOTE] > > Returns and cancellations are not subtracted from any of these metrics. ### Secondary success metric The secondary success metric lets you track other important metrics in parallel with the primary one. For example, if you're optimizing for order conversion rate, you may also want to make sure average order value doesn't drop. The same metrics available for the primary success metric are available here. ### Advanced settings Advanced settings include **expected lift**, **statistical power**, and **confidence level**. These are set to optimal defaults. Only change them if you fully understand how the change will affect your test results. ## Control group You can add a control-group branch to the test. Customers in this branch receive no interactions inside the flow: You can pull customers out of the control group later using a filter. > [!WARNING] > > Don't confuse the A/B test control group with the **global control group (GCG)**. The GCG doesn't affect the flow itself — customers in the GCG are distributed evenly across all branches. However, they can still be excluded at the message-sending level, which may change the real send ratio between variants. ## A/B test participants A customer counts as an A/B test participant only if they: * Passed through the A/B test block, **and** * Successfully completed the group of steps after the A/B test block, or landed in the control-group branch. If a customer enters the flow and is assigned to one of the A/B test branches, they'll be assigned to the same branch on any subsequent entry into that flow. ## Filtering by test branch You can pull the participants of each variant using a filter, which is useful for follow-up segments, exports, or further analysis. ## Setup recommendations Below are common pitfalls to avoid when designing an A/B test. The flow interface also surfaces hints for each of these. ### Unequal wait times between branches If one variant has a shorter wait than another, that branch will accumulate participants — and metrics — faster. It can even appear as a false winner while the other branches are still collecting participants and orders. The size of the gap matters: differences of up to 24 hours between branches are acceptable. For example, if one branch has a much shorter wait, by the time the second branch reaches the minimum required number of participants, the first branch may already have seven times more. Those participants also have more time to take the target action, since their orders start counting one day after the branch split. ### Long wait before the A/B test A long wait before the A/B test block postpones participant collection by the configured wait time. This doesn't affect the correctness of the result, but it does extend the test duration. For example, a flow with a 30-day wait before the test will only start collecting participants 30 days after launch. ### Long wait after the A/B test A long wait after the A/B test block lengthens the time customers spend in the branch, which dilutes the effect of the tested interaction. The longer a customer is in the branch, the more other communications they receive — which can cause false conversions to be attributed to the test variant. For example, in a flow where users become participants the moment they enter the test but only finish the branch a week later, the effect of the branch should appear after seven days — but conversions begin counting immediately. ### A "Condition" block between the test and the steps A "Condition" block placed after the A/B test block but before the step group can distort branch distribution. The percentage split happens inside the A/B test block, but customers only become participants once they complete a step in the assigned branch. If a "Condition" block drops a lot of customers, the actual ratio between variants will diverge from the configured one. Configure these blocks so every customer who enters the condition continues into a step group. For example, if customers in the second branch who don't have the mobile app are filtered out, those customers will exit the test before reaching the steps — so the real distribution won't match the configured 50/50. In cases like this, move the check to **before** the A/B test block, so every customer can become a participant regardless of which variant they're assigned to. Route the customers who fail the check into branches outside the test. ### Merging branches after the test If the interactions after the split are mostly identical between branches, the chance of detecting a difference in metrics — and finding a winner — drops. For example, if two branches differ only in their first steps and then share two identical interactions over the next six hours, the effect of the initial tested communications gets washed out by the time customers reach the last step group. This makes it less likely the test will identify a winner. ## Editing a flow with an A/B test Once the flow is live, the test appears under **Analytics → A/B Tests**. * The test name cannot be edited — it matches the flow name and version. * You can only edit the A/B test from the flow page. * Editing a flow that has an A/B test starts a new test on the current version and ends the previous one, even if the change was made in other blocks. * Deleting the flow or the A/B test block ends the test but does not delete it. You can delete it manually. * Stopping the flow ends the test. * To start a new A/B test, create a new version of the flow using the **Edit** button. ## A/B test report You can open the report from the A/B test block inside the flow or from the test page itself. The report is generated within 24 hours after the test launches. If the test ran for less than 24 hours, no report will be generated. Inside the report, you'll see charts and a table with values for the primary and secondary success metrics. Variant statistics include orders placed: * From the moment the customer became a test participant — that is, after they completed the first step in the branch or landed in the control group. * With no time cap between joining the test and placing the order, as long as the test is still running when the purchase happens. ## Why the report shows fewer participants than flow entries A participant is a customer who **successfully** completed the step group after the branch split. If the steps weren't completed, the total participant count will be lower than the number of flow entries. Common reasons a customer doesn't complete the step group: * **Step-group recency window** — the steps fell outside their configured recency window. * **Frequency cap** — the flow has a limit on how often it can apply to a given customer. > [accordion] Example: importing historical events > > An A/B test in a flow splits customers 50/50 between a control group and a test group. The test group's step recency window is **1 day**. The control group's recency window defaults to **7 days**. The historical event occurred 6 days ago. > > Looking at entries, 13 unique customers entered the control group and 13 entered the test group. But the A/B test report shows only 7 participants in the test group. > > That's because 6 unique customers with the historical event couldn't complete the step group due to the 1-day recency window. The control group wasn't affected because its recency window is longer. > [!TIP] > > Use an **A/B test calculator** to size your sample before you launch and to evaluate the result after the test ends. # A/B Tests in Site Personalization Source: https://help.maestra.io/campaigns/ab-tests/ab-tests-in-site-personalization A/B tests in site personalization let you split your customer base into groups according to a chosen probability so you can test hypotheses and compare metrics across variants. Use them to validate ideas before rolling a change out to everyone, and to measure the real impact a personalization mechanic has on your business. A/B tests are available for: * Information forms and contact collection forms (pop-ups, embedded blocks, and other on-site forms) * Recommendation widgets > [!NOTE] > > A/B testing for personalization is now also available for contact collection forms, not only recommendation widgets. ## How to add an A/B test To add an A/B test to a personalization mechanic: **1. Create the mechanic** Create a form (pop-up, embedded block, or other on-site form) or a recommendation widget. **2. Customize the design** Configure the appearance, content, targeting, and display conditions as usual. **3. Add the A/B test** Click the **Add A/B test** button in the mechanic's settings. You can also designate a control group that does not see the form. This is the cleanest way to measure how the mechanic itself affects order conversion and average order value — the control group lets you compare customers who saw the form against customers who did not. ## Test configuration ### Hypothesis State what you are trying to prove or disprove with the test. A clear hypothesis keeps the test focused and makes it easier to interpret the result afterwards. ### Traffic distribution Traffic is split across variants using proportional values that are automatically converted to percentages. You can add as many variants as you need. Keep the following in mind when choosing how to split traffic: * The more variants you add, the larger the sample size you need, and the longer the test will run. * Tests with multiple branches can end without a clear winner. * Uneven splits (for example, 75% / 25%) take longer to reach significance than an even 50% / 50% split. > [!NOTE] > > Traffic is distributed at the device level. If the same customer visits your site from multiple devices and the devices land in different branches, the customer will participate in both branches. Orders are attributed to the device used during the most recent site visit. ### Analytics metrics Choose the metrics you want to track. The primary metrics available are: * **Order conversion** — the percentage of participants who placed an order. * **Average order value** — the average amount of a single order. * **Average revenue per customer (ARPU)** — total revenue divided by the number of participants. * **Click conversion** — the percentage of participants who clicked inside the form or widget. You can also pick secondary metrics to compare how related indicators move together with the primary one. ### Additional settings Under the additional settings you can adjust: * **Expected uplift** — the minimum effect size you want the test to be able to detect. * **Statistical power** — the probability of detecting a real effect if one exists. * **Confidence level** — the probability that the result is not due to random chance. These values come preset with sensible defaults, so you only need to change them if you have a specific reason to. > [!TIP] > > Use an A/B test sample size calculator to estimate how many participants you need and how long the test should run before you launch it. ## How the test runs ### Launch limitations A form or widget with an A/B test can only be launched **once**. After you stop the test, you cannot restart the same mechanic. If you need to change anything and run a new test, clone the form or widget and launch the clone with a fresh A/B test attached. ### Who counts as a participant Every customer who matches the targeting and visibility conditions **and** has actually seen the form or widget is counted as a participant. If the same customer is shown the mechanic multiple times, they always stay in the same branch — assignment is sticky. ### When reports become available Reports appear the day after the form or widget is launched. Open them from the mechanic's settings by clicking **View report** inside the A/B test configuration block. > [!NOTE] > > Attribution in the A/B test report differs from the standard form or widget report. In the A/B test report, orders are attributed to **impressions**, not clicks. Because of this, numbers in the A/B test report can differ from numbers in the regular mechanic report — that is expected, not a bug. ## Best practices * Write the hypothesis down before launching so you know exactly what "winning" looks like. * Start with a simple 50% / 50% split between two variants when you can — it gives you the fastest, cleanest read. * Add a control group whenever you want to measure the absolute impact of a mechanic, not just compare variants to each other. * Plan the test duration in advance using a sample size calculator. Stopping a test early because one variant looks ahead is one of the most common ways to draw the wrong conclusion. * Run only one A/B test per mechanic at a time, and avoid changing targeting or content while a test is live. ## FAQ > [accordion] Can I restart an A/B test after stopping it? > > No. Once a test has been stopped it cannot be restarted on the same form or widget. Clone the mechanic and start a new test on the clone. > [accordion] Why don't the numbers in the A/B test report match the regular form report? > > The A/B test report attributes orders to impressions of the form or widget, while the regular report attributes orders to clicks. The two views answer different questions, so some difference between them is normal. > [accordion] What happens if a customer visits the site from two devices? > > Distribution into branches happens per device. If a customer ends up in different branches on different devices, they participate in both. Their orders are attributed to whichever device they used most recently. > [accordion] How long should a test run? > > Long enough to reach the sample size your expected uplift, power, and confidence level require. Use a sample size calculator before launching to get an estimate, and avoid calling the test before that target is reached. # How A/B Tests Work in Maestra Source: https://help.maestra.io/campaigns/ab-tests/how-ab-tests-work A/B testing is a method for validating hypotheses about your marketing campaigns by comparing the performance of two or more variants, or by comparing a variant against a control group. Instead of guessing what works, you let real customer behavior decide. Performance is measured through metrics such as average order value, conversion rate, and—in some test types—average revenue per user (ARPU) and click-through conversion. ## How an A/B test runs Every A/B test in Maestra follows the same four stages: **1. Identify the audience** Choose who participates in the test—a segment, all visitors to a site, or users of a mobile app. **2. Split the audience into groups** Divide participants into two or more groups, one per variant. You can also include a control group that receives nothing. **3. Run the experiment** Each group experiences its assigned variant. Maestra tracks behavior throughout. **4. Compare results** Compare each group's behavior against the metrics you defined for success and decide whether your hypothesis holds up. ## Where you can run A/B tests Maestra supports A/B testing across a range of channels and mechanics: * Workflow scenarios * Mobile apps (in-app messages) * Website personalization—popups, embedded blocks, and recommendation widgets * Website visitors as a whole * Customer segments, which you can plug into any marketing mechanic ## What you configure in a test Every test has the same core settings: | Setting | What it does | | - | - | | Hypothesis | The statement you want to prove or disprove. | | Participants | The segment, site, or app whose audience joins the test. | | Traffic distribution | The share of participants assigned to each variant, expressed as proportions (for example, 50/50 or 75/25). | | Analytics metrics | The KPIs Maestra uses to decide which variant wins. | ## Things to keep in mind when reading results > [!NOTE] > > **Wholesale buyers and other outliers.** When a test uses average order value or ARPU, Maestra excludes unusually high-revenue customers—wholesale buyers, for example—from the calculation so they don't distort the result. **Tests with more than two variants** need proportionally more participants. They can also end without a clear winner if variant pairs disagree with one another. **Uneven traffic splits** (such as 75/25) take longer to reach significance than balanced splits (50/50), because the smaller variant accumulates participants more slowly. **Device-based assignment for site and personalization tests.** Website and personalization tests assign participants by device. A customer who visits from multiple devices can land in different variants on each one and counts as a participant in every branch they hit. Orders are attributed to the device used during the customer's most recent site visit. ## How to make tests finish faster How quickly a test wraps up depends on three things: 1. **Traffic volume.** The more traffic to the surface you're testing, the faster participants accumulate. 2. **Number of variants.** Fewer variants mean fewer participants needed overall. 3. **Even distribution.** Balanced splits (50/50, 33/33/34) fill every variant at the same rate—uneven splits drag out the slower branch. ## Running multiple tests at once > [!WARNING] > > Running several A/B tests on the exact same audience at the same time creates interaction effects. You won't get false winners, but each test will take longer to reach significance, and tests with similar hypotheses across different channels can still muddy the interpretation. As a rule, keep only **one** site-wide personalization test running at any given time. Otherwise, the control group gets fragmented across overlapping tests and you can't trust the comparison. ## Audience fatigue > [!TIP] > > If you run A/B tests on the same audience back-to-back, give that audience a cooldown period between tests. Audiences that are tested too often—either in parallel or in rapid succession—produce unreliable results and hide real differences between variants. ## Reading the report Tests run until statistical significance is reached. Maestra doesn't stop them automatically—you'll get a notification when significance arrives so you can decide what to do next. Reports become available within 24 hours of launch, and an estimated finish date appears about a week after the test starts. Each report includes: * A graph for every metric in the test * Configuration details—segment, participant count, hypothesis * A date range and aggregation period you can adjust * A variant comparison table that includes revenue figures (in \$) * A statistical-significance indicator for each metric ## When there's no winner Sometimes a test ends without a clear winner. Common reasons: * The metric you chose isn't sensitive enough to pick up the difference. * The mechanic only works for a narrower slice of the audience than the one you tested. * You didn't have enough participants—especially likely with multi-variant tests or heavily skewed splits. * The mechanic was turned off before the test finished. * Seasonality or an outside event interfered with the results. * The mechanic genuinely has little or no effect. > [!NOTE] > > A "no winner" result is still a result. It tells you the variants are interchangeable for this audience, on this metric, in this window—which is useful information when you're deciding where to invest next. # How to Set up Control Groups and A/B Tests for Campaigns Source: https://help.maestra.io/campaigns/ab-tests/how-to-set-up-control-groups-and-ab-tests-for-campaigns The guide can be used for all types of campaigns and channels. We’ll be using email campaigns to illustrate the steps you need to follow. Before you begin, make sure you’re familiar with the guides on [bulk](/campaigns/email-campaigns/how-to-create-a-bulk-email-campaign) and [automated campaigns](/campaigns/email-campaigns/how-to-create-automated-email-campaign). 1. Go to the **Campaign** panel to enter a **Subject** and **Sender** and select a **Template**. After this, click "**Create A/B test**": ![00\_ab\_campaign](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_ab_campaign.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=a83b5f41767e1633f88edcba36ae4879) Enter a **Subject** and **Sender** and select a **Template** for your second variant. When it comes to A/B testing, you have lots of variables to choose from. You can test the **Subject**: ![01\_ab\_campaign](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_ab_campaign.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=ad2036378e6576bb69b79fce088b92c6) Test the **Sender**: ![02\_ab\_campaign](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_ab_campaign.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=8544abd9eba39356e98017221c700cb6) Test the **Template**: ![03\_ab\_campaign](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_ab_campaign.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=3aff3ffa34a8c08a9c3bfe4b80131df5) Or you can combine Subject, Sender, and Template tests. 3. For a bulk campaign, select your Recipients. 4. Configure Test settings: ![04\_ab\_campaign](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_ab_campaign.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=752ee9b33fc00e383c83e0e6cc85df2b) ## A/B test settings There are 2 ways to run tests: 1. Campaign variations + a control group. 2. Campaign variations only. To measure the effect and net profit of your campaign, select **Campaign** variations + control group. In this case, only the target action can be used as the assessment criterion. The control group size is the same as the number of emails for this variation of your test. When testing without a control group, the **Open rate** and **Click rate** options are also available as assessment criteria. **Assessment criterion**. When it comes to choosing your assessment criterion, simply select what fits best depending on what you’re testing. **For example**: 1. To test the **Subject** or **Sender**, select the **Open rate** as your criterion. 2. To test the **Template**, select the **Click rate** or **Target action** (e.g. order placement) as your criterion. **Minimum expected uplift**: this is the minimum difference in percentage points for one variant to be considered more successful than another . **Testing time**: this is the period during which the test will run and collect data. Once this time is out, the winning variant will be sent to the remaining audience. A testing time is a parameter assigned individually to each customer. Thus, the total test duration time is a sum of the time to collect results from tested variations plus the testing time. **How it works:** Subscribers from group A receive email variation A, subscribers from group B — variation B. Data is collected over the selected period. One the test period is over, the remaining subscribers will receive the successful variant. ### Bulk campaign without a control group: test settings ![06\_ab\_campaign](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_ab_campaign.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=afaa743cf32b84647da8992cd16b5751) ### Bulk campaign with a control group: test settings ![05\_ab\_campaign](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/05_ab_campaign.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=118f13c94dd251004c89a8a4e4414d8b) For bulk campaigns, test settings are used to specify which percentage of recipients will take part in the test and which portion of the audience will receive the winning variation. ### Automated campaign without a control group: test settings ![09\_ab\_campaign](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_ab_campaign.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=eaef7870bfcc464ad03ab33165ae0046) ### Automated campaign with a control group: test settings 1. Click "**Enable control group**": ![12\_ab\_campaign](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_ab_campaign.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=cf0e1d62183fa472e457b9759a52b1e9) 2. **Variant 1** will appear in **Message template area**: ![08\_ab\_campaign](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_ab_campaign.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=36519d7a7c02537d11dd429f388e66c2) 3. Choose a **Target action** and other settings: ![10\_ab\_campaign](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_ab_campaign.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=e6c90547da5d32209433cb8a73765007) ### You can also view additional parameters: ![11\_ab\_campaign](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_ab_campaign.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=4f26b5239a01415161f328864084ce7d) **Power** is the probability that we will be able to detect a difference (if there is any). The common practice is to use 80% as the default power of an A/B test. The **confidence level** of the test is the confidence that we will not get a false positive result, with the default value in A/B tests being 95%. ## Test results Once the test ends, the user(s) that created it receive a test report in their email inbox. # Mobile App A/B Tests Source: https://help.maestra.io/campaigns/ab-tests/mobile-app-ab-tests Mobile app A/B tests let you measure the value of individual in-apps and of the channel as a whole, and pick the best in-app for a specific use case. To create a mobile app A/B test, go to **Analytics → A/B tests**, click **Create test**, and choose **Mobile app**. ## Test setup **Hypothesis** — the statement you want to prove or disprove with the test. **Participants** — the apps whose users will take part in the test. > [!NOTE] > > Only users running SDK version 2.7.0 or higher can participate. **Variants** — how app users are split across the test. Distribution is set as shares and automatically recalculated into percentages. For each variant, you can define which in-apps are shown: * Show only specific in-apps. * Show all in-apps. * Show the in-apps that are not selected in the other variants (control group). > [accordion] How are customers distributed across branches? > > In website and personalization tests, participants are split by device. > > **What happens to a customer with multiple devices?** > > * If all devices land in the same branch, the customer counts as one participant in that branch. > * If devices land in different branches, the customer counts as a participant in each of those branches. Orders are attributed by device — to whichever device was last used to visit the site. The ways to configure variants depending on your goal are described below. **Analytics** — the metrics used to evaluate the performance of each variant. * **Primary target metric** — the metric that determines the winning variant. > [!NOTE] > > Returns and cancellations are not counted in any of the metrics. * **Order conversion** — the percentage of customers who placed at least one order after entering the test. * **Average order value** — revenue during the test period divided by the number of orders placed. * **Average revenue per user (ARPU)** — revenue during the test period divided by the number of participants in the variant. * **Secondary target metric** — a comparison metric for tracking trends. For example, if order conversion goes up, you want to make sure average order value did not drop. The same metrics are available as for the primary target. * **Advanced settings** — expected uplift, statistical power, and confidence level. Default values are optimal. > [!WARNING] > > Only change the advanced settings if you know exactly how it will affect the test results. Once all fields are filled in, you can start the A/B test by clicking the corresponding button. Before launching, make sure the in-apps you selected are in the **Running** status. As soon as the test starts, the segment audience is split into variants at random, according to the traffic settings. After the test is launched, only its name can be edited. ## Variants ### Global app test A global A/B test shows how in-apps affect average order value and order conversion overall. The report tells you how user behavior shifts with in-apps and helps you calculate the channel's payback. Create two variants: * One that shows all running in-apps. * A control group. ### Testing a specific in-app Use an A/B test to measure how well an individual mechanic performs. Create two variants: * One that shows the in-app(s) you want to evaluate. * A control group that sees all in-apps except the one being tested. ### Comparing in-apps against each other Use an A/B test to find out which set of in-apps better solves a given task. Create one variant per set of in-apps. > [!NOTE] > > A test supports up to 5 different branches. ## Report Data for every test variant appears in the report the day after the A/B test is launched. Inside the report you can see charts for each test metric along with the configuration details — segment, number of participants, hypothesis, and advanced settings. You can also pick a time range and break the data down by day, week, or month. If the test shows that variants do not differ in a statistically significant way, the metric will be labeled as having no winner. If there is not enough data to determine a winner, the metric will indicate that data is still being collected. # Website A/B Tests Source: https://help.maestra.io/campaigns/ab-tests/website-ab-tests Website A/B tests help you measure how the Website Personalization module impacts your customers' average order value and conversion to order. By splitting your site traffic into variants, you can see exactly which forms, popups, and recommendation widgets move the needle — and which ones don't. ## How to create an A/B test A/B tests live under **Analytics** → **A/B Tests**. To set up a new test, click **Create test** and choose **Website**. ## How to configure an A/B test ### Hypothesis What you're trying to prove or disprove with the test. Write it down before you launch — it keeps the test honest and makes results easier to interpret later. ### Participants The website whose visitors will take part in the test. The lower the traffic on the site, the longer the test will need to run before it reaches a conclusion. ### Traffic How site visitors are distributed across test variants. Distribution is entered in shares and is automatically converted into percentages. In this block, you also assign which campaigns are shown in which variant. A campaign assigned to one variant will not be shown to visitors in any other variant. > [!NOTE] > > **Tests with more than two branches** > > * The more variants you add, the more participants you'll need, which extends the duration of the test. > * A test may end without a clear winner: every pair of branches is compared against each other, and if a winner can't be identified in at least one pair, it becomes hard to decide which variant is best. You may need to run a follow-up test with just two branches. > [!NOTE] > > **Unequal variant splits** > > The test will run longer if you distribute participants unevenly. For example, a 75% / 25% split takes longer to reach significance than a 50% / 50% split. #### How customers are distributed across branches In website and personalization tests, participants are distributed by **device**, not by customer. **What happens to a customer with multiple devices?** * If all of the customer's devices land in the same branch, the customer is counted once in that branch. * If the devices land in different branches, the customer is counted as a participant in each of those branches. Orders are attributed per device — assigned to the device used for the most recent visit to the site. ### Analytics The metrics used to evaluate the success of the tested variants. **Primary target metric** — the metric used to decide the winning variant. > [!NOTE] > > Returns and cancellations are not counted in any of the metrics. Available primary target metrics: * **Conversion to order** — the percentage of customers who placed at least one order after entering the test. * **Average order value** — revenue generated during the test divided by the number of orders placed. * **Average revenue per user (ARPU)** — revenue generated during the test divided by the number of participants in the variant. **Secondary target metric** — a metric you track alongside the primary one to watch for trade-offs. For example, if conversion to order goes up, it's useful to confirm that average order value didn't drop in the process. ### Additional settings Expected lift, statistical power, and confidence level. These are set to optimal defaults. > [!WARNING] > > Only change these settings if you know exactly how the change will affect your test results. ### Launching the test Once every field is filled in, launch the A/B test by clicking the corresponding button. As soon as you do, the segment's audience will be split randomly into variants according to your traffic settings. > [!NOTE] > > After an A/B test has been launched, only its name can be edited. ## Traffic ### Global website personalization A/B test A global website A/B test shows you how website personalization as a whole affects average order value and conversion to order. The report makes it clear how visitor behavior changes when personalization is layered on top of the site, and it helps you calculate the payback of the module. **How to set it up:** 1. Keep a single variant and set **Forms to display** to **All**. Users in this variant will see every active form. 2. Click **Add control group**. The control group will not see any campaigns — except for those explicitly configured to be shown to everyone. > [!WARNING] > > Before launching the test, make sure there are active website personalization campaigns running on the project. Otherwise there is nothing to measure. ### A/B test of a form or set of forms with a control group A/B tests can show how several mechanics perform together. For example, your site might have a welcome sequence made up of three popups that fire one after another, and you want to check how the sequence affects conversion to order. **How to set it up:** 1. Keep a single variant and list all popups from the welcome sequence in it. 2. Click **Add control group**. The control group will not see the welcome sequence assigned to the other variant, but they will still see every other mechanic running on the site. ### A/B test comparing forms against each other Use this setup to check which form delivers the most value for a given task. **Example:** Find out which set of widgets on the product page has the bigger impact on average order value — popular products in the category plus cross-sell items, or popular products plus personal recommendations. **How to set it up:** 1. In the first variant, specify the forms from the first set. 2. In the second variant, specify the forms from the second set. 3. Click **Add control group**. Visitors in the control group will not see the product-page widgets specified in the other variants, but they will still see every other mechanic running on the site. ### How to show a campaign to every site visitor — even those in the control group Every form has a setting that lets you exclude it from the global website A/B test. This is useful when you have forms that need to reach every visitor regardless of group — for example, a popup announcing that the site is under maintenance. > [!NOTE] > > A/B tests are not connected to the global control group (GCG). Members of the GCG are distributed evenly across all variants of the A/B test. ### Recommendations > [!WARNING] > > Avoid running more than one test with a control group on the same site at the same time. The number of visitors who don't see any mechanics becomes hard to predict, control groups can overlap, and the fewer participants see forms on the site, the longer it takes for test results to come in. ## A/B test report Data for every variant appears in the report as early as the day after launch. Inside the report you'll find graphs for each test metric, plus configuration details — segment, participant count, hypothesis, and additional settings. You can also pick a date range and break the data down by day, week, or month. **Reading the results:** * If the test shows that variants are not statistically different, the metric will be labeled as having no winner. * If there isn't enough data to call a winner yet, the metric will be labeled as still collecting data. **Results table:** Below the graphs is a table with conversion rates and average order values, along with the difference in percent and in dollars compared to Variant 0. # Action Templates for Campaigns Source: https://help.maestra.io/campaigns/common-settings/action-templates-for-campaigns Once you create a message, **action templates (AT)** that are linked to this message will be generated automatically in the project. ## When are action templates generated? **Bulk campaign**: ATs are generated when a message is sent. **Tailor-made flows**: ATs are generated once you finish editing and the status changes to **Automated campaign is ready**. ## What ATs are generated and when are they assigned to customers? Let’s look at a **Double Opt-In** email as an example. While it is being created, the ATs are generated automatically. You can find these listed in the screenshot below. ATs are assigned to a customer once the customer’s status for the email changes: ![00\_actionMessageTemplates](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_actionMessageTemplates.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=96d8026b6d370f885fecbd1e2e489a4b) "**Message template**" — an email was composed. This does not mean it was sent. "**Message template Sent**" — the email was sent to the mail server. "**Message template Open**" — the email was opened. "**Message template Click**" — a customer clicked on the link in the email. "**Message template Unsubscribe request**" — a customer clicked on the Unsubscribe link in the email. "**Message template Delivery failure**"— the email was sent but not delivered. Click on the **Action line** to find out why: ![01\_actionMessageTemplates](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_actionMessageTemplates.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=3f570dd2fdcd9cd76296c46b68091ed4) "**Message template Not sent**" — the email was not sent: ![02\_actionMessageTemplates](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_actionMessageTemplates.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=d28df96a5eb9c34296c1cdab1588e061) ## How are ATs recorded in a customer’s profile? A customer is assigned a relevant AT automatically every time the status changes for a message to the customer. All the assigned actions are recorded in the customer’s profile along with the timestamp and touchpoint of the action. For example, the customer has clicked a URL in a message. If we look at their history of actions, we’ll see emails that were sent, as well as opens and clicks: ![03\_actionMessageTemplates](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_actionMessageTemplates.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=203db34efd68a700499fd73dd06b8999) Each action is clickable and allows you to view additional details: ![04\_actionMessageTemplates](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_actionMessageTemplates.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=3be6b854c894902c1fa704c81ee924db) As you can see, you have a few links here: * **Message**: this will take you to the page where you can edit the email template. * **View**: click on this URL to view the personalized email that was sent to this specific customer. * **Forward**: for email campaigns only. A customer will receive AT after sending. * **Same actions**: all the events when this action template was assigned to any customer. If you click this link, you’ll be taken to the **Actions** page with this action applied in the filter. ## How to use message Action Templates: 1. Use the filter to select the customers that the message was sent to: ![05\_actionMessageTemplates](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/05_actionMessageTemplates.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=adafae0a02e34a6bec5dafda3f9a6119) 2. Select the customers that the message was delivered to. There is no "Delivered" status available here. To find customers who the message was delivered to, add the following two conditions: that the message was sent + that the status is not "not delivered": ![06\_actionMessageTemplates](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_actionMessageTemplates.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=12ff1506574c763112d3c3be28c3e5cb) 3. Filter the customers who have opened the message: ![07\_actionMessageTemplates](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_actionMessageTemplates.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=dff05c3b6f0236d0ae3c4563a9a475f6) 4. Filter the customers who have **not** opened the message that was sent to them: ![08\_actionMessageTemplates](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_actionMessageTemplates.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=18135319526f7c84419cd22fbdce6d55) 5. Filter the customers who have clicked the URL in the message: ![09\_actionMessageTemplates](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_actionMessageTemplates.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=ef06d4fa0cfd894bbeb7dda46c96e40f) 6. Filter the customers who opened the message but did **not** click the URL: ![10\_actionMessageTemplates](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_actionMessageTemplates.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=2e867e1b33f191ace01f4edfd5e95414) 7. Filter the customers who have clicked on the unsubscribe link in the message: ![11\_actionMessageTemplates](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_actionMessageTemplates.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=d5dd70179dac0d492fcd96bd26a1748b) # How Does the Test Mode Work in Automated Campaigns? Source: https://help.maestra.io/campaigns/common-settings/how-does-the-test-mode-work-in-automated-campaigns You cannot send test messages in tailor-made automated campaigns that use complex event parameters such as an order, session, etc. In these cases, you can view what the final message will look like only if there have been events that have collected data for these parameters. To test this message, you can switch it to test mode and place it into an automation / flow to view what your messages look like to real customers after being triggered by real events. Please note that in this case, messages will only get generated but will not actually be sent to customers. ## How to launch an automated campaign using test mode 1. Enable test mode. Please note that the message status must be **Automated campaign is ready**. 2. Click **Enable test mode**: ![00\_test\_mode](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_test_mode.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=0c452c113b5d82b51668e81ab737a5e2) Launch: ![01\_test\_mode](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_test_mode.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=8da1d00014d6a283f6495a08a455d067) The status will change to **Test mode** and you should now see a URL to view the emails generated: ![02\_test\_mode](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_test_mode.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=6c6e1947977c2aa6211208dd0e7037ea) 2. Open a flow with the event that you need and select your campaign: ![03\_test\_mode](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_test_mode.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=25f6b325e48520a3cd142eee0cc4fde5) 3. Launch it: ![04\_test\_mode](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_test_mode.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=32ea746c683f35815973c5d5f4c7b8e8) 4. The flow will run using real customers and will form messages with a **Sending paused** status assigned: ![05\_test\_mode](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_test_mode.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=1e06be7ecb7d232c8846eb60ccfedc2e) ### You’ll be able to see the following data in the list of messages: **Recipient**: URL to the customer’s profile. **Contact**: the customer’s contact that was used to send the message. **Added**: date and time when the message was created. **Sending scheduled**: this is the actual time when the message will be sent. This option is useful if sending hours have been limited in settings. It is updated at every attempt to send the message. **Sent**: messages that were sent upon completing the testing. **Message**: URL to the composed message. **Status**: current status of the message. The message list also includes test messages sent from the email UI by clicking the Send test message button. ### What you can do in the list of messages ### Cancel sending You can cancel the sending of all messages or selected messages that you have filtered to make sure they are not sent to customers after the test mode has been disabled. You can filter the relevant messages in one of the two following ways: ![06\_test\_mode](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_test_mode.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=8419e853083bb3503924e89d9ac23857) Click **Selected** → **Cancel**: ![10\_test\_mode](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_test_mode.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=8efa7884256d450f1ca3b1f166cfed89) Confirm the cancelation. The messages’ status will change to **Sending canceled**. ### Forward your messages Filter and select messages in one of the two ways: ![08\_test\_mode](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_test_mode.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=b09cc17df7d453f68ce3514118bac137) Click **Selected** → **Forward**: ![09\_test\_mode](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_test_mode.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=49e29b77a4891b5a65730aee596143b9) You can apply it to messages that have not been canceled. You can forward up to 5 messages at a time. Forwarded messages will also appear in the list of messages. ## How to stop testing and what will happen next > [!WARNING] > > If you end the test mode, this will not affect how your flow operates. > > Once you end the test mode, real messages will be generated and sent every time you launch the flow. > > To avoid this, pause the flow *before* ending test mode. ### Next steps: 1. Click Disable test mode: ![11\_test\_mode](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_test_mode.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=4190caa28307375b7cd70a7367d17f13) 2. Confirm. You also have an option to send messages that were generated in test mode. This allows you to decide what to do with the messages generated during the last test phase: ![12\_test\_mode](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_test_mode.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=1bf2d3f28acf022663e3f2a9a71ffa0a) This is disabled by default. So no messages will be sent: their status will simply change to **Sending canceled**. If you check this option, the system will send queued messages that were not canceled to customers and will change these messages’ statuses to **Sent** or **Not sent** (if a message contains an error). ## Important things to note when using test mode > [!NOTE] > > 1. Actions. If the message status is Sending paused or Sending canceled, actions will not be assigned to customers. It means that these actions will not be displayed in the customer’s profile or in the overall list of actions. > 2. If you enable generated messages to be sent after test mode has ended, actions will be assigned to messages as usual. > 3. Message relevance. Tick this option to check that the composed messages are sent within the period in which they are relevant and not sent when they are no longer relevant. The countdown starts from the time the message is added to the list. > 4. The period of relevance is validated when the message is generated, not when it is sent. > 5. If a flow has been launched, it can seem as though it has worked on real customers. However, if the campaign within the flow is in test mode, it will not be sent. > 6. If you send an email in a flow using the **Send email to user** option, you will not be able to view the generated emails. This is because you cannot save any messages for Maestra users in the system. We recommend testing these emails using the standard **Send email** option in the flow. # How to Use Manual Import in Emails Source: https://help.maestra.io/campaigns/common-settings/how-to-use-manual-import-in-emails There are a number of cases in which you may want to use a manual import. For example: * If you need to send an email where messages lack certain values/parameters that are not yet available in the system: e.g., a promo code (one-time code) or another custom parameter. * If you need to send an email to addresses that are listed in a specific file. > [!NOTE] > > **Please note that** > ​ > — if a customer’s email is not in the database, this customer will be imported with a "**subscribed**" status; > > — if a customer’s subscription data is missing, the customer will be "**subscribed**"; > > — if the email campaign in question belongs to specific topic, the customer will be subscribed to this topic only (instead of the email channel as a whole); > > — if a customer has unsubscribed, they will not receive the email(s); > > — if the file contains 2 or more duplicate emails, the message will be sent two or more times; > > — if the user that creates this email does not have permission to import new customers, the messages will only be sent to customers that are already in the database. New customers listed in the file will not be imported and the messages will not be sent to them. > — please note that the new customers will not be imported even if you have extended permissions when you copy the email created by a user without the permission to add new customers. To import them, you will have to create the email from scratch. ## Steps ### 1. Follow this guide to create an email. ### 2. Insert your parameter into the email layout. > [!NOTE] > > This step allows you to input a parameter that is not yet available in the system into the email: e. g., a one-time promo code. 2.1. Give your parameter a name. The name must be unique within the system. For example, you can use the name of the email: DiscountsWithPromo01102022. 2.2. Put the name in the email as a parameter: \$\{CustomParameters.**DiscountsWithPromo01102022**} **DiscountsWithPromo01102022** is the parameter name from Step 2.1. The preceding part — CustomParameters. — must always remain unchanged in your parameter. This is what it will look like in your layout: ``` `Your promo code: ${CustomParameters.DiscountsWithPromo01102022}` ``` And this what it will look like in your template: ![custom\_parameters\_00](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/custom_parameters_00.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=5ce0fed04a8992ed246c58b4042f68cb) After adding the parameter, your email will look like this: ![custom\_parameters\_01](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/custom_parameters_01.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=43fed4af5a6bbf21017fc40993949447) Please ignore the error message in red: it will disappear as soon as you select your recipients. ### 3. Select the recipients. Click **Recipients** → **Manual import**: ![custom\_parameters\_02](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/custom_parameters_02.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=ebc533ee362025cb8c657a6168c32638) Select the data source type depending on what your file contains. In our case, these are email addresses. 3.1. Download the file with the mailing template: ![custom\_parameters\_03](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/custom_parameters_03.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=a23838bf4b9b582b7021d85e7b33dd4e) 3.2. Add your values into the template: ![custom\_parameters\_04](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/custom_parameters_04.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=99819331d275bb14c9d7ff1564186228) The **CustomerIdentity** column should contain the list of emails you’ll be sending to. Please make sure that there are no duplicates in the file. Otherwise, your message will be sent multiple times to the same customer. The **DiscountsWithPromo01102022** column contains parameter values. Please make sure that the column name is the name of the parameter that you entered into your email. ### 3.3. Upload the file: ![custom\_parameters\_05](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/custom_parameters_05.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=b8863f98093e132c920ecd89cc61a98f) You can see here that the error message has disappeared and the number of recipients for the email is now displayed. ## How to test your message 1. Create a file with a list of test emails. 2. Assign test values of your unique parameter to the test emails. 3. Upload the file into your email. 4. Send a real email based on the test file. 5. Check to see that everything works correctly. 6. Duplicate your email. 7. Upload the list of real recipients. 8. Send the duplicated email to your recipients. # How to Set Up Branded Click Tracking Source: https://help.maestra.io/campaigns/email-campaigns/email-authentication-methods/how-to-set-up-branded-click-tracking **Click tracking** is how Maestra Platform knows who clicked what in your emails. Branded click tracking moves those tracking links onto a subdomain you own. **How it works:** 1. Before an email goes out, Maestra Platform rewrites every link in it as a tracking URL. 2. When someone clicks, their browser hits the tracking link first, and the click lands in their customer profile. 3. Then they're redirected to the page the original link pointed to. By default, those links sit on one domain shared by every project on the platform. Whatever other senders do on that domain shapes its reputation — and when the reputation drops, mailbox providers lower deliverability for everyone using it. ## Why set up your own domain * Better deliverability: mailbox providers check the reputation of the domains in your links and factor it into whether your emails get delivered. * You can set up a separate domain for each brand if your project has more than one. ## What you'll need * A free subdomain that isn't already used for your website, return path, link shortener, or any other service — for example, `click.yourbrand.com`. * Access to the DNS panel at your registrar or hosting provider. ## Step 1. Add the domain in Maestra Platform **1. Open Branded click tracking** Go to **Settings** → **Communication** → **Branded click tracking**.\\ ![Open Branded click tracking](https://mintcdn.com/maestraio/lxGSgFTln_UBUz0z/images/click-tracking/open-branded-click-tracking.png?fit=max\&auto=format\&n=lxGSgFTln_UBUz0z\&q=85\&s=e6bbbf1f16dd19885d50658e23dca41d) **2. Pick the brand and click Set up** Choose the brand you're configuring the domain for, then click **Set up**.\\ ![Pick the brand and click Set up](https://mintcdn.com/maestraio/lxGSgFTln_UBUz0z/images/click-tracking/set-up-brand.png?fit=max\&auto=format\&n=lxGSgFTln_UBUz0z\&q=85\&s=a77822d81308755a44f6b7a835162691) **3. Enter the subdomain and click Save** Fill in **Subdomain name** — for example, `click.yourbrand.com` — then click **Save**.\\ ![Enter the subdomain and click Save](https://mintcdn.com/maestraio/lxGSgFTln_UBUz0z/images/click-tracking/click-save.png?fit=max\&auto=format\&n=lxGSgFTln_UBUz0z\&q=85\&s=064fcd16a9ea4c3256e9f4b1cb95a45b) **4. Review the CNAME records** Maestra Platform lists the CNAME records to add. Click **Open instructions** — the setup instructions open in a new tab. If someone else handles DNS, copy the URL from that tab and send it to them. Then click **Close** and move on to the DNS setup.\\ ![Review the CNAME records](https://mintcdn.com/maestraio/lxGSgFTln_UBUz0z/images/click-tracking/cname-records.png?fit=max\&auto=format\&n=lxGSgFTln_UBUz0z\&q=85\&s=163667a5aed35bfe78926f9fd91f2952) > [!TIP] > > The instructions open without signing in to Maestra Platform, so your DNS specialist can view them even without an account. ## Step 2. Add the DNS records 1. Copy the CNAME records marked **Click tracking** that Maestra Platform showed you. 2. Add them in the DNS control panel for your domain. 3. Wait for Maestra Platform to check the records and update the domain status. > [!TIP] > > DNS records don't take effect right away — usually anywhere from a few minutes to a few hours, and in rare cases up to 48 hours. Maestra Platform emails you once the domain goes live, so you don't have to sit on the page waiting. ## Step 3. Check the domain status The domain status shows up on the **Branded click tracking** page. | Status | What it means | What to do | | - | - | - | | Not configured | Maestra Platform hasn't detected the DNS records yet | Check that the records are added in your DNS panel. They can take several hours to take effect | | Configuring | The DNS records are in place and Maestra Platform is setting the domain up on its side | Wait for setup to finish | | Confirmed | The domain is ready. Maestra Platform uses it to track clicks in email campaigns | Nothing to do | | Absent | The DNS records are incorrect or have been removed | Check that every DNS record is added without typos and matches what Maestra Platform showed you | As soon as the status flips to **Confirmed**, Maestra Platform starts building the links in your emails on your domain. ## When DNS records stop working If the DNS records for your click tracking domain get deleted or are entered incorrectly: * The domain status changes to **Absent**. * Links in new emails are built on the shared Maestra Platform domain. * An issue is generated in your project automatically. To get the domain working again, check the DNS records and re-enter them as described in step 2. ## Deleting a domain > [!WARNING] > > Once you delete the domain, links in your emails will be built on the shared Maestra Platform domain. Don't forget to delete the DNS records at your DNS provider. **1. Open Branded click tracking** Go to **Settings** → **Communication** → **Branded click tracking**.\\ ![Open Branded click tracking](https://mintcdn.com/maestraio/lxGSgFTln_UBUz0z/images/click-tracking/open-branded-click-tracking.png?fit=max\&auto=format\&n=lxGSgFTln_UBUz0z\&q=85\&s=e6bbbf1f16dd19885d50658e23dca41d) **2. Delete the domain** Pick the brand, then click the bin icon next to **Open**.\\ ![Delete the domain](https://mintcdn.com/maestraio/lxGSgFTln_UBUz0z/images/click-tracking/delete-domain.png?fit=max\&auto=format\&n=lxGSgFTln_UBUz0z\&q=85\&s=6741a120f63165f61b05ba4e7c88c827) **3. Confirm the deletion** Maestra Platform asks you to confirm before the domain is removed. # Setting up DKIM and DMARC Source: https://help.maestra.io/campaigns/email-campaigns/email-authentication-methods/setting-up-dkim-and-dmarc As major authentication mechanisms DomainKeys Identified Mail (DKIM), and Domain-based Message Authentication, Reporting, and Conformance (DMARC) are designed to protect mail servers from domain name abuse. DKIM authenticates the originating domain and the emails sent from this domain, otherwise the sender’s emails will be rejected or identified as spam. DMARC is an authentication protocol that protects and authenticates emails. # DNS All signatures are set up using client DNS records, the dashboard for which is available from your hosting provider. Once the records are published on the domain’s DNS, it may take up to 24 hours for external servers to see the filters both on Maestra’s side and through [mxtoolbox](https://mxtoolbox.com/). **Example of DNS records**: ![00\_spf\_dkim.png](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_spf_dkim-281-29.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=847c9b19ea7f180a00082147c8ff7225) If you occasionally see an error message informing you that no DKIM record has been found, please contact your hosting provider’s support team. This might mean that external servers sometimes cannot see your domain records. # DKIM As an email forgery detection method, DKIM (DomainKeys Identified Mail) confirms that the email sender’s server is authorized to send messages from a given domain name. DKIM improves sender reputation and delivery rate by applying private and public keys to check emails. ## Setting up DKIM A public & private keys pair is generated individually for every email sender’s server. A public key is added to the DKIM record published on the sender’s domain DNS, while a private key signs outbound messages. In Maestra, you can generate the key pairs in **Admitinstrative Settings**→ **Communication** → **Email settings**. Once you add and save a sender, the "**Generate DKIM**" button will appear. You can find instructions on how to generate DKIM from the system in this guide. ![05\_spf\_dkim.png](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_spf_dkim-281-29.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=59ebad8f4656d5d7ee03ee2acc37e1a9) Once you click this button, a string is generated and displayed for the domain. Add it to the DNS record. ![06\_spf\_dkim.png](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_spf_dkim-281-29.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=2643e3ae6093504fc7844278f23dcd7c) Add the second record `_domainkey o=~;` to indicate that this domain can send messages without a DKIM signature. | Name | Type | Value | | - | - | - | | \_domainkey | TXT | o=\~; | | maestra.\_domainkey | TXT | a text from a column Value (k=rsa; p=MIGfMA0...) | ## Checking the DKIM record Look up the DKIM record in [mxtoolbox](https://mxtoolbox.com/dkim.aspx). Make sure that the key displayed in mxtoolbox matches the exact string in Maestra’s email settings. Otherwise, the DKIM record setup will be invalid. If this issue occurs in Maestra’s settings, compare the strings manually. ![08\_spf\_dkim](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_spf_dkim.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=e2ff5833abecb5800aba285bc25efc76) Make sure that the key contains the relevant selector. In our case, this is Maestra. ![9.png](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/9.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=5a312b3f96d3d028fff84e5169cdcd31) If the key does not contain this selector, check the `maestra._domainkey` record because a missing selector means that there is no DKIM record set up or the record name contains an error. You can also send an email to the gmail server and click "Show original" to check DKIM setup. ![10\_spf\_dkim.png](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_spf_dkim-281-29.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=2ba754e2f8c1bd15b4d1531f77ee613b) If you can find dkim=pass in the original email, your DKIM setup is correct. ![11\_spf\_dkim](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_spf_dkim.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=75e30f6e7b31e46ca4786a241c68053a) # DMARC A DMARC digital signature allows you to set specific steps that will be applied to emails that failed DKIM checks at the time of sending. Having found that emails mismatch the DKIM records, i.e., the sender’s IP address and server are blocklisted, the mail receiver server checks the DMARC record to determine what to do with the email: reject, mark as spam, or do nothing. ## Setting up DMARC A basic DMARC record will be structured as follows: Record name: \_dmarc.company.com Value (TXT): v=DMARC1; p=none There must only be one DMARC record for each domain and its subdomains. **v=** is a record version; **p=** is the policy used to handle emails that failed DKIM records checks. 1. **p=none** means that the recipient’s mail server should receive the message and apply its local message classification as usual, whatever the results of the DKIM checks. 2. **p=quarantine** means that the mail server must place the email that fails the DKIM checks in the spam folder. 3. **p=reject** means that the mail receiver must totally reject the email that fails the DKIM checks. Use the **rua=** tag to specify an email address where you’d like to receive reports on all emails with their DMARC check results. Use the **ruf=** tag to specify an email address where you’d like to receive reports on each specific email that failed DKIM checks and had DMARC policies applied. You can read more about DMARC reports more in [Google’s Workspace Admin Help guide](https://support.google.com/a/answer/10032472?hl=en). Use the **pct=** tag to specify a percentage of messages to which to apply a certain DMARC policy (enter a number from 1-100). # Recommendations The **p=quarantine** or **p=reject** policies can be set up as you prefer. If you decide to make your DMARC policy more strict, proceed gradually: 1. First, configure the **p=none** policy and DMARC reporting in the **rua** and **ruf** tags to ensure that you monitor how many messages fail DMARC checks and to resolve the issues. 2. Once most issues are solved, you can introduce stricter policies using the **pct** tag, but make sure to monitor reported issues. Reports will show results for all messages sent across the entire domain rather than from Maestra only. > [!NOTE] > > **Important notes** > > 1. Once you select the `p=quarantine` policy, the email receiver will mark certain emails as spam, which will affect delivery and open rates. > > 2. Once you select the `p=reject` policy, the email receiver will reject certain emails, which will affect the delivery rate. > ​ > > In both cases, you should first address any digital signatures issues. # Checking the DMARC record To check the DMARC record, go to [mxtoolbox](https://mxtoolbox.com/dmarc.aspx) and enter your domain name. If the DMARC record is set up, you see a detailed table: ![12\_spf\_dkim.png](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_spf_dkim-281-29.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=c16c811f07ff2ef7c894fb7a6bcae94e) To check DMARC, send a message to gmail.com and click "**Show original**". ![13\_spf\_dkim.png](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_spf_dkim-281-29.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=e12c50564a8d049fd442ae8d6d6c3443) You can find the DMARC authentication result in the headers: ![14\_spf\_dkim](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_spf_dkim.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=b8ec95b1710990680107966957f986eb) # Active subscribers Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/active-subscribers To filter out active customers, let’s add segmentation criteria one by one. 1. Select customers who have been in your database for 45 days or less. This ensures we include new customers who have been added recently and may not have carried out any target actions. In addition, we can presume that a customer is "active" if they have taken certain actions to subscribe: ![00\_active\_subscribers](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_active_subscribers.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=b4ed2a162d9a1208383311f4e758e4fa) This period may vary depending on your subscription process and welcome series. Sometimes welcome series subscribers are temporarily removed from other mailing lists while they receive welcome emails. 2. Click "Add AND condition" and then switch to "Or" (as demonstrated on the screenshot below): ![01\_active\_subscribers](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_active_subscribers.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=0daab3c725da83b2897e41c94a886ca9) 3. Now add customers who have opened or clicked your campaigns within the last 90 days. This filter helps select customers who have engaged with your emails over the last 3 months. You can extend this period over 90 days if your email frequency is once a week or less, but we recommend keeping it at 90 days for daily emails: ![02\_active\_subscribers](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_active_subscribers.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=2e81fc8f6fab27bc51dd4162d25e1ed8) 4. Click the "Or" button to the left of the filter, then open the drop-down menu (three dots on the left), and select "Add to group": ![03\_active\_subscribers](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_active_subscribers.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=0cb42d1e62a85d4bb912692b2301db95) 5. Email subscription. This filter helps us select the customers who are still on your email list — they can be selected as subscribed for manual or automated email campaigns: ![04\_active\_subscribers](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_active_subscribers.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=325d151204e6ff2458f8dd0e99210abc) 6. Email address is valid. This filter helps us select the customers who can receive our emails: ![05\_active\_subscribers](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/05_active_subscribers.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=e33bc2bcd75426d11dabe1756869cfeb) 7. Click Apply to save the conditions you selected. The system will display the filtered customers and their total number: ![06\_active\_subscribers](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_active_subscribers.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=ceb343d4d9679c1265773433e79b92fa) As a result, this segment will contain customers who: * Have been in your database for 45 days or less OR have engaged with campaigns within the last 90 days by opening or clicking emails. * Have a valid email and are subscribed. # Email Health Report Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/email-health-report The Email Health report allows you to quickly view and assess the **key metrics** that affect your email deliverability rate, including: * Open rate (OR). * Click rate (CR). * Unsubscribe rate. * Bounce rate. * Spam rate. ![00\_email\_health\_report](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_email_health_report.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=c9ffc34fecd31f35405595a40780ccb9) Email services such as Gmail or Yahoo look at these metrics upon receiving an email to determine which of the customer’s inbox folders to place it in. Deliverability metrics show your subscribers’ engagement and eagerness to receive your emails, as well as your email list quality and your compliance with email service recommendations for email ad campaigns. **The report displays the following for each metric:** * The metric percentage based on data collected over the last 30 days. * The median value for all Maestra clients. * How the metric has changed over the last 7 days. * A "How to improve" button for each metric, which can suggest actionable steps to improve scores if they drop. The report rates your email health as "Poor," "Good," or "Excellent" based on your KPIs. Assessing the health of your emails has an impact on the set of IP addresses used to send your emails. This assessment is carried out to prevent customers who are in different segments based on activity and quality from impacting one another. Read more about IP groups in [this article](/campaigns/email-campaigns/email-deliverability/what-ips-does-maestra-use-to-send-emails). # Your email health score Your email health score is calculated based on the KPIs as follows: * "Excellent" if all the rates are excellent, and "Good" if they are good. * "Poor" if at least one rate is rated as poor. **These are the Email Health report thresholds that we recommend you to use as a benchmark:** | | OR | CR | Hard bounce rate | Unsubscribe rate | Spam rate | | - | - | - | - | - | - | | Excellent | 15% and more | 2.5% and more | 1% and less | 0.5% and less | 0.05% and less | | Good | 10% and more | 0.8% and more | 2% and less | 1% and less | 0.2% and less | | Poor | 10% and less | 0.8% and less | 2% and more | 1% and more | 0.2% and more | # Key metrics for email campaigns Let’s take a closer look at the key metrics. | **Metric** | **Recommendations** | | - | - | | **Open rate** This is the ratio of unique opens to messages delivered. A high open rate means that your customers are engaging with your emails, which has a positive impact on deliverability rate. | [How to increase your open rate](/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-low-email-open-rate) | | **Click rate** This is the ratio of unique clicks to messages delivered. A high click rate also means that your customers are engaging with your emails. However, mailing services don’t consider click rate percentage as important as the open rate percentage. | [How to increase your click rate](/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-low-email-click-through-rate) | | **Unsubscribe rate** This is the ratio of people who unsubscribed to the total number of messages delivered. If your unsubscribe rate percentage is high, this shows mailing services that customers are receiving irrelevant content or that they didn’t give their permission to get your emails. As a result, your deliverability rate suffers. | [How to reduce your unsubscribe rate](/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-high-email-unsubscribe-rate) | | **Bounce rate** This is the ratio of undelivered messages (due to the addresses being invalid) to the total number of messages sent. This metric helps you assess the quality of your email list. A high hard bounce rate indirectly shows that either your email list is outdated, your subscribers didn’t opt-in to receive your emails, or they didn’t confirm their subscription. | [How to reduce your bounce rate](/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-high-bounce-rate) | | **Spam rate**This is the ratio of messages reported as spam to the total number of messages delivered. Mailing services view spam reports as a customer action that negatively impacts deliverability. | [How to reduce your spam rate](/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-high-email-spam-complaint-rate) | # How to improve your deliverability rate Each metric in the Email Health report has a "How to improve" button, that leads you to a Recommendations section where you can access the following: * More detailed metrics for bulk and automatic email campaigns that pinpoint areas for improvement. * Best practices for improving metric performance. * Links to articles on segmenting your email list and improving deliverability. # Email List Hygiene Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/email-list-hygiene To keep your email deliverability rate high, it’s important to remove inactive subscribers from your email list on a regular basis. Email services use customer activity data to select a destination folder for your emails, such as "Spam" or "Inbox". If your subscribers don’t interact with your emails — e.g., they don’t open them or click on the links, frequently unsubscribe, or report spam — email services may decide to send your emails to the "Spam" folder. If you keep sending emails to inactive subscribers, this can also result in the following: 1. Decreased deliverability to customers who are interested in your campaigns. 2. Your emails ending up in the "Spam" folder because of a damaged domain reputation. 3. A lower domain reputation, [blacklisted IP addresses](/campaigns/email-campaigns/email-deliverability/what-ips-does-maestra-use-to-send-emails), and lower deliverability rate if the email falls into a spam trap. ## How to migrate an email list from a third-party mailing service If you are importing an email list taken from another mailing service, be sure to delete any inactive or invalid email addresses, using whatever data is available to detect them. For example, you can remove addresses with zero opens or clicks over the last 6 months, or to upload them as unsubscribed. You can also use undelivered email data as well as invalid address data to avoid uploading such addresses and including them in your future email lists. You will want to clean your email list **before** you send your first email campaign using Maestra, otherwise you risk damaging your domain reputation, lowering your deliverability rate, and getting your [IPs blocked](/campaigns/email-campaigns/email-deliverability/what-ips-does-maestra-use-to-send-emails). You will need to warm up your domain before sending your first email campaign, whether or not you have the subscriber activity data and address validity data. You can read more about importing contacts in [this article](/customers-orders-and-products/customers/how-to-bulk-import-customers-from-a-file). ## How to update an existing list 1. Segment your list by subscriber activity, based on the open and click data. Refer to this article to learn how to create segments. 2. Set up reactivation campaigns. You can reactivate your subscribers manually with a one-time bulk email or with an automatic email chain that includes subscribers after they meet your conditions. 3. Identify and remove those who have never opened or clicked on your emails. For example, you can set up a flow for a farewell email. 4. Set up automated address removal for customers who have had no activity such as clicks, email opens, website visits, or orders for an extended time period. Refer to this article for more info on how to segment customers based on their activity. # How to Segment Your Subscribers Based on Activity Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/how-to-segment-your-subscribers-based-on-activity Most mailing services use customer activity data to determine whether your email goes to the "Inbox" or "Spam" folder. If your subscribers don’t interact with your emails — i.e., they don’t open them or don’t click on the links, frequently unsubscribe or report your campaigns as spam — email services may sort your campaigns into the "Spam" folder. > [!TIP] > > You can segment your email list by different criteria — below, we have outlined a general approach based on your customers’ clicks and email opens. You can use our example as a starting point when increasing your deliverability rate, and later fine-tune it so that it meets your specific business needs. All the below filters take into account situations where there is more than one brand or communication channel available on your dashboard — mobile push notifications, for example. You may choose not to select brand or communication type as a segmentation criterion if your dashboard doesn’t require it. ### Active subscribers Send the majority of your email campaigns to your active subscribers, those who have opened your emails or clicked on your links within the last 90 days. Keep in mind that customers that were added to your database within the last 45 days should be sent campaigns regardless of their activity. For a step-by-step guide on creating a segment with active subscribers, please refer to this article. ### Recently inactive subscribers The second step is to segment customers who subscribed a long time ago and used to open your emails and click on your links, but have been dormant for the last 90 days. We recommend excluding these customers from bulk campaigns and only sending them automated messages once they show activity on your website or mobile app. One option is sending them a reactivation email before they unsubscribe — this can either contain an NPS survey, a discount offer, or a digest of recommendations. A step-by-step guide on how to build this type of segment is detailed in this article. ### Inactive subscribers Now let’s segment subscribers who have been receiving your emails over the past 6 months but haven’t opened or clicked any campaigns. Typically, trying to reactivate these subscribers with emails has little effect. The following steps can help you ensure that you aren’t lowering your deliverability rate by sending emails to inactive subscribers: * Try reactivating your subscriber using another communication channel—mobile or web push notifications, pop-ups, etc. * Set up a communication flow that includes one or a series of farewell emails for customers who have not opened and clicked campaigns over the last 180 days. Automatically unsubscrive customers who do not engage with emails in this flow— this will help you maintain your email list hygiene and deliverability. Refer to this article for step-by-step guide setting up a segment with inactive subscribers. ### Subscribers who have never opened your emails or clicked links Unsubscribe all customers who have never engaged with any of your emails — keeping them on your email list is a huge reputation risk for you as a sender. The chance of getting an email open or a click is extremely low and it’s likely that some emails on this list may be spam traps. > [!NOTE] > > If you have access to at least one year’s worth of data on your customers’ orders and actions, you can automatically create [RFM segments](/segments/how-does-rfm-segmentation-work) and add email activity/engagement to the segmentation criteria — this will create more advanced segments. # Inactive Subscribers Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/inactive-subscribers # Subscribers who have recently become inactive Follow these steps to create a segment with subscribers who have recently become inactive: ![00\_inactive\_subscribers](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_inactive_subscribers.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=46f8becf165862aeffffa28d9dfee0f2) * Select customers who have been in your database for over 45 days. This helps us filter out customers who have been on the list for more than 45 days and exclude new subscribers. * Select customers who received emails within the last 90 days, but didn’t click on any of them. * Next, add a filter condition for subscribers who opened or clicked your emails prior to the 90-day period specified in the previous step. This will help us find customers who used to be active but have since stopped engaging with emails. * Email subscription. This filter helps us select customers who are subscribed to your mailing list — they can be subscribed to manual or automated campaigns. * Email address is valid. This filter helps us select the customers who can receive our emails. As this is a complex segment with multiple filter conditions, we recommend saving it as a segment with scheduled updates. # Inactive subscribers To identify customers who haven’t opened or clicked on any emails for more than 6 months, use the following criteria: ![01\_inactive\_subscribers](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_inactive_subscribers.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=114f69666705c9ca626daf6705db6c54) * The customer has been on the list for more than 45 days (see the example in the screenshot below). This condition eliminates recent subscribers. * Received emails over the last 90 days but haven’t opened or clicked any in over 180 days (6 months or more). These conditions help you identify customers who stopped interacting with your emails a long time ago but are still receiving them. * Email subscription. This filter helps us identify customers who are still on your email list and are subscribed to manual or automated campaigns. * Email address is valid. This condition helps filter customers who can receive emails. # Subscribers who have never opened or clicked campaigns To identify customers who subscribed to your emails over a year ago, but ignored them since, you can select the following conditions: ![02\_inactive\_subscribers](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_inactive_subscribers.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=3894069c359e626e0512058baa0ac8bc) * Customers who subscribed to the mailing list more than 365 days ago. This condition helps you identify and clean up customers who have been subscribed to your mailing list for a long time. * Customers who have received more than 10 emails in total. This filter helps us ensure the customers we select have received enough emails that they could have engaged with. * The number of emails sent here depends on the frequency of sending — i.e., edit this number based on whether you send campaigns daily or weekly. * The goal with this step is to identify the majority of customers who don’t interact with your emails and avoid inadvertently deleting active ones. You can build various segments based on the number of emails sent and choose a value that significantly reduces the number of customers in the segment as it increases. * No opens or clicks across all time — this condition selects inactive customers, who never engage with emails. * Email subscription. This filter helps you select customers who are still on your email list and are subscribed to manual or automated email campaigns. * Email address is valid. This filter helps select customers who can receive your emails. We recommend saving this as a segment with scheduled updates. Unsubscribe the customers who fall into this segment and automatically unsubscribe any customers who meet this segment’s criteria in the future. # What IPs Does Maestra Use to Send Emails? Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/what-ips-does-maestra-use-to-send-emails An IP-address is a way of identifying devices and organizing their communication within the Internet. When connected to the Internet, each device is assigned its own IP — this is similar to a postal address, which helps ensure that letters and packages reach the right person. When you send an email, your email service provider uses the IP to deliver it from your device to your recipient’s server. In other words, the IP helps route your data and ensures they get to the exact device you send them to. One of three IP pools is used to send emails, based on your [email health](/campaigns/email-campaigns/email-deliverability/email-health-report) score. This is done to avoid mutual deliverability impact in clients who maintain different levels of email list hygiene and adhere to different standards of subscriber activity. > [!NOTE] > > Your IP pool is automatically assigned to you once a day after calculating your [email health](/campaigns/email-campaigns/email-deliverability/email-health-report) score. Maestra runs a daily automatic deliverability test for all the pools by sending a few emails to test addresses of the most popular mailing services, such as Gmail, Outlook, iCloud, Yahoo, and AOL. If deliverability drops, our email team tries to improve it within 24 hours by doing the following: * Automatically disconnect blacklisted (e.g. by Spamhaus and Proofpoint) IPs while continuing to send emails from others. As for the blacklisted IPs, we make requests to remove them from the blacklists. * Ensure that the infrastructure is properly configured and that the required protocols are followed. * Brainstorm alternative hypotheses and implement them to fix problems. Emails are sent with shared IPs provided by Maestra. ## Benefits of sending emails using shared IPs * **Infrastructure is always ready to send a large number of emails** as shared IPs provide a high and steady sending rate, thus eliminating the need to prepare the infrastructure specifically for holidays and Black Friday. ​ * **One-time errors that occur when sending emails won’t affect your deliverability rate.** If you send an email to an inactive subscriber by accident or mistake, your IP is less likely to get blacklisted, and your domain reputation is less likely to start continuously falling — a high overall email quality will help negate this. However, it’s still important to be cautious and avoid sending too many bulk campaigns to inactive customers. ​ * **Sending emails using shared IPs is fast and reliable** as each client has a large number of IPs available when some IPs are temporarily blocked by mailing services. In addition, your sending speed remains fast even if some servers refuse to send your emails, because Maestra quickly transitions to other servers. # What Is Email Deliverability? Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/what-is-email-deliverability An email has a long way to go before it arrives in a customer’s mailbox: It must pass numerous filters and technical checks of the email service to avoid the Spam folder. Major email services like Gmail and Outlook evaluate many indicators when they receive an email and decide which folder to put it in for a customer. > [!NOTE] > > Deliverability is the process through which an email reaches the recipient and does not end up in the Spam folder. # Deliverability depends on the following factors: 1. **Customer database activity**. How often do your customers open emails, click links, unsubscribe, or report spam? 2. **Sender’s domain reputation.** For example, does the sender email the customers who have previously unsubscribed or reported spam? 3. **Email content.** Does it mention, for example, products whose advertising is prohibited by law? 4. **Infrastructure reputation**. For example, when you send campaigns via email services, the deliverability may depend on the reputation of IP addresses. 5. **Policy and signature settings.** Set up DKIM signatures and DMARC policies to prevent email spoofing and maintain the sender’s reputation. You cannot directly measure or see in reports the deliverability of your emails to the Inbox or Promotions folder. Email services do not disclose which folder your email ended up in. Nonetheless, you can get an indirect indication of whether your deliverability has improved or declined from certain engagement metrics such as open rate and click-through rate. > [!WARNING] > > Do not confuse deliverability to folders in an email service with delivery rate Delivery refers to the recipient’s mail server accepting your email, regardless of the folder it went to: Inbox, Promotions, or Spam. If your emails end up in the Spam folder, they will have a high delivery rate but low deliverability. If the recipient’s server rejects an email, the sender receives a notification called a bounce message or "bounce." This allows you to determine if the email has not been delivered and, if so, why. If you use Maestra to send emails, the platform also receives such bounces and shows them as actions in a customer’s Activity Feed. You can see whether your recipient failed to receive the email and, if so, why. A delivery rate of 99 percent or higher is considered good. Your can view this rate in the Campaigns report: 1. Go to **Reports** → **Campaigns** in your account. 2. Select **Channel** → **Email** in the Conditions tab: ![00\_email\_deliverability](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_email_deliverability.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=d87ff95f6587dac82c2d79dd661cd465) 3. Click Apply for the report to calculate the email delivery rate: ![01\_email\_deliverability](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_email_deliverability.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=d3fd4b5778a99c0f0152d545224db804) # What to Do if You Have a High Bounce Rate Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-high-bounce-rate # Do not send emails to customers who unsubscribed or those with invalid addresses Sending emails to unsubscribed customers may result in using inactive or deleted addresses. In addition, unsubscribed customers may not want to receive new emails from you, so emailing them will lead to numerous spam reports, which will harm your reputation and email deliverability. Invalid addresses are those that have already caused delivery errors. Sending messages to these email addresses is likely to result in high bounce rates and damage your reputation with email services. # Do not use transactional campaigns to send promotional emails Choose your campaign profile based on the task at hand. Use transactional campaigns to notify your customers of important or urgent information that must be sent (such as post-purchase receipts) or that the customers expect to receive (such as their order details or login codes to access their accounts). Promotional emails typically don’t contain critical information, so sending them from a transactional profile can trigger negative reactions from both customers and email providers, potentially hurting deliverability. # Use double opt-in (DOI) when collecting email addresses When you use DOI, customers subscribe to an email campaign only after clicking a special subscription confirmation link in a double opt-in email sent to the address provided during registration on a website. This method allows for new subscribers while preventing nonexistent email addresses from being added to the database. # Set up auto-removal of inactive and nonexistent addresses To find inactive email addresses, create a condition to filter out customers who have not received your emails for any of the following reasons: * Address does not accept emails, or the recipient’s mail server is misconfigured * Address does not exist * Mailbox full * Rejected for unknown reason ![00\_high\_bounce\_rate](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_high_bounce_rate.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=49773b53d76520d7b13554a96808e299) Maestra processes and displays the reasons your emails failed to be delivered to certain addresses from an email service in your account. # What to Do if You Have a High Email Spam Complaint Rate Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-high-email-spam-complaint-rate ## Do not use transactional campaigns to send promotional emails Choose your campaign profile based on the task at hand. Use transactional campaigns to notify your customers of important or urgent information that must be sent (such as post-purchase receipts) or that the customers expect to receive (such as their order details or login codes to access their accounts). Promotional emails typically don’t contain critical information, so sending them from a transactional profile can trigger negative reactions from both customers and email providers, potentially hurting deliverability. ## Use double opt-in (DOI) when collecting email addresses When you use DOI, a customer subscribes to an email campaign only after clicking a special subscription confirmation link in a double opt-in email. This email is sent to the address that the customer provided when registering on a website, for example. This method allows you to get new subscribers while ensuring that nonexistent email addresses are not added to your database. ## Do not automatically subscribe your customers when they register on a website or in a form Sometimes, when customers register on a website, they find that checkboxes are ticked by default or that they cannot opt out of receiving email campaigns. After such registration, these customers will be annoyed to see an email they did not expect to receive and will likely report it as spam. ## Identify which campaigns receive the most complaints If you have a high unsubscribe rate due to spam reports for regular campaigns, reduce the number of campaigns and launch more automated flows. Analyze spam reports using the Campaigns report. 1. Go to the Campaigns report in your Maestra account. 2. Find the spam complaint rate. 3. Sort your campaigns from high to low spam complaint rates.Sorting helps you find the campaigns that receive more complaints so you can analyze the sending conditions, customer segment, and email content of the campaign. ## Make it is easy to unsubscribe from your emails Make sure that clicking the unsubscribe link in your emails does not require the customer to register or log in to their account — it should take as few clicks as possible to unsubscribe from your emails. The unsubscribe link should be noticeable and easy to find. ## Make sure your emails display correctly on all devices Send a test email to see how it displays on different devices. Click Send Test Message in the Campaign Settings. If your campaign is automatic and the Send Test Message button is disabled: * Add your email address to the database and subscribe to your campaigns. * Set up the flow you want to launch. * Add the condition to trigger the flow only for your customer profile. * Follow the steps to receive the email. # What to Do if You Have a High Email Unsubscribe Rate Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-high-email-unsubscribe-rate High email unsubscribe rate can indicate a number of issues — here are some solutions. ## Customers are receiving campaigns too often * For regular campaigns, create a segment with active customers. Include less active customers in only the most important campaigns. * Send an email to new subscribers immediately after they sign up, asking them to select their preferred frequency for receiving campaigns. Make sure to send emails according to each customer’s preferences. * Set up a segment that regulates how often manual and automatic campaigns are sent to each customer. ## Customers are no longer interested in receiving your campaigns Minimize your unsubscribe rate by regularly cleaning your database and removing inactive customers from your email list. Learn how to identify inactive customers in this article. ## Customers are receiving the campaigns they have not subscribed to Make sure customers have the option to opt out of receiving email campaigns by ensuring that the email subscription checkbox is not pre-selected when they register on your website or system. In addition, we recommend using double opt-in (DOI) to confirm a customer’s subscription only after they click the confirmation link. This method ensures that your subscriber database only includes customers who have definitely consented to receiving your emails. # What to Do if You Have a Low Email Click-Through Rate Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-low-email-click-through-rate Open and click-through rates are closely connected. If customers do not open your emails, they will also not click any email links. So, if you have a low click-through rate, check your open rate first and follow the recommendations in [this article](/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-low-email-open-rate). If you have followed all the steps in the above article and noticed an improvement in your open rate, but you still experience a low click-through rate, try segmenting your customer database by their activity (such as orders or target actions). Send different content to each segment based on their interests and behavior. ## Segmenting your customers by their activity in emails To view an example of this type of segmentation, please refer to this article. * Send most of your regular campaigns to your active customer segment. * Re-engage the customers who have been inactive for the past 3 months, wait for signs of engagement and unsubscribe those who remain dormant. * Remove customers who have not interacted with your emails in over a year from your email list. ## Segmenting your customers by order and lifecycle Engage your customers on a deeper level by sending them more personalized content at different stages of their lifecycle. For details on segmenting your customers based on their orders, please refer to this article. Begin with this example and modify it as per your needs. You can change the segment terms as necessary in the future. Inform your customers about the products they might like based on their past purchases and special deals linked to their activity and spending. We also recommend creating automatic RFM segmentation. Keep the customer actions and lifecycle stages in mind when communicating and apply this data to your company needs and business model. Timely and relevant communication can prevent churn and allow you to track feedback through customer orders and activity. # What to Do If You Have a Low Email Open Rate Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/what-to-do-if-you-have-a-low-email-open-rate ## Send most of your regular campaigns to your active customer segment When you make a list of recipients, select different time intervals in which your customers took specific actions. These intervals may depend on how often you email them. * If you send emails every day, segment the customers into those who have opened your emails or clicked links in them within the last 90 days and new customers who have joined less than 45 days ago. * If you send emails once a week or less, include the customers who have taken actions over a longer period, such as 180 days. * Set a target open rate based on the Email Health report’s threshold values. * Send regular campaigns to the selected segment and evaluate the recipient engagement. If the open rate drops below the target value, refine the conditions; for example, include the opens and clicks from the last 60 days. If the open rate is higher than expected, expand the criteria for the customers you classify as active. For instance, pick the customers who have opened or clicked links in your emails within the last 120 days. If the open rate remains high, consider including customers who have opened the campaigns at least once in the last 180 days. ## Reduce the frequency of bulk campaigns sent to inactive customers Include customers who have not opened any emails within the last 90 days in only the most important and useful campaigns, no more than once a week. **Clean up your email list by:** * Unsubscribing long-term customers who neither opened your emails nor clicked links in them. See an example of a segment like this in this article; * Attempting to re-engage customers who have opened your emails before. Some of these customers may start opening campaigns again and become a part of the segment of active customers that receives emails frequently. If a customer is inactive after reactivation, wait one month and then remove them from your email list. For examples of reactivation segments, please refer to this article. ## Set up automatic reactivation of customers based on emails Enable automatic reactivation to detect and re-engage inactive customers through email-based reactivation algorithms. These algorithms maintain your database order and remove dormant customers before their inactivity affects email deliverability. Reactivation is the last communication before an inactive customer is removed. We recommend including a button in a farewell email that a customer can click to automatically rejoin the database. Read more about reactivation in this article. ## Send a campaign when a customer is most likely to open it If your subscribers are located in different time zones, set up your campaigns to send based on the recipient’s time zone in Flows and Bulk Campaigns to specify the time when your customers are available and can engage with your emails. Your email campaign may require other specific features depending on your customers and the nature of your business. Some customers, for example, are more likely to open emails during lunch or on their way home from work. To personalize the sending time, use the Best Sending Time algorithm. ## Experiment with email subject lines 1. **Personalize your email subject line.** Include a customer’s name if you know it, or a product’s title if the email is related to the customer’s recent actions or order. 2. **Keep the subject line short.** We recommend limiting it to 7 words including emojis or 36 characters maximum. By keeping the subject line short, you can also avoid character loss when your email is opened on a mobile phone. 3. **Put the most important words at the beginning** or capitalize them. Use this method to announce a discount, for example, or to immediately draw your customers’ attention to some specific information in your email. 4. **Intrigue your recipient.** Truncate the subject line at the most interesting point so that the customer would want to learn more and open the campaign. It is highly important that the abbreviated subject line matches the email content, otherwise your customers may unsubscribe or mark your letter as spam. 5. **Ask a question in the subject line and answer it in the campaign**. 6. **Experiment with unusual word combinations in the subject line to evoke emotions**. 7. **Announce something your customer has been waiting for** — e.g., "A popular item is back in stock". 8. **Try different emojis but do not overdo them**. Well-chosen emojis can increase your open rate, but too many can backfire. # Which Email Metrics Impact Deliverability Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/which-email-metrics-impact-deliverability Large mailing services like Google or Yahoo have their own rules for sending promo emails. Adhering to these rules increases the likelihood of customers receiving your emails in their "**Inbox**" folder instead of the "**Spam**" folder — in other words, your deliverability increases. Some of these requirements apply to email marketing platforms, and Maestra is compliant — you can check for yourself by testing an email with a [mail tester](https://www.mail-tester.com/?lang=en). ## Businesses are required to follow a number of mailing service rules * Send emails only to customers who opted in to receive these communications. * Send emails only to active customers. * Maintain email list hygiene (i.e., regularly clean contact lists). * Provide a straightforward way to unsubscribe right in the email. ## Which KPIs mailing services want to see Large mailing services track your subscribers’ engagement and the quality of your email list. Below we describe the metrics that determine sender reputation and whether your email will pass their spam filter. This is how mailing services protect their users from unwanted emails. ### Factors that increase deliverability: * **Open rate**. A high open rate suggests customers find your emails interesting. * **Click rate**. A high click rate suggests customers find your emails useful. ### Factors that decrease deliverability: * **Unsubscribe rate**. A high unsubscribe rate means that you’re sending emails to customers who didn’t opt in or that they are no longer interested. * **Spam rate**. Mailing services view it as one of the most important factors in assessing a sender’s reputation. * **Hard bounce rate**. A high hard bounce rate indicates the low quality of your email list. It’s very likely that these customers didn’t opt for receiving your emails or they have long since stopped using their email account. A high hard bounce rate can lead your email into a spam trap. ## How to monitor your deliverability metrics Each dashboard has a "Reports" section where you can find [Email Health](https://intercom.help/maestraio/v1/docs/email-health-report) and Campaigns reports. They show you your deliverability KPIs, and the Email Health report includes guidelines on how to improve them. ### Email Health report This report helps you: * Quickly assess your deliverability and email KPIs. * Review your deliverability statistics for the last 30 days and compare them to the median value of other Maestra clients. * Get general guidelines on how to improve each KPI and increase your deliverability rate. * Find out the thresholds for your KPIs. For more details on scoring and thresholds, please refer to our article on the [Email Health report](https://intercom.help/maestraio/v1/docs/email-health-report). **Recommended thresholds from the Email Health report:** | | OR | CR | Hard bounce rate | Unsubscribe rate | Spam rate | | - | - | - | - | - | - | | Excellent | 15% and more | 2.5% and more | 1% and less | 0.5% and less | 0.05% and less | | Good | 10% and more | 0.8% and more | 2% and less | 1% and less | 0.2% and less | | Poor | 10% and less | 0.8% and less | 2% and more | 1% and more | 0.2% and more | Keep each KPI score at or above "Good" to maintain a high email deliverability rate. ### Email Campaigns report This report helps you: * Track metrics that influence deliverability (with an adjustable time period). * Filter your email campaigns from low to high KPIs and vice versa — e.g. select the campaigns that are most often reported as spam. # Why Gmail Clips Emails Source: https://help.maestra.io/campaigns/email-campaigns/email-deliverability/why-gmail-clips-emails If your email is larger than 102 kB, Gmail may clip it. In this case, instead of the entire message, the user will see the "Message clipped" line and the "View entire message" link. ![00\_GmailClipping](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_GmailClipping.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=fdba9b7dbfec4e4ca690610790ede6e2) # What it impacts The most obvious shortcoming is that your client will not see all of your content. Besides, there are other risks: * An unsubscribe link is usually placed in an email footer, which may not be included in its visible part, so instead of using the link the user may move the email to spam folder; * The tracking code at the bottom of the email will not be uploaded, which would affect open rate statistics; * If the HTML closing tag is truncated, a part of your code will be displayed in your email * In some ome mobile email clients the email may be clipped without any notes or links * AMP content will not be displayed. # Why your email is clipped Emails weighing more than 102 kB are clipped. The size of every email means the size of its HTML file with the email’s code, which depends on the number of symbols in the code. It includes all the HTML tags and attributes, CSS styles, text symbols, and links for images and other pages. All the elements listed above is taken into account . ## How to know the size of your email Open the web version of your email -> right-click -> select "**Save as**" -> select "**Webpage, HTML only**" option: ![01\_GmailClipping](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_GmailClipping.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=25238bd4bfece6d60476293aa2825218) Next, right-click the downloaded file -> Get info (Properties) -> Size: ![02\_GmailClipping](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_GmailClipping.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=a69c3cfb1cd7742731b606dff7389b52) # How to shorten your email **1.** **Delete line breaks, spaces, and delimiters across the entire file** To do this, you can use dedicated minification services, such as: [https://htmlcompressor.com/compressor](https://htmlcompressor.com/compressor/) or [https://www.willpeavy.com/minifier](https://www.willpeavy.com/minifier). > [!WARNING] > > The minified code will become harder to read as it will no longer contain spaces or line breaks, so we recommend completing this step after all the needed changes are made. **2. Avoid duplicating styles into Style and Class attributes** You will reduce your email size by using the Class attribute. However, keep in mind that these styles may not be displayed in some email clients such as Outlook. **3. Replace some content blocks with images** Image size does not impact the size of the email itself as the images are located at the sending server. Yet, images should take less space that the text—otherwise, spam filters may flag your email as spam. > [!WARNING] > > Yet, images should take less space that the text—otherwise, spam filters may flag your email as spam. **4.** **Avoid copying layout from websites** A website code may contain an additional formatting code. Instead of copying, use the website link or an image. You can also add data from a website as a plain text. To do this, use the "Paste as plain text" function. **5. Reduce the number of built-in containers** Extra containers increase the number of symbols and, thereby, your email’s size. Join them together, if possible. **6. Do not use the same subject in your emails** Gmail.com joins such emails in a chain which may exceed 102 kB. This issue usually occurs when sending several test emails in a row. To avoid this happening, use different subjects. **7. Try changing the number of products in one line** For instance, display two products in a line instead of three—by doing this in some cases you may reduce the length of code. **8. Reduce the amount of your text** You can use hyperlinks or split your email into several emails. > [!WARNING] > > Do not use shortened URLs—spam filters may flag your email as spam. > [!NOTE] > > Remember to always check how your email is displayed before sending it to customers. # If your email is still bigger than 102 kB 1. Put the most important information at the beginning of the email. 2. Make sure that the displayed text includes the unsubscribe link. To avoid putting it at the very top, place it where your email is clipped or a bit upper. 3. The same applies to website URL and your tracking code. 4. Make a note in the visible part of your email that the customer can grab a promo code or read some useful information at the end of the email. # How to Add Sender's email address Source: https://help.maestra.io/campaigns/email-campaigns/get-started/how-to-add-senders-email-address Go to **Settings** → **Communication** → **Email Settings** : ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-16--14_31_11.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=05945fe5e1d2fa064e288669daf5dcfd) # How to add a new sender 1. Click **Add sender**: ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-16--14_37_07.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=0123fb9be585c42b5dcc69540776e8bb) 2. Fill in the fields and click **Save changes**: ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-16--14_39_48.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=5e4db6b217b06e8117e69a849cc5ce85) > [!NOTE] > > Set up individual [DKIM & DMARC ](/campaigns/email-campaigns/email-authentication-methods/setting-up-dkim-and-dmarc)for each new sending domain or subdomain to ensure your emails are successfully delivered. 4. If the settings are saved successfully, a message will pop up: ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-16--14_44_53.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=473bae5535fbd120e5d959176cf353b5) # Supported formats The email address must comply with [RFC 5321](https://datatracker.ietf.org/doc/html/rfc5321). In less technical terms, it means that all emails must match the following template: ``` `{Latin chars, digits, certain punctuation marks}@{domain}` ``` where the domain consists of one or more sections divided by dots, with each section containing Latin characters, digits, or a hyphen only. Each domain section must be limited by 61 characters. An email address must be limited by 254 characters. In more technical terms, all email addresses must match the following regular expression: ``` `^([\p{L}0-9_\-!#\$%&’\*\+/=\?\^`\{}\|~])+([\.\p{L}0-9_\-!#\$%&’\*\+/=\?\^`\{}\|~])*@([\p{L}0-9]([\p{L}0-9\-]{0,61}[\p{L}0-9])?\.)*[\p{L}0-9]([\p{L}0-9\-]{0,61}[\p{L}0-9])?$` ``` To check whether email addresses comply with the regular expression, refer to [the tester](https://www.freeformatter.com/regex-tester.html). # How to add a different reply-to address for the sender 1. Click Specify different reply-to address: ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-16--14_46_51.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=5bef21a915e4458be24078f5591f6bff) 2. Fill in the fields and click **Save changes**: ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-16--14_51_11.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=895df28e7ff12ebd391eecfdc4d06ba0) 3. If the settings are saved successfully, a message will pop up: ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-16--14_52_21.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=8aeba96dc33fe5be6be12022af6c8d4c) # Maestra IP List Source: https://help.maestra.io/campaigns/email-campaigns/get-started/maestra-ip-list When you send emails to corporate addresses, the organization's spam filters can block them. To fix this, the organization's IT team needs to add Maestra's IP addresses to their mail server's list of allowed IPs. > [!NOTE] > > This only works when you can reach the IT team that manages the receiving mail server. Either you work at that organization, or someone who does can pass the IP list on to their IT team. You can't change spam filters on mail servers you have no access to, such as Gmail or Outlook. ## How to find the current IP list **1. Go to MxToolbox** Open [mxtoolbox.com](https://mxtoolbox.com). **2. Choose SPF Record Lookup** Select the **SPF Record Lookup** mode. **3. Look up Maestra's SPF record** Enter `spf.maestra.io` in the input field and press **Enter**. ![SPF Record Lookup results for spf.maestra.io on MxToolbox](https://mintcdn.com/maestraio/S30fMKZv4yHeYSfS/images/ip-list/mxtoolbox-spf-lookup.png?fit=max\&auto=format\&n=S30fMKZv4yHeYSfS\&q=85\&s=18ddebb5254207894087cb9e9d2d3e49) **4. Send the IP list to your IT team** Share the IP addresses with your IT team and ask them to add them to the mail server's list of allowed IPs. # Maestra’s Basic Template Variables (Web Version, Unsubscribe, Mailing Name) Source: https://help.maestra.io/campaigns/email-campaigns/get-started/maestras-basic-template-variables-web-version-unsubscribe-mailing-name Transliterated name of your message: ``` `${Message.MailingUtmName}` ``` Web version variable (the "Open in Browser" CTA): ``` `${Message.AccessibilityLink}` ``` Sending date & time: ``` `${Message.SendingDateTime}` ``` Channel unsubscribe link: ``` `${Message.UnsubscribeLink}` ``` Topic unsubscribe link: ``` `${Message.TopicUnsubscribeLink}` ``` # How to Create a Bulk Email Campaign Source: https://help.maestra.io/campaigns/email-campaigns/how-to-create-a-bulk-email-campaign A **bulk email campaign** is a one-time email sent to a predefined list of recipients. ## How to Create a Bulk Email Campaign 1. Go to **Campaigns** → **Campaign Manager** ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign.png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=deb169826e404766e9fffa0895606c18) 2. Click **Create Campaign** → **Bulk Campaign**. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(1\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=dfd2f1e5a0d8a7c7eb25d999d46e7880) 3. Choose the channel, assign a folder, and click Create. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(2\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=4222d2bd01b70b786185e669bd71c898) ## Campaign Settings ### Campaign Name ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(3\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=30e899aade4c2747afef80bfc01415f0) * Campaign Name is used to help you locate the campaign among others and manage it in reports, filters, or exports. * If you use a [utm-tag](#h_6da7478263) with the \$\{Message.MailingUtmName} variable, the campaign name will be included in the tag automatically. ### Campaign ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(4\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=35499edb866504e81ebb049f20ff9645) * **Subject Line**. Supports [variables](/campaigns/message-template-engine/what-is-the-message-template-engine) and emojis. * **Preview text**\* Body text – the email client will show the first line of the content;\* Custom – you can enter a custom preview text (supports variables/emojis);\* Blank – the area after the subject will be blank in inbox previews. * [**Sender** ](/campaigns/email-campaigns/get-started/how-to-add-senders-email-address)- set the name and email address that appear in the recipient’s inbox, indicating who the message is from. ### Choose how to create an email ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(5\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=8862987197e0576211d80c6219c4b815) Create your message using one of the following options: * Maestra Editor – modern drag-and-drop editor; * HTML Editor – custom HTML code, including manual insertion of [variables](/campaigns/message-template-engine/what-is-the-message-template-engine); * Legacy editor – earlier version of visual email editor; * URL – fetch template from a hosted link; * ZIP – upload a ZIP archive of your template. Once your template is complete, you can also: * **Add an AMP version** for interactive elements (e.g. quizzes, surveys). ​ ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(6\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=06f59fe8a51aed86714750127e4dfdbb) * Review and edit all **links in the message** and update their type if needed (e.g., when using custom subscription confirmation or unsubscribe links). ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-23--10_05_39.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=7750872ac89a4fc623b7ed7bb7be11fc) ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(8\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=eeece71f9d78ca2066c69fdb257726d1) ## Send Test Message Once your campaign is ready, you can preview it. > [!WARNING] > > During a test send, the selected customer will receive the message via email.You can only send test emails to customers **that already exist** in your database. To create a new account in the database, please follow the [instructions](/customers-orders-and-products/customers/how-to-add-a-customer-manually-via-the-user-interface). To send a live test, click “**Send Test Message**”. You can select recipients from the existing list (previously added for testing) or add additional ones using the “**Add Recipient**” button. Then, click “**Send to Selected**.” ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(9\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=da72fb2b8093256e6982f4de3990fd54) Test results are not recorded on the customers card. You can see their statuses in a list by clicking on the link. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(10\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=8b41c0fff89498cdf0ab63abcd0a16ef) > [!NOTE] > > Click Preview to view your message without sending it. ​ ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(11\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=856bae28db0f2943beb879ee1916be4a) ## General Settings * **Brand** – relevant for multibrand projects. * **Topic** – allows recipients to flexibly manage their subscriptions and receive communications only on topics they’re interested in. * **Tags** – use tags to group campaigns by an additional attribute when channel, topic, and folder filters are not sufficient. Filtering campaigns by tags is easy, including within reports.**Campaign profile** – defines who can receive the message and under what rules. ​ Available Profiles: * **Default** – for marketing messages. Basic recipient checks are applied: \* Valid email adress \* Active email subscription (Subscribed to email channel or selected topic) \* Not part of the global control group (if enabled). Note: this is not the same as the campaign control group. \* Daily communications for the recipient stay within the allowed limit (if Smart Sending limits are enabled). > [!TIP] > > You can disable these checks using the toggles available in the campaign profile. However, subscription checks can only be bypassed in transactional campaigns, and only for critical service messages that must be delivered to the customer (such as order status updates). * **Opt-In** – for confirming pending subscriptions. Applies checks for: \* Valid email \* Pending opt-in status for the email channel (or for the selected topic, if the campaign includes one) \* Daily communications for the recipient stay within the allowed limit (if Smart Sending limits are enabled). > [!TIP] > > You can override Smart Sending using toggle in the profile. ### Recipients Choose one of the following recipients selection methods: * [**Segment**](/segments/how-to-filter-customers-into-segments) – pick from prebuilt customer segments * [**Filter**](/filters/how-to-create-filters) – build custom rules * **One-time File** – import a list ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(15\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=a763988b2460218a89f842ca2f985f37) ### UTM Tags ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(13\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=426ac88922b7702cceedfc05abca599a) UTMs help attribute traffic and performance to the correct campaign and channel. You can either: * Use saved default UTM parameters * Customize UTMs per campaign ## When Setup Is Complete ### Campaign Readiness Check Once all required fields are completed — indicated by a green check mark next to each section header — the system automatically changes the campaign status from "Draft" to "Ready to Send." ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(16\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=4326ebbfa79036f7e6a3deec65a58c1d) ### Schedule or Send Now ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(17\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=619c0071f80de37b43410aed2429a833) Pick send time: * **Send Now** – campaign will begin sending right away and its status will change to "Sending". * **Schedule** – set a specific future time and date. Until then, the campaign will have the status "Send scheduled". You can edit it during this waiting period — including adjusting the launch time. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(18\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=3be49200d12114708dbdc0ab7f675162) Timing and Sending Speed * **Sending Interval** – limit sending to specific hours (by project or recipient timezone) * **Sending Speed** – control the sending speed to manage traffic load on your website or call center. The system supports limits from 500 to 2,000,000 emails per hour. When throttling is enabled, you'll see an estimated duration for the full send. * **How long to retry sending** – limits how long Maestra keeps trying to deliver your emails. Two modes: * **Time interval** (e.g. 3 hours) – counts for each email separately, from the moment that email is generated (not from campaign start). Note: the interval doesn't limit the campaign's total duration. With a sending speed limit, emails are generated gradually, each with its own interval – so sending can continue well beyond "campaign start + interval". To set a hard stop, use a specific date instead. * **Specific date** – a hard cut-off for the whole campaign. Nothing is sent after this date; emails that didn't make it appear in the report as not sent. Use it when the content expires at a known moment – and make sure your audience fits before the cut-off if a speed limit is set. ## A/B Testing and Control Groups **A/B testing** lets you try different subject lines, templates, or sender names to see which version performs best — boosting opens, clicks, and revenue. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(19\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=7312a848b180bcfe7ac3645d89082f62) **Control Groups** let you exclude part of your audience to see how your campaign really performs by comparing their behavior to those who got the message. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(20\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=0894c74cfa80bcf5c84efc97a7b1e6e0) You can run A/B tests and control groups simultaneously. The following metrics are available for email campaigns: * **Open rate** — the percentage of customers who opened the campaign during the testing period (does not work with control group). * **Click rate** — the percentage of customers who clicked at least once during the testing period (available if click tracking is enabled, does not work with control group). * **Conversion to order** — the percentage of customers who placed at least one order during the testing period. Returns and cancellations are not included. * **Average order value (AOV)** — total revenue divided by the number of orders during the testing period. Returns and cancellations are not included. * **Average revenue per user (ARPU)** — total revenue during the testing period divided by the number of participants in the test variant. Returns and cancellations are not included. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(21\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=bc0427b81e0963a4b597ef888c922f9c) As soon as you add an A/B test, a control group, or both, it is automatically created in the corresponding section. You can view the test results in the report available there. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(22\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=55d6c9ef756a8973ea045610fce6c415) ## Once Your Campaign Is Sent ### Filters Each campaign generates statuses like Sent, Opened, Clicked, or Unsubscribed. Some statuses are assigned automatically when the campaign is sent (e.g., Sent), while others appear in the customer’s activity feed only if they’ve interacted with the message (e.g. Opened, Clicked, or Unsubscribed). ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(23\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=c0d3a9aeb46da7d55f3a13ccfe1b1ed3) You can use these statuses to create filters:Customers who interacted with the email campaign ​ ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(24\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=0ec84db633ff34457bd6027c9d2b8bf2) ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(32\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=4810fa731c7605814fc4d9c324b540b7) * Campaign statuses ​ ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(25\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=efa6f98a2b508b6b14e3131ef09a27b3) ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(26\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=7079709defb3bc5d2ee794fac47246ba) ## Reports ## After the campaign is sent, detailed reports become available: ### Performance metrics ### Heatmaps ### Campaigns report ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-a-Bulk-Email-Campaign-\(28\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=81f7dee1efab97ab84aa43a5e7b38c9b) # How to Create Automated Email Campaign Source: https://help.maestra.io/campaigns/email-campaigns/how-to-create-automated-email-campaign **Automated email campaigns** are sent from flows or API methods triggered by specific events. > [!WARNING] > > Note: Ensure that your email campaign has a "Ready to Use" status and is located in the same folder (or subfolder) as your automation flow. ## How to Create a Campaign 1. Go to **Campaign Manager** → **Create Campaign** → **Automations** → **Automated campaign**. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(35\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=e9dab580e4cef6ebc605ffa078e0583d) 2. Select channel, folder, brand and click **Create**. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(2\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=5d87515abadbbfa2940ca909430b2a94) ## Campaign Settings #### Campaign Name ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(3\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=9931475de602cc787a0b8e8e7e567b71) * Campaign Name is used to help you locate the campaign among others and manage it in reports, filters, or exports. * If you use a [utm-tag](/campaigns/email-campaigns/how-to-create-a-bulk-email-campaign) with the \$\{Message.MailingUtmName} variable, the campaign name will be included in the tag automatically. #### Campaign ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(5\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=729cef7070040c36c628a99d0c4a940a) * **Subject Line**. Supports [variables](/campaigns/message-template-engine/what-is-the-message-template-engine) and emojis. * **Preview text:** * Body text – the email client will show the first line of the content; * Custom – you can enter a custom preview text (supports variables/emojis); * Blank – the area after the subject will be blank in inbox previews. * **[Sender](/campaigns/email-campaigns/get-started/how-to-add-senders-email-address)**[ ](/campaigns/email-campaigns/get-started/how-to-add-senders-email-address)- set the name and email address that appear in the recipient’s inbox, indicating who the message is from. #### Choose how to create an email ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(6\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=5918a405c447c10b031e306f515b32dc) Create your message using one of the following options: * **Maestra Editor** – modern drag-and-drop editor; * **HTML Editor** – custom HTML code, including manual insertion of [variables](/campaigns/message-template-engine/what-is-the-message-template-engine); * **Legacy editor** – earlier version of visual email editor; * **URL** – fetch template from a hosted link; * **ZIP** – upload a ZIP archive of your template. Once your template is complete, you can also: * **Add an AMP version** for interactive elements (e.g. quizzes, surveys). ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(7\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=f767060e26b4c5dd27e43f1c03a5246b) * Review and edit all **links in the message** and update their type if needed (e.g., when using custom subscription confirmation or unsubscribe links). ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(8\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=e1fb300e00a34530e95b9befeed59423) ## Send Test Message Once your campaign is ready, you can preview it. **Exception**: Campaigns with event variables. You can check these campaigns using [test mode](/campaigns/how-to-test-an-automated-campaign). To send a live test, click “**Send Test Message**”. > [!WARNING] > > During a test send, the selected customer will receive the message via email. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign--289-29.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=64360111b18268676046d4078cba3481) You can select recipients from the existing list (previously added for testing) or add additional ones using the “**Add Recipient**” button. Then, click “**Send to Selected**.” ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(10\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=7db7e76fd05239a4b7d7ff969e1d285c) > [!NOTE] > > You can only send test emails to customers that already exist in your database. To create a new account in the database, please follow the [instructions](/customers-orders-and-products/customers/how-to-add-a-customer-manually-via-the-user-interface). Test results are not recorded on the customers card. You can see their statuses in a list by clicking on the link. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(11\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=ebbe3d196f5c93a70ef7862dcb4db8d4) > [!NOTE] > > Click Preview to view your message without sending it. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(12\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=e5ad2eda916f9e217a19e759c2b99e15) ## General Settings * **Brand** – relevant for multibrand projects. * **Topic** – allows recipients to flexibly manage their subscriptions and receive communications only on topics they’re interested in. * **Tags** – use tags to group campaigns by an additional attribute when channel, topic, and folder filters are not sufficient. Filtering campaigns by tags is easy, including within reports. **Campaign profile** – defines who can receive the message and under what rules. ​ ​**Available Profiles:** * **Default** – for marketing messages. Basic recipient checks are applied: - Valid email adress - Active email subscription (Subscribed to email channel or selected topic) - Not part of the global control group (if enabled). Note: this is not the same as the campaign control group. - Daily communications for the recipient stay within the allowed limit (if Smart Sending limits are enabled). > [!NOTE] > > You can disable these checks using the toggles available in the campaign profile. However, subscription checks can only be bypassed in transactional campaigns, and only for critical service messages that must be delivered to the customer (such as order status updates). * **Opt-In** – for confirming pending subscriptions. Applies checks for: - Valid email - Pending opt-in status for the email channel (or for the selected topic, if the campaign includes one) - Daily communications for the recipient stay within the allowed limit (if Smart Sending limits are enabled). > [!NOTE] > > You can override Smart Sending using toggle in the profile. * **Transactional** campaigns are those that customers request and expect to receive as quickly as possible. No checks are applied. ## Sending restrictions ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(13\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=906081305d1521cc1aa24a47d5bf58ec) * **Sending Interval**: You can limit the sending hours by project time zone or recipient time zone. * **Relevant for**: Set how long the campaign should stay relevant by selecting an expiration period from the list or entering specific dates manually. If the recipient’s mail server doesn’t accept the email right away, Maestra will keep trying to deliver it within this timeframe. ## **UTM Tracking** ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(14\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=71f91c3c6ec705b6267ec276496defb3) UTMs help attribute traffic and performance to the correct campaign and channel.You can either: * Use saved default UTM parameters * Customize UTMs per campaign. ## When Setup Is Complete #### Campaign Readiness Check Once all required fields are completed — indicated by a green check mark next to each section header — the system automatically changes the campaign status from "Draft" to "Ready to Send." ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(15\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=c4083efa1cdd56e3885d9b1e97f2a56a) To make your campaign available in Flows, change its status to "Ready to Use" by clicking the "Finish Editing" button. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(16\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=5aba22561deff92b204d8f4486877e27) > [!WARNING] > > Once the campaign is set up, you cannot change the brand, campaign profile (except the priority settings), or A/B test settings. ## A/B Testing and Control Groups * **A/B testing** lets you try different subject lines, templates, or sender names to see which version performs best — boosting opens, clicks, and revenue. * **Control Groups** let you exclude part of your audience to see how your campaign really performs by comparing their behavior to those who got the message. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(18\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=9eb260f03c7816602514be050d14ba71) The following metrics are available for email campaigns: * **Open rate** — the percentage of customers who opened the campaign during the testing period (does not work with control group). * **Click rate** — the percentage of customers who clicked at least once during the testing period (available if click tracking is enabled, does not work with control group). * **Target Actions** — a list of the specific user actions that were completed during testing. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(20\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=b7ce001f7f1e44cae51e379e43ce9086) ## Campaign Results #### Filters Each campaign generates statuses like Sent, Opened, Clicked, or Unsubscribed. Some statuses are assigned automatically when the campaign is sent (e.g., Sent), while others appear in the customer’s activity feed only if they’ve interacted with the message (e.g. Opened, Clicked, or Unsubscribed). ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(21\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=ba2387c09dbe51f8197a10b53f8ac990) You can use these statuses to create filters: * Customers who interacted with the email campaign ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(22\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=668d44d503192fc9f865aff6cee54429) * Campaign statuses ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(23\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=175cecfecf4d2f2a218d38e8e5a6457e) ## Reports After the campaign is sent, detailed reports become available: * **Performance metrics** ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(24\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=395f9fae95b388d000ef4f02adc86268) * **Heatmaps** ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(27\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=da0252b5aea0a648882a572010044847) * **Campaigns report** ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Automated-Email-Campaign-\(25\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=becb91e4125faed3874872af9ab6ceda) # How to Send a Campaign with an Attachment Source: https://help.maestra.io/campaigns/email-campaigns/how-to-send-a-campaign-with-an-attachment You can send an email campaign with a file attached by calling an API operation. Here's how it works: 1. You upload the file to the server, which returns a unique identifier for it. 2. You send the campaign through an operation, passing that identifier in the call. The file is attached to the email. Here's a closer look at each step. ## 1. Upload the attachment to the server The upload uses the [standard file upload method](https://developers.maestra.io/docs/upload-attachments-for-emails). This section walks through doing it yourself in Postman. **1. Prepare the request** Select the **POST** method, then build the request URL for your account. The general form of the URL: ``` https://api.maestra.io/v3/files/upload?endpointId={integration point system name}&fileKind=attachment ``` One part needs editing: after the `=` sign in `endpointId`, put the system name of the integration point the operation will be called through. You can use any integration point from the **Integrations** section. The system name is in the **Endpoint** column. ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/endpoint-system-name.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=8e303b0648cf5034844bb9f1cd07a499) A finished URL looks like this: ``` https://api.maestra.io/v3/files/upload?endpointId=demo.Website&fileKind=attachment ``` **2. Add the headers** Copy the headers below into the **Headers** tab. This operation requires a secret key — replace `{Secret key}` with the secret key of the integration point you specified in `endpointId`. ``` Accept: application/json Content-Type: multipart/form-data Authorization: SecretKey {Secret key} ``` ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/postman-headers.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=70ec269eeec2f3d4dabf4a6052360e98) **3. Attach the file to the request** Go to the **Body** tab and select **form-data**. ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/postman-body-form-data.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=2d9d84c4b6b472e73bcd41c33f2de150) Choose **File** in the **Key** field, then click **Select files** in the **Value** field. In the file picker, select the file you want to attach to the campaign. ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/postman-select-file.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=571e195bd2ded7ab70fe8131df19a9a2) **4. Send the request** Click **Send** and copy the `fileId` value from the response. ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/postman-file-id.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=06be5b7dc8254a1ed285b7e188a83732) ## 2. Create an automated email campaign Follow the steps in [How to Create Automated Email Campaign](/campaigns/email-campaigns/how-to-create-automated-email-campaign). ## 3. Add an operation with a step that sends the campaign Create the operation as described in [API v3 Methods: Basics](/api-integrations/api-v3-methods-basics). Example of an operation: ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/operation-setup-example.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=d59b059d46d1656d4d15de9165041f15) ### Build the call Open the operation description. When an operation uses the **Send Email** step, its request specification gains a contract for attaching a file: * `fileId` — the file identifier you got in step 1. * `fileName` — the name the file will have in the sent email. Both fields are required to send an attachment. ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/request-spec-attachments.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=a13138d66b27acd563d60716fe1a5281) Example request body: ```json theme={null} { "customer": { "email": "test@example.com" }, "emailMailing": { "attachments": [ { "fileName": "Invoice", "body": { "fileId": "4d238d4e-20a8-4a44-9388-b16bf206978a" } } ] } } ``` ## FAQ > [accordion] Which files can I attach? > > These formats are supported: > > ``` > application/msword > application/pdf > application/rtf > application/vnd.ms-excel > application/vnd.ms-powerpoint > application/vnd.oasis.opendocument.graphics > application/vnd.oasis.opendocument.presentation > application/vnd.oasis.opendocument.spreadsheet > application/vnd.oasis.opendocument.text > application/vnd.openxmlformats-officedocument.presentationml.presentation > application/vnd.openxmlformats-officedocument.spreadsheetml.sheet > application/vnd.openxmlformats-officedocument.wordprocessingml.document > application/x-7z-compressed > application/x-rar-compressed > application/zip > image/gif > image/jpeg > image/pjpeg > image/png > image/svg+xml > image/tiff > image/vnd.microsoft.icon > text/calendar > text/html > text/plain > video/mp4 > video/mpeg > ``` > [accordion] Is there a file size limit? > > The maximum size of an email including all its attachments is 25 MB. > [accordion] Is there a limit on the number of files? > > No. You can attach any number of files. > [accordion] How do I view attachments in sent emails? > > You can't view attachments from the account interface. To check one, forward the email to yourself from the customer profile. > > ![](https://mintcdn.com/maestraio/N_YmMwr2qxjuyUwl/images/campaign-with-attachment/forward-message.png?fit=max\&auto=format\&n=N_YmMwr2qxjuyUwl\&q=85\&s=940d6a1d12e51b7191ba4c2dca296ce4) > > > [!NOTE] > > > > Forwarding a campaign with an attachment requires the `Forwarding email attachments` permission. Out of the box only the **Owners** group has it, and it [can be granted to others](/administration/staff/how-to-extend-staff-permissions). If a user doesn't have it, the email is forwarded without the attachment. # How to use custom fonts in the Maestra Editor Source: https://help.maestra.io/campaigns/email-campaigns/maestra-email-editor/how-to-use-custom-fonts-in-the-maestra-editor By default, the Maestra Editor uses web-safe fonts — universally supported across browsers, devices, and email clients. If your email design uses custom or branded fonts, you can upload them in the Maestra Editor. > [!WARNING] > > **Note:** Custom fonts are not supported by all email clients. # **Supported formats** The Maestra Editor supports the following font formats: * **.woff** * **.woff2** If your file is in another format (such as .ttf or .otf), convert it using an online tool such as **CloudConvert**. # **How to upload a custom font** 1. Open the Maestra Editor. 2. Select any text block. In the font dropdown list, click **Add custom**. ​ ![](https://mintcdn.com/maestraio/bhtWBYDZ2NvjFyUQ/images/imported/How-to-use-custom-fonts-in-the-Maestra-Editor.png?fit=max\&auto=format\&n=bhtWBYDZ2NvjFyUQ\&q=85\&s=132cfbe145cd8518dbbbd2be3f97df83) 3. In the upload window, specify: * a **unique** font name * the font file in .woff or .woff2 format * font weight * font style 4. Click the **Add** button. ![](https://mintcdn.com/maestraio/bhtWBYDZ2NvjFyUQ/images/imported/How-to-use-custom-fonts-in-the-Maestra-Editor-\(1\).png?fit=max\&auto=format\&n=bhtWBYDZ2NvjFyUQ\&q=85\&s=450551874392b05b69d089972c66801f) After uploading, the custom font appears in the **font list** and is available for all blocks in the Maestra Editor. ![](https://mintcdn.com/maestraio/bhtWBYDZ2NvjFyUQ/images/imported/How-to-use-custom-fonts-in-the-Maestra-Editor-\(2\).png?fit=max\&auto=format\&n=bhtWBYDZ2NvjFyUQ\&q=85\&s=76d8f0e6924be277dd553fb26dcf9916) # **Font weights and styles** For each uploaded font file, you can assign one weight: * Regular * Bold and one style: * Normal * Italic ## **Non‑standard font weights** If your font uses other weights or styles (such as Light, Medium, Semibold, etc.), each weight must be uploaded as a **separate font file** with a unique name. **How to upload a font with a non‑standard weight:** 1. Name the font using the format **\[Font Name] + \[Weight]** (for example, *Ubuntu Light*). 2. Upload the font file. 3. Set: * **Weight** – Regular * **Style** – Normal This ensures the font displays with the correct visual weight when selected in the Maestra Editor without additional settings. # **Custom Font Support Across Email Clients** > [!WARNING] > > Not all email clients support custom fonts — when they don't, your email should fall back to a web-safe font instead. **Supported email clients:** * Apple Mail (iOS, macOS) * Outlook for macOS * Thunderbird * Android Mail (excluding Gmail) Most other email clients **do not support** custom fonts, including: * **Gmail** (except Roboto / Google Sans) * **Outlook.com** / **Outlook for Windows** * **Yahoo! Mail** ## **Fallback fonts** To ensure your email displays correctly in email clients that don’t support custom fonts, specify a **fallback font** that closely matches your custom font. ![](https://mintcdn.com/maestraio/bhtWBYDZ2NvjFyUQ/images/imported/How-to-use-custom-fonts-in-the-Maestra-Editor-\(3\).png?fit=max\&auto=format\&n=bhtWBYDZ2NvjFyUQ\&q=85\&s=16b1d4f7c6ade7b27672306c2ed61aa1) **How fallback fonts work:** * In supported email clients, the custom font is used. * In other clients, the fallback font is used. * Layout and readability are preserved. > [!TIP] > > **Recommendations:** > > * Always specify a fallback font. > * Test a **preview email** in popular email clients before sending your campaign. # Filtering Out Fake Clicks: Keeping Your Click Rate Clean Source: https://help.maestra.io/campaigns/filtering-out-fake-clicks-keeping-your-click-rate-clean Maestra excludes clicks generated by email security scanners from the statistics to ensure your reports reflect real user engagement. ​ ## Where Bot Clicks Come From — and How They Skew Your Metrics Many large organizations use email security scanners — automated systems (bots) that: * Automatically open incoming emails; * Click on every link in the message; * Do this before the recipient even sees the email. These scanners are designed to protect employees from phishing websites, malicious links and files, social engineering attacks. As part of the scan, they “click through” all links and run them through antivirus tools, sandboxes, and firewalls. Based on the scan results, the system decides whether to: deliver the email to the Inbox, send it to Spam or Promotions or block it entirely. These automated actions can seriously distort email performance analytics: * Opens and clicks are registered before the user actually engages; * Clicks may happen in bulk within seconds — and are not real; * Automated flows (like sending a follow-up campaign after a click) can be triggered by false events. This makes it harder to trust your data and personalize communication effectively. *** ## How Maestra solves it To prevent these issues, Maestra applies Bot Click Filtering System. How the filtering works: ## Step 1: Initial filtering * All clicks from transactional campaigns, and from users without email scanners enabled, are immediately counted in your click statistics. * All other clicks are placed in a temporary queue for up to 10 seconds for further analysis. ## Step 2: Behavior analysis During the 10 seconds wait, Maestra reviews click patterns to decide whether they were likely made by a bot. A click is automatically discarded as bot activity if it meets any of the following conditions: * 4 or more clicks within 1 second * 5 or more clicks within 10 seconds > [!NOTE] > > Filtering **only applies to clicks and unsubscribe requests**. > > **Opens are always recorded**, even if the related click is flagged as bot-driven # How to Send a Campaign Using a File Source: https://help.maestra.io/campaigns/how-to-send-a-campaign-using-a-file ## **When to use file-based email campaigns** These campaigns are useful for: * sending a campaign to a list of customers from a file (it can be a list of email addresses or phone numbers, or IDs). * adding values into the campaign that are not stored in the database (for example, promo codes or custom variables). ## **How it works** 1. In **Recipients**, select the **One-time file** option. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Send-a-Campaign-Using-a-File-\(1\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=2172f8653d2a85ac88f3230dd4e08e53) **Choose the type of customer identifier:** * Maestra customer ID * Email * Phone number * Custom field (field type must be "unique id") 2. Download the template file. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Send-a-Campaign-Using-a-File.png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=1207c56c56b952abc8102c2b07fdfe28) 3. Fill in the template with values based on the identifier you selected. ![](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/img-a32f0ba0.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=e56fc2de7c9d9b61a068487fe027c19d) > [!WARNING] > > ⚠️ **Important**: Remove **duplicates** before uploading. Otherwise, the same customer may receive the message twice. ## **How Campaign Sending Works Across Channels** > [!NOTE] > > 1. If you select **Email identification** and the file contains **email addresses**, the campaign will be sent to those addresses. > > **This means you can also send campaign to addresses that are not yet in your database**. > [!NOTE] > > 2. If identification is set to **email** but you send an **SMS campaign**, customer data will be pulled from the database. > > **In this case, the campaign will only be delivered to customers who have a phone number in customer profile.** ### **When sending Email campaigns** If you’re using email addresses to identify customers for the campaign: * If the email address isn’t in the database, the customer will be added as "Subscribed". * Customers without a subscription are automatically assigned the “Subscribed” status (if it’s a topic-based campaign, the user will be subscribed only to the topic, not the entire channel). * Unsubscribed customers do not receive campaigns, and their email addresses are excluded from recipient counts after file upload. * If the file contains duplicate email addresses, the campaign will be sent to each duplicate address. * If the campaign is created by user without permission to import new customers: * The campaign will only be sent to existing customers already in the database. * New customers will not be added or receive the campaign. * Copying a campaign created by a user without import permissions will not add new customers. The campaign must be recreated. New customers will be added to the database with the action: ​ ![](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/img-2298d0f1.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=2bfa3b552e01baf1e164c767c7a20a0e) ### **When sending SMS campaigns** Customer identification by phone number follows the same rules as email campaigns. ### When Sending Campaigns **Across Other Channels** To send mobile push or web push, you can use any available identifier: email, phone number, Maestra ID, or a unique ID. > [!NOTE] > > **Please note:** customer data will always be pulled from the database. For example, to send a mobile push notification, you can select email identification. The system will then find the customer in the database via email and verify the application and subscription. If the customer has no application or subscription data, the campaign will not be sent. ## How to Send a Bulk Campaign with Custom Variables We usually add custom variables to a campaign when we need to include a value that isn’t stored in the database. For example, if each customer needs to receive a unique promo code. ​ **To send the campaign with custom variables:** 1. Follow the [instructions](/campaigns/email-campaigns/how-to-create-a-bulk-email-campaign) to create a campaign. 2. Add a unique variable to your template: ​ - Come up with a name for your variable. The name must be unique, e.g., you may use the name of your campaign - SalesWithPromo123. ​ - Add the variable into the campaign: `${CustomParameters.ABC}` ​**ABC** is the name of the variable that we came up with above. The "CustomParameters" part of the variable always stays the same. **How it looks in your campaign editor:** ​ ``` `Your Promo code: ${CustomParameters.SalesWithPromo123}` ``` After adding the parameter, the campaign list looks like this. ​ ![](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/img-7875dd7c.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=8798ac2c94a39d45732977ddc0f6bf12) The red error message can be ignored. It disappears once recipients are selected.​3. In **Recipients**, select **One-time file**. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Send-a-Campaign-Using-a-File-\(3\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=ab37b21e6b3d4a328b81c724cad092b5) Select an identification method based on the type of contact in the upload file. In this example, the contacts are identified by email addresses. Download the template file for this campaign. ![](https://mintcdn.com/maestraio/Itk5DZRmZl9Vbe7N/images/imported/img-e1acaa78.png?fit=max\&auto=format\&n=Itk5DZRmZl9Vbe7N\&q=85\&s=1e6008c9c3dd069012c8807933f5607a) 4\. Fill in the template with values based on the identifier you selected. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Send-a-Campaign-Using-a-File-\(5\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=09a66f7c170c7caa2bb7bab5ac97f4b7) * The CustomerIdentity column contains a list of email addresses. * The SalesWithPromo123 column contains variable values. The column name must match the name of the corresponding variable in the campaign.5. Upload your file ![](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/img-276f4156.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=29a1512179fd2abfb5102b8baf00316d) The message about an unknown variable disappears, showing the total number of campaign recipients. ## **Common error** **Missing "CustomerIdentity" column.** The campaign accepts CSV files with a comma delimiter. The provided template file already uses this format.If you create the file manually, it may use a different delimiter. In this case, the campaign list will treat all columns as a single column and return an error indicating that the **CustomerIdentity** column is missing.To fix this, check the file delimiter using a text editor and replace them with commas if necessary, or copy the data into the template file. ## **How to test your campaign** 1. Create a small file with test addresses. 2. Add sample variables values. 3. Upload and send to the test group. 4. Verify the result. 5. Clone the campaign. 6. Upload the full file. 7. Send the live campaign. # How to Test an Automated Campaign Source: https://help.maestra.io/campaigns/how-to-test-an-automated-campaign #### Why conduct campaign testing? You cannot send test messages in an automated campaign that uses event or custom template variables. You can see your final message only if the campaign includes events that provide data for parameters. To test such a campaign, you have to add it to the flow or operation and enable testing mode. Meanwhile, messages will be generated but not sent to customers. #### How to enable campaign testing You can enable the testing in the mechanic that uses the campaign. #### In the flow You can test the flow with all its campaigns or only a specific campaign. **Test your campaign** In the node that sends the relevant campaign, enable the "Test campaign" option and launch your flow: ![00\_why conduct campaign testing](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=7a51a91da84c2bce72c75030fe049e79) > [!TIP] > > The flow will operate **like any other launched flow**: all the settings, nodes, or groups of steps, except for the test campaign, will be performed. > > The campaign messages **will be generated but not sent**. This way you can test a new campaign in an already operating flow when it is important not to lose runs during testing. For example, you can add a test campaign to a flow without removing an existing campaign. This way, the existing campaign will continue to operate on customer runs while test messages will be generated by a new template: ![01\_why conduct campaign testing(1)](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_why-20conduct-20campaign-20testing-281-29.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=42018e9a4c3402614d04cf9f1c36c754) The group of steps that includes a test campaign is marked in the flow: ![02\_why conduct campaign testing](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=6c4a4af9001d55cd4affaff710dd6e05) **Test your flow** [Flow testing](/flows/how-to-test-a-flow) enables the testing mode **for all flow campaigns** automatically: ![03\_why conduct campaign testing](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=e6cae6d216cc19161efa0acdb3bac3dd) > [!NOTE] > > You can view customer distribution by branches in the test flow without the actual flow run. The nodes and settings below **are ignored**: * expectation * group of steps (test messages are meanwhile generated); * A/B test; * execution frequency, and * operation start and end dates. You can use flow testing when creating a new flow, when it is important not only to test the messages but also see if the chains are built correctly. Plus, this way fits for testing the flows where only the step of sending the campaign is implemented, to avoid counting test runs. > [!WARNING] > > The campaign may use the template variables where the value should appear during chain completion: it can be a promo code issued in the flow or a webhook response. > > As the steps are not performed in the flow test, there will be no data for these parameters. You can test such messages in two ways: either [set up a selected contact to send it to or launch the flow and use the campaign test](/campaigns/how-to-test-your-campaign). **In operation** Flag the "**Test campaign**" option in the sending step: ![04\_why conduct campaign testing](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=4bb8a9e8d25256f9274232a28d285a8a) All the steps will be completed as in any other operation. Meanwhile, the campaign messages **will be generated but not sent**. ## How to view test messages #### In campaign Click on the menu → "**Test campaigns**" on the campaign editing page: ![05\_why conduct campaign testing(1)](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_why-20conduct-20campaign-20testing-281-29.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=dc98e38231e2e9bff4d04d3c72a2fb41) On the list, you see test messages from all the mechanics that use this campaign, as well as the tests sent from the campaign interface: ![07\_why conduct campaign testing](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=5785adb4b49e60936c23ef7703b1c09b) You can forward the messages to a selected email address you have in your project. You can forward up to five messages at once; they will also appear on the list after the sending: ![08\_why conduct campaign testing](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=e4698fb35b66f16247eff1b3442030eb) **In the flow** In the node for sending campaign, go to the "Generated messages" tab and click on the eye icon: ![09\_why conduct campaign testing](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=29e204fd20464834ecab54e13e628e73) Tests from all blocks are collected in the "Runs and messages" → "Generated messages" tab: ![10\_why conduct campaign testing](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=ca49d62328593123ea44e50aa744cb87) ![11\_why conduct campaign testing](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/11_why-20conduct-20campaign-20testing.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=d47b61c5ecd4eb702b2c6acbafc039bf) For each node, mailings **for the last ten clients** are displayed. For repeated runs, the last message generated for the client will be shown. **In the operation** You can not view generated messages from the operation separately, only in the list of generated messages in the mailing campaign. ## Finishing the testing and launching campaigns To launch the campaign, you have to disable the testing mode in the mechanic that is using it. Enabling and disabling the testing in flows and operations is **available only in the edit mode**. > [!WARNING] > > Flow testing finish does not impact the "Test campaign" toggle in the sending step. It returns into the state it used to be before test launch. **You cannot send** the messages **generated during the testing**. # How to Test Your Campaign Source: https://help.maestra.io/campaigns/how-to-test-your-campaign You can choose how to test your campaign depending on the task at hand and applicable parameters. The following three types of parameters can be used in campaigns: * **Event-based parameters**. These parameters retrieve data from events, so they can be passed only from scenarios/methods that contain relevant steps. For example: **Order**, **Session**. * **Non-event-based parameters** that retrieve data already available in the project at the time the message is created — e.g. **Recipient**, **Products**. * **Custom parameters**. These retrieve external data that is not available in the project but submitted through a call/file. This refers to **CustomParameters** only. For more on parameters, please refer to this guide. The testing method depends on the campaign type and parameters: | Type | Send a test message | Preview a test message | Test mode for an automated campaign | Send to your own contact from a flow | Generate a test request | | - | - | - | - | - | - | | **Bulk campaign** | + | + | + | + | - | | Automated campaign without event-based and custom parameters | + | + | + | + | +\* | | Automated campaign with event-based parameters | - | - | + | + | +\*\* | | Automated campaign with custom parameters | - | - | + | - | + | \*Exception: a bulk campaign where messages are sent based on a CustomParameters file. This type of campaign can only be tested by sending real messages to test accounts. \*\*When you use an API method to send an automated campaign. ## Send a test message You can send campaigns to selected customers without launching the real campaign. > [!NOTE] > > This is available for all bulk and automated campaigns where you don’t have any event-based or custom parameters. ### The following conditions are required: * The customer needs to be in the database. * Subscription is optional. * Depending on the channel, customers should also have the following:**Email**: a valid email address.**SMS**: a valid cell phone number.**Mobile Push**: the customer has given permission to send push notifications to a selected app.**Web Push**: the customer has given permission to display push notifications on a selected website. Click **Send test message**: ![00\_test\_campaign](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_test_campaign.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=fd9646f382ce350cac826eeef8ad5dcb) Find a customer using their ID and click "**Send to selected**": ![01\_test\_campaign](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_test_campaign.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=98667b31d94bc7064a03716356ac0456) A message will appear: ![02\_test\_campaign](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_test_campaign.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=659f9ee3acf0d79a48ef8e1c385eb145) Click "**View sent messages**": ![21\_test\_campaign](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/21_test_campaign.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=d8f5e56ca5a610cd12904602d1c672f5) Go to the list to view the message and its status: ![03\_test\_campaign](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_test_campaign.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=552a13afeb8a8014169a571578e578a8) > [!NOTE] > > **Test messages can also be forwarded.** > The customer needs to be in the database and may have any subscription status. This is available for the email channel only and you can forward up to 5 messages at a time. Select a message in the list to forward it: ![04\_test\_campaign](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_test_campaign.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=606786c00663382e05c60984db3ecd40) Forwarded messages will also be added to the test campaign list. ### Preview a test message Use preview mode to test your campaign without sending it to a customer: ![05\_test\_campaign](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_test_campaign.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=1ea119e6390a0f3d0e56a43e10c97f40) > [!WARNING] > > Please note that SMS, Mobile Push, and Web Push campaigns have limitations in the way some blank fields are processed in the preview. With no data to display, the preview screen will show the parameter name: ![06\_test\_campaign](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_test_campaign.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=58de597cbf2e47785e5a28e87b80af0e) This type of message will not be sent via test mode or as part of a real campaign to a customer. ### Filter customers for testing To test specific parameters, either fill in your customer profile with relevant details or filter customers and preview your campaign. For example, your can filter customers by an additional field that has been filled in: ![07\_test\_campaign](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_test_campaign.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=4e25b009350449a44f859f15c3515b89) Or you can filter customers by the products in their cart: specify the quantity of products to test your message with various product grid layouts: ![08\_test\_campaign](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_test_campaign.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=ff1bc031e427ef6feacd125fc7cd51b6) ## Test mode for automated campaigns In this mode, campaigns are generated for but not sent to customers from a flow / API method. When you are happy with the campaigns in the test mode, you can send them. > [!NOTE] > > The test mode is available for all automated campaigns. Here’s an outline of the main steps (for more information, please refer to our guide on working with the test mode in automated campaigns): 1. Switch your campaign to test mode: ![09\_test\_campaign](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_test_campaign.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=66d048835d06a3fffe93731162af1be2) You’ll see a message: ![10\_test\_campaign](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_test_campaign.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=0fa8a70b429dbd38d98ef782a616a296) Then you’ll see a **Test mode** indicator: ![11\_test\_campaign](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_test_campaign.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=366f464daaf372f7b10c8ecf2836ffa8) 2. Add the campaign to your flow: ![12\_test\_campaign](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_test_campaign.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=a0612de343f466db40fa959a3e47899d) The flow will generate campaigns which are not sent to customers while the test mode is active. > [!NOTE] > > If you need to replace your current campaign with a new one without stopping it, leave the current campaign in the flow and add your new campaign as a second step: ![13\_test\_campaign](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_test_campaign.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=ee2ae55f5f3b694125b40d09e4dde1da) Customers still receive campaigns generated with the current template, with new test campaigns generated for them simultaneously. Click the link to see the generated campaigns: ![14\_test\_campaign](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_test_campaign.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=7a0fba4c798877dcfe8079feca2fccba) ### The list does not show the total number of messages and they cannot be filtered. If you need stats on this, add the "Issue an action" step with a relevant template into the flow. Once this step has been added, the listed customers are marked with actions near the test messages. You can use this to filter your customers. > [!NOTE] > > **You can forward messages generated in test mode.** > > The customer needs to be in the database and may have any subscription status. This is available for the email channel only and you can forward up to 5 messages at a time. You cannot forward messages that have been canceled. Select a message from the list and click **Forward**: ![15\_test\_campaign](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/15_test_campaign.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=66b0e6f542e768dbac137b5483f964f2) Forwarded messages will appear on the test campaign list. ### You can send messages generated in test mode to your customers Simply tick the checkbox in the window that pops up when ending test mode: ![16\_test\_campaign](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/16_test_campaign.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=b9c1bd2a8d87a207206abd64284cf021) ## Sending the campaign to yourself via the flow Send a real campaign to yourself by meeting all the necessary conditions. > [!NOTE] > > This option is available in all automated campaigns. To ensure the message can be sent: * You should be subscribed to the channel (and the topic, if selected) of your campaign. * Depending on the channel you use, you should also have the following:\* Email: a valid email address.\* SMS and Viber: a valid cell phone number.\* Mobile Push: enabled mobile push permissions for the selected app.\* Web Push: permission to display push notifications on the selected website. If you use a global control group on your project, you should not belong to the group (otherwise, go to the campaign profile and click "ignore global control group settings"). ### You can run this test in the following two ways: — Assign an action to your customer profile (such as products added to cart) or carry out the necessary action so that you match the flow’s conditions. — Create a new flow that runs only for your customer profile and launch it. Simply specify your email address in the conditions: ![17\_test\_campaign](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/17_test_campaign.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=55661b686c5d97aab7bf49b59f365ddf) And click **Launch**: ![18\_test\_campaign](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/18_test_campaign.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=00012c72bfe23c5db83c8cedb06ae932) Now you need to match the flow’s conditions. If the event is: — **a placed or changed order** → import the order, add it as a test request or place a test order; — **a completed session** → go to the website, add products to the cart/view product cards, wait for the session to end, etc. > [!NOTE] > > An inactive session ends in 30 minutes, but you can also end it manually. To do this, enter the following code in the console: ``` `maestra("closeSession")` ``` ### You can forward messages that have been sent. The conditions here are the same as listed above — this option is available for the email channel only, you must be in the database and may have any subscription status. In the customer profile, choose any action template, click the menu button, and select **Forward message**: ![20\_test\_campaign](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/20_test_campaign.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=69037df3a3654e2adb6f96283004a141) The account of the new recipient now shows the campaign participation action and the message sending action. This data will also be included in the report. Campaign open and click actions are not recorded in the system. # Adding a Condition: if...else if...end if Source: https://help.maestra.io/campaigns/message-template-engine/adding-a-condition-ifelse-ifend-if You may sometimes need to check certain details from a customer’s profile in order to personalize content for them — this may be their gender, for example. To do this, you can use the if...else and if...end if conditions. Here’s what a **simple condition** looks like: ``` `@{ if Recipient.Sex.IsMale } Dear Sir, @{ end if }` ``` A **default condition** can be set if none of the conditions is satisfied: ``` `@{ if Recipient.Sex.IsMale} Dear Sir, @{ else if Recipient.Sex.IsFemale} Dear Madam, @{ else } Dear Sir or Madam, @{ end if }` ``` You can embed a simple or a complex condition inside an if/else if condition. A complex condition consists of multiple simple conditions joined by the AND / OR operator or with the NOT operator before a condition. ### A condition can be: * Boolean (Recipient.Sex.IsMale, etc.); * An arithmetic comparison (Recipient.Balance > 50); * Request for a boolean function (IsEmpty(Recipient.Name)). If you decide to use a simple condition, the algorithm will check whether the condition has been met and will return a result if it has — for example, a specific text such as "Sir". If the condition has not been met, no value will be pasted. A default condition will check multiple conditions to see if they have been met. Once it finds one that is "true", it will paste the result corresponding to this condition. If none of the conditions have been met, a default value will be pasted. # Data Processing and Formatting Methods Source: https://help.maestra.io/campaigns/message-template-engine/data-processing-and-formatting-methods The system supports different methods depending on the data types used by variables. To learn more about campaign variables, please see [this article.](/campaigns/message-template-engine/what-is-the-message-template-engine) ## String methods *** * **ToUpper** (string): changes all letters to uppercase. Example: $\{Recipient.OnlyStandardFirstName\} — Alex $\{ToUpper(Recipient.OnlyStandardFirstName)} → ALEX *** * **ToLower** (string): changes all letters to lowercase. Example: $\{item.AdditionalData.Colour\} — Red $\{ToLower(item.AdditionalData.Colour)} → red *** * **Capitalize** (string): capitalizes the first letter of the first word in the string. Example: $\{item.Description\} — wide black belt $\{Capitalize(item.Description)} → Wide black belt *** * **CapitalizeAllWords** (string): capitalizes the first letter of each word. Example: $\{item.Description\} — wide black belt $\{CapitalizeAllWords(item.Description)} → Wide Black Belt *** * **ReplaceIfEmpty** (string1, string2): displays string 1. If empty, it displays string 2. Example: $\{Recipient.OnlyStandardFirstName\} — "" (empty string) $\{Recipient.AdditionalData.Nickname} — CoolGuy93 \$\{ReplaceIfEmpty(Recipient.OnlyStandardFirstName, Recipient.AdditionalData.Nickname)} → CoolGuy93 *** * **IsEmpty** (string): checks if the string is empty. Example: $\{Recipient.OnlyStandardFirstName\} — Alex $\{IsEmpty(Recipient.OnlyStandardFirstName)} → true *** * **Length** (string): counts the number of characters in the variable. Example: $\{Recipient.LastName\} — Smith $\{Length(Recipient.LastName)} → 5 *** * **Truncate** (string, character count): cuts off the string to the defined length and adds an ellipsis at the end. This ellipsis is counted as three characters. Example: $\{item.Description\} — item description $\{Truncate(item.Description, 10)} → item de...To remove a fixed quantity of characters from the end of a string, use the **Length()** function. X number of characters are removed from the end and three are added as an ellipsis instead. For example, the method below removes the last seven characters: $\{item.Description\} — Ruby ring No.123 $\{Truncate(item.Description, Length(item.Description) — 4)} → Ruby ring... *** * **Substring** (string, start, length (optional)): returns a substring that starts from the start character and contains the character count specified in **Length()**. If **Length()** is omitted, the whole string is returned: $\{Recipient.LastReceivedPromoCode.WithTypeUnique.Value\} — BGDK4444 $\{Substring(Recipient.LastReceivedPromoCode.WithTypeUnique.Value, 1, 4)} → BGDKUse the **Length()** function if you want to cut off a fixed number of characters from the end of a string. For example, to remove the last four characters: $\{Recipient.LastReceivedPromoCode.WithTypeUnique.Value\} — ABCDE1234 ​$\{Substring(Recipient.LastReceivedPromoCode.WithTypeUnique.Value, 1, Length(Recipient.LastReceivedPromoCode.WithTypeUnique.Value) — 4)} → ABCDE To return the last four characters: \$\{Substring(Recipient.LastReceivedPromoCode.WithTypeUnique.Value) — 3)} → 1234 *** * ChooseRandomText (random string count, but at least one): randomly chooses a string from the list of variables. \$\{ChooseRandomText("text1″, "text2″, "text3″)} → text2 *** ## Methods for numeric values * **FormatDecimal** (numeric value, format): formats any numeric values. **Example**: $\{balance\} — 20,000.12 $\{FormatDecimal(balance, 'N0′)} → 20,000 $\{FormatDecimal(balance, 'N1′)\} → 20,000.1 $\{FormatDecimal(balance, 'N2′)} → 20,000.12Please note that this method returns a numeric value as a string. To use it with some other numeric function, each variable must be unformatted. #### Example: \$\{balance} — 20,000.12 $\{FormatDecimal (balance, 'N0')\} → 20,000$\{Forms(balance, 'bonus', 'bonuses')} → bonuses$\{Forms(balance, 'bonus', 'bonuses')\} → bonuses When combined:$\{FormatDecimal(balance, 'N0')}\$\{Forms(balance, 'bonus', 'bonuses')} → 20,000 bonuses *** * **Forms** (numeric value, form1, form2, form3): returns a grammatically correct word form with respect to the numeric value. Example: $\{Recipient.AdditionalData.Age\} — 30 $\{Forms(Recipient.AdditionalData.Age, 'year old', 'years old')} → years old *** * **AppendForms** (numeric value, form1, form2, form3): returns a numeric value and a relevant word form divided by the space character. Example: $\{Recipient.AdditionalData.Age\} — 30 $\{AppendForms(Recipient.AdditionalData.Age, 'year old', 'years old')} → 30 years old *** * **Floor** (numeric value): returns a max integer value that does not exceed the variable. Example: $\{balance\} — 10.9 $\{Floor(balance)} → 10This method rounds up a numeric value to the nearest integer. *** * **Ceiling** (numeric value): returns a minimum integer value that is more than or equal to the variable. Example: ceiling (10.6) returns 11. $\{balance\} — 10.6 $\{Ceiling(balance)} → 11 *** * **GetRandomNumber** (numeric value, numeric value): returns an integer value within a specified range, including the first number. Example: \$\{GetRandomNumber(1, 10)} returns a random number from 1 to 9. > [!WARNING] > > You can use **GetRandomNumber** in the email body only, not in the subject line. To randomize the subject line, use **ChooseRandomText** instead. *** ## Methods for date & time * **FormatDateTime** (date, format): formats date & time values. Example: $\{CustomerAction.DateTimeWashington\} — 03/12/2024 10:30:00 $\{FormatDateTime(CustomerAction.DateTimeWashington, "d")} → 03/12/2024 *** * **ToUnixTimeStamp**(date) — convert a date to [Unix Time Stamp](https://www.unixtimestamp.com/index.php) format: $\{Order.DateTime\} → 03/12/2024 15:00:00 (On a project with UTC+3:00 timezone) $\{ToUnixTimeStamp(Order.DateTime)} → 1710255600 You can calculate **the number of days between dates**: $\{Recipient.CustomField.Date1\} → 03/07/2024 00:00:00 $\{Recipient.CustomField.Date2} → 03/12/2024 00:00:00 $\{(ToUnixTimeStamp(Recipient.CustomField.Date2)-ToUnixTimeStamp(Recipient.CustomField.Date1)) / 86400\} → 5 $\{(ToUnixTimeStamp(Recipient.CustomField.Date1)-ToUnixTimeStamp(Recipient.CustomField.Date2)) / 86400} → −5 You can calculate **the number of hours between dates**: $\{Recipient.CustomField.Date1\} → 03/12/2024 12:00:00 $\{Recipient.CustomField.Date2} → 03/12/2024 22:00:00 $\{(ToUnixTimeStamp(Recipient.CustomField.Date2)-ToUnixTimeStamp(Recipient.CustomField.Date1)) / 3600\} → 10 $\{(ToUnixTimeStamp(Recipient.CustomField.Date1)-ToUnixTimeStamp(Recipient.CustomField.Date2)) / 3600} → −10 *** * **AddDays** (date, numeric value): returns the date value that is the sum of the date and the specified quantity of days. Example: The resulting date is earlier or later by X days: $\{Formatdatetime(Recipient.BirthDate, "dd/MM") \} — 05/03 $\{Formatdatetime(AddDays(Recipient.BirthDate, 5), "dd/MM") } → 10/03 \$\{Formatdatetime(AddDays(Recipient.BirthDate, −5), "dd/MM") } → 05/03 *** * **GetDay** (date): returns the day in the date as a numeric value. You can apply arithmetic methods to this value. Example: $\{Recipient.BirthDate\} — 03/10/1984 00:00:00 $\{GetDay(Recipient.BirthDate)} → 10 *** * **GetMonth** (date): returns the month in the date as a numeric value. You can apply arithmetic methods to this value. Example: $\{Recipient.BirthDate\} — 03/15/1993 0:00:00 $\{GetMonth(Recipient.BirthDate)} → 3 *** * **GetYear** (date): returns the year in the date as a numeric value. You can apply arithmetic methods to this value. Example: $\{Recipient.BirthDate\} — 04/20/1975 0:00:00 $\{GetYear(Recipient.BirthDate)} → 1975 $\{Message.SendingDateTime\} — 10/20/2024 $\{GetYear(Message.SendingDateTime)} → 2024 ## Methods for collections * **TableRows** (collection, quantity of columns): transforms a collection of elements into a set of rows with cells. This can then help create HTML tables. For more information, please refer to [this article.](/campaigns/message-template-engine/how-use-variables-to-create-a-product-grid-layout-for-html) * **Count** (collection): returns the number of elements in a collection / list. Example: \$\{Count(Order.Items)} → 5 corresponds to the five line items in the order. * **collection.Take(N)**: returns the first N elements of the collection. Example: Products.GetBySegment("WomenWear").Take(3) collection of a maximum of three line items. ## Boolean methods (true/false) * **If** (conditional statement, string1, string2): returns string1 if the statement is true or string2 if the statement is false. Example: $\{Order.AdditionalData.FreeShipping\} — true $\{If(Order.AdditionalData.FreeShipping, "free", "\$2″)} → free *** ## Methods for images * **ResizeImage** (URL, width, height): resizes images. You can send test emails to check how this method works. Images are resized as emails are composed. Example: \Hi</a>')\} You can also put your code into an item’s description and get its value using the variable:$\{processHtml(Products.SearchInIdentity("c1").GetByValue("2134").Description)} > [!NOTE] > > **Please note:** > > * The code in the block should not contain any variables. This is not to be confused with an entire block returned using a variable (as in the example with a product description). > * You can use multiple blocks in one email. The system will record clicks for each of the blocks. > * Clicks can be viewed in the customer's profile. UTM parameters are also saved. > * Clicks will not be shown in reports or heatmaps. # How to Greet Contacts by Name in your campaigns. Source: https://help.maestra.io/campaigns/message-template-engine/how-to-greet-contacts-by-name-in-your-campaigns When inserting a customer’s name into your email or subject line, it’s important to make sure the name looks natural. If you skip name validation, you might end up with greetings like: > [!NOTE] > > Hi, 123test! > > qwerty, good morning! To prevent this, use the OnlyStandardFirstName field. It ensures that only verified, real names are displayed. ## **Adding Recipient’s Name to Your Campaigns** **Example 1** > [!NOTE] > > @\{if IsEmpty(Recipient.OnlyStandardFirstName)} > > Hello there! > > @\{else} > > Hello, \$\{Recipient.OnlyStandardFirstName}! > > @\{end if} **Result:** No name or invalid name → “**Hello there!**” Valid, standard name → “**Hello, Helen!**” In this example, the logic works as follows: * If the first name is not standard or not provided display: **“Hello!”** * If the first name is standard display: **“NAME, hello!”** **Example 2** > [!NOTE] > > @\{if IsEmpty(Recipient.OnlyStandardFirstName)} > > Good afternoon! > > @\{else} > > \$\{Recipient.OnlyStandardFirstName}, good afternoon! > > @\{end if} **Result:** No or not standard name → “**Good afternoon!**” Standard name → “**Helen, good afternoon!**” ## Using the Email Builder If you’re using the email builder, you can set up name-based personalization without inserting any code. See the full instructions \[here]. # How to Use Elements of a Collection with the "for...end for" Loop and the "set" Keyword Source: https://help.maestra.io/campaigns/message-template-engine/how-to-use-elements-of-a-collection-with-the-forend-for-loop-and-the-set-keyword Some parameters contain a set of objects — e.g., all items in an order — rather than a single value. In your template, you can add a block for each of these kinds of objects: ``` `@{ for item in Order.Items } Price: ${ item.Price } @{ end for }` ``` In this example, `item` is an arbitrary name attributed to one order item so that you can use its parameters. Inside the `for...end for` block you can access a particular order item. In addition, this block can include an arbitrary HTML code, conditions, and even nested loops. If the example above contains three order items, the output will be: > Price: 5 > Price: 10 > Price: 25 Also, you can use the "set" keyword in `@{ set a = a + 1 }` to add a counter. ### Here are some possible use cases: To display the total purchase value: ​ ``` `@{ set Total = 0 } @{ for product in Session.GetAddedToListProducts("Cart").Take(10) } @{ set Total = Total + product.Price } @{ end for }` ``` To list the product IDs separated by a comma: ​ ``` `@{ set Ids = "" } @{ for product in Products.GetBySegment("PopularInStock").Take(10) } @{ if Ids != "" } @{ set Ids = Ids & "," } @{ end if } @{ set Ids = Ids & product.IDs.C1 } @{ end for }` ``` # How Use Variables to Create a Product Grid Layout for HTML Source: https://help.maestra.io/campaigns/message-template-engine/how-use-variables-to-create-a-product-grid-layout-for-html Imagine a typical everyday task: rendering listed data into a table. Some good examples include order line items, products in a cart, purchase recommendations. Sometimes the exact quantity of line items is unknown, or it cannot be divided by the quantity of table columns without a remainder. The ***TableRows*** function can solve this problem by making a layout. It groups the list of values (variables) into rows of X elements each. After that, you can render the table rows and columns in cycles. ***TableRows*** receives the following two variables: * collection — a list of products; * number of table columns. ***TableRows*** returns a collection of table rows. Every row has the following properties: * ***Index***: the index number of the table row (starting with 1); * ***IsFirst***: whether a given row is the first; * ***IsLast***: whether a given row is the last; * ***ValueCount***: the quantity of non-empty cells in the row. For example, if you try to add a list of 8 line items to a 5-column table, the relevant ***ValueCount*** will equal 5 for the first row and 3 for the second one because the second row will have some empty cells. * ***Cells***: the list of cells in the row\.The number of cells is always equal to the number specified in the ***TableRows*** variable even if there are less values in this variable.Every cell has the following properties:\* ***Index***: the index number of the table column (starting with 1);\* ***IsFirst***: whether the column is the first;\* ***IsLast***:whether the column is the last;\* ***Value***: a relevant list element. This field may be empty. > [!NOTE] > > Please note: The ***Value*** property of a given cell can be empty (null) if the quantity of elements of the ***TableRows*** variable can be divided by the quantity of cells with a remainder only. Therefore you’ll need to check whether this ***Value*** is null if you cannot ensure the appropriate quantity of elements. An email may fail to be sent if there is an empty cell. # Example: ``` `@{ if cell.Value != null } Upload some of the field values: ${ cell.Value.Title } @{ else } Make a layout without using values @{ end if }` ``` Let’s see how it all works by looking at some examples. # Example 1: Layout: ![02\_gridLayout.png](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_gridLayout_png.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=b43f14eeb87d7259da91ee8e46c58c9f) A placeholder, e.g. an image, is added to empty cells. Layout code: ``` ` @{for row in Products, 3)} @{for cell in row.Cells} @{end for} @{end for}
@{if cell.Value != null} ${cell.Value.Name} @{end if}
` ``` # Example 2: Layout: ![03\_gridLayout.png](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_gridLayout_png.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=78a390611192cddf3791e9f475d5aa54) If there are not enough elements for the last row in the layout, a different layout is applied — e.g., with merged cells. Layout code: ``` ` @{ for row in tableRows(Products, 3) } @{ if row.ValueCount = 3 } @{* Layout for a standard row where all the relevant elements are present *} @{ for cell in row.Cells } @{ end for } @{ else } @{ end if } @{ end for }
${ cell.Value }
@{* Example of a table inside the last row *} @{ for cell in row.Cells } @{ if cell.Value != null } @{ end if } @{ end for }
${ cell.Value }
` ``` # Example 3: Layout: ![04\_gridLayout.png](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_gridLayout_png.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=ac22fd161cf09851280a4d819033d30a) The last row has a different style and might use a different layout; each starting element in the row has a different style / layout. Layout code: ``` ` @{ for row in tableRows(Products, 3) } @{ for cell in row.Cells } @{ if cell.Value != null } @{ end if } @{ end for } @{ end for }
${ cell.Value }
` ``` # What is the Message Template Engine? Source: https://help.maestra.io/campaigns/message-template-engine/what-is-the-message-template-engine The Message Template Engine is a special-purpose text-based identifier that offers variables to create messages with dynamic content. Here’s how it works: first, customer data is uploaded using engine variables. The system then displays the details that belong to each particular customer. In other words, the message you send to each client will be personalized based on the parameters that you’ve specified you want to include — such as their name, gender, birthdate, bonus point balance, actions (e.g items they’ve browsed or added to their carts), orders, and more. To visit the Variables page, click **Campaigns** → **Message Template Variables**: ![00\_tempengine](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_tempengine.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=5ee83cd4f049de164065383a0f9f3f99) You can also open this section directly from the message editor: ![01\_tempengine](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_tempengine.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=f4c0309fc05a64d7e2de142eb3f63770) # Details Available in the Variables Section ## Name This is compiled by joining all the names end-to-end, with the target variable name at the end. For instance, to display the [custom field](/api-integrations/how-to-create-a-custom-field) **Favorite color**: choose the base parameter (Recipient), then a group of custom fields (AdditionalData), and only then the name of this custom field (which is Color in our case). The final variable name will include all these names joined by dots: Recipient.AdditionalData.Color ![02\_tempengine](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_tempengine.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=6f9f54701822d6649ced0937a0764c95) For details on how to render a variable in a message, please refer to this article. ## Type Data types can be grouped into two categories: * **Primitive**:\* String\* Date & time\* Number\* Integer\* Decimal\* Boolean * **Composit**:\* Aggregate Messages only support primitive data types, e.g., booleans in conditional statements. All elements in aggregates consist of primitive fields. First, the user requests an aggregate element using the cycle @for...\@end for. Then, the system populates relevant details into each element. A customer (Recipient), a change in a customer’s balance (CustomerBalanceChange), and an order are implemented as sets of variables. They belong to the composite data type but they are not aggregates. The user cannot display the values of such variables in a message directly. Instead, you have to call a string, number, or other values that are ’inside’ a given variable. For example, you cannot display a Recipient in a message as the system does not know which details the user is requesting. However, the user can display a customer’s name (Recipient.FirstName — which is a "string" type of data) or their birthdate (Recipient.BirthDate, which falls into the "date & time" data category). ## Description A short description for your variable to help you better understand what it refers to. ## Accessibility There are variables that depend on events. These are not simply customer details. Instead, these variables deal with details of a specific action, order, or website session. Variables like this can only be used in custom automated campaigns that are launched after a specified triggering event. **Example**: ![03\_tempengine](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_tempengine.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=d7cbcb95ce98c0a7b38f03e547539845) For more details on how to handle these types of events and test messages related to them, please refer to this article. # What Operators are Available Operators that are available to handle given data depend on the type of this data. * Logical connectives \*\*(and, or)\*\*Available with all primitive data types * Arithmetic operators: Addition **(+)**, Subtraction **(-)**, Multiplication **(\*)**, Division \*\*(/)\*\*Available with all numbers * Concatenation operator \*\*(&)\*\*Available with all primitive data types * Comparison operators \*\*(\<, >)\*\*Available with all numbers * Equality operators **(=, !=)** # How to Send a Telegram Campaign via Fasttrack Source: https://help.maestra.io/campaigns/messengers/how-to-send-a-telegram-campaign This article walks you through everything you need to send Telegram campaigns from Maestra using Fasttrack as the messaging provider — from the initial connection to creating templates, building campaigns, and tracking results. ## In this article * [Connecting Telegram](#connecting-telegram) * [Settings in Fasttrack](#settings-in-fasttrack) * [Click tracking](#click-tracking) * [Creating templates](#creating-templates) * [Creating a campaign in Maestra](#creating-a-campaign-in-maestra) * [Message](#message) * [Sending the campaign](#sending-the-campaign) * [Who can receive Telegram messages?](#who-can-receive-telegram-messages) * [After the send](#after-the-send) * [Markdown syntax](#markdown-syntax) ## Connecting Telegram 1. Create an account in [Fasttrack](https://fstrk.io) — the service used to deliver messages to messengers. 2. In Maestra, create a custom field to store Telegram identifiers for your customers. 3. Go to **Settings → Campaigns → Connections** and add a new connection for Telegram. 4. Fill in every field in the connection settings: * **Brand** — select the brand you need. This matters for multi-brand projects. * **Provider** — Fasttrack. * **Recipient contact** — choose the custom field you created in step 2. 5. To finish the setup, select the bot in Fasttrack and save the connection. 6. Enable the **Notifications and Messengers** module. > [!NOTE] > > The **Notifications and Messengers** module must be active on your project before Telegram campaigns can be created or sent. If it isn't enabled, ask your Maestra Forward Deployed Marketer to turn it on. ## Settings in Fasttrack ### Click tracking For clicks to be recorded in Maestra, enable link shortening in Fasttrack under **Settings → System settings**. Without this option turned on, click-throughs from your Telegram messages will not flow back into Maestra reporting. ### Creating templates In Fasttrack, create templates for each type of message you plan to send: text only, text with an image, text with a button, and so on. Here is an example of how to build a template that contains text, an image, and a button. 1. In the Fasttrack interface, open the **Constructor → Node group** tab and go to **Campaign templates**. 2. Add a new template. 3. Enter a name for the template. You'll need this name later when you set up the campaign in Maestra. Click **Create message**. 4. Fill in the body of the template. Mark every variable part of the message (text, image URL, button URL, and so on) with a placeholder — the values for these placeholders will be substituted in from Maestra when the campaign is sent. Use the following syntax for variables: ``` {{ get_params.* }} ``` * **Text and image** — use Markdown formatting (see the [Markdown syntax](#markdown-syntax) section below). * **Button** — add the button element and reference variables for both the button label and the destination URL. 5. Save every element in the constructor before leaving the screen. > [!TIP] > > Build a separate template for each message structure you expect to use (plain text, text + image, text + button, text + image + button). Reusing well-named templates makes it much easier to maintain Telegram campaigns over time. ## Creating a campaign in Maestra Once your template exists in Fasttrack, you can use it to create and send campaigns from Maestra. 1. Go to the **Campaigns** section. 2. Click **Create campaign** and choose the campaign type — **bulk** or **automated**. 3. Select the **Telegram** channel, pick a folder, and click **Create**. ### Message Fill in the message section as follows: * **Sender** — created automatically when you add the provider. * **Template name** — copy the template name exactly as it appears in Fasttrack. * **Template parameters** — fill these in if your Fasttrack template uses variables: * **Key** — the name of the variable (the part after `get_params.`). * **Value** — the content that should replace the variable in the outgoing message. You can use template engine parameters and Markdown formatting in the value. > [!NOTE] > > The template name in Maestra must match the name in Fasttrack character-for-character. A mismatch will prevent the message from being assembled and sent. ## Sending the campaign The delivery flow works the same way as in every other channel: * **Bulk campaigns** — pick the recipients and launch the campaign immediately or schedule it for a later date. * **Automated campaigns** — these are sent from flows after the campaign has been moved to the **Ready for use** status. ## Who can receive Telegram messages? A customer can receive a Telegram message only if their messenger identifier is filled in. Always add a check for the presence of this identifier in your segment or flow conditions. When a customer blocks the bot, every future message to them will fail with the undelivered reason **Number not supported by provider**. You can use this event to identify those customers and exclude them from future campaigns. Keep in mind that a customer may later unblock the bot — in that case, they should automatically become eligible to receive your campaigns again, so build your segments so they re-enter the recipient list once delivery becomes possible. Example: build a segment that includes customers who have a Telegram identifier filled in **and** whose last Telegram message did not fail with the "not supported by provider" reason. ## After the send Customer interaction with the campaign is tracked through delivery statuses. The Telegram channel reports the following statuses: * **Sent** — the message was accepted by the provider and delivered. * **Not sent** — the message could not be sent (for example, the recipient has no Telegram identifier). * **Undelivered** — the provider attempted delivery but it failed (for example, the bot was blocked). You can use these statuses in segments, filters, and reports just like you would for any other channel. ## Markdown syntax Telegram messages use basic Markdown for formatting. You can apply Markdown both when you build the template in Fasttrack and when you fill in variables in the Maestra campaign. The basic formatting options are: | Element | Syntax | | - | - | | Image | `![](image-url)` | | Image with caption text in the same message | `![text](image-url)` | | Link inside text | `[link text](destination-url)` | | Bold | `*text*` | | Italic | `_text_` | | Monospace | `` `text` `` | **Example** ``` *Hello, {{ customer.firstName }}!* Check out our new arrivals: [Shop now](https://example.com/new) _Free shipping on orders over $50._ ``` This produces a message with bolded greeting, an inline link, and an italicized note about free shipping. # How to Send a WhatsApp Campaign via Edna Pulse Source: https://help.maestra.io/campaigns/messengers/how-to-send-a-whatsapp-campaign-via-edna-pulse Edna Pulse is a messaging provider that lets you reach customers in WhatsApp. Once you connect Edna Pulse to Maestra, you can send WhatsApp campaigns — both one-off broadcasts and automated messages triggered by scenarios — directly from the platform, track delivery and engagement, and use customer data to personalize each message. This guide walks through connecting Edna Pulse to Maestra, preparing message templates, building a WhatsApp campaign, and tracking results after send. ## How WhatsApp messaging works with Edna Pulse WhatsApp requires that any conversation a brand starts with a customer begin with a pre-approved message template. Templates are created and submitted for approval on the Edna Pulse side. Once a template is approved and marked **Active**, you can reference it from a Maestra campaign and send it to your audience. Maestra handles the audience, scheduling, personalization, and reporting. Edna Pulse handles the WhatsApp Business API connection, template approval, and the actual delivery to WhatsApp. ## Step 1. Connect Edna Pulse to Maestra ### 1.1 Create an Edna Pulse account and a WhatsApp channel Sign up for Edna Pulse and create a WhatsApp channel inside your Edna Pulse workspace. When the channel is created, Edna Pulse automatically generates a **cascade** for it. You'll need the cascade identifier in a moment. ### 1.2 Add the connection in Maestra In Maestra, go to **Settings → Mailings → Connections** and add a new WhatsApp connection. Fill in the following fields: **Brand** `select` For multi-brand projects, select the brand this connection belongs to. **Provider** `select` Choose **Edna Pulse**. **Cascade identifier** `string` The cascade ID generated by Edna Pulse. You can find it in the **Cascades** section of your Edna Pulse account. **API key** `string` The API key from Edna Pulse. Find it under **Integration → Settings** in your Edna Pulse account. ### 1.3 Configure the status webhook Set up an HTTP server endpoint to receive delivery statuses and incoming messages from Edna Pulse. Use the same API key for authentication. This is what allows Maestra to track whether each message was delivered, read, clicked, or failed. ### 1.4 Enable the Notifications and Messengers module Make sure the **Notifications and Messengers** module is enabled in your Maestra project. Without it, WhatsApp campaigns cannot be sent. ## Step 2. Create a template in Edna Pulse Every WhatsApp conversation you start with a customer has to begin with an approved template. Templates live in Edna Pulse, not in Maestra. In your Edna Pulse account, go to **Settings → Templates** and create an operator template. Submit it for approval. Only templates in **Active** status can be used in Maestra campaigns — templates that are still pending review or have been rejected won't be available for sending. > [!NOTE] > > Approval is handled by WhatsApp, not by Edna Pulse or Maestra, and can take some time. Plan template creation ahead of any time-sensitive campaign. ## Step 3. Build the WhatsApp campaign in Maestra 1. Open the **Campaigns** section in Maestra. 2. Create a new campaign and choose the campaign type: * **Mass campaign** — a one-off send to a selected audience, sent immediately or scheduled. * **Automated campaign** — triggered by a scenario (for example, abandoned cart, welcome, post-purchase). 3. Select **WhatsApp** as the channel and choose the folder where the campaign should live. 4. Select the sender you configured when connecting Edna Pulse. ### Choose a message type Edna Pulse supports several WhatsApp message types. Pick the one that matches what you're sending. > [tab] Text > > A standard text message with optional rich elements. > > * **Message text** — the body of the message. > * **Header** — optional. Choose one of: text, image, document, or video. > * **Signature** — optional footer text. > * **Buttons** — optional. Each button label is limited to **20 characters**. Available button types: > * **Link** — opens a URL. > * **Phone number** — starts a call to the specified number. > * **Quick reply** — sends a predefined response back from the customer. > [tab] One-time password > > A message that delivers a one-time password with a built-in copy button so the customer can paste the code straight into your app or site. > > * **Template identifier** — required. References the approved OTP template in Edna Pulse. > [tab] Attachment > > A media message: image, document, video, or audio. > > * **Caption** — text shown with the attachment. > * **Attachment link** — URL of the media file to send. > [tab] Location > > Sends a pin on a map. > > * **Longitude** — value between **-180 and 180**. > * **Latitude** — value between **-90 and 90**. > * **Place name** — the label shown with the pin. > [tab] List items > > An interactive menu with selectable options grouped into sections. > > * Each list item label is limited to **24 characters**. > * You can group items into multiple sections. > [tab] Flow > > A WhatsApp Flow — a multi-screen interactive experience. > > * **Message text** — the body shown before the Flow opens. > * **Flow ID** — the identifier of the Flow to launch. > * **Button text** — the label on the button that opens the Flow. > * **Interaction type** — how the Flow behaves once opened. > * **Screen ID** — optional. Specifies which screen the Flow should open on. ### Personalize the content Pull in customer data — name, recent purchases, loyalty status, or any custom field — using the same personalization syntax you'd use for an email or SMS campaign. Maestra fills in the values per recipient at send time. ## Step 4. Send the campaign ### Mass campaigns Choose the recipient segment, then either send immediately or schedule the campaign for a specific time. Maestra hands each message to Edna Pulse, which delivers it through WhatsApp. ### Automated campaigns Drop the WhatsApp send into a scenario. The campaign has to be in **Ready for use** status before the scenario can trigger it. ### Recipient requirements Recipients must have a **mobile phone number** filled in on their customer profile. You can also store subscription status in a custom field and reference that field in campaign filters to make sure you only message customers who've opted in. ## Step 5. Track results After sending, Maestra tracks the following statuses for each message: * **Sent** * **Delivered** * **Opened** (read) * **Clicked** * **Failed** * **Not delivered** These show up in the campaign's statistics view alongside the rest of your channel reporting, so WhatsApp performance sits next to email, SMS, and push in the same dashboards. ### Tracking links > [!WARNING] > > Maestra **cannot track clicks on links written into templates on the Edna Pulse side**. If you put a raw URL inside the template body in Edna Pulse, clicks on that link won't show up in Maestra's reports. > > To track clicks, use **Maestra's URL shortener** for any links you include in the campaign. Shortened links route through Maestra, which records the click before redirecting the customer. ## Tips and limits at a glance * Button labels: **max 20 characters**. * List item labels: **max 24 characters**. * Longitude range: **-180 to 180**. Latitude range: **-90 to 90**. * Only **Active** templates from Edna Pulse can be sent. * Pricing for WhatsApp messages is set by Edna Pulse and WhatsApp — check your Edna Pulse contract for the per-message cost (typically a few cents per conversation, depending on category and country). * Use the Maestra URL shortener for any link you want to attribute. * Keep the API key in **Integration → Settings** in Edna Pulse safe — anyone with it can send messages on your account's behalf. # How to Send a WhatsApp Campaign via Fasttrack Source: https://help.maestra.io/campaigns/messengers/how-to-send-a-whatsapp-campaign-via-fasttrack WhatsApp campaigns let you reach customers in one of the world's most popular messaging apps. In the Maestra Platform, WhatsApp is supported through the Fasttrack provider, which handles the underlying WhatsApp Business API connection, template approvals, and message delivery. This guide walks through everything you need to set up the integration, prepare templates, build a campaign, and track results. ## How it works Fasttrack is a third-party service that configures WhatsApp bots and acts as the message provider between the Maestra Platform and WhatsApp. Templates are created and approved on the provider side, then synchronized into your Fasttrack account. From Maestra, you reference a synced template by its identifier and pass any variable values from your customer data. Sends, deliveries, opens, clicks, and failures flow back into Maestra so you can analyze campaign performance the same way you would for email or SMS. ## Set up the WhatsApp connection Before you can send anything, connect Fasttrack to the Maestra Platform. **1. Create a Fasttrack account** Sign up at [fstrk.io](https://fstrk.io/). Fasttrack is the service used to configure WhatsApp bots and templates. **2. Connect a message provider in Fasttrack** Inside Fasttrack, connect the message provider that will deliver your WhatsApp traffic. **3. Add the WhatsApp connection in Maestra** Go to **Settings → Campaigns → Connections** and add a new WhatsApp connection: * Select your brand (required for multi-brand projects). * Choose **Fasttrack** as the provider. * Select the bot you configured in Fasttrack. * Save the connection. **4. Enable the Notifications and Messengers module** The module must be turned on for WhatsApp campaigns to be available in your workspace. ## Configure click tracking in Fasttrack To pass link clicks back to the Maestra Platform, configure the URL shortener inside Fasttrack. 1. In Fasttrack, go to **Settings → Messengers → WhatsApp**. 2. Set the URL shortener host to `https://fstrk.cc`. 3. Enable link shortening in each template that contains links. Without this step, link clicks will not be attributed to your WhatsApp campaigns. ## Create and sync templates WhatsApp requires every outbound business-initiated message to use a pre-approved template. Templates are created and approved by the provider, then synced into your Fasttrack account so the Maestra Platform can reference them. **1. Get the template approved with the provider** Submit your template through Fasttrack and wait for provider approval. **2. Sync templates into Fasttrack** In Fasttrack, go to **Marketing → Campaigns → WhatsApp Templates** and click **Sync with Provider**. **3. Collect the template ID and variables** Note the template's identifier and any variables it contains. Variables use the format `{{v1}}`, `{{v2}}`, and so on. You will reference these when configuring the campaign in Maestra. > [!NOTE] > > Any change to template content has to be reapproved by the provider before the updated version can be used. ## Create a WhatsApp campaign in the Maestra Platform Once the connection and at least one approved template are in place, you can build a campaign. **1. Start a new campaign** Go to **Campaigns** and click **Create campaign**. **2. Choose the campaign type** Select either a bulk campaign (one-off send to a segment) or an automated campaign (triggered from a flow). **3. Choose the WhatsApp channel** Pick the WhatsApp channel, place the campaign in a folder, and confirm. **4. Configure the message** Fill in the message settings: * **Sender** — automatically created when the Fasttrack provider was added. * **Template name** — paste the template identifier copied from Fasttrack. * **Template parameters** — if your template uses variables, add one row per variable: * **Key**: the variable name without the curly braces (for example, `v1`). * **Value**: the value to substitute. Templating parameters are supported here, so you can insert customer fields, order data, or other dynamic values. ## Send the campaign How you launch the campaign depends on the type you chose. > [tab] Bulk campaigns > > Select the recipient segment, then either send the campaign immediately or schedule it for a future date and time. > [tab] Automated campaigns > > Mark the campaign as **Ready to use**, then activate it from inside a flow. The flow will trigger the WhatsApp send whenever the entry conditions are met. ## Recipient requirements WhatsApp campaigns can only be delivered to customers who have a mobile phone number on file. To keep your audience clean and avoid wasted sends: * **Check that the mobile phone field is populated.** Add a segment filter that requires a non-empty mobile phone number. * **Track subscription status.** Store a customer's WhatsApp opt-in in a custom field and filter on it before sending. Configure matching subscription rules on the provider side. * **Exclude previous failures.** Filter out customers whose last WhatsApp message failed to deliver, so you do not keep hitting unreachable numbers. ## Track results After a campaign goes out, the Maestra Platform records the full set of WhatsApp interactions: * Messages sent * Messages delivered * Messages opened * Link clicks * Non-sends (the message was never dispatched) * Non-deliveries (the message was dispatched but not delivered) Use these metrics the same way you would for any other channel — to compare templates, refine audiences, and measure the contribution of WhatsApp to your overall campaign performance. # How to Send a WhatsApp Campaign via Wazzup24 Source: https://help.maestra.io/campaigns/messengers/how-to-send-a-whatsapp-campaign-via-wazzup WhatsApp is one of the most widely used messaging channels in the world, and Maestra lets you send WhatsApp campaigns to your customers through the Wazzup24 provider. This guide walks you through the full setup — from creating a Wazzup24 account to launching your first bulk or automated WhatsApp campaign. ## Overview To send WhatsApp campaigns via Wazzup24 you need to: 1. Create and configure a Wazzup24 account. 2. Connect Wazzup24 to Maestra. 3. Create and get message templates approved in Wazzup24. 4. Build and send a campaign in Maestra. Each of these steps is described in detail below. > [!NOTE] > > WhatsApp messages can only be delivered to customers who have a mobile phone number populated in their profile. Make sure your customer data includes valid mobile phone numbers before launching a campaign. ## Step 1. Set up a Wazzup24 account 1. Register an account at Wazzup24. 2. Connect a WhatsApp number to your Wazzup24 account. This number will be used as the sender for all your campaigns. 3. In Wazzup24, open the **CRM Integration** section and generate an API key. You'll use this key to connect Wazzup24 to Maestra. ## Step 2. Connect Wazzup24 to Maestra 1. In Maestra, go to **Settings → Campaigns → Connections**. 2. Add a new WhatsApp connection. 3. Paste the API key you generated in Wazzup24. 4. Configure the endpoint that will receive delivery and read statuses by sending the required PATCH request to Wazzup24. This tells Wazzup24 where to push status updates so Maestra can record them in campaign analytics. 5. Enable the **Notifications and Messengers** module in your Maestra workspace. Once the connection is active, Maestra will automatically create a sender that corresponds to the WhatsApp number connected in Wazzup24. ## Step 3. Create message templates in Wazzup24 WhatsApp requires that any message sent outside an active 24-hour conversation window use a pre-approved template. Templates are created and submitted for approval inside Wazzup24, not in Maestra. 1. In Wazzup24, create a new template with the text, variables, and (optionally) buttons you want to use. 2. Submit the template for approval. WhatsApp typically reviews templates within a few hours to a day. 3. Wait until the template's status becomes **Active**. Only templates with **Active** status can be used in Maestra campaigns. After your template is approved, collect the two identifiers you'll need in Maestra: * **Channel ID** — found in the browser address bar when you're viewing the channel in Wazzup24. * **Template ID** — shown in the template's code in Wazzup24. ## Step 4. Create a WhatsApp campaign in Maestra 1. Go to the **Campaigns** section in Maestra. 2. Choose the type of campaign you want to send: * **Bulk campaign** — a one-off send to a selected audience. * **Automated campaign** — a campaign that runs as part of a flow or scenario. 3. Select **WhatsApp** as the channel. 4. Configure the message: * **Sender** — the WhatsApp sender is created automatically when you connect Wazzup24. * **Channel ID** — paste the channel identifier from Wazzup24. * **Buttons** (optional) — if your template includes buttons, fill in the button text and payload values. 5. Choose one of the three message types described below. ### Message types You can send three types of messages on WhatsApp via Wazzup24: > [accordion] Template message > > Uses a pre-approved Wazzup24 template. This is the only message type you can send to customers outside the 24-hour conversation window. > > * Select the approved template by its **Template ID**. > * Fill in variable values. You can use customer attributes, order data, product data, or any other field available in Maestra to personalize the message. > * If your template includes buttons, provide the button text and payload values. > [accordion] Text message > > A free-form text message. WhatsApp only allows free-form text messages to be sent to a customer within 24 hours of their last inbound message. Outside that window, you must use a template. > > Use this type for replies and follow-ups inside an active conversation — for example, an automated reply to a customer who has just messaged you on WhatsApp. > [accordion] File message > > Sends an image attachment. > > * Supported formats: **.jpeg**, **.jpg**, **.png**. > * Maximum file size: **5 MB**. > > As with text messages, file messages can only be sent inside an active 24-hour conversation window. ### Bulk vs. automated campaigns * **Bulk campaigns** require you to pick a recipient segment and schedule a send time. Once scheduled, the campaign will dispatch to all customers in the segment who have a valid mobile phone number. * **Automated campaigns** are triggered as steps inside a flow or scenario. They send to whoever enters that step, using the configuration you set up on the WhatsApp block. ## Tracking links and clicks Maestra cannot track clicks on links that are hard-coded into a WhatsApp template body, because the link text is set inside Wazzup24 and bypasses Maestra's URL handling. To track clicks, use Maestra's built-in URL shortener for any link you insert into a template variable. Links inserted as variables go through Maestra and will show up in your click analytics. ## Analytics After a campaign is sent, Maestra records the following statuses for each recipient: * Sends * Opens (reads) * Clicks (for links handled by Maestra's URL shortener) * Failed and undelivered messages You can use these metrics in campaign reports, segmentation, and follow-up flows — for example, to retarget customers who didn't open a WhatsApp campaign with a different channel. ## Requirements and limitations * Customers must have a mobile phone number on their profile to receive WhatsApp messages. * Templates must be created and approved in Wazzup24, and must be in **Active** status before they can be used in Maestra. * Free-form text and file messages can only be sent within an active 24-hour conversation window. * File attachments are limited to **.jpeg**, **.jpg**, and **.png** images up to **5 MB**. * Clicks on links hard-coded into template text cannot be tracked — use Maestra's URL shortener on variable links instead. ## Troubleshooting > [accordion] The template doesn't appear in Maestra > > Make sure the template's status in Wazzup24 is **Active**. Templates that are pending review, rejected, or disabled won't be available in Maestra. > [accordion] Messages are not being delivered > > Check that: > > * The Wazzup24 connection in Maestra is active and the API key is valid. > * The PATCH request for receiving statuses was executed successfully. > * Recipients have a valid mobile phone number on their profile. > * You're using a template (not a free-form text or file message) for customers outside the 24-hour conversation window. > [accordion] No statuses are showing in analytics > > Verify that the status webhook endpoint is correctly configured on the Wazzup24 side via the PATCH request. Without it, Maestra won't receive delivery and read updates from Wazzup24. # How to Create a Bulk Mobile Push Campaign Source: https://help.maestra.io/campaigns/mobile-push-campaigns/how-to-create-a-bulk-mobile-push-campaign 1. Go to **Campaigns** and click **Create**: ![00\_mobilepush](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_mobilepush.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=8cb2c8644c74f661e1e93b954ce1a543) 2. Select the MobilePush channel: ![01\_mobilepush](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_mobilepush.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=ddbbbb03ac52eb913a9c9b0be467e9a5) 3. Select the **bulk** type and the folder in which your campaign will be created: ![02\_mobilepush](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_mobilepush.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=959990991efb95493cf1e470456ee464) If you don’t yet have any folders, create a new one. 4. Enter your campaign title and select a Topic if applicable: Please note that to select an app, you need to have an Android or iOS app integration point with an integrated app: ![03\_mobilepush](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_mobilepush.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=2f2d2878ad6c997dcbcf8f8f39265fb0) Android and iOS campaigns are set up separately. 5. Select the Message profile — standard or manual. If you select manual, you can choose to disable the global control group. 6. Fill in the **Sending timeframe fields**. Use the **Date** to specify when the campaign will begin sending: immediately after saving or according to a schedule. The **Sending interval** is the interval in which your customers will receive the notification. Note that their time zones will be taken into account. If you set only the sending hours, messages will be sent immediately (as quickly as possible). **Sending speed** is unlimited by default. You can throttle sending speed as necessary. **Relevancy** is the timeframe in which your bulk campaign is valid. Specify an interval (for example, 3 days from the time the message was sent) or a date (for example, until 01/07/2023 00:00 (UTC-05:00) America/New York). ![04\_mobilepush](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_mobilepush.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=b883051cf7454285c8a5f74d3ceab63b) **More on the Relevancy section:** To send mobile push notifications, Maestra sends a push notification to Firebase or APNs, then Firebase or APNs sends this push to the app. The period specified in the **Relevancy** section is applied to both these steps with the countdown beginning at the same time. The only difference is what you receive when the sending period expires. **For example**, if you select a 3-day **Relevancy** period, you will either: a) see a "**Not sent**" status if Maestra fails to send your push notification to Firebase or APNs during these 3 days; b) get no Firebase or APNs failure information in your project if Maestra successfully sent the push to Firebase/ APNs and they failed to send the push notification during its time-to-live (TTL) — this is because Firebase and APNs do not send delivery failure statuses to Maestra. 7. Enter your push notification text and a clickable URL. Optionally, add a title, image, button, or any additional push components. Click **Save**. You can view how your push notification will be displayed on a mobile device in the interface: ![05\_mobilepush](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_mobilepush.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=0ac1f6aade4997c40b31fc27b02ebc5d) To test the push notification, click **Send test message** and find your contact details. 8. There are 3 ways to specify campaign recipients: * Using a [customer segment,](/segments/how-to-filter-customers-into-segments) * By creating a [filter](/filters/how-to-create-filters), * By uploading a file for [manual import.](/campaigns/common-settings/how-to-use-manual-import-in-emails) This works the same as in a bulk email campaign, but without creating new customers. Using **Filter** or **Manual import**, you can view all the conditions that are automatically applied to bulk campaigns. 9. Click **Send now** to launch your campaign immediately: ![06\_mobilepush](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_mobilepush.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=caf8271c2849997aedd9c598d0b55632) This button is active if the **Campaign profile**, **Sending timeframe**, **MobilePush**, and **Recipients** sections are all filled in, and an app has been selected. To check that a section has been filled in, look for a tick next to the section title. Once everything is ready to go, your campaign’s status will change to **Ready to send:** ![07\_mobilepush](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_mobilepush.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=63966a29129dff7b13a79a77e24b8318) **Scheduled sending** If you schedule your message for a later date/time, its status switches to **Sending scheduled**. Please note that once you click **Send now**, the system will launch your campaign immediately. You need to click **Save and exit** to launch your campaign later: ![08\_mobilepush](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_mobilepush.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=ae59036ff059de3e3a52444351987065) # Technical Limitations for Push notifications Source: https://help.maestra.io/campaigns/mobile-push-campaigns/technical-limitations-for-push-notifications ## What are mobile push notification character limits? The limitation depends on your platform type and your screen size. The approximate values are: * push description—1000 * push title—200 * text for a button without parameters—20 * text for a button with parameters—1000 * URLs (clicks/image)—2000 The total push size for the latest iOS and Android versions is limited to 4Kb. ## How fast are mobile pushes sent? The total average speed for one project is 1.5 million pushes per hour for both platforms. If you simultaneously send messages in other channels, this may slow down the sending speed. ## What are image limitations? > [!NOTE] > > Image limitations depend on your SDK version. To check your current SDK version, please consult the mobile app developers. ### For SDK 2.11.0 and later **iOS** * JPG and PNG files are supported * the recommended file size is up to 5 Mb. Avoid using long vertical images as the user has to scroll them down to see the bottom part of the image. For example, images with the 2:1 / 16:9 / 4:3 / 1:1 ratios are displayed in full while the ones that have the 1:2 / 9:16 / 2:3 / 5:7 ratios have to be scrolled down. ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_mp_Limits.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=e35d396b8333b24651dbfbf5160afa75) ![](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_mp_limits.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=7d6cb03f6764d6bff0466343c5e7fd27) | 1:2 ratio image | 1:2 ratio image | | - | - | | | | **Android** * JPG, PNG, and WEBP images are supported; * the recommended file size is up to 5 Mb * your image is resized automatically depending on your device width. We recommend using horizontal images such as 2:1 ones so that your image width matches your text width. If you use vertical images, they will be adjusted to the center and appear smaller in width than your text. ![](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_mp_limits.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=fb6389bf57b177de8233392c5e79ab0d) ![](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_mp_limits.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=c8bd16274d6320504ab36cd1b24f4c0a) | 4:1 ratio image | 2:3 ratio image | | - | - | | | | ### For SDK versions before 2.11.0 **iOS** * the recommended file size is up to 5 Mb; * the images are displayed in 1:1 and 3:2 ratios * the number of pixels is limited to 1038 x 1038. On iOS your images are resized automatically. If the image size is over 1038 pixels, it is downsized, and the margins are applied to display your image as a square. To avoid this, use the images with up to 1038 pixels in width and less than 1038 pixels in height. **Android** * the recommended file size is up to 5 Mb; * the aspect size is calculated automatically * the recommended ratio is 2:1. # Smart Send Source: https://help.maestra.io/campaigns/smart-send The Smart Send feature lets you **limit messages a customer can receive per day** across brands and channels. # **How to enable and set it up** Go to **Settings → Communication boosters → Smart Send** and turn the feature on. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Smart-Sending.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=fc00f2742b0139c73df35878e2872f03) Smart Send starts working immediately after activation. > [!TIP] > > The **default sending limit is 30 messages** per customer, per day. ## How to set a **total** **brand** **limit.** You can define the total number of marketing campaigns (i.e., Emails, SMS, Push notifications) customers can receive per day within a brand. Below is an example for the Demonstration brand. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Smart-Sending-\(1\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=cd121bd92ca9837f30960d06754a5452) * The limit counted by: the Sent status * Timeframe: calendar day (12:00 AM–11:59 PM) based on the project time zone * Channels: Email, SMS, Viber, Mobile Push, Web Push **The following campaigns are not** **counted**: * Transactional messages * Test messages ## How to set **channel-level limits.** ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Smart-Sending-\(2\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=a6853879293f263ab6ab65dce01b43f4) You can also define limits for specific channels. The sum of channel limits can be higher than the total brand limit. In this case, sending may be stopped either because: * the channel limit is exceeded, or * the total brand limit is exceeded. > [!NOTE] > > For example, suppose Smart Sending is configured as shown above. > > A customer has already received 1 SMS and 1 email today. For the rest of the day, they can receive up to two push notifications. If no value is set for a specific channel, the channel limit automatically equals the total brand limit. > [!TIP] > > The following settings are equal. > > ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Smart-Sending-\(3\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=d65ccd46344cdc121dd34f922067febd) ## How to disable limitations for customer segment ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Smart-Sending-\(4\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=3ea7b52871deb59822ad581b198cbc0d) * To do this use a **[static](/segments/how-to-create-a-static-customer-segment)** segment only. * If a customer is added to or removed from the segment, the changes are applied the next day only. > [!TIP] > > Make sure to save your Smart Sending settings. When you **edit** Smart Send settings, **changes apply immediately**. ​ # **What happens when the limit is reached** Messages exceeding the limit will not be sent. The customer will receive a non-sent status with the reason: **\[Smart Sending] Customer received the maximum number of messages for Today** ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-03-02--14_01_13.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=ff901945f9195340481c0facadc039ec) # **How to ignore Smart Sending in a campaign** If you need to bypass the Smart Send for a specific campaign: go to **Campaign → General settings → Campaign profile** and enable the **High Priority** option. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Smart-Sending-\(6\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=3b0d0849535a4e27173dd497e94ed10b) In this case: * Customers who have reached their limit will not be excluded from the campaign. * The message will still count toward the customer’s daily limit. You can toggle this setting even for automated campaigns with the **Ready to send** status. # How to Create a Bulk SMS Campaign Source: https://help.maestra.io/campaigns/sms-campaigns/how-to-create-a-bulk-sms-campaign 1. Go to **Campaigns** and click **Create**: ![00\_bulk\_sms](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_bulk_sms.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=170f152a8e496969bb3cff70690a26bb) 2. Select the **SMS** channel: ![02\_bulk\_sms](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_bulk_sms.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=fd7d81ae877c903ac2330e20e8adbf9f) 3. Select the **bulk** type and the folder, where your campaign will be created: ![01\_bulk\_sms](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_bulk_sms.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=3e7949135f23752d037bb51a4d91cdc1) If you don’t yet have any folders, create a new one. 4. Enter a title for your campaign: ![03\_bulk\_sms](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_bulk_sms.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=aa42e9314131c753c6871c2406ba46af) You’ll then be able to use this title to generate reports, create filters, or find your campaign in the system 5. You can also select a **Topic**: ![04\_bulk\_sms](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_bulk_sms.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=b0366054010308e4bb576378654a86b9) 6. Set up the **Campaign profile**. When you select a campaign profile, you can specify if you would like to **Disable contact validation**, **Disable global control group** (if available), or specify **Campaign frequency control** (if this is available in your project). Each profile setting is described on the setup pane: ![05\_bulk\_sms](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_bulk_sms.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=96dbb487500e40a0968cae6d5fee1892) 7. Fill in the fields in the **Sending timeframe section**. Use the **Date** to specify when the campaign will begin sending: immediately after saving or according to a schedule. The **Sending interval** is the interval in which your customers will receive the message. Note that their time zones will be taken into account. If you set only the sending hours, messages will be sent immediately (as quickly as possible). **Sending speed** is unlimited by default. You can throttle sending speed as necessary. The average rate is 100,000 SMS messages per hour and the maximum speed is 250,000 SMS messages per hour, depending on your provider. The messages will be distributed evenly over an hour. **Relevancy** is the timeframe in which your bulk campaign is valid. Specify an interval (for example, 3 days from the time the message was sent) or a date (for example, until 01/07/2023 00:00 (UTC-05:00) America/New York). ![06\_bulk\_sms](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_bulk_sms.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=81af51e0c7d0939c51b9641de4a9e244) 8. If you have URLs in your message, use the following feature to shorten them: ![07\_bulk\_sms](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_bulk_sms.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=2d3dca3adb94b842233304d13e16c3ed) > [!NOTE] > > [How to Shorten URLs](https://intercom.help/maestraio/en/articles/11898656-short-urls-in-sms-campaigns) > Enabling this function allows you to collect statistics on clicks and orders from SMS. If the function is disabled, the number of clicks and orders from the SMS campaign will always be 0. 9. Select the **Sender**: ![08\_bulk\_sms](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_bulk_sms.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=91e52f66dd41cc0ea3be8c42bccccb95) > [!WARNING] > > Please note: the sender’s name must be registered with a mobile operator 10. Enter your message: ![09\_bulk\_sms](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_bulk_sms.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=a23a2d76891e903f022a0fe1ada29986) > [!NOTE] > > In the U.S. and Canada, text messages are limited to 160 characters (including spaces and punctuation marks). 11. Once finished, click **Save**. 12. Specify your recipients: select a [customer segment](/segments/how-to-filter-customers-into-segments), create a filter, or upload a file for [manual import:](/campaigns/common-settings/how-to-use-manual-import-in-emails) ![17\_bulk\_sms](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/17_bulk_sms.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=2c8fb5652feec43a1a7e1ab17ccf24b2) 13. Send a test message to check that you’ve set everything up correctly: ![10\_bulk\_sms](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_bulk_sms.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=3a59dc206198685ae60dbfdd5b132430) 14. When you’re ready, click **Send now**: ![11\_bulk\_sms](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_bulk_sms.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=cd8d4d03c4fbb7a5a3fdb3176e7d8feb) ### Scheduled sending If you schedule your message for a later date/time, its status switches to **Sending scheduled**. Please note that once you click **Send now,** the system will launch your campaign immediately. You need to click **Save and exit** to launch your campaign later. You can also apply the following actions to a campaign: * **Save and exit** — nothing happens, changes will be saved and you will end up on the bulk campaign tab on the Campaigns page. * **Duplicate** — a new copy of the campaign will be created. * **Changelog** — view a history of edits/ changes made to the campaign. * **Delete** — this campaign will be deleted. ![12\_bulk\_sms](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_bulk_sms.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=128d2d0976fdf4e46e39ae804d335d8f) ## A/B tests and control groups 1. Add an A/B test variation: ![13\_bulk\_sms](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_bulk_sms.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=d62967e5c283045455c65db1d419a250) You can enter a different sender or message. 2. Set up your A/B testing: ![14\_bulk\_sms](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_bulk_sms.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=d0537c788d83b3dd86a9068370e63d5b) 2.1. If you're only using variants: * Select the evaluation criterion. * Select the target action. ![16\_bulk\_sms](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/16_bulk_sms.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=7ef66c4258eb31fafbc74d919d58e519) 2.2. If you're using variants + a control group: * Select the target action. ![15\_bulk\_sms](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/15_bulk_sms.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=11f61ae73a99e4a6e092af9399ddd580) # How to Set Up a Branded Domain for Short Links Source: https://help.maestra.io/campaigns/sms-campaigns/how-to-set-up-a-branded-short-link-domain By default, the [Maestra link shortener](/campaigns/sms-campaigns/how-to-shorten-links-in-sms-mms-and-other-channels) shortens links in SMS and **Notifications and messengers** campaigns on the shared Maestra domain, so a link looks like `https://mst.io/xxxxxxxx`. Set up your own short-link domain, and customers will see your brand name in every link instead. ## Why set up your own domain * The link looks like part of your website. Recipients trust it more, and it's less likely to be mistaken for spam or phishing. * You keep everything the link shortener gives you: click stats and fewer characters per SMS. * If your account has several brands, each one can get its own domain. ## What you'll need * The `View custom domains` and `Edit custom domains` permissions. * A short domain or a free subdomain that you control. * Access to the DNS settings at your registrar or hosting provider, so you can add NS records for that domain. > [!NOTE] > > If you don't see **Short link domain** in the menu, contact your Maestra Forward Deployed Marketer or reach out to support. ## How to choose a domain You delegate the whole domain to Maestra Platform, and from then on Maestra Platform manages all of its DNS records. That means the domain can't run anything except short links. **Good choices:** * **A separate short domain**, for example `brnd.com`. The shorter the domain, the fewer characters each link takes in an SMS. * **A free subdomain** of your main domain, for example `s.brand.com` — as long as it isn't used for your website, return path, or any other service. **Don't use:** * **Your main website domain**, for example `brand.com`. Once it's delegated, Maestra Platform serves all of its DNS records, and your website, email, and other services on that domain stop working. * **A domain or subdomain that already runs something** — a website, return path, your [branded click tracking](/campaigns/email-campaigns/email-authentication-methods/how-to-set-up-branded-click-tracking) domain, or any other service. The domain has to be used for short links only. > [!WARNING] > > Each brand can have only one short-link domain. > [!NOTE] > > **Link length** > > An SMS short link is your domain name, `/`, and an 8-character key. On `brnd.com`, for example, a link takes 17 characters: `brnd.com/6jOi25ml`. > > In **Notifications and messengers** campaigns, the protocol is added to the link: `https://brnd.com/6jOi25ml`. ## Step 1. Add the domain in Maestra Platform **1. Open Short link domain** Go to **Settings** → **Communication** → **Short link domain**. ![Open Short link domain](https://mintcdn.com/maestraio/7t1f550x2CYSdfhQ/images/branded-short-link-domain/step-1-open-short-link-domain.webp?fit=max\&auto=format\&n=7t1f550x2CYSdfhQ\&q=85\&s=d3ce0932227996e34f60daa84303db88) **2. Click Add domain** **3. Fill in the fields and click Save** * **Brand** (for multi-brand accounts) — the brand the domain is for. * **Domain name** — the domain or subdomain for short links, for example `s.brand.com`. * **Reserve URL** (optional) — where customers land once a short link has expired. A short link works for 5 years after it's sent. Most brands use their home page. Then click **Save**. **4. Review the DNS records** Maestra Platform shows the DNS records you need to add. Click **Open instructions** to get a page with the setup steps — it opens without logging in, so you can send it straight to whoever manages your DNS. ![Review the DNS records](https://mintcdn.com/maestraio/7t1f550x2CYSdfhQ/images/branded-short-link-domain/step-1-dns-records.webp?fit=max\&auto=format\&n=7t1f550x2CYSdfhQ\&q=85\&s=8670c5a2767a33d2dd5ad3d4761dc0cd) ## Step 2. Add the DNS records 1. Copy every NS record Maestra Platform shows you. 2. Add them in your domain's DNS settings at your registrar or hosting provider. 3. Wait for Maestra Platform to check the records and update the domain status. > [!TIP] > > DNS records don't take effect right away — it can take anywhere from a few minutes to a few hours. ## Step 3. Check the domain status You'll see the domain status on the **Short link domain** page. ![Domain status on the Short link domain page](https://mintcdn.com/maestraio/7t1f550x2CYSdfhQ/images/branded-short-link-domain/step-3-domain-status.webp?fit=max\&auto=format\&n=7t1f550x2CYSdfhQ\&q=85\&s=2a224cb91e021cad0a92b82a792a3ad0) | Status | What it means | What to do | | - | - | - | | **Waiting for DNS records** | Maestra Platform hasn't confirmed the DNS records yet | Make sure you've added the records in your DNS settings. They can take a few hours to apply | | **Configuring** | Maestra Platform is setting up the domain on its side | Wait for the setup to finish | | **Confirmed** | The domain works, and Maestra Platform uses it to shorten links for this brand | Nothing | | **Not confirmed** | The DNS records are wrong | Check every NS record for typos — each one has to match exactly what Maestra Platform showed. If the records are correct but the status hasn't changed in more than 48 hours, reach out to support | Once the status changes to **Confirmed**, Maestra Platform shortens links on your domain in every SMS and **Notifications and messengers** campaign for that brand, except FastTrack channels. ## If your account has several brands Set up a short-link domain for each brand separately — each brand gets its own domain and reserve URL. That way, links in one brand's campaigns never point to another brand's domain. ## If the NS records are removed If the domain is no longer delegated to Maestra Platform — the NS records were deleted or overwritten: * Links you've already sent on your domain stop working, because the domain no longer points to Maestra Platform. * New campaigns keep going out, with links shortened on the shared Maestra domain. * Maestra Platform flags an issue in your account saying the domain has stopped working. * Once you add the records back, Maestra Platform switches back to your domain, and links you sent earlier work again. ## How to delete a short-link domain Open the domain on the **Short link domain** page and click **Delete**. From then on, short links are created on the shared Maestra domain. Remember to remove the NS records at your DNS provider too. ![Delete a domain](https://mintcdn.com/maestraio/7t1f550x2CYSdfhQ/images/branded-short-link-domain/delete-domain.webp?fit=max\&auto=format\&n=7t1f550x2CYSdfhQ\&q=85\&s=c32f93a2183577a888460b524c564e5e) # How to Shorten Links in SMS, MMS, and Other Channels Source: https://help.maestra.io/campaigns/sms-campaigns/how-to-shorten-links-in-sms-mms-and-other-channels # Why shorten links? 1. **Reduce SMS costs** Shorter URLs lower the total character count, which means fewer billable SMS segments and a cleaner, more readable message. ​ 2. **Track clicks and performance** # Maestra link shortener ## Benefits * Links are shortened to **16 characters for SMS** and **up to 24 characters** for channels in the Notifications and Messengers module. * You don’t need to integrate a tracking pixel on your website — all setup is handled directly in Maestra. * You can shorten links to external websites, such as a survey built with Google Forms. > [!WARNING] > > Once a link expires after five years, it can be reassigned to a different destination URL in any project. ## Where you can use it * **SMS** * **Any channel in the Notifications and Messengers module** Except for channels configured via **FastTrack** — analytics for those channels is provided by the messaging provider. > [!TIP] > > **Link shortening across different channels** ​***Original link:*** ​\*[https://example.com/promo/12345/?utm\_source=maestra\&utm\_medium=sms\&utm\_campaign=promo08.03.2023](https://example.com/promo/12345/?utm_source=maestra\&utm_medium=sms\&utm_campaign=promo08.03.2023)\* ​ ​***SMS:*** ​*mst.io/=6jOi25ml* ​***Notifications and Messengers channels:*** ​*​[https://mst.io/=6jOi25ml](https://mst.io/=6jOi25ml)* ## How to enable it * For new projects, the Maestra link shortener is enabled automatically. * If your project uses the legacy link shortener, contact your Maestra Forward Deployed Marketer or reach out to support. > [!WARNING] > > If your project includes multiple brands, enabling the new link shortener will apply it to **all brands** in the project. ## What happens when a user clicks the link When a customer clicks a shortened link, the following variables are added: * **Authentication ticket.** `UniversalAuthenticationCustomizableTimeTicket` is added to identify the customer. The ticket has a **maximum lifetime of three months**. > [!NOTE] > > After three months, the ticket will no longer work for authentication, but the link will **continue to track clicks** until it reaches its own expiration date. * A **m-message-click-id** variable is added to attribute the click to the customer.The link from the example above will look like this: ``` `https://example.com/promo/12345/?m-message-click-id=8caf42da-1526-468b-8f11-dba452fd1844&utm_source=maestra&utm_medium=sms&utm_campaign=promo08.03.2023&direct-crm-ticket=PGRpcmVjdENybVRpY2tldCB0eXBlPSJFbWFpbEF1dGhlbnRpY2F0aW9uVGlja2V0IiBjdXN0b21lcklkPSIyNzE2NDk1IiBwYXNzd29yZD0iIiB0ZW1wUGFzc3dvcmQ9IiIgZW1haWw9IkExOEMyODU1NjMyODc1NDQwNEY3QjBFNjkyMDhFNTM2RjAyQjlEOTgiIHNpZ25hdHVyZT0iM0E0RTQ3RjUzODNDMkMxNTgzQzk2OUQ5MTFEOURCREFBOTc2NjkxQTgzMzdDNzVFMDk1NUY0OTM3QTU1RkVBMTE5NzA0NUI3QkJFQjg5RDRGNTAxQzdDQ0E5RTM3NjYzQTdDREU4N0JBNzYwMkYxNEVEQTg3M0M5RjJBMjI4NDciIC8` ``` # How to Shorten a Link in a Campaign 1. Create a campaign in the desired channel (SMS or another channel of Notifications and messengers module). 2. Add the desired link to your SMS message. ​ ​**Example:** ``` `https://example.com/promo/12345/?utm_source=maestra&utm_medium=sms&utm_campaign=promo08.03.2023` ``` > [!WARNING] > > Always include the `http://` or `https://` prefix. Without it, the link will not be shortened. > If the device OS doesn’t recognize the domain and the link appears non-clickable, you can prepend the protocol using a templating variable: > > ``` > `@{set a="https://"} ${a}YourSiteDomainName.market/` > ``` 3. In the campaign settings, enable the **Shorten URL and track clicks** checkbox in the Link Shortening section. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-19--14_16_25.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=d0e45d7e29fee005a0eb86cdea0837fc)Links are shortened at send time, so the link in the template remains unchanged. # How to Test Use **Preview** to see how the message will appear to the recipient with the shortened link applied. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-19--14_24_50.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=f2cba16a9d7aa6da31d42bea3d97033c) We display an estimated SMS segment count. To confirm the exact number, send a test message. > [!WARNING] > > *IMPORTANT* > > 1. In **Preview** **mode** and when generating messages in **test mode**, link redirects and click tracking **are not active**. Instead, the link may lead to a blank page or return a 404 error. ​ > 2. To verify that redirect works correctly, send a **test message**. ​ > 3. Click tracking and click events in customer profile are recorded **only** when a live SMS campaign is sent to a real phone number. # Personalized Links with Variables You can personalize links using variables ([Message Template Engine](/campaigns/message-template-engine/what-is-the-message-template-engine)**)**. For example, you can insert a customer’s order tracking number into the link: ``` `https://yourdomain.com/${Order.CustomField.TrackingURL}` ``` ### Authentication Tickets An authentication ticket is automatically appended to every shortened link to identify the customer. The Maestra link shortener uses **`UniversalAuthenticationCustomizableTimeTicket`**. The legacy link shortener uses **`PermanentAuthenticationTicket`**. You can also use other authentication tickets listed on the **Dynamic Parameters** page: ​`https://projectname.maestra.io/mailing-parameters-help/Ticket` (replace `projectname` with your project name). If you manually specify a ticket, `UniversalAuthenticationCustomizableTimeTicket` and `PermanentAuthenticationTicket` \*\*\*\* will not be added automatically. Example: ``` `https://yourdomain.com/?ticket=${Ticket.MobilePhoneAuthenticationHexTicket}` ``` > [!WARNING] > > Authentication via tickets may require additional implementation on your website. # Types of Campaigns Available in Maestra Source: https://help.maestra.io/campaigns/types-of-campaigns-available-in-maestra When it comes to communicating with customers in Maestra, you get access to lots of options for pretty much any marketing need. In this article, we’ll give you a general overview of everything that you need to know about messages in Maestra — from communication channels to topics and A/B tests. *** ## Sending methods All the messages sent from Maestra can be grouped into two main categories: * **Bulk campaigns.** Messages are sent to registered subscribers using filters, segments, or files. For info on how to create bulk email campaigns, please refer [to this article on bulk emails](/campaigns/email-campaigns/how-to-create-a-bulk-email-campaign). * **Automated campaigns**. These campaigns are sent only to customers that meet the selected conditions or when a specified API method is performed. The messages are set up in the stages of an automated campaign or an API. For more info on how to create automated emails, please refer to [this guide](https://intercom.help/maestraio/en/articles/11898625-how-to-create-a-trigger-email-campaign). ## Communication channels You can send messages using the following communication channels: * Email * SMS * WhatsApp * Viber * Mobile push notifications * Web push notifications ## Types of topics You can also create topics in your project. These are basically categories that your campaigns and messages may belong to — for example, promotions, newsletters, or personal offers. All of these topics will be available for every single communication channel: ![01\_mestypes](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_mestypes.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=289e0a505b02198744e28696a105812a) When you select a topic, messages will only be sent to channel subscribers who opted-in for this specific topic. ## Message profile By selecting a profile you specify if you’d like to ignore contact validity, subscription status, global control groups (if enabled); specify mailing frequency control for bulk messages (if enabled); or choose whether messages are sent to people with pending subscription confirmation only (if Double Opt-In is enabled). ![02\_mestypes](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_mestypes.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=ab074236d7c7790e92c088254e7657f7) For automated campaigns, you can select the **Transactional** profile. Transactional messages are sent regardless of the subscription status, contact validity, or their inclusion in the global control group. These messages are usually important for customers, and they tend to request these messages themselves. ## Demo mode Every communication channel is a service with its own line in the tariff plan. However, you can also create messages and test them using the demo mode. Please note that sending emails and messages to customers is only possible once these services have been added to your plan. To do this, please contact your Maestra Forward Deployed Marketer. ![03\_mestypes](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_mestypes.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=a6bb69fe3e230e156c69652c3925b35f) ## Basic settings for campaigns To send messages, you’ll need to ensure the following settings are in place. ### Email messages 1. You need to register at least one [sender ](/campaigns/email-campaigns/get-started/how-to-add-senders-email-address)for a project. 2. You need to generate and [set up DKIM](/campaigns/email-campaigns/email-authentication-methods/setting-up-dkim-and-dmarc) for the sender’s domain. 3. You cannot send messages before your sender has a confirmed DKIM. ### SMS messages 1. ### You need to register with a provider with an integrated SMPP protocol. 2. You should also submit your account details to Maestra to enable communication: logins, passwords, SMPP addresses, and supported sender names (usually one). Our team will then test the integration and register the sender in the project. 3. Your provider may contact you and ask you to provide Maestra’s IP addresses so that they are included into the whitelist. Please contact your Maestra marketer for these addresses. ### Viber messages 1. You need to register with a provider with an integrated SMPP protocol. 2. To enable this connection, you’ll also need to submit your account details to Maestra to enable communication: logins, passwords, SMPP addresses, and supported sender names (usually one). The Maestra team will test the integration and register the sender in the project. ### Mobile push notifications For the details on how to integrate with Maestra and set up the mobile push channel, please refer to the Mobile Push manual. ### Web push notifications For the details on how to integrate with Maestra and set up the web push channel, please refer to the Web Push manual. ## A/B testing A/B testing allows you to compare different message variants in order to test hypotheses on what affects message performance. To do this, your audience will be split into 2 or more groups, depending on how many variants you’re testing. You may want to test things like subject lines, message contents or sending time. Data is then collected over the period you select for the test. At the end of the test, the remaining subscribers will be sent the winning variant. You can also add a control group. Customers in this group will not receive any messages. > [!NOTE] > > For more info on A/B testing please read the guide: > > **[How to Set up A/B Tests for Emails](/campaigns/ab-tests/how-to-set-up-control-groups-and-ab-tests-for-campaigns)** # How to Change the Web Push Service Source: https://help.maestra.io/campaigns/web-push-campaigns/how-to-change-the-web-push-service This article covers what to expect when you switch your web push provider, in either direction: * [Switching to Maestra while leaving your old service](#switching-to-maestra-while-leaving-your-old-service) * [Why you can't import a token database into Maestra](#why-you-cant-import-a-token-database-into-maestra) * [How to switch from Maestra to another web push service](#how-to-switch-from-maestra-to-another-web-push-service) ## Switching to Maestra while leaving your old service To start collecting subscribers you can send web push notifications to from Maestra, you need to stop sending pushes from your old service and completely remove the old service worker from your website. ### Integration Complete every step in the integration instructions provided by your developer. Then immediately remove the old service worker from your website. > [!WARNING] > > Leaving the old service worker in place alongside Maestra's will cause conflicts and prevent new subscribers from being collected correctly. ## Why you can't import a token database into Maestra Web push notifications are sent to a token. A token is the installation of our code (the service worker) in a specific customer's browser. Other providers have their own service workers, so their tokens don't work for us. On top of that, the push payload format differs from provider to provider. For a push to render correctly in the customer's browser, the code on the website needs to know exactly how we transmit the title, text, and image. Because of this, we can't import addresses (tokens) from another provider — pushes simply won't reach them. ## How to switch from Maestra to another web push service If you're moving in the other direction — from Maestra to another web push provider — keep the following in mind: * There is no functionality to export tokens from Maestra. * If the FCM project was created by Maestra, we can't transfer ownership of it to other users. You'll need to create a new project in FCM and collect tokens from scratch. In practice, this just means users need to visit your website again after the new service is integrated, so they can resubscribe through it. To keep sending pushes through Maestra during the transition, leave our service worker and scripts on your website — **except** for the Maestra push subscription collection call (`webpush.subscribe`). That way, you can continue sending pushes to your existing Maestra subscribers, but new subscribers will no longer be added to Maestra and will instead be collected by your new provider. # How to Create a Bulk Web Push Campaign Source: https://help.maestra.io/campaigns/web-push-campaigns/how-to-create-a-bulk-web-push-campaign A bulk web push campaign is a one-time campaign sent to a predefined list of recipients. Use it to broadcast announcements, promotions, or reminders to customers who have subscribed to web push notifications in their browser. ## Before you start To receive a web push from your bulk campaign, a customer must: * Be subscribed to the **Web Push** channel in Maestra. * Have granted their browser permission to display notifications from your site. Customers who do not meet both conditions are automatically excluded from the send. ## Create the campaign **1. Open Campaigns** Go to **Campaigns** and click **Create**. **2. Select the Web Push channel** Choose **Web Push** as the channel for your new campaign. **3. Choose the bulk type and folder** Select the **Bulk** campaign type and pick the folder in which the campaign will live. If you don't have any folders yet, create a new one. **4. Name the campaign** Enter a campaign title so you can identify it later in reports and lists. ## Configure the message In the **Web push** section, fill in the message itself. The following fields are available: | Field | Description | | - | - | | **Title** | The headline shown at the top of the notification. Required. | | **Text** | The body of the notification. Required. | | **Link** | The URL the customer is taken to when they click the notification. Required. | | **Image** | An optional large image displayed inside the notification. | | **App icon** | The small icon shown next to the title (usually your logo or favicon). | | **Buttons** | Optional call-to-action buttons that open their own links. | You can personalize any of these fields using the [message template engine](/campaigns/message-template-engine/what-is-the-message-template-engine) — for example, to insert the customer's first name into the title or a personalized product URL into the link. > [!TIP] > > Preview your message in the right-hand panel as you build it to see exactly how it will appear in the browser. To test before sending, click **Send test message** and pick a customer or device to receive the preview. ## Choose your recipients There are three ways to define who receives the campaign: * **Segment** — send to an existing [customer segment](/segments/how-to-filter-customers-into-segments). * **Filter** — build a one-off [filter](/filters/how-to-create-filters) directly on the campaign. * **File upload** — send to a list imported from a file, the same way you would for a [bulk email campaign](/campaigns/how-to-send-a-campaign-using-a-file), but without creating new customer records. When you use **Filter** or **File upload**, Maestra shows you all the conditions that are automatically applied to bulk campaigns (for example, subscription status and channel availability) so you can see exactly who qualifies. ## Set the sending timeframe In the **Sending timeframe** section, decide when and how fast the campaign goes out. * **Date** — choose whether the campaign starts sending immediately after you save it or on a schedule. * **Sending interval** — the window during which customers can receive the notification. Customer time zones are taken into account. If you set only the sending hours, messages go out as quickly as possible within that window. * **Sending speed** — unlimited by default. You can throttle the rate between **500 and 2,000,000 messages per hour** to smooth out traffic to your site or downstream systems. * **Relevancy** — how long the campaign is still valid for delivery. Specify a relative interval (for example, 3 days from the moment the message was sent) or a fixed date (for example, until 01/07/2026 00:00 (UTC-05:00) America/New York). After this period, undelivered messages are dropped. ## Optional features You can layer the following on top of a bulk web push campaign: * **A/B tests** — split recipients across message variants to find the best-performing version. See [A/B tests](/campaigns/ab-tests/how-ab-tests-work). * **Control groups** — hold back a small share of recipients from the send so you can measure incremental impact. * **UTM parameters** — automatically append UTM tags to the campaign link so you can attribute traffic and conversions in your analytics tool. ## Launch the campaign Click **Send now** to launch the campaign immediately. The **Send now** button becomes active only when the **Campaign profile**, **Sending timeframe**, **Web push**, and **Recipients** sections are all filled in. To check that a section is complete, look for a checkmark next to its title. Once everything is ready, the campaign's status changes to **Ready to send**. ### Scheduled sending If you scheduled the campaign for a later date and time, its status switches to **Sending scheduled** once you save. > [!WARNING] > > Clicking **Send now** launches the campaign immediately, even if you had set a schedule. To keep a scheduled send, click **Save and exit** instead. # How to Create an Automated Web Push Campaign Source: https://help.maestra.io/campaigns/web-push-campaigns/how-to-create-an-automated-web-push-campaign Automated campaigns are messages sent to a customer from a flow or operation when a specific event occurs. This guide walks you through every setting you need to configure to launch an automated web push campaign in Maestra. ## In this article * [Add a campaign](#add-a-campaign) * [Campaign settings](#campaign-settings) * [Campaign name](#campaign-name) * [Web push](#web-push) * [Test send](#test-send) * [General settings](#general-settings) * [Send restrictions](#send-restrictions) * [UTM tags](#utm-tags) * [After filling in settings](#after-filling-in-settings) * [Readiness to send](#readiness-to-send) * [A/B test and control group](#ab-test-and-control-group) ## Add a campaign To create an automated web push campaign: 1. Go to the **Campaigns** section. 2. Click **Create campaign** → **Automation** → **Automated campaign**. 3. Select the **Web push** channel, choose a folder, and click **Create**. ## Campaign settings ### Campaign name The name helps you find the campaign among other campaigns and apply project filters. Pick something descriptive so the campaign is easy to identify later. ### Web push Fill in the content of the web push: * **Site** — the integration point of type "Website" that the push will be tied to. * **Title**, **text**, and **redirect link** — mandatory fields. * **Hide push** — automatically removes the push from the screen without the customer clicking the close button. * Optional fields: **image**, **thumbnail**, **app icon** for mobile browsers, and **buttons**. You can use templating parameters and emojis inside the title, text, and other content fields. ### Test send Once the **Web push** section is filled in, you can preview the formatted push as a specific user would see it. > [!NOTE] > > **Exception:** campaigns that use event parameters. Test these using mailing test mode instead. During a test send, the selected customer **actually receives the push in their browser**. Test sends can only be delivered to **devices that are already in the database**. To add a device, visit the site and allow push notifications so the subscription is registered in the project. To run a test send: 1. Click **Test send**. 2. Select customers from the list, or add new ones. 3. Click **Send to selected**. Test sends are not recorded in the customer profile. You can view their statuses through the provided link. To view the formatted message **without sending** it to the customer's browser, click **Preview**. ### General settings * **Brand** — relevant for multi-brand projects. * **Topic** — splitting campaigns into topics lets customers set flexible subscription preferences and receive communications only on topics they are interested in. * **Tags** — action tags group campaigns by additional criteria when channel, topic, and folder divisions aren't enough. * **Profile** — defines the campaign type and which recipient restrictions apply or are skipped based on the selected profile: * **Standard** — for marketing campaigns. The basic recipient checks apply: * The customer has granted permission to show pushes on the selected site. * The customer is subscribed to the Web Push channel (or to a topic within Web Push, if one is specified). * The customer is not in the global control group (if enabled) — don't confuse this with the [campaign control group](#ab-test-and-control-group). * The frequency limit hasn't been exceeded (if enabled). Any of these checks can be disabled inside the campaign using toggles. * **Transactional** — a campaign that the customer has requested and expects to receive immediately. None of the standard checks apply. ### Send restrictions * **Send hours** — limit sending by the customer's timezone or the project's timezone. * **Relevance** — the time period during which sending the message still makes sense. Can be tied to the send time or set manually. ### UTM tags UTM tags identify the traffic source to your website and attribute traffic to a specific campaign and channel. You can create standard tags and reuse them across web push campaigns, or enter custom tags for a single campaign. ## After filling in settings ### Readiness to send This section automatically checks that all required fields are filled in. Click any item in the checklist to jump to the corresponding section. When everything is filled in, the campaign moves from **Draft** to **Ready to send**. To use the campaign in flows and operations, change its status to **Ready to use** by clicking **Finish editing**. > [!WARNING] > > After you finish editing, you can no longer change the brand, profile (except priority), or A/B test settings. ## A/B test and control group * **A/B tests** let you compare different variants of a campaign by their impact on opens, clicks, and revenue. * **Control group (CG)** measures the campaign's effectiveness by comparing the behavior of customers who received the message with the behavior of customers who didn't. Available evaluation metrics for web pushes: * **Click rate** — the percentage of customers who made at least one click during the test (available without a control group comparison only). * **Target action** — a specific action completed by the customer during the test. For details on configuring experiments, see the full A/B testing guide for automated campaigns. # How to Find Recipients of a Web Push Campaign Source: https://help.maestra.io/campaigns/web-push-campaigns/how-to-find-web-push-recipients Web push campaigns can be sent to customers who have an active web push subscription and at least one device that allows notifications to be shown. * The device must have permission granted on the site that the push is being sent from. * If the campaign is sent by topic, the subscription must be for that specific topic. > [!NOTE] > > The filter described in this article is applied to the campaign automatically. You do not need to enter it manually in the recipients block of the campaign. The instructions below help you estimate the approximate number of customers who can receive your web push communications. ## Build the filter 1. Go to **Data** → **Customers**. 2. Build a filter using the criteria below. To find everyone eligible to receive a web push, combine the following conditions: * The customer has an active subscription to web push communications (and to the specific topic, if your campaign targets a topic). * The customer has at least one device with notification permission granted on the site you are sending from. Once the filter is applied, the customer list shows the approximate audience size you can reach with a web push campaign. # Adding Webhook-Powered Content to Campaigns Source: https://help.maestra.io/campaigns/webhooks/adding-webhook-powered-content-to-campaigns Pull in live external data—product catalogs, showtimes, personalized offers—and render it directly in your email campaigns using webhook-powered content. Sometimes the content you need in an email lives outside Maestra Platform—a showtime catalog, live inventory, or personalized offers from your own service. And it's not a single field: it's arrays of data you need to loop through and render into the email layout. Webhook-powered content lets you do that directly from the campaign template, no custom integration required. This guide walks you through the setup. *** ## Step 1. Create an integration ![Screenshot 2026 05 29 At 14 09 57](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-14.09.57.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=de3df9958716b2eab540061fed6f51f1) ![Screenshot 2026 05 29 At 14 12 07](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-14.12.07.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=4fa596f9c77e13db33b59dc55daaca43) ![Screenshot 2026 05 29 At 14 22 37](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-14.22.37.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=958188356c0d63bc792ad85341aba55d) Go to **Integrations → Add integration**, pick the **Webhook Integration** preset, and fill in: * **URL** — the base URL of your service. You can specify just the root and add path-specific parts in each webhook separately. * **Headers** — `Authorization`, `Content-Type`, and anything else your API requires. * **Request rate limit per second** — set to **Not specified** so Maestra doesn't rate-limit outbound sends. 4. Click **Create** ![Screenshot 2026](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=7731e5397c6bc00fb982e778ef9df89f) *** ## Step 2. Create a webhook with "Use full response as campaign content" ![Screenshot 2026 05 29 At 14 36 50](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-14.36.50.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=d49fd2831b04fc47edb44221006c2c0b) Inside the integration, click **Create** to add a webhook. Fill in the name, system name, method, and path. In the **Response settings** block, select **"Use full response as campaign content"**. > [accordion] How this differs from the standard webhook mode > > Webhooks support two modes: > > * **Map specific fields** — the existing behavior. Used for integrations and response checks inside flow scenarios: individual values are pulled from the response by path and saved in a flow session for use in Condition nodes or campaigns as individual data points. > * **Use full response as campaign content** — the new mode. The entire JSON response becomes available inside the campaign template, where you can iterate it with `for…end for`, branch with `if`, and render content directly in your email block using Dynamic parameters. Save the webhook. > [!WARNING] > > Do **not** use dashes in the webhook system name. Use `camelCase` or `snake_case` instead. ![Screenshot 2026 05 29 At 15 18 55](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-15.18.55.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=b8a78fbf3a58707f15d15dfba17857a1) ![Screenshot 2026 05 29 At 15 22 14](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-15.22.14.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=c383c767723a2775beee7785934b7cde) ![Screenshot 2026 05 29 At 15 28 13](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-15.28.13.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=9fbd9d4dbd04af4bb108ddfa3011c30a) *** ## Step 3. Reference the webhook in your campaign Open a campaign and reference the webhook response using this parameter syntax: ```text theme={null} ExternalData.YourWebhookSystemName.SpecificJSONNodes ``` ```text theme={null} ExternalData.YourWebhookSystemName ``` After the webhook name, use dot notation to navigate to specific JSON nodes. ### Example: Angel Studios The Angel API returns a nested response like this: ```json theme={null} { "venues": [ { "name": "Classic Cinemas Fox Lake Theatre", "address_text": "115 Towne Centre Lane, Fox Lake, IL", "showtimes_by_day": [ { "date": "2026-07-03", "showtimes": [ { "local_start_time_friendly": "11:15 AM", "ticket_url": "https://www.angel.com/tickets/..." } ] } ] } ] } ``` In the campaign's HTML block, use nested loops to render the full structure: ```html theme={null} @{ for venue in ExternalData.AngelWebhookYoungWashingtonLaunchDate.venues }

${ venue.name }

${ venue.address_text }
@{ for day in venue.showtimes_by_day } ${ day.date } @{ for showtime in day.showtimes } ${ showtime.local_start_time_friendly } @{ end for } @{ end for } @{ end for } ``` Three levels of nesting—`venues → showtimes_by_day → showtimes`—are iterated with three nested `for…end for` loops. Fields within each object are accessed with dot notation: `venue.name`, `day.date`, `showtime.ticket_url`. ![Screenshot 2026 05 29 At 15 49 46](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/Screenshot-2026-05-29-at-15.49.46.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=f5fbbc4bdce577e0299109688170ac05) *** ## Step 4. Send the campaign At send time, Maestra Platform calls your endpoint for each recipient, waits for the response, and injects the data into the email before delivery. ![Image 18](https://mintcdn.com/maestraio/0dDg46S6N-QQIeVN/images/image-18.png?fit=max\&auto=format\&n=0dDg46S6N-QQIeVN\&q=85\&s=0908150c44ad28c3212a7a44477e7b47) *** ## What happens if the webhook doesn't respond If the call to your endpoint fails, the email is **not sent** to that recipient. The rest of the campaign continues normally—only the affected recipients are skipped. Before skipping, the system retries automatically: 1. **3 attempts** on `429` and `5xx` errors 2. **1-minute pause** 3. **Up to 2 more retry cycles** A recipient is only skipped if all retry attempts fail. *** ## Debugging Every webhook call is logged. Go to **Integrations → Webhooks → Webhook logs** to see the full request URL, headers, response body, and HTTP status. ![Screenshot 2026 05 29 At 16 13 11](https://mintcdn.com/maestraio/ndpW5zVYhGAs-p28/images/Screenshot-2026-05-29-at-16.13.11.png?fit=max\&auto=format\&n=ndpW5zVYhGAs-p28\&q=85\&s=43462243955fa352c61e8b3e7a611d25) ![Screenshot 2026 05 29 At 16 21 00](https://mintcdn.com/maestraio/ndpW5zVYhGAs-p28/images/Screenshot-2026-05-29-at-16.21.00.png?fit=max\&auto=format\&n=ndpW5zVYhGAs-p28\&q=85\&s=15e17506fd6759b2d251d242a16131d5) ![Screenshot 2026 05 29 At 16 40 10](https://mintcdn.com/maestraio/ndpW5zVYhGAs-p28/images/Screenshot-2026-05-29-at-16.40.10.png?fit=max\&auto=format\&n=ndpW5zVYhGAs-p28\&q=85\&s=5b622c7911221b34b58b55a2cb7347fe) If something looks off, that's your starting point. # How to Use Webhook Responses in Flows Source: https://help.maestra.io/campaigns/webhooks/how-to-use-webhook-responses-in-flows In [flows](/flows/what-are-flows-and-how-do-you-use-them), you can not only call a webhook but also receive a response to the request and move a customer along the flow depending on the results received. You can use both the webhook’s successful delivery status itself and specific values from the webhook response. # Request status flow Task example: Let’s say we need a customer to verify their account using a Flash Call invoked by a webhook. Maestra terminates the flow if the webhook delivery is successful and the service responds with 2xx (the success status code). If the service responds with an error, the customer needs to be sent an email with a verification link. ## Setting up a webhook Follow the [guide](/campaigns/webhooks/what-is-a-webhook-and-how-to-create-one) to create a webhook. For your webhook to receive responses, follow these steps: 1. Add `$\{WebhookRequest.TransactionalId\}` to the URL, header, or request body. ![00\_webhook\_responses](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_webhook_responses.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=6f76c3cb9cdff7c81133c3665f4f1dca) ![01\_webhook\_responses](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_webhook_responses.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=b0576b6441333342393213c31cb6281b) 2. Add the `Content-Type: application/json` header You can specify the header in the integration point or in a specific webhook. ![02\_webhook\_responses](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_webhook_responses.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=24088a753d5ca4983ee1ec91c41debd1) 3. Enable response processing with the Should await response in JSON option: ![03\_webhook\_responses](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_webhook_responses.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=7166b61d518367e8a7a2ad67e46429ce) ## Setting up a flow To use webhook responses, your [flow](/flows/what-are-flows-and-how-do-you-use-them) should include: 1. A Steps block that sends the webhook: ![05\_webhook\_responses](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_webhook_responses.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=8157718d111c77e78cd51197fbb409ad) When you select an appropriate webhook, a notification appears allowing you to check the response. 2. A Condition block that depends on the Webhook Response: ![06\_webhook\_responses](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_webhook_responses.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=56eda8458a2b17efb39c724184be4462) * If the service responds to the request with a 2xx HTTP status code, the event is transferred to the "Yes" branch. * If the response contains a 5xx or 429 code, the webhook is re-sent 3 more times every 5 minutes. After three failed attempts, the event is transferred to the "No" branch. * If the service responds with a 4xx code (except 429) or the system cannot generate the webhook because of errors in the Template Engine, the event is also transferred to the "No" branch. 3. Next flow steps for request and failed requests ("Yes" and "No" branches). ![07\_webhook\_responses](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_webhook_responses.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=bd0f2c46fd805e054f9cfa9ab50f0318) # Response data flow Task example: Let’s imagine a service that generates unique promo codes for customers. A webhook should send a user’s phone number to the service, receive a promo code for the user, and record the response in the customer profile. ## Setting up a webhook Follow this [guide](/campaigns/webhooks/what-is-a-webhook-and-how-to-create-one) to create a webhook. To ensure your webhook can receive responses, follow these steps: 1. Add `$\{WebhookRequest.TransactionalId\}` to the URL, header, or request body. ![00\_webhook\_responses](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_webhook_responses.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=6f76c3cb9cdff7c81133c3665f4f1dca) ![01\_webhook\_responses](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_webhook_responses.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=b0576b6441333342393213c31cb6281b) 2. Add the `Content-Type: application/json` header You can specify the header in the integration point or in a specific webhook. ![02\_webhook\_responses](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_webhook_responses.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=24088a753d5ca4983ee1ec91c41debd1) 3. Enable response processing with the Should await response in JSON option: ![03\_webhook\_responses](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_webhook_responses.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=7166b61d518367e8a7a2ad67e46429ce) 3.1. Click Add custom field. * Name — choose a name for the variable to which the value from the webhook response will be assigned. * Full name — this is generated automatically from the Webhooks prefix, the system name of your webhook, and the previously specified name of the variable. The full name will be used in flows to record in a customer profile and in campaigns to substitute the value. For example, the full name of the `code` variable is `Webhooks.WebWebhook1.code` * Path in the response body — where to find the value for the variable. ### How to fill in the path in the response body To do this, you need to know what the response from the service looks like. For example, it returns the following code: ``` `{ "firstName": "Paul", "promocode": { "promocodeValue": "QWERTY", "promocodeId": "1" }, "subjects": [ "Art", "History" ], "subscriptions": [ { "pointOfContact": "Email", "isSubscribed": "true" }, { "pointOfContact": "SMS", "isSubscribed": "false" } ] }` ``` Paths to various parameters: * a non-nested parameter (`"Paul"`) — just its key (`firstName`); * a parameter in an object (`"QWERTY"`) — top-level objects and its key name after a dot (`promocode.promocodeValue`); * a parameter in an array (`"Art"`) — the array name and the item’s index in square brackets (`subjects[0]`); * a parameter of an array object (`"true"`) — the array name and the item’s index in square brackets, the key name after a dot (`subscriptions[0].isSubscribed`). So, the path to the promo code in the response body will be `promocode.promocodeValue`: ![04\_webhook\_responses](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_webhook_responses.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=e3cbfdc201ea782b1071c10308a1b9e3) Check whether your expression is correct using online services like [https://jsonpath.com](https://jsonpath.com) ## Setting up a flow To use webhook responses, your [flow](/flows/what-are-flows-and-how-do-you-use-them) should include: 1. A Steps block that sends a webhook: ![08\_webhook\_responses](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_webhook_responses.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=f494a07c2e1c0422b723c31c3c9a1688) When you select an appropriate webhook, a notification appears allowing you to check the response. 2. A Condition block that depends on the Webhook Response. The condition is set automatically and checks whether your webhook delivery is successful: * If the service responds to the webhook call with a 2xx HTTP status code and the variable from the response fulfills the condition, the event is transferred to the "Yes" branch. * If the response contains a 5xx or 429 code, the webhook is re-sent 3 more times every 5 minutes. After three failed attempts, the event is transferred to the "No" branch. * If the service responds with a 4xx code (except 429) or the system cannot generate the webhook because of errors in the Template Engine, the event is also transferred to the "No" branch. 2.1. Add a condition for the variable. You can select the following options for the condition: * Value is available — whether a value for the variable has been passed in the response or not; * Exists / Equals / Contains / Starts with / Not equal / Not contain — conditions for the contents of a value of the variable. ![09\_webhook\_responses](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_webhook_responses.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=37ffb7053ae3b44eb0cf41a5c867dcd1) 3. Maestra can record the variable in the customer profile or add it to a campaign without saving it in the system. The data of the function is available only in the "Yes" branch after the response has been checked. * To record a value in a customer’s profile, add another Steps block and configure them to edit a profile with the data from the webhook: ![10\_webhook\_responses](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_webhook_responses.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=4a2495ec43833d356a853ae3cd52b5ec) If necessary, create a [custom field](https://intercom.help/maestraio/v1/docs/how-to-create-a-custom-field) to save data. The system records responses only in string fields. * To add a value to a campaign, use a webhook parameter written as `WebhookVariables.GetValue("Full name of a webhook parameter")` or copy it to the flow: ![11\_webhook\_responses](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/11_webhook_responses.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=8aa34be662196725d6e6f9556a0c9fc4) Use it in your campaign layout the same way that you would use any other parameter of the [Template Engine](/campaigns/message-template-engine/what-is-the-message-template-engine): ![12\_webhook\_responses](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_webhook_responses.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=00eb83a84146a59edd56801cdea2d95b) # Webhook Logs Source: https://help.maestra.io/campaigns/webhooks/webhook-logs > [!WARNING] > > To access this page, you need the Integration Log View permission. To open webhook logs, click on **Integration settings** → **Integration logs**: ![00\_webhook \_logs](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_webhook-20_logs.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=9f66d5ea73f9e9a4b9ce1142198fece2) The list includes all the requests made in the last 14 days. They can be filtered by dates, integration points and webhook names, request statuses, log IDs, URLs, and request bodies. ![01\_webhook \_logs](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_webhook-20_logs.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=d68ec1e7807817c260b00e46cdfa1576) The page always displays the number of logs found, but you can browse only the most recent 500 records. To view more records, you need to export them. > [!NOTE] > > To find webhook logs for a particular customer or order, follow these steps: > > * Filter the log selection to ensure accuracy, then upload all the found requests. > > * You can upload the resulting CSV file to a table editor and use the in-built features to filter and group lines. Open a line to view information about a particular request: * a method and URL request; * headings and a request body; * headings and a response body; * log ID; * the flow node where the webhook was requested; * the link to this request (including any repeat requests). ![02\_webhook \_logs](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_webhook-20_logs.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=6cc0aae346d4eb4a16089bf0ab9eb819) > [!NOTE] > > **Why may a webhook log be missing headings and a response body?** > The response time is 30 seconds. If the service fails to respond on time or there is a network error, the response will not be saved in the log. The logs are added to the list once the final request result shows that the request has been completed. While waiting, the system does not record the log. # How logs are exported > [!WARNING] > > To export logs from the platform, users need the Integration Logs Export permission. To export logs, select the required requests and click the **Export** button: ![03\_webhook \_logs](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_webhook-20_logs.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=08b557d7902c3fb960495fc936dcd156) A task is created: ![04\_webhook \_logs](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_webhook-20_logs.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=d1d62edd9f558c271811067d1506e008) Once the task is finished, you will receive a link to the exported CSV file. Additionally, you can export logs using the API by following [these instructions](https://developers.maestra.io/docs/exporting_webhook_logs). # What is a webhook and how to create one Source: https://help.maestra.io/campaigns/webhooks/what-is-a-webhook-and-how-to-create-one Send real-time data from Maestra Platform to any external service the moment something happens to a customer. A webhook is a small, automated message Maestra fires off to another service the instant something happens — a customer signs up, places an order, hits a loyalty tier, abandons a cart. Instead of the other service constantly asking "anything new yet?", Maestra Platform tells it directly. ## What you can do with webhooks > [card] Trigger external workflows > > Notify your helpdesk, warehouse, or any other tool the moment a customer takes an action. > [card] Sync data in real time > > Push customer attributes, order details, or loyalty status to any third-party tool. > [card] Send to custom channels > > Reach Telegram, WhatsApp Business, voice bots, or any service with an API. > [card] Pull data into flows > > Use the webhook's response to branch a flow or personalize the next message. ## How it works Setting up a webhook in Maestra Platform is a two-part job: **1. Create an integration** The integration holds everything shared across your webhooks for a given service: the base URL, auth headers, and rate limits. **2. Create the webhook itself** The webhook defines the specific endpoint, HTTP method, request body, and what to do with the response. You can have many webhooks under one integration. Think of the integration as the "account connection" and the webhook as an individual "action." *** # Part 1: Create the integration **1. Click Integrations → Integration Setup → Create Integration** ![Screenshot 2026 05 29 At 14 09 57 2](https://mintcdn.com/maestraio/gIiLYvn2bftMwXhD/images/Screenshot-2026-05-29-at-14.09.57-2.png?fit=max\&auto=format\&n=gIiLYvn2bftMwXhD\&q=85\&s=8dcd78230d239cabaa050ae7465c47a8) **2. Pick the Webhook Integration preset** ![Screenshot 2026 05 29 At 14 12 07 1](https://mintcdn.com/maestraio/gIiLYvn2bftMwXhD/images/Screenshot-2026-05-29-at-14.12.07-1.png?fit=max\&auto=format\&n=gIiLYvn2bftMwXhD\&q=85\&s=a7166c400fb729763bf24fe016531b22) **3. Name your integration** Use a descriptive name so you'll know what it does at a glance — like `Shopify Order Sync` or `Zendesk Ticket Webhooks`. ![Screenshot 2026 06 01 At 12 02 23](https://mintcdn.com/maestraio/gIiLYvn2bftMwXhD/images/Screenshot-2026-06-01-at-12.02.23.png?fit=max\&auto=format\&n=gIiLYvn2bftMwXhD\&q=85\&s=9a99986f859a8a2e63adce8ed02d5b9b) **4. Set the root URL** This is the base URL all webhooks in this integration will share. You can either: * Put the **full URL** here and leave the path blank on individual webhooks, or * Put only the **root** here and let each webhook add its own path — the usual setup when one integration covers many different methods. Less typing, fewer typos, and if the base ever changes, you update it in one place instead of touching every webhook. > [!TIP] > > **Example:** For example, Maestra Platform's own API uses `https://api.maestra.io/v3/operations/` as the root. You set that once on the integration, and each webhook just adds the part that's unique to its method.\\ > > ![Screenshot 2026 06 03 At 16 20 20](https://mintcdn.com/maestraio/gIiLYvn2bftMwXhD/images/Screenshot-2026-06-03-at-16.20.20.png?fit=max\&auto=format\&n=gIiLYvn2bftMwXhD\&q=85\&s=ee8f0db1d6d0e521ebbfec8725919ddd) **5. Set a request rate limit (optional)** If the receiving service has a rate cap, set the max requests per second here. Every webhook in this integration counts toward the same limit. > [!NOTE] > > The actual rate can vary slightly due to network delays. Set the limit a little below what the service can handle to stay safely under the cap. ![Screenshot 2026 06 03 At 16 39 53](https://mintcdn.com/maestraio/gIiLYvn2bftMwXhD/images/Screenshot-2026-06-03-at-16.39.53.png?fit=max\&auto=format\&n=gIiLYvn2bftMwXhD\&q=85\&s=64c4e0cbe12dd4dc19e9a467b92c24be) **6. Add headers** Add the headers your service needs. The two you'll almost always set are **Authorization** (your API key or token) and **Content-Type** (usually `application/json`). > [!TIP] > > Mark any header containing a token or secret as **secret**. Teammates without integration access won't be able to see the value when they're building webhooks. ![Screenshot 2026 06 03 At 16 46 35](https://mintcdn.com/maestraio/gIiLYvn2bftMwXhD/images/Screenshot-2026-06-03-at-16.46.35.png?fit=max\&auto=format\&n=gIiLYvn2bftMwXhD\&q=85\&s=6817e09cb99f21b3977cfcc9d024080c) **7. Click Create to save the integration.** ![Screenshot 2026 06 03 At 16 56 04](https://mintcdn.com/maestraio/gIiLYvn2bftMwXhD/images/Screenshot-2026-06-03-at-16.56.04.png?fit=max\&auto=format\&n=gIiLYvn2bftMwXhD\&q=85\&s=6d108f58947e530b938a5d81dedffde7) *** # Part 2: Create the webhook **1. Add a new webhook** You can create a webhook from one of two places — both end up in the same editor.\\ > [tab] From webhook integration point > > Continue the setup you started in Part 1 — on the webhook integration page, click **Create**.\\ > > ![Unknown](https://mintcdn.com/maestraio/6qwnfOqUnljjhTXd/images/Unknown.png?fit=max\&auto=format\&n=6qwnfOqUnljjhTXd\&q=85\&s=1a098c1a39ebb9d9d021bb2d96c8be5f) > [tab] From webhooks list > > Go to **Integrations → Webhooks → Create** and pick the integration this webhook belongs to. > > ![1111](https://mintcdn.com/maestraio/6qwnfOqUnljjhTXd/images/1111.png?fit=max\&auto=format\&n=6qwnfOqUnljjhTXd\&q=85\&s=749b21c44bc8ac97698e7d7d6cd48ca6) > > ![Screenshot 2026 06 03 At 17 10 58](https://mintcdn.com/maestraio/6qwnfOqUnljjhTXd/images/Screenshot-2026-06-03-at-17.10.58.png?fit=max\&auto=format\&n=6qwnfOqUnljjhTXd\&q=85\&s=0a086d46eec3025918d92053f58e6dc2) **2. Fill in the basics** | Field | What it's for | | - | - | | **Name** | Use a descriptive name so you'll know what it does at a glance. | | **System name** | A unique ID used to reference this webhook's response. | | **Description** | Optional — fill in only if needed. | | **Method** | `GET`, `POST`, `PUT`, `PATCH`, or `DELETE` — whatever the receiving service expects. | | **Root URL** | This URL is inherited from the webhook integration — it's shared by every webhook added to that integration. | | **URL** | The path that gets appended to the root URL from your integration. Leave blank if the webhook integration point already has the full URL. | | **Overview URL preview** | Shows the full assembled URL. Read-only — just for sanity-checking. | ![Webhook basic settings](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_webhook.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=30dde5859def394e1669eb84d47ce4e9) **3. Add an idempotency key (recommended)** By default, a webhook is sent **once**. If the receiving service returns a `5xx` or `429` error, the request is gone. Adding an idempotency key tells Maestra Platform to safely retry — **up to 3 times over 6 minutes** — without the receiving service treating the retries as new, duplicate events. Use the template variable: ```text theme={null} ${WebhookRequest.TransactionalId} ``` You can put it in the URL, a header, or the request body. Where it goes depends on what the receiving service expects. > [!WARNING] > > Check your service's API docs before adding this. Some services expect a specific parameter name (`Idempotency-Key`, `request_id`, etc.) or a particular format. If the service doesn't recognize it, you won't get retry protection. > [accordion] Example: adding it to the URL as a query parameter > > Append it after a `?`: > > ![Idempotency key as first query param](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_webhook.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=9902416ef9f1cac2560aa5ab1fdfec00) > > If the URL already has query parameters, use `&` instead: > > ![Idempotency key as additional query param](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_webhook.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=25f5f9f1976e17a38106bef4e529201f) > [accordion] Example: adding it as a header > > Many APIs (Stripe-style) expect it as a header like `Idempotency-Key: ${WebhookRequest.TransactionalId}`. > [accordion] Example: adding it to the request body > > Drop it into your JSON payload as a field the receiving service expects, e.g. `"request_id": "${WebhookRequest.TransactionalId}"`. **4. Set webhook-specific headers** Headers from the integration are inherited automatically. You can: * **Turn off** an inherited header by unchecking **Use**. * **Add** extra headers that only apply to this webhook. Both inherited and webhook-specific headers go out with the request. ![Webhook headers](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/11_webhook.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=357792801d4a0b5290bb80ef4fd3ffa0) In the example above, the final headers sent are: ```http theme={null} Content-Type: application/json webhookHeader: test ``` **5. Build the request body** Drop in a JSON payload and pull in customer data using [dynamic parameters](/campaigns/message-template-engine/what-is-the-message-template-engine) from the message template engine. You can use: * **Variables** like `${customer.email}` or `${order.totalPrice}` * **Conditionals** with [if / else if / end if](/campaigns/message-template-engine/adding-a-condition-ifelse-ifend-if) * **Loops** with [for / end for](/campaigns/message-template-engine/how-to-use-elements-of-a-collection-with-the-forend-for-loop-and-the-set-keyword) — handy for line items in an order The right-hand sidebar has the full variable picker. ![Request body editor](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_webhook.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=c03901571681698a036a6fc19b91a2d9) **6. Capture the response (optional)** If the receiving service sends back data you want to use later in your flow — an order number, a status, a tracking link — capture it here. Once captured, you can: * **Branch the flow** based on whether the call succeeded * **Personalize the next message** with values from the response ![Webhook response capture](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_webhook.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=4924737c8046c686d3771fc3c6d08b18) For the full walkthrough, see [How to use webhook responses in flows](/campaigns/webhooks/how-to-use-webhook-responses-in-flows). **7. Save** ![Save webhook](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_webhook.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=51f81d44c3d9aec71a853b4e096d963c) *** ## Copy a webhook If you need a near-duplicate (same auth, different endpoint or payload), open the webhook's menu and click **Copy** — faster than rebuilding from scratch. ![Copy webhook](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/15_webhook.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=60e15e906f5bb4a969a378583557cb4d) ## Troubleshooting and monitoring Once your webhook is live, the [Webhook Logs](/campaigns/webhooks/webhook-logs) view is your source of truth for what was actually sent, what came back, and where things went wrong. > [card] [Use webhook responses in flows](/campaigns/webhooks/how-to-use-webhook-responses-in-flows) > > Branch flows or personalize messages with data the receiving service sends back. > [card] [Webhook logs](/campaigns/webhooks/webhook-logs) > > Inspect every request and response for debugging and auditing. > [card] [Webhook-powered campaign content](/campaigns/webhooks/adding-webhook-powered-content-to-campaigns) > > Pull live data from an external service into your campaign content. > [card] [Message template engine](/campaigns/message-template-engine/what-is-the-message-template-engine) > > Reference for variables, conditionals, and loops in your request body. # Action Template for Issuing an Action in an Operation or Flow Source: https://help.maestra.io/customers-orders-and-products/actions/action-template/examples/action-template-for-issuing-an-action-in-an-operation-or-flow Issuing an action is one of the steps available in an operation and in a flow. For your template to show up there, two things have to be true: * The template was created in the same campaign as the operation or flow, or in one of its child campaigns. * The template's categories are set correctly. ## Suitable categories | Field | Value | | - | - | | 1st-level category | Customer's personal actions | | 2nd-level category | Any | | 3rd-level category | Any | # Action Template for Product and Category Views Source: https://help.maestra.io/customers-orders-and-products/actions/action-template/examples/action-template-for-product-or-category-views Product view and category view operations create their action templates automatically. For some tasks, though — importing view history, for example — you need to add the templates to your account yourself. For the general walkthrough, see [How to create an action template](/customers-orders-and-products/actions/action-template/how-to-create-an-action-template). What matters here is picking the right categories: | Field | Value | | - | - | | 1st-level category | Customer actions | | 2nd-level category | Website content and product interaction | | 3rd-level category | Interaction with sections of a website or mobile application | # Action Templates for Adding and Removing Products From a Product List Source: https://help.maestra.io/customers-orders-and-products/actions/action-template/examples/action-templates-for-adding-and-removing-products-from-a-product-list Product lists usually change through operations, and those operations create their action templates automatically. Sometimes, though, you need to edit lists through the interface instead. To create the templates, follow the [general walkthrough](/customers-orders-and-products/actions/action-template/how-to-create-an-action-template) and set the categories that fit the task. | Field | Value | | - | - | | 1st-level category | Customer actions | | 2nd-level category | Website content and product interaction | | 3rd-level category | Interaction with sections of a website or mobile application | # How to Copy an Action Template Source: https://help.maestra.io/customers-orders-and-products/actions/action-template/how-to-copy-an-action-template Copying lets you spin up a new action template from an existing one in a couple of clicks. 1. Go to **Settings** → **Customers and actions** → **Action templates**. 2. Find the template you need, click the gear icon, and select **Copy**. 3. Fill in the settings. 4. Click **Save**. # How to Create an Action Template Source: https://help.maestra.io/customers-orders-and-products/actions/action-template/how-to-create-an-action-template ## What an action template is An action template is the name of an event that happens to a customer. For example: visiting the website, opening an email, being imported into the database, being tagged for a campaign. You need an action template when you want to: * Tag customers at import, so you can tell them apart in filters later. * Record an action that results from an operation on your site — a product view, for example. * Set up a flow. ## How to create an action template **1. Go to Settings → Customers and actions → Action templates** ![action\_1](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/action_1.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=3f92d22017324da88be56fafbcf011f7) **2. Click Add → Action template** ![action\_2](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/action_2.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=e780f03c9785347d901923235528d859) **3. Fill in the fields** * **Name** — the action's name. This is what gets recorded on customers in the system. * **Type** — the action type. **Standard** covers most cases. * **System name** — the name the template is stored under in our database. Used in integrations. Filled in automatically. * **Campaign** — the campaign the action will be used in. * **Applied to brands** — the brand this template can be issued under, if your account has brands. **Categories** depend on what you're creating the template for. See the related articles for filled-in examples. **1st-level category** — the overarching category: * **Customer's personal actions** — actions the customer took themselves * **System actions** — actions you initiate **2nd-level category** — pick what fits, based on the first-level category you chose. **3rd-level category** — pick what fits, based on the second-level category you chose. **Notes** and **Description** are optional. **Tags** — use these to group templates. **4. Save the template** ![action\_4](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/action_4.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=9369085417dffd16611f97324ae6a1af) # How Channels and Touchpoints Are Created From UTM Tags Source: https://help.maestra.io/customers-orders-and-products/actions/channels-and-touchpoints/channels/how-channels-and-touchpoints-are-created-from-utm-tags A **touchpoint** is the way you reach the customer — sometimes the place the action happened — through which the action takes place. A **channel** groups touchpoints together. Channels and touchpoints are created automatically after the Maestra Platform JS tracker on the destination site records a visit from a tagged link. A click on a tagged link on its own isn't enough to build the tree. ## Three possible scenarios * **Tagged links from a campaign lead to a third-party site with no tracker.** No channels or touchpoints are created. * **The tracker is installed but didn't manage to record the visitor** — they clicked and closed the page right away. No channels or touchpoints are created. * **The tracker is installed and recorded the visit** — the customer didn't just click, they actually landed on the site. Channels and touchpoints are created for every unique link. The first two are straightforward. Here's how the tree gets built in the third case. ## When the tracker is installed and records the visit The UTM tags used in the link are written as a branch under the **Digital — Traffic sources** channel. `utm_term` is optional. If the link doesn't use it, the matching touchpoint simply isn't created. ## Examples * A customer follows `http://example-store.com/?utm_source=the&utm_medium=must&utm_term=on&utm_content=go&utm_campaign=show` and is recorded by the tracker. A branch for it appears under the **Digital — Traffic sources** channel. * A customer follows a link without `utm_term`: `http://example-store.com/?utm_source=the&utm_medium=must&utm_content=go&utm_campaign=show`, and is recorded by the tracker. A branch appears under the **Digital — Traffic sources** channel, without the `utm_term` touchpoint. * A customer follows `https://www.site-without-tracker.com/all-products.html?utm_source=announcement-mailing&utm_medium=email&utm_term=misc&utm_content=button&utm_campaign=2025-10-20` to a site that doesn't have our tracker. No channels or touchpoints are created. # How to Create a Channel Source: https://help.maestra.io/customers-orders-and-products/actions/channels-and-touchpoints/channels/how-to-create-a-channel A **channel** groups touchpoints together. Channels themselves can also be grouped. You can add channels one at a time through the interface, following this article, or [import them in bulk from a CSV file](/import-data/references/how-to-import-channels). > [!WARNING] > > Import can only create child channels. The parent channel has to already exist in your account. ## How to add a channel through the interface **1. Go to Settings → Customers and actions → Channels** **2. Click Add** **3. Fill in the fields** * **External ID** — used in integrations. * **Name** — the channel name. Shows up in the channel list and in filters. * **System name** — filled in automatically; you can set your own. Used for internal storage. * **Description** — a comment. Optional. * **Belongs to channel** — optional, if the channel has no parent. **4. Click Add** The channel is added. It's now available in your mechanics — in an action filter, for example. # How the Website Traffic Source Is Determined Source: https://help.maestra.io/customers-orders-and-products/actions/channels-and-touchpoints/how-the-website-traffic-source-is-determined Once the [JavaScript SDK](https://developers.maestra.io/docs/javascript-sdk) is installed on your site, Maestra Platform starts recording where every visitor came from. That's what lets you measure your marketing channels — campaigns, paid search, display advertising, and so on. If the tracker can identify the customer on arrival, a **Website visit** action is created in their history. If the customer isn't identified, their visits are stored for six months and then deleted. Once they're identified, those visits are pulled into their profile. Every action — visits included — is tied to a touchpoint. For a visit, which touchpoint depends on how the person reached your site. Maestra Platform recognizes these traffic sources: * Organic search * Email click * Social network * Social advertising * Paid search * Display advertising * Other advertising * Referral * Direct > [!NOTE] > > To analyze traffic sources — comparing visitors, conversion, and revenue across them — use the **Website conversion** report. Here's how Maestra Platform processes a visit and works out which source it came from. ## Stage 1 The platform checks the link for UTM tags. If the link has them, it looks at `utm_medium`. If `utm_medium` contains: * **`cpc` or `ppc`** — the platform checks whether the link contains a domain it recognizes as a social network. If it does, the source is **Social advertising**. Any other domain makes it **Paid search**. * **`display`, `cpm`, or `banner`** — **Display advertising**. * **`email`** — **Email click**. * **Anything else** — **Other advertising**. For how the channel and touchpoint tree gets built from those tags, see [How channels and touchpoints are created from UTM tags](/customers-orders-and-products/actions/channels-and-touchpoints/channels/how-channels-and-touchpoints-are-created-from-utm-tags). ## Stage 2 If the request has no UTM tags, the platform checks whether the Referral URL is filled in. The Referral URL is a request header that carries a link to the source of the request. Browsers fill it in automatically when someone follows a link to your site. You can see it yourself: open the developer panel, go to the **Network** tab, pick the request you're interested in, and open **Headers**. If the Referral URL is filled in and there are no UTM tags, the platform reads its contents: * Referral URL contains the domain of a search engine it recognizes → **Organic search**. * Referral URL contains the domain of a social network it recognizes → **Social network**. * Anything else → **Referral**. ## Stage 3 If the request has no UTM tags and no Referral URL, the source is **Direct**. A missing Referral URL can happen when: * The customer followed a link from an email client or an app (Outlook, a messenger, and so on). * The customer opened your site from a browser bookmark. * The customer copied or typed the address into the address bar manually. Some sites run services that strip the Referral URL and put their own address there instead of the real source. ## How attribution works in the campaign summary report This same logic decides which orders and clicks get attributed to your campaigns. Attribution recalculates once a day. If it ran this morning and orders came in this afternoon, those orders won't reach your campaign reports until tomorrow. An order is attributed to a campaign when all of this is true: * The customer clicked a link in that campaign. * The order landed inside the attribution window. * Nothing interrupted them in between. * They didn't cancel the order. An **interrupting action** is a visit the customer made on their own, without clicking a campaign link first. Any traffic source counts — organic search, social network, display advertising, and so on. The one exception is **Direct**: a direct visit doesn't break the chain. ## Examples Say your attribution window is two months. | What happened | Result | | - | - | | A customer clicks a link in your email and places an order inside the window. | Attributed | | Same click, but the order comes much later, outside the window. | Not attributed | | The customer clicks your email, then comes back through Google search before ordering. That search visit interrupts the chain, even though the order is inside the window. | Not attributed | | The customer clicks your email, then comes back directly — from a bookmark, from Outlook. Direct visits don't interrupt, so the order still counts for the campaign. | Attributed | # How to Create a Touchpoint Source: https://help.maestra.io/customers-orders-and-products/actions/channels-and-touchpoints/touchpoints/how-to-create-a-touchpoint A **touchpoint** is the way you reach the customer — sometimes the place the action happened — through which the action takes place. A website, a store, or a social network, for example. Touchpoints can be grouped, or classified, using channels. For more on those, see [how to add](/customers-orders-and-products/actions/channels-and-touchpoints/channels/how-to-create-a-channel) and [how to import](/import-data/references/how-to-import-channels) channels. You can add touchpoints one at a time through the interface, following this article, or [import them in bulk from a CSV file](/import-data/references/how-to-import-touchpoints). ## How to add a touchpoint through the interface **1. Go to Settings → Customers and actions → Touchpoints** **2. Click Add** **3. Fill in the fields** * **Name** — the name you'll use to find the touchpoint in filters. * **System name** — how the touchpoint is stored in the account's database. * **External ID** — how the touchpoint is passed in operation calls, imports, and services. * **System touchpoint** — marks the touchpoint as undeletable. * **Channel** — matters for search and reports, so pick one that fits your setup. * **Used for** — reference information for you, so it's clear what the touchpoint was created for. **4. Click Add** You'll see a confirmation that the touchpoint was added. # How to Delete Actions Source: https://help.maestra.io/customers-orders-and-products/actions/issuing-and-deleting-actions/how-to-delete-actions 1. Go to the **Actions** section. 2. Build a filter for the actions you want to delete. 3. Select them. 4. Click **Delete**. 5. Confirm. 6. A link to the task appears. Wait for it to finish — once it does, the actions are gone. # How to Issue Actions to Customers Selected by a Filter Source: https://help.maestra.io/customers-orders-and-products/actions/issuing-and-deleting-actions/how-to-issue-actions-to-customers-selected-by-a-filter This is the way to issue actions to a large number of customers at once. To issue an action to a single customer, see [How to issue an action in a customer profile](/customers-orders-and-products/actions/issuing-and-deleting-actions/how-to-issue-an-action-in-a-customer-profile). > [!NOTE] > > You can only issue actions from the **Customer's personal actions** first-level category. **1. Find the customers you need** On the **Customers** tab, build a filter. **2. Select the customers** To pick customers at random, click **Random selection** and enter a number or a percentage of the customers found. **3. Select Add action from the menu** **4. Pick the action template and click Add action** On multi-brand accounts, pick the brand too. **5. Wait for the task to finish** A link to the task appears. Once it completes, the action shows up in the customer profile on the matching tab. # How to Issue an Action in a Customer Profile Source: https://help.maestra.io/customers-orders-and-products/actions/issuing-and-deleting-actions/how-to-issue-an-action-in-a-customer-profile Use this when you need to issue an action to a single customer. Why you'd want to: say you have a flow that starts when a particular action is issued, and you need this customer to enter it. > [!NOTE] > > In a customer profile, you can only issue actions from the **Customer's personal actions** first-level category. > > If you have a lot of customers, use [bulk action import](/import-data/actions/how-to-bulk-import-actions-from-a-file) instead. **1. Open the customer profile** On the **Customers** tab, click the name of the customer you need. **2. Select Add action from the menu** **3. Pick the action template and click Add** On multi-brand accounts, pick the brand too. **4. Check the result** The action shows up in the customer's profile under **Activity feed**. # How to Assign and Remove a Tag Source: https://help.maestra.io/customers-orders-and-products/actions/tags/how-to-assign-and-remove-a-tag ## How to assign tags 1. Go to **Settings** → **Customers and actions** → **Action templates**. 2. Click **Actions** → **Set tag**. 3. Tick the templates you want to tag — one or several. 4. Pick the templates and click **Set tag**. You'll see a confirmation and a link to a filter showing every template with that tag. Follow the link and you'll get exactly those templates. ## How to remove tags 1. Go to **Settings** → **Customers and actions** → **Action templates**. 2. Click **Actions** → **Remove tag**. 3. Tick the templates you want to untag — one or several. 4. Clear the tags you don't need by clicking the cross next to each one, then click **Remove tag**. # How to Create an Action Tag Source: https://help.maestra.io/customers-orders-and-products/actions/tags/how-to-create-an-action-tag Tags let you tell action templates apart. **1. Go to Settings → Customers and actions → Action templates** **2. Click Create → Action tag** **3. Fill in the fields** * **Name** — how the tag shows up in the system. * **System name** — how we store the name in our database. Filled in automatically. * **Description** — copy the name, or write something more detailed. * **When applied** — leave a dash, or note where you plan to use the tag. **4. Click Save** You'll see a confirmation that the tag was saved. # What is a Folder, and How to Create One Source: https://help.maestra.io/customers-orders-and-products/actions/what-is-a-folder-and-how-to-create-one A **folder** groups campaigns that share a goal. "Campaigns" here covers campaigns, forms, flows, and promo code pools. > [!NOTE] > > Take an **Abandoned mechanics** folder: it can hold the campaigns, flows, promo codes, and pop-ups for abandoned carts and abandoned browses. Or a **Manual campaigns 2025** folder for that year's promotional sends. The **Campaigns** section holds every campaign in the account. To see what's inside a folder, pick it in the folder filter. You can filter campaigns further (by status, by name) and sort them (by name, creation date, and so on). There's also a grid view of all folders, where you can see the breakdown by campaign and jump straight to the one you need. ## How to create a folder **1. Go to Campaign Manager** **2. Click Create folder** **3. Fill in the fields** * **Name** — the folder's name in the system. * **Description** — what the folder is for. Required. * **Segment** — if you limit a folder to a segment, its campaigns can only fire for customers in that segment. * **Brand** — multi-brand accounts only. Tie a folder to a brand and its campaigns will only reach that brand's customers. * **Parent folder** — for nesting. Accounts support a two-level folder structure, so a folder that already has child folders can't be nested inside another folder. > [!NOTE] > > Segment restrictions don't apply to personalization forms and quizzes. Use the form's targeting settings instead. **4. Click Create** ## How to edit a folder 1. Switch to the folder grid view. 2. Open the folder's menu and select **Edit**. 3. Make your changes and click **Save**: * **Name** — the folder's name in the system. * **Description** — what the folder is for. * **Segment** — if you limit a folder to a segment, its campaigns can only fire for customers in that segment. * **Brand** — multi-brand accounts only. Tie a folder to a brand and its campaigns will only reach that brand's customers. * **Parent folder** — for nesting. Accounts support a two-level folder structure, so a folder that already has child folders can't be nested inside another folder. ## How to delete a folder > [!NOTE] > > You can only delete empty folders — no campaigns, flows, or anything else inside. 1. Switch to the folder grid view. 2. Open the folder's menu and select **Delete**. 3. Confirm. # What is an Action? Source: https://help.maestra.io/customers-orders-and-products/actions/what-is-an-action An **action** is any event or change **related to a customer**. Every change in purchase status, participation in a campaign, product view, or edit to a customer profile is recorded as an action in the customer profile. ## What an action includes Every action has: * **Action template** — what happened * **Date** — when it happened * **Touchpoint** — where it happened * **Brand** — on multi-brand accounts ### Action template The action template is the name of the event. It answers "what happened?" All templates fall into one of two first-level categories: personal and performed for a customer. **Customer's personal actions** are actions the customer took themselves: viewing a product, opening a campaign, placing an order. **Actions performed for a customer** are actions you initiate: correcting an error, sending a campaign, issuing a prize. Action templates can also be grouped with [tags](/customers-orders-and-products/actions/tags/how-to-create-an-action-tag). For more on templates and how to create them, see [How to create an action template](/customers-orders-and-products/actions/action-template/how-to-create-an-action-template). ### Date The date and time the action was issued. It answers "when did the action happen?" Sometimes actions are added with a delay, or historical data is loaded into the account. In that case the action stores both timestamps: the time of the event and the time it was recorded in Maestra Platform. ![](https://mintcdn.com/maestraio/QFfUMd9lAUjtR59J/images/imported/What-is-an-Action_-\(1\).png?fit=max\&auto=format\&n=QFfUMd9lAUjtR59J\&q=85\&s=4cdfcc0c14d622c06d21fa9ff1b2ef48) ### Touchpoint The touchpoint is the way you reach the customer — sometimes the place the action happened — through which the action took place: website, store, social network. It answers "where did the action happen?" Touchpoints are grouped into channels. ### Brand On multi-brand accounts only. Shows which brand the action was performed under. ## Where actions are stored All of a customer's actions live in their profile, on the **Activity feed → All activity** tab: ![](https://mintcdn.com/maestraio/QFfUMd9lAUjtR59J/images/imported/What-is-an-Action_-\(2\).png?fit=max\&auto=format\&n=QFfUMd9lAUjtR59J\&q=85\&s=0059e6d1cad363ceae31f305c7f05284) Actions for every customer are on the **Actions** page: ![](https://mintcdn.com/maestraio/QFfUMd9lAUjtR59J/images/imported/What-is-an-Action_-\(3\).png?fit=max\&auto=format\&n=QFfUMd9lAUjtR59J\&q=85\&s=683dfb690e2ed628c5df160c820ad15a) ## Where actions are used * **Retail orders** — every status change of every purchase in an order is a separate action (created, purchased, paid, delivered, returned). * **Campaigns** — campaign status changes for each customer (sent, opened, clicked) are all separate actions in their profile. * **Promo codes** — issuing a promo code is an action too. * **Customer profile** — edits to personal data and subscriptions are recorded as actions. * **Notes on specific customers**, and other customer-related events. # How to bulk delete customers by email list Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/bulk-delete/how-to-bulk-delete-customers-by-email-list There's no direct "delete by email list" operation, but you can combine an action import with a filter-based deletion to remove customers when all you have is their email addresses. > [!NOTE] > > Deleting by a list of Maestra IDs is straightforward. Deleting by email takes a few extra steps, outlined below. ## High-level approach 1. Create a **marker action** that you'll assign to every customer you want to delete. 2. Import that action from a file containing the email list. 3. Build a filter that matches customers who received the marker action. 4. Delete the matched customers. ## Step-by-step ### 1. Make sure you have a marker action template Confirm that your project has a marker action template intended for deletion. If it doesn't, create one first. ### 2. Assign the action to your customers Prepare a CSV file with a single column named `Email` listing the addresses to delete. Import the file using the **Customer action import with identification by email** operation. See [How to bulk import actions from a file](/import-data/actions/how-to-bulk-import-actions-from-a-file) for the full workflow. ### 3. Build a filter Create a customer filter that matches everyone who received your marker action (for example, "Marker for deletion"). ### 4. Delete the matched customers Run a delete task on the filtered set. See [How to bulk delete customers by filter](/customers-orders-and-products/customers/add-edit-export-delete/bulk-delete/how-to-bulk-delete-customers-by-filter) for the procedure. > [!WARNING] > > Customer deletion is permanent — all customer data and actions are removed. # How to bulk delete customers by filter Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/bulk-delete/how-to-bulk-delete-customers-by-filter Delete customers in bulk by building a filter that matches them, then running a delete task. > [!WARNING] > > Customer deletion is permanent — no customer data is retained. All of their actions, including campaign history and orders, are also deleted. This can cause statistical shifts in your reports. ## Steps 1. Go to **Data** > **Customers**. 2. Build the filter that selects the customers you want to delete (for example, customers with invalid email addresses). 3. Select all of the customers you want to remove. 4. From the menu, click **Delete** and confirm. 5. You'll get a link to the task. Wait for it to complete successfully. Once the task finishes, the matched customers are removed from your project. # How to Bulk Delete Customers by ID List Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/bulk-delete/how-to-bulk-delete-customers-by-id-list Use this method when you have a specific list of customer identifiers and want to remove those customers from the Maestra database in one operation. It's the right approach when you already know exactly which customers to delete — for example, after exporting a list from another system, after a data review, or in response to a deletion request under GDPR, CCPA, or similar privacy laws. If you don't have a list of IDs and need to delete customers that match certain criteria instead, use a segment- or filter-based deletion approach. > [!WARNING] > > Complete customer deletion is irreversible. Once the task finishes, the customer profile and the associated personal data are removed from the database and cannot be restored. ## How it works You upload a file that lists the Maestra IDs of the customers you want to delete. Maestra reads the file, queues a bulk deletion task, and processes it asynchronously. You can monitor the task's progress from a status link while it runs. ## Steps **1. Open the customers section** Go to **Data** → **Customers**. **2. Start a file-based deletion** In the right-hand menu, select **Delete by file**. **3. Choose the deletion type** Select **Complete customer deletion from database**. This option fully removes the customer record, not just their subscriptions or contact details. **4. Download the template** Download the template file provided in the dialog. The template defines the exact format Maestra expects — don't change the column structure or rename the header. **5. Fill in the customer IDs** Populate the `MaestraId` column with the identifiers of the customers you want to delete. One ID per row. Save the file in the same format as the template. **6. Upload the file** Upload your completed file back into the same dialog. **7. Add the task** Click **Add task** to queue the deletion. Maestra starts processing the file asynchronously. **8. Track progress** Use the status link shown after the task is created to monitor progress. The link shows when the task finishes and reports any rows that couldn't be processed. ## File format * The template uses a single column with the header `MaestraId`. * Each row contains one customer identifier. * Keep the header row exactly as it appears in the template. ## When to use this method * You have an exported list of specific customer IDs to remove. * You're fulfilling individual deletion requests under applicable privacy law (GDPR, CCPA, and similar). * You need to clean up a known set of test or duplicate profiles. For criteria-based deletions — for example, "delete every customer who hasn't opened an email in two years" — build a segment or filter first, then delete from there instead. # Customer Import Best Practices Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/bulk-import-and-edit/customer-import-recommendations Preparing your file before import helps you avoid errors and delays when loading customer data. Your file should meet the following criteria: * Up to 20 columns (inclusive). * Fewer than 5% duplicate rows. ## Expected speed If your import file meets the criteria above, you can estimate how long the job will take based on the total number of customers on your project. | Number of customers | Expected speed | | - | - | | 50,001 — 99,999 | 150,000 rows per hour | | 100,000 — 999,999 | 300,000 rows per hour | | Over 1,000,000 | 1,000,000 rows per hour | ## If the import is slower than expected When a file that meets the requirements is importing slowly, Maestra automatically detects the issue and starts investigating. If the speed stays low for an extended period, reach out to support chat. # How to Bulk Import Customers from a File? Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/bulk-import-and-edit/how-to-bulk-import-customers-from-a-file ## **1. Prepare your file for import** Go to **Customer Data Platform** → **Customers** → **Import .csv** → **Customer data:** ![2026 05 18 14 00 28](https://mintcdn.com/maestraio/12rIpp_FerVDAgj5/images/2026-05-18-14.00.28.png?fit=max\&auto=format\&n=12rIpp_FerVDAgj5\&q=85\&s=4f334b9879259553386463012c6aa6b7) Select **Customer import** from the **Task** drop-down menu: ![2026 05 18 14 04 11](https://mintcdn.com/maestraio/12rIpp_FerVDAgj5/images/2026-05-18-14.04.11.png?fit=max\&auto=format\&n=12rIpp_FerVDAgj5\&q=85\&s=02bc27c446d3d9efc5806dccb7bae529) Now you’ll need to prepare a file for import. > [!TIP] > > The supported file format for uploads is CSV. Download the file template (see the screenshot above, **download.csv**) to see an example of a properly formatted file. You can also customize it for your needs by adding or removing columns and filling it in with your customer data. Use the hints on the right and the column name reference to format your file correctly. Here's an example of a file ready for import: ![02\_importcustomer](https://mintcdn.com/maestraio/Itk5DZRmZl9Vbe7N/images/imported/img-d1b6ebe0.png?fit=max\&auto=format\&n=Itk5DZRmZl9Vbe7N\&q=85\&s=96845fd5386f32ec453ff9fcfb5fbf05) > [card] Important > > * Make sure your file includes **at least one identifier** (email, phone number, or external ID) — otherwise the import will fail. > * Your file should not contain any irrelevant columns or empty columns (columns with a header but no data). ## **2. Import customers** ### **2.1. Fill in the settings:** ![2026 05 18 14 23 17](https://mintcdn.com/maestraio/12rIpp_FerVDAgj5/images/2026-05-18-14.23.17.png?fit=max\&auto=format\&n=12rIpp_FerVDAgj5\&q=85\&s=46cf7e3f444c1bb2afbff2fd068fcde3) **Task:** Customer import. **Description:** fill in if applicable. This description can help you find your import task in the tasks list. **Encoding:** the default encoding is UTF-8. **Uploaded file:** follow Step 1 to upload the import file. #### **Import settings:** * **API endpoint:** indicates where the data originated. This affects customer action attribution. The default is "Maestra touchpoint". * **Touchpoint:** determines which channel or integration the customer is linked to. By default, this is detected automatically based on the API endpoint. If you need to explicitly associate customers with a specific website or store, select the touchpoint manually. * **Segment group:** you can add customers from the file to a static segment. Select an existing segment or create a new one. * **Source action:** the action associated with the customer when they're added to the database (e.g., "Create customer"). This affects segmentation and analytics.\ Source action will be added to customers' activity feeds. If you [create an action template](/customers-orders-and-products/actions/action-template/how-to-create-an-action-template), make sure the **action name** is easy for you to find – for example "Filled in May "22 survey" or "Registered on xyz.com". Each parameter can be set either in the import settings (applied to all customers in the file) or in the file itself (individually per row). ### **2.2. Click Launch import to add your task:**\\ ![2026 05 18 14 48 45](https://mintcdn.com/maestraio/12rIpp_FerVDAgj5/images/2026-05-18-14.48.45.png?fit=max\&auto=format\&n=12rIpp_FerVDAgj5\&q=85\&s=2360c065b9babc104bd454e520df6f94) \ Now you can see a URL leading to this task: ![2026 05 18 14 50 47](https://mintcdn.com/maestraio/12rIpp_FerVDAgj5/images/2026-05-18-14.50.47.png?fit=max\&auto=format\&n=12rIpp_FerVDAgj5\&q=85\&s=d1747d1e698a60af26d7d5d3a42bcc03) Wait for the import to be completed: ![2026 05 18 14 55 51](https://mintcdn.com/maestraio/12rIpp_FerVDAgj5/images/2026-05-18-14.55.51.png?fit=max\&auto=format\&n=12rIpp_FerVDAgj5\&q=85\&s=917a8032495c9c0a8ec5dbe50cbe21e0) The customer will emerge in the database: ![2026 05 18 14 58 26](https://mintcdn.com/maestraio/12rIpp_FerVDAgj5/images/2026-05-18-14.58.26.png?fit=max\&auto=format\&n=12rIpp_FerVDAgj5\&q=85\&s=62f4aa31d8dfa8effdb1b70c21a14c12) # How to edit existing customers via import Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/bulk-import-and-edit/how-to-edit-existing-customers-via-import Prepare a correctly formatted file and upload it to bulk-edit customers in your project. If you need to apply a specific action template, attach the import to a particular point of contact, add customers to a segment, or backdate the action — use the [advanced settings](#step-3-configure-the-import). Imports run from **Settings → Import**. Click **New import** to open the wizard. ## Step 1. Choose an action 1. Pick the import type — **Customers**. 2. Pick the action: * **Edit existing** — updates existing customers only. New records are not created. * **Add and edit** — updates existing customers and creates new ones for rows that don't match. ## Step 2. Prepare and upload the file 1. Decide which fields to load. The full list is below. > [!NOTE] > > Each row must include at least one customer identifier: email, mobile phone, or an external identifier. Other fields are optional. **Available fields:** | Field | Description | | - | - | | `Email` | Email address | | `IsEmailConfirmed` | Whether the email is confirmed | | `MobilePhone` | Mobile phone | | `IsMobilePhoneConfirmed` | Whether the mobile phone is confirmed | | `DiscountCard` | Loyalty card number | | `Area` | Customer's area identifier | | `LastName` | Last name | | `FirstName` | First name | | `MiddleName` | Middle name | | `FullName` | Full name | | `Sex` | Gender | | `BirthDate` | Date of birth | | `IsSubscribed` | Global subscription flag | | `IsSubscribedByEmail` | Subscription on the Email channel | | `IsSubscribedBySms`, `IsSubscribedByViber`, `IsSubscribedByMobilePush`, `IsSubscribedByWebPush` | Subscription on other channels | | `IsSubscribedByEmailOnNews` | Topic-level subscription (one per topic/channel combination) | | Custom fields | Any custom fields created in your project | > [!NOTE] > > **Multi-brand projects:** `IsSubscribed`, `IsSubscribedByEmail`, and topic-level subscription fields subscribe the customer to the brand associated with the import's point of contact. See [How to subscribe customers to a brand](#how-to-subscribe-customers-to-a-brand) below. 2. Export your data from the source system if needed. 3. Prepare the file. Put column headers (field names) in the first row. * Format: `.csv` or `.txt` * Make sure values match the expected formats See [Preparing a file for import](/import-data/preparing-a-file-for-import) for details. 4. Upload the file and click **Continue**. ## Step 3. Configure the import On this step, you can set additional parameters: * **Data source** — the integration point that indicates where the data originated. Affects how customer actions are attributed. Defaults to "Maestra Platform admin panel." * **Point of contact** — the channel or integration the action is tied to. By default, it's derived automatically from the data source. To tie customers explicitly to a specific site or store, pick the point of contact manually. * **Segment** — a static segment to add every customer from the file to. You can pick an existing segment or create a new one. Each parameter can be set either in the UI (applied to every row) or per row inside the file itself. ### Set a point of contact If the point of contact you need doesn't exist yet, create it ahead of time or from the link on the import page. **All rows share the same point of contact:** pick the data source with that point in the settings, or set it explicitly. **Rows have different points of contact:** add a `LastUpdatePointOfContact` column to your file with the external identifier of the point of contact for each row, and enable **Take value from file** in the settings. ### Add to a segment Pick an existing static segment or create a new one from the import page. ### Use an action template The edit action can be recorded with an action template only if you set it in the file and the template is in the "Personal action" category. Otherwise, the customer changes are saved without recording an action. If the template you need doesn't exist yet, create it ahead of time. Specify the template in the file using the `LastUpdateActionTemplate` column with the template's system name, and enable **Take value from file** in the settings. ### Backdate the action There's no UI setting for action time. To backdate, add a `LastUpdateDateTime` column to your file with the timestamp for each row. If you omit the column, actions are recorded with the time the import job ran. ### How to subscribe customers to a brand On multi-brand projects, the brand of the data source's point of contact determines the brand of the subscription passed via `IsSubscribed`, `IsSubscribedByEmail`, and `IsSubscribedByEmailOnNews`. To subscribe customers to multiple brands at once, run the import once per brand. **1. Find the data source for the brand** Open the **Integrations** section and filter by brand. **2. Pick the data source you want to use** For example, to subscribe customers to the Demo brand, pick the data source for that brand's site. **3. Select that data source in Step 3 of the import** ## Step 4. Review and start the import Before launching, Maestra Platform shows the first rows of your file with the mapping applied. Confirm that values land in the correct fields. If everything looks right, click **Start import**. ## Tracking the import After it starts, the import appears in the list on the Import page. Each job shows: * Date started * Import type * Who started it If errors occurred, some rows will have been skipped. Open the import details to see which rows failed and why. > [!NOTE] > > An edit action is recorded for a customer only if the customer was actually changed by the import **and** the file included a `SourceActionTemplate` column with a "Personal action" template. # How to Add a Customer Manually via the User Interface Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/how-to-add-a-customer-manually-via-the-user-interface To add a customer using the Maestra interface, follow these steps: 1. Go to **Customer Data Platform** → **Customers**. ![2026 05 08 19 51 09](https://mintcdn.com/maestraio/FCQt5sXd0fOLTChm/images/2026-05-08-19.51.09.png?fit=max\&auto=format\&n=FCQt5sXd0fOLTChm\&q=85\&s=b1292d4df777200e4dfcfd9bdd460049) 2. Click **Create customer** in the side menu. ![Снимок Экрана — 2026 05 08 В 19 55 55](https://mintcdn.com/maestraio/FCQt5sXd0fOLTChm/images/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0-%E2%80%94-2026-05-08-%D0%B2-19.55.55.png?fit=max\&auto=format\&n=FCQt5sXd0fOLTChm\&q=85\&s=0c46a29c0e837889dea3afb0f376b8ce) 3. Fill in the fields. * **IDs**: at least one contact field must be filled in: ![1\_custcreate](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/1_custcreate.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=3d5852c350b443008c594ce9bcbbe285) * **Personal details**: this section is optional. ![2026 05 08 20 02 45](https://mintcdn.com/maestraio/FCQt5sXd0fOLTChm/images/2026-05-08-20.02.45.png?fit=max\&auto=format\&n=FCQt5sXd0fOLTChm\&q=85\&s=00b856214a82e4ff225c44010554ed88) Specify your **Subscription preferences**. By default, the subscription fields are blank. You can select the required status from the list: ![3\_custcreate](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/3_custcreate.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=969a1d8e088219944bfce4ea0e5ae1fd) [Custom fields:](/api-integrations/how-to-create-a-custom-field) this section is optional: ![4\_custcreate](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/4_custcreate.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=c8bd1af133ef0d06ba2dfd42ec72eff9) 3. Click **Create**: ![— 2026 05 08 20 05 53](https://mintcdn.com/maestraio/FCQt5sXd0fOLTChm/images/-%E2%80%94-2026-05-08--20.05.53.png?fit=max\&auto=format\&n=FCQt5sXd0fOLTChm\&q=85\&s=46b7cbe51c5672e7621c5ccdae1c8a21) The customer account is now created: ![2026 05 18 13 42 58](https://mintcdn.com/maestraio/lKPNgBeiIiY8g7bJ/images/2026-05-18-13.42.58.png?fit=max\&auto=format\&n=lKPNgBeiIiY8g7bJ\&q=85\&s=5c7d741c7238f4b79514274f730381f0) # How to Edit Customer Data in Their Profile Source: https://help.maestra.io/customers-orders-and-products/customers/add-edit-export-delete/how-to-edit-customer-data-in-the-profile You can update a customer's personal data directly from their customer profile in Maestra. Use this when a customer asks you to correct their email, phone number, name, or any other field stored on their profile, or when you spot stale data that needs to be fixed by hand. > [!NOTE] > > Editing personal data is subject to applicable privacy law (GDPR, CCPA, and similar regulations). Only edit fields you have a lawful basis to change, and keep an audit trail through the change history. ## Steps **1. Open the customer profile** Find the customer in the customer list and click their full name to open the customer profile. **2. Switch to edit mode** Click the **Edit** button on the profile. **3. Update the field you need to change** Change the value of any editable field. For example, you can update the customer's email address, phone number, first or last name, date of birth, or any other personal data field shown on the profile. **4. Save the changes** Click **Save**. The new values are written to the customer profile immediately. ## What happens after you save * The updated values appear on the customer profile right away. * Every change is recorded in the customer's change history, so you can see who edited which field and when. * Any scheduled segment that uses the edited field will reflect the new value on its next refresh. Real-time segments and flows that read the field at runtime will pick up the new value immediately. > [!TIP] > > If you need to update the same field for many customers at once, use a bulk import instead of editing profiles one by one. # How Contacts With the "Gives Account Access" Flag Behave Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/account-access/account-access-contact-behavior Some contacts do more than receive marketing — they let a customer sign in to their account, earn points, and redeem rewards. Maestra treats those contacts differently from regular ones to keep account ownership unambiguous. ## What the flag is for A contact marked **"gives account access"** is the credential a customer uses to log in to your loyalty account or personal cabinet, accumulate points, and spend them. Three contact types can carry this flag: * Email * Mobile phone * Discount card ## Three rules Maestra enforces Once a contact is marked as giving account access, Maestra applies three rules to protect account integrity: 1. **A contact that gives account access is never overwritten during deduplication.** When two customer profiles are merged, the account-access contact always wins — it cannot be lost or replaced by a contact from the other profile. 2. **Re-registering with the same account-access contact is blocked.** If a customer already exists with this contact, a new registration attempt using that same email, phone, or discount card will fail. 3. **Two customers cannot be merged if their account-access contacts are of different types.** A customer whose account access is a phone number cannot be merged with one whose account access is an email — the conflict prevents the merge. ## How API lookups behave When you query Maestra through an integration point that has account access enabled, the search runs **only** against customers whose contact is flagged as giving account access. If a customer exists in the database with that email or phone but does **not** have the account-access flag, the API returns a `NotFound` error — even though the contact value is in the database. The lookup is scoped to flagged contacts only, so an unflagged match is invisible to that integration point. > [!NOTE] > > This is intentional: loyalty-program integration points should only see customers who are actually enrolled with account access, not every contact that happens to share the same value. ## Worked examples The examples below show how the three rules play out in real flows. ### Example 1 — Customer without account access A customer with phone number `+1 555 123 1212` exists in your database, but the phone does **not** have the account-access flag. The customer visits a store and the cashier queries the loyalty API to check enrollment. Because the integration point has account access enabled, Maestra only searches flagged contacts — and this one isn't flagged. The API returns `NotFound`, even though the phone number is on file. The cashier then registers the customer in the loyalty program. Maestra automatically merges the two records on the matching phone number, and the customer now has one profile with an account-access phone. ### Example 2 — Re-registering a protected contact A customer with phone number `+1 555 123 1111` already exists, and the phone **does** give account access. Someone tries to register this customer in the loyalty program again with the same phone number. Maestra blocks the operation and returns an error indicating the customer already exists. Re-registration with a contact that gives account access is not allowed — rule 2 in action. ### Example 3 — Newsletter subscription on a protected email A customer with the email `client@maestra.io` exists in your database, and the email **does** give account access. The same email is later used to subscribe to a newsletter through a landing page. Because newsletter subscription does **not** require account-access status, the records merge normally on the matching email. The existing account-access email stays intact, and the subscription is attached to the same customer profile. ## Why this matters These rules protect the link between a customer and their loyalty account. Without them, deduplication could silently strip the credential a customer logs in with, or two distinct accounts could collapse into one and lose points history. The trade-off is that re-registration and certain cross-channel merges fail loudly instead of doing the wrong thing quietly — design your integrations to handle those errors as expected outcomes, not bugs. > [!TIP] > > If an API call returns `NotFound` from a loyalty integration point but you know the contact is in the database, check whether the contact has the account-access flag. An unflagged contact is invisible to that endpoint by design. # How to Mark a Contact as "Gives Account Access" or Set It as Awaiting Confirmation Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/account-access/how-to-mark-a-contact-as-giving-account-access To change the properties of an email address or phone number, edit the customer's contact through an integration point configured with the settings you need. You have two options. * **Edit a customer through an operation.** Use this when you need to update specific customers one at a time. For example, a customer was previously a subscriber on one website where contact confirmation wasn't required. When they enter their email in their account on another website that does require email confirmation, an edit operation is called through an integration point with email confirmation enabled. After that, the contact can confirm the address. * **Edit customers through a file import.** Works for a single customer or for a large batch. This is the preferred option when you need to change contact settings for a large share of your customers. ## Example 1 You're launching an omnichannel loyalty program. Until now, Maestra collected information about customer actions and orders, and account access and contact confirmation weren't required. Once the loyalty program launches, customers can earn and spend points by buying in stores and on the website. For security, you turn on account access and contact confirmation. For every customer registered on the website, run a bulk edit of phone numbers and emails through an integration point that has account access and contact confirmation enabled. After the edit through the integration point, the contacts will have the properties defined in the integration point settings. ## Example 2 After launching the loyalty program on the website, you need to mark phone numbers with the "Gives account access" flag for every customer who registered on the site. **1. Export the customers** Export to a file every customer who has a phone number and a WebsiteID identifier (issued at site registration). The export only needs the WebsiteID and phone fields. **2. Run the bulk edit** Load the file into a bulk customer edit operation. In the settings, point to an integration point where "Gives account access" is enabled for the phone number. After the operation completes, every phone number on the selected customers will have the "Gives account access" flag. # How to add contacts to the blocklist Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/blocklist/how-to-add-contacts-to-the-blocklist This import appends contacts to your project's blocklist. Imports run from **Settings → Import**. Click **New import** to open the wizard. ## Step 1. Choose an action * Pick the import type — **Blocklist**. * Pick the action — **Import to blocklist**. ## Step 2. Prepare and upload the file 1. Decide which fields to include. | Field | Description | | - | - | | `ContactType` (**required**) | Type of contact to add. See allowed values below. | | `Contact` (**required**) | The contact value itself. | | `CustomFieldSystemName` | System name of the identifier. **Required** when `ContactType` is `ExternalIdentity`. | **Allowed `ContactType` values:** * `Email` — email address * `MobilePhone` — mobile number * `ExternalIdentity` — customer identifier; provide its system name in `CustomFieldSystemName` * `Device` — device identifier * `DiscountCardNumber` — loyalty card number 2. Prepare the file. Put column headers (field names) in the first row. * Format: `.csv` or `.txt` * Make sure values match the expected formats See [Preparing a file for import](/import-data/preparing-a-file-for-import) for details. 3. Upload the file and click **Continue**. ## Step 3. Review and start the import Before launching, Maestra Platform shows the first rows of your file with the mapping applied. Confirm that values land in the correct fields. If everything looks right, click **Start import**. ## Tracking the import After it starts, the import appears in the list on the Import page. Each job shows: * Date started * Import type * Who started it If errors occurred, some rows will have been skipped. Open the import details to see which rows failed and why. > [!WARNING] > > Adding contacts to the blocklist **does not stop campaigns from sending** to them — they will still receive messages. > > To exclude these contacts from future campaigns, either **clear the contact values** on the matching customer profiles or **delete those customers** from the database. That way, the invalid contacts won't appear on customer profiles and won't be included in campaign recipient lists. # How to Export the Blocklist Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/blocklist/how-to-export-the-blocklist Export the blocklist when you need a full list of the invalid contacts Maestra is blocking from your sends — for audits, troubleshooting deliverability, or cross-checking against another system. ## How to export the blocklist **1. Open the customers list** Go to **Data** → **Customers**. **2. Start the export** Open the menu and select **Export blocklist**. **3. Wait for the export task** Maestra creates an export task. When it finishes, open the data file from the link provided. ## Fields in the exported file | Field | Description | | - | - | | `FakeContactContact` | The invalid contact itself. | | `FakeContactContactType` | Contact type: `Email`, `MobilePhone`, `ExternalIdentity`, `Device`, or `DiscountCardNumber`. | | `FakeContactCustomFieldSystemName` | System identifier name. Populated for `ExternalIdentity` contacts. | | `FakeContactCreationDateTimeUtc` | Date and time the contact was added to the blocklist (UTC). | | `FakeContactDescription` | Reason the contact was added. See below. | ### Possible values for `FakeContactDescription` * **Basic invalid contacts list** — the contact belongs to the built-in list of invalid contacts. * **Edit/merge limit exceeded (N times per hour)** — the contact was added because the edit or merge limit was exceeded N times within an hour. * **Bulk operation — Blocklist import. Task ID N** — the contact was added through a bulk blocklist import; `N` is the import task ID. ## What to expect for older entries > [!NOTE] > > For contacts added **before December 20, 2023** through an import or because a limit was exceeded, the time added and the reason for inclusion are not displayed in the export. For contacts in the **basic invalid contacts list**: * The reason is always displayed. * The addition time corresponds to the project's creation date and is only displayed for projects created after December 20, 2023. # How to remove contacts from the blocklist Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/blocklist/how-to-remove-contacts-from-the-blocklist This import removes contacts from your project's blocklist. Imports run from **Settings → Import**. Click **New import** to open the wizard. ## Step 1. Choose an action * Pick the import type — **Blocklist**. * Pick the action — **Remove from blocklist**. ## Step 2. Prepare and upload the file 1. Decide which fields to include. | Field | Description | | - | - | | `ContactType` (**required**) | Type of contact to remove. See allowed values below. | | `Contact` (**required**) | The contact value itself. | | `CustomFieldSystemName` | System name of the identifier. **Required** when `ContactType` is `ExternalIdentity`. | **Allowed `ContactType` values:** * `Email` — email address * `MobilePhone` — mobile number * `ExternalIdentity` — customer identifier; provide its system name in `CustomFieldSystemName` * `Device` — device identifier * `DiscountCardNumber` — loyalty card number 2. Prepare the file. Put column headers (field names) in the first row. * Format: `.csv` or `.txt` * Make sure values match the expected formats See [Preparing a file for import](/import-data/preparing-a-file-for-import) for details. 3. Upload the file and click **Continue**. ## Step 3. Review and start the import Before launching, Maestra Platform shows the first rows of your file with the mapping applied. Confirm that values land in the correct fields. If everything looks right, click **Start import**. ## Tracking the import After it starts, the import appears in the list on the Import page. Each job shows: * Date started * Import type * Who started it If errors occurred, some rows will have been skipped. Open the import details to see which rows failed and why. Once the job finishes successfully, the contacts are removed from the blocklist. # What Is the Blocklist Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/blocklist/what-is-the-blocklist The blocklist protects your customer database from invalid contacts. When customers sign up, subscribe, or place an order, they sometimes enter contacts that aren't real — typos, placeholder values, junk addresses, or test data. The blocklist gives you a single place to catch those entries before they pollute your database. ## What can go on the blocklist The blocklist can hold any of these contact types: * Email addresses * Mobile phone numbers * External customer identifiers * Device identifiers * Discount card numbers ## How contacts get on the blocklist A contact can land on the blocklist in three ways: 1. **It's in the baseline list.** Maestra ships every new project with a pre-populated baseline of frequently mistyped or obviously invalid contacts. You can download this list and adjust it to fit your project. 2. **An administrator imports it.** You can upload a list of contacts to block at any time. 3. **It's added automatically.** If a contact exceeds the project's editing or merging limits, Maestra adds it to the blocklist and raises a warning on the project. ## How blocklist validation works Blocklist checks run on imports and on contacts coming in through the API. They do **not** run when you add a contact manually through the interface — manual entry bypasses the blocklist on purpose, so support and ops can override it when they need to. > [!NOTE] > > Adding a contact to the blocklist does **not** automatically remove it from existing customer profiles. The blocklist stops new bad data from being saved; it doesn't clean up data that's already there. ## The blocklist doesn't stop campaigns This is the most important thing to know: **adding a contact to the blocklist does not stop campaigns from being sent to it.** Blocklisted contacts stay reachable until you take an extra step. To actually exclude a blocklisted contact from your campaigns, you need to either: * Delete the customer from your database, or * Clear the invalid contact value from the customer profile. If you only add the contact to the blocklist, the customer profile keeps it and campaigns keep going out to it. ## When to use the blocklist Use the blocklist to: * Catch placeholder and test data (e.g., `test@test.com`, `noreply@example.com`, `+10000000000`) before it enters the database. * Block known-bad addresses that keep showing up across signups. * Auto-quarantine contacts that are being edited or merged too aggressively, which is a common sign of bot activity or broken integrations. For ongoing list hygiene — suppressing unsubscribes, hard bounces, or spam complaints — use the standard subscription and deliverability tools. The blocklist is for invalid contacts, not for opted-out ones. # Contact Confirmation Status: How It Works Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/contact-confirmation/contact-confirmation-status Contact confirmation lets you verify that a phone number or email address actually belongs to the customer who provided it. > [!NOTE] > > Don't confuse contact confirmation with subscription confirmation (double opt-in / DOI). DOI captures a customer's consent to receive campaigns and is tied to subscriptions. Contact confirmation just verifies ownership of the contact itself. ## How to enable contact confirmation Email and mobile phone confirmation is configured at the integration level under **Contact confirmation settings**. Once enabled, any contact that comes in through that integration will carry a confirmation flag, and Maestra will take that flag into account when processing requests. Turning the setting on does not affect contacts that are already in your database — only new and updated contacts coming through the integration. ## After you turn it on ### How contacts appear Email addresses and mobile numbers get icons in the customer profile: * Pending confirmation * Confirmed Contacts with no confirmation data are shown without any icon. ### Primary vs. non-primary contacts On projects with confirmation enabled, contacts are split into **primary** and **non-primary (pending confirmation)**. **Primary contact.** Can be either confirmed or pending confirmation. It behaves like a standard contact: it must be unique within the project, you can send standard campaigns to it, and you can use its value in filters and queries. **Non-primary contact — always pending confirmation.** Its use is heavily restricted: you can only send campaigns to it with specific settings. It does not need to be unique, so it can duplicate someone else's primary contact or be shared by multiple customers. ### Why does a customer have two email addresses or phone numbers? When someone tries to change a confirmed contact, the old confirmed contact stays primary until the new one is confirmed. You can only send a message with a confirmation code or link to the pending email or number — it isn't a second full-featured contact. ### Why is a customer's pending contact not primary? A primary contact, whether confirmed or not, must be unique within the project. So if one customer confirms a given email, that same contact becomes non-primary and pending confirmation on every other customer profile that has it. ### Why do two customers have the same contact? Non-primary contacts don't have to be unique. If several customers entered the same contact, it can sit as non-primary on all of their profiles. Even after one customer confirms that email or phone, the contact still stays on the other customers' profiles with the option for them to confirm it as well. ## How confirmation status gets written to a contact On projects with confirmation enabled, a contact can be in one of three states: * Pending confirmation * Confirmed * No confirmation data Which state it lands in depends on how the contact entered the database. ### Integration point with email or mobile confirmation | Scenario | Resulting status | | - | - | | Contact filled in | Pending confirmation | | Pending-confirmation contact edited | Pending confirmation | | Unconfirmed contact (no data) edited | Pending confirmation | | Unconfirmed contact not edited but passed in an import or call | Pending confirmation | | Confirmed contact edited | Old contact stays primary; new contact is pending confirmation | > [!NOTE] > > Exception: the **Create and subscribe** step in an operation ignores integration settings — the contact arrives with no confirmation data. ### Integration point without confirmation | Scenario | Resulting status | | - | - | | Contact filled in | No confirmation data | | Any contact edited | No confirmation data | | Contact with confirmation not edited but passed in an import or call | Existing status is preserved | ### Adding a customer or contact manually | Scenario | Resulting status | | - | - | | Contact added while creating a new customer | Pending confirmation | | Contact filled in on an existing customer | No confirmation data | | Unconfirmed contact edited | No confirmation data | | Pending-confirmation contact edited | Pending confirmation | | Confirmed contact edited | Old contact stays primary; new contact is pending confirmation | ## Which contacts you can send campaigns to You can send campaigns to a **primary** contact — confirmed or pending — just like any other contact. The only thing that matters is whether the contact is valid. To a **non-primary, unconfirmed** contact, you can only send transactional campaigns through a flow or an operation, with the appropriate contact type specified. ## How to confirm a customer's contact ### Confirming an email #### From a campaign Add the `Ticket.EmailConfirmationLinkTicket` ticket to the confirmation link. Clicking the link confirms the contact and, if DOI is enabled on the project, the subscription as well. Example link with a ticket: ``` https://mysite/?direct-crm-ticket=${Ticket.EmailConfirmationLinkTicket} ``` #### Through a flow Use the **Confirm email** step in your flow. #### Through an import In your import or edit job, add the `IsEmailConfirmed` field with any positive value (`1` / `true` / `yes`). > [!WARNING] > > Make sure to use the integration that has the confirmation flag set for the corresponding contact type. ### Confirming a mobile phone #### From an operation Call an operation that uses one of these steps: * **Confirm mobile phone and SMS subscription** * **Confirm mobile phone on the customer side** #### Through an import In your import or edit job, add the `IsMobilePhoneConfirmed` field with any positive value (`1` / `true` / `yes`). > [!WARNING] > > Make sure to use the integration that has the confirmation flag set for the corresponding contact type. ### When multiple customers confirm the same contact The customer profiles get merged. Contacts that grant account access have some specifics during deduplication. ### After confirmation The confirmation is recorded in the change history. You can trigger a flow off this event for both email and mobile phone confirmations. # How Email Validity Is Determined Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/email-validity/how-email-validity-is-determined Maestra tracks whether each customer's email address is valid so you don't send campaigns to addresses that no longer work. This keeps your sender reputation healthy and your deliverability high. ## Why email validity matters Sending to addresses that don't exist hurts your reputation with email providers. The more failed deliveries you generate, the more likely your future campaigns are to land in spam — even for customers with valid addresses. Maestra automatically flags addresses that look broken and stops sending to them. That protects your deliverability and avoids wasted load on sending infrastructure. > [!NOTE] > > Email validity is shared across all Maestra projects. If an address is marked invalid based on failures on one project, it stays invalid everywhere. ## When an email is marked invalid An email address becomes **invalid** in either of these cases: * A single delivery failure with the reason **"Address does not exist"** on any Maestra project. * **Three consecutive** delivery failures with the reasons **"Address rejects mail"** or **"Unknown delivery error"**, where at least **7 days** pass between the first and last failure, and no one has manually marked the address as valid in between. These failures are also counted across all Maestra projects. ## When an email is temporarily invalid If an address returns a **"Mailbox full or inactive"** failure, Maestra marks it temporarily invalid and blocks sending for a set period. Each repeat failure extends the block. | Failure number | Block duration | | - | - | | 1st failure | 7 days | | 2nd failure | 30 days | | 3rd failure | 90 days | | 4th failure | 180 days | | 5th and later | 360 days | After the block expires, Maestra can send to the address again. If the mailbox is still full or inactive, the next failure moves it to the next tier. ## How an email regains valid status An invalid address can become valid again in any of these ways: * The customer **opens** a message, **clicks** a link, **unsubscribes**, or the system receives an **auto-response** within **36 hours** of a send. Any of these signals on any Maestra project will revalidate the address. * An administrator **manually marks** the address as valid from the customer profile. > [!TIP] > > Manual revalidation is useful when you know an address is good — for example, the customer confirmed it through support — but Maestra hasn't seen recent engagement to revalidate it automatically. ## How validity affects campaign sending Validity controls which campaigns can reach an address: * **Standard and opt-in sending profiles** cannot send to invalid addresses. Maestra filters them out before the send. * **Transactional sending profiles**, or any campaign with the **"Ignore contact validity"** flag enabled, can still send to invalid addresses. > [!WARNING] > > Sending to invalid addresses — even through a transactional profile or the ignore-validity flag — carries real reputation risk. Use it only for messages you're certain must be delivered, like password resets or order confirmations, and only when you have reason to believe the address still works. Keep in mind that ignoring validity does not exempt you from anti-spam law. CAN-SPAM, CCPA, and similar regulations still apply to every send, including transactional ones. # How to Manage Invalid Mobile Phone Numbers and Email Addresses Source: https://help.maestra.io/customers-orders-and-products/customers/contacts-and-identifiers/email-validity/how-to-manage-invalid-mobile-phone-numbers-and-email-addresses When customers register, subscribe, or place orders, they may enter invalid contact details (e.g. 19777777777, [not@real.com](mailto:not@real.com)). If the system batch merges customers having such contact details, it mixes up valid phone numbers and emails with invalid ones. A blocklist is used to prevent adding invalid contact details. This list already contains the most common invalid details. You may add other contact details to the list or remove redundant ones. ## **What happens to invalid details** * No data will be saved if the customer enters **only** invalid contact details when registering, subscribing, or placing orders. * If the customer enters both invalid and valid details and/or IDs, their valid data will be saved, and invalid contact details will be discarded. * Upon editing, invalid contact details will not be saved. * Maestra filters data automatically every time it’s uploaded: whether files are imported manually or automatically, or when API methods are called. ## **API v3 Methods** The same rules apply to asynchronous and synchronous API methods without mandatory validation. If for a specific API method the **"API method returns validation errors"** option is enabled and the contact details are invalid, the system will not save the data. To view notifications about invalid contact details, go to **Integration settings** → **API error logs.** ## **What to do with invalid contact details detected during import** Imagine you import a customer base or an order base and an issue is generated on too many merges or edits of customer details. This can indicate that there were invalid contact details in the import file. What to do: 1. Analyze recurring phone numbers and emails, including those that triggered merges and edits (shown in the issue notification). 2. If they are invalid, add them to the list of invalid contact details. 3. Delete the imported data. 4. Re-import it. The invalid contact details will be discarded. ## **How to add and delete invalid contact details using the Postman API** ### **How to add contact details to the blocklist:** ``` `POST https://projectname-services.maestra.com/v2/import?operation=ImportFakeContacts&csvCodePage=65001 Content-Type:text/csv Accept:application/xml Authorization: Basic Auth. Your login and password to access the Maestra project. Contact;ContactType 1@1.com;Email fale@fake.com;Email 77777777777;MobilePhone 78888888888;MobilePhone 111111;TechnicalIdentity 844fcf8b-783c-4297-a0ad-ec5ee966a962;Device` ``` ### **How to delete contact details from the blocklist:** ``` `POST https://projectname-services.maestra.com/v2/import?operation=DeleteFakeContacts&csvCodePage=65001 Content-Type:text/csv Accept:application/xml Authorization: Basic Auth. Your login and password to access the Maestra project. Contact;ContactType 1@1.com;Email fale@fake.com;Email 78005553535;MobilePhone 78004453535;MobilePhone 111111;TechnicalIdentity 844fcf8b-783c-4297-a0ad-ec5ee966a962;Device` ``` ## **List of invalid contact details** This list is specific for every project. The list below contains common invalid emails and phone numbers. You can add or delete contact details from this list. **Email addresses:** ``` `11111@hotmail.com 123@hotmail.com 1@1.com 1@hotmail.com 0000@hotmail.com 12345@hotmail.com 000@hotmail.com demo@example.com 00@hotmail.com net@net.com 123456@hotmail.com m@il.com mail.@hotmail.com mail@hotmail.com mail@hotmail.com mymail@hotmail.com n@hotmail.com 1111@hotmail.com net@hotmail.com 1@1.com net@ya.com net@yahoo.com No@hotmail.com no@no.com nomail@hotmail.com nomail@nomail.com nomail@nohotmail.com noname@legkomarket.com noname@hotmail.com Nonnon@hotmail.com not@hotmail.com not@real.email not@real.com notreal@hotmail.com pisem@net.com QWERT@hotmail.com qwerty@hotmail.com shop@reee.com unknown@site.com 1@1 q@q fale@fake.com` ``` **Cell Phone Numbers:** ``` `10000000000 11111111111 11234567890 12222222222 12222224545 13333333333 14444444444 15346456456 15555555555 16666666666 17777777777 18888888888 19000010000 19111111111 19123456789 19151234567 19222222222 19333333333 19444444444 19555555555 19666666666 19777777777 19880000000 19888888888 19995555555 19999999999` ``` # How Customer De-anonymization Works Source: https://help.maestra.io/customers-orders-and-products/customers/how-customer-de-anonymization-works Maestra stores customer actions even before a customer registers, so you can deliver a smoother experience to anonymous users. Once the user registers, these actions are automatically linked to the identified customer profile based on their [**device UUID**](/api-integrations/what-is-a-deviceuuid). Here’s what gets tracked and stored: * **120 days** — site visits. * **30 days** — interactions with widgets, pop-ups, and embedded blocks (impressions and clicks). * **7 days** — product and category views. > [!NOTE] > > **Important** > > Actions taken by unidentified users are stored with the status "Unidentified customer" and is executed as soon as the user is identified on that device. > > ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-09-15--10_37_39AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=cabd1b3db716637951a375561c994457) Any actions taken before de-anonymization are added to the project only after the customer is recognized. Because of this, the creation date in the system may be later than the actual time of the event. **How does it look like** ​ ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-09-15--11_09_54AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=22189cea5323e5379abeab466c6fc0e7) # How to Read Customer Change History After a Merge Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/customer-change-history/how-to-read-customer-history-after-a-merge When two customer profiles merge in Maestra, their change histories merge too. That means the **Change history** tab on the resulting customer profile shows events from both original customers, woven together in chronological order. Knowing how to read that combined timeline is the fastest way to understand what happened before, during, and after a merge. ## What the Change history tab tracks The **Change history** tab records every modification made to a customer profile, including: * Personal data * Contact information (email, phone) * Identifiers * Custom fields * Customer merge events (deduplication) * Contact removals in favor of the priority profile ## How histories combine on merge When two profiles are merged, their histories are joined into a single chronological stream. Every change made to either customer — before they were merged and after — appears on the resulting profile's **Change history** tab in the order it occurred. This lets you see the full sequence of actions across both original customers, even the ones that happened while they still existed as separate records. ## Example Say two customers with MaestraIDs `1337` and `1338` were merged because they shared the same email address. The combined history might look like this: | Time | MaestraID | Event | | - | - | - | | 18:05:14 | 1337 | First customer registered | | 18:09:06 | 1337 | Profile data edited | | 18:09:52 | 1338 | Second customer registered; deduplication triggered the merge | Each row shows when the event happened, which MaestraID it belonged to at the time, and what changed. ## Reading the timeline When you review the **Change history** tab, pay attention to two things: * **Timestamps** — they tell you the exact order of events across both original customers. * **MaestraIDs** — if different IDs appear in the timeline, those entries happened while the customers still existed as separate profiles. Once the merge event appears, every later entry belongs to the surviving profile. > [!TIP] > > If you see two different MaestraIDs in the same history, that's your signal that the events come from two profiles that were later merged. Use the merge event itself as the dividing line between "before" and "after." # How to Read Customer History — Where Did the Email Go Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/customer-change-history/how-to-read-customer-history-where-did-the-email-go When you open a customer profile and notice that a contact (an email or a phone number) has quietly disappeared, it usually isn't a bug. Maestra moves contacts between profiles automatically when it detects duplicates, and the change history is where you can see exactly what happened and why. This article walks through how to read those entries so you can trace a missing contact back to the profile that now owns it. ## Why a contact can disappear from a profile Maestra continuously looks for duplicate customers. When two profiles share the same contact — most often the same email address or the same phone number — the platform decides which profile should keep that contact and moves it there. The other profile loses the contact, but it doesn't lose the record of having had it: the change history keeps a full audit trail. ## How Maestra decides which customer keeps the contact When the same contact shows up on two customers, Maestra needs to pick a winner. The rule is straightforward: **the more recent registration takes priority.** The customer who registered later is considered the higher-priority profile, and the shared contact moves to them. ### Worked example Anna registers on the site first. Then Max registers. Their phone numbers are different, but they entered the same email address. Because Max registered later, his profile is the higher-priority one. Maestra moves the shared email from Anna to Max. ## What you'll see in each profile after the move Once the move happens, both customer profiles update at the same time. Here's what each side looks like. ### On Anna's profile (the customer who lost the contact) * The email field is empty, with the note **"Contact transferred to another customer."** * A new entry appears in her change history describing the transfer, with a link to Max's profile so you can jump straight to the customer who now owns the email. * Anna is added to Max's list of similar profiles. ### On Max's profile (the customer who received the contact) * The email field now shows the shared address. * A mirrored entry appears in his change history: **"Contact received from another customer,"** with a link back to Anna's profile. * Max is added to Anna's list of similar profiles. > [!NOTE] > > The two entries are always created as a pair. If you see "Contact transferred to another customer" on one side, you will always find the matching "Contact received from another customer" on the other side. Following the link in either direction takes you to the other half of the story. ## How to read the change history when a contact is missing When a customer tells you their email is gone, or when you spot a blank contact field that you expected to see filled in, walk through the change history in order: **1. Open the customer profile** Go to the affected customer profile and open the change history. **2. Look for a transfer entry** Scan for an entry that says **"Contact transferred to another customer."** That's the moment the contact left this profile. **3. Follow the link to the other customer** The entry includes a direct link to the customer who received the contact. Open that profile. **4. Confirm the mirrored entry** On the receiving profile, find the matching **"Contact received from another customer"** entry. This confirms where the contact ended up and when. **5. Check the similar profiles list** Both customers are linked through the similar profiles list. Use it to see the full set of related duplicates if more than two profiles are involved. ## Why this matters The change history isn't just a log — it's the trail you follow whenever a contact, a subscription, or any identifying field looks different from what a customer or a colleague expects. Reading the transfer entries together with the receiving profile's history tells you the complete story of where the data moved and which profile now owns it. > [!TIP] > > If the missing contact is a phone number rather than an email, the mechanism is the same. Look for the same pair of "transferred" / "received" entries — Maestra applies the rule to every shared contact, not just email addresses. # How to Read Customer Change History to Find Out What Changed and Why Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/customer-change-history/how-to-read-customer-history-why-customer-changed All changes to a customer are recorded in their customer profile on the **Change history** tab. The history shows the action that triggered each change, the date, the point of contact, and the state before and after. Click any row in the history to see the full details. The change history lets you trace every modification to a customer from the moment they first appeared in the database, so you can figure out exactly why their data looks the way it does. ## Examples of changes you might see > [accordion] The customer was edited by an operation > > For example, the customer was edited by an operation. The action recorded is: "Edit customer in the 'Customer - Sign in to account' operation." An additional field was added. Both the state before the edit and the resulting state are shown. > [accordion] Changes were caused by file processing > > The change was triggered by a file import. The task number is shown, and the link opens the source data so you can review the original file. > [!TIP] > > Click any history row to expand the full before-and-after view, including the point of contact and the specific operation or task that caused the change. # Customer Priority and Data Overwrites When Merging Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/customer-priority-and-data-overwrites-on-merge When Maestra merges two customer profiles — or has to resolve a conflict between them — it doesn't pick the "winner" at random. There's a fixed priority hierarchy that decides which profile keeps its email, phone, and identifier, and whose data is preserved in the merged profile. This page explains the rules, when they apply, and how they play out in practice. ## When the priority rules apply The same hierarchy is used in two situations: * **Merging is blocked by a conflict.** Two profiles can't be merged because their email, phone number, or external ID contradict each other. Maestra uses the priority rules to decide which contact stays attached to which profile. * **Merging succeeds and Maestra needs to pick a source of truth.** When both profiles carry valid but different data (name, birthday, preferences, segment membership, and so on), the rules decide whose values are written into the merged customer profile. In both cases, the lower-priority profile's conflicting data is overwritten — or, when merging is blocked, reassigned — in favor of the higher-priority one. ## The priority hierarchy Maestra evaluates the two profiles against the following criteria, in order. The first criterion that distinguishes them decides the outcome; ties fall through to the next criterion. **1. There is account access via this contact** The profile whose contact (email or phone) can be used to log in to the account wins. Account access is the strongest signal that the contact really belongs to that person. **2. The contact is confirmed** A confirmed contact — one that has been verified through double opt-in, an SMS code, or a similar check — outranks an unconfirmed one. **3. There is account access via any contact or discount card** Even if the specific contact in conflict doesn't provide login access, having login access through some other contact or a discount card still raises the profile's priority. **4. The profile has orders, promo codes, or points activity** A profile with a real purchase or loyalty history outranks an empty profile. This includes orders, issued promo codes, and any movement of loyalty points (earning, spending, or expiring). **5. The profile has any confirmed contacts** If neither profile has account access or order history, the one that holds at least one confirmed contact (of any kind) takes priority. **6. The profile has the most recent personal action or registration date** As a final tiebreaker, Maestra compares the date of the latest personal action — a site visit, an email open, a click, a registration — and keeps the more recently active profile as the higher-priority one. > [!NOTE] > > "Personal action" means an action the customer themselves performed: opening an email, clicking a link, visiting the site, placing an order, registering. Backend events that didn't originate with the customer don't count for this tiebreaker. ## How conflicts are resolved in practice ### Example 1 — Phone number with account access beats a conflicting email Profile A has a phone number that can be used to log in to the account. Profile B has a different email on file, and that email conflicts with one already attached to Profile A. Because Profile A satisfies the top criterion ("there is account access via this contact"), it stays the higher-priority profile. The conflicting email is kept with Profile A, and Profile B's claim on it is dropped. ### Example 2 — Equal order history, decided by the latest personal action Two profiles both have orders, neither has account-level access, and neither contact is confirmed. They tie on every criterion until the last one. Maestra then looks at the most recent personal action on each profile. If Profile A's customer opened an email yesterday and Profile B's customer last visited the site three months ago, Profile A wins. A site visit and an email open are both valid signals here. ### Example 3 — Priorities are re-evaluated when status changes Priority isn't frozen at merge time. If a contact later becomes confirmed — for example, the customer completes a double opt-in — Maestra re-evaluates the hierarchy. Data can shift between profiles as their relative priority changes, so the "winner" of a conflict today may not be the winner tomorrow. This dynamic re-evaluation is what keeps the merged customer profile consistent with the strongest available signals at any given moment. ## Segmentation history after a merge When two profiles are combined, Maestra keeps the segmentation history of both. For each individual segmentation, it preserves the version with the most recent update date — that's the snapshot that reflects the customer's current state. If two segmentation records share the same update date, Maestra falls back to the higher (more recent) segmentation ID as the tiebreaker. This applies to every segmentation independently, so the merged profile can end up with segmentation data drawn from both source profiles. > [!TIP] > > If a merge result looks wrong — for example, the "wrong" email survived a conflict — walk the two profiles through the hierarchy above one criterion at a time. The first criterion that distinguishes them is the one that decided the outcome. ## What gets overwritten When the higher-priority profile is chosen, the following data is taken from it and written into the merged customer profile, overwriting the lower-priority profile's values where they conflict: * Email and phone number (when these are the source of the conflict) * External identifiers and IDs * Personal data fields where both profiles hold different values Non-conflicting data from the lower-priority profile is still preserved — for example, an order placed under the lower-priority profile stays in the merged order history. Only fields where the two profiles actively disagree are overwritten. > [!WARNING] > > Overwriting is irreversible from the merged profile. If you need to recover an overwritten value, you'll have to look at the pre-merge change history, not the current customer profile. ## Compliance note The priority rules are designed to keep the merged customer profile consistent with the contact the customer actually controls and has confirmed. This aligns with consent requirements under GDPR, CCPA, CAN-SPAM, and other applicable privacy laws — the profile attached to a confirmed, login-capable contact is treated as the authoritative one for marketing communications. # Customers Share the Same Phone or Email — Why Weren't They Merged Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/contact-merging/customers-share-phone-or-email-why-not-merged Two customer profiles can have the exact same phone number or email and still stay separate in Maestra. That isn't a bug — it's a safety mechanism. When Maestra spots a contact match, it checks two things before merging the profiles. If either check fails, the profiles stay apart on purpose. Here are the two reasons it happens. ## Reason 1: A unique identifier blocks the merge Maestra lets you mark a unique identifier (for example, an external ID, a loyalty card number, or a CRM ID) with the setting **Do not merge customers with different IDs**. When that flag is on, two customers will **not** be merged if: * Both customer profiles have a unique identifier of the **same type** filled in, **and** * The values of those identifiers are different. Even if the email or phone matches, Maestra treats the two unique IDs as proof that these are two different people, and leaves the profiles alone. ### When this is useful The classic case is a shared contact between two real people. Think of a couple at a fitness club who registered with the same household phone number but each got their own membership card. The phone overlaps, but each person has a distinct membership ID. Without this protection, a routine contact match would silently merge two real customers into one profile and mix up their visits, purchases, and communications. > [!NOTE] > > If you actually want the merge to happen, you have two options: clear the conflicting unique identifier on one of the profiles, or turn off **Do not merge customers with different IDs** in the unique identifier settings. Change the setting carefully — it applies to every customer that uses that identifier type. ## Reason 2: The contacts that grant account access are different The second reason is about account access. In Maestra, certain contacts can be marked as "grants access to the account" — usually the contacts a customer uses to log in or to authenticate at checkout (typically email, phone, or a discount card number). Maestra will **not** merge two customers when the contacts that grant account access on each profile are different. A discount card number can play the same role and block a merge for the same reason. ### Why this matters This guards against a real-world data exposure risk in loyalty programs that span online and offline channels. Imagine a loyalty program where: * Customer A registered at the cash register. Their account is accessed by **phone number**. * Customer B registered on the website. Their account is accessed by **email**. Later, the same phone number ends up on both profiles (for example, the website customer added their phone during checkout). The phone matches — but the contact that grants access is different on each profile (phone for one, email for the other). If Maestra merged them, anyone holding either credential would suddenly have access to the combined purchase history, loyalty points, and personal data of two different people. So Maestra keeps the profiles separate until you confirm they really are the same person. > [!WARNING] > > Don't work around this by removing the "grants access to the account" flag from your contacts just to force a merge. You'd be weakening the safeguard that prevents one customer from gaining access to another customer's data. Resolve the merge manually instead, or fix the integration so that the access-granting contact is consistent across channels. ## How to tell which reason applies Open both customer profiles and compare: **1. Check unique identifiers** Look at the unique identifiers on both profiles. If both have a value for the same identifier type and those values differ, and that identifier type has **Do not merge customers with different IDs** enabled, that's Reason 1. **2. Check access-granting contacts** Look at which contacts are marked as granting access to the account on each profile. If the access-granting contacts differ between the two profiles (for example, phone on one and email on the other, or different discount card numbers), that's Reason 2. **3. Decide what to do** If the two profiles really are the same person, merge them manually from the customer profile, or fix the upstream data so the conflict goes away. If they're two different people who happen to share a contact, leave them as-is — the system is doing its job. ## Related settings to review If you keep running into duplicate profiles that aren't merging, audit these in your account: * **Unique identifier configuration.** Which identifier types exist, and which have **Do not merge customers with different IDs** turned on. This setting is intentional — change it only when you understand the impact on your customer base. * **Access-granting contacts.** Which contact types are flagged as granting access to the account. Keep this consistent across your integrations (POS, website, mobile app) so the same kind of contact authenticates a customer everywhere. * **Integration data quality.** Duplicates often start as integration bugs — the same person being created twice with slightly different access-granting contacts. Fixing the source is usually cheaper than merging duplicates after the fact. # Why Did a Customer Lose Their Phone or Email Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/contact-merging/why-did-customer-lose-phone-or-email If a phone number or email address disappeared from a customer profile, it's almost always one of two things: the contact was reassigned to another customer during deduplication, or someone removed it manually. ## Possible reasons ### 1. Duplicate contacts in the database In Maestra, an email address or phone number can't belong to more than one customer at a time. When the same contact shows up on two different customer profiles, Maestra keeps it on one of them based on a set of priority rules and removes it from the other. A record of the removal — including the reason — is written to the customer's change history. ### 2. Manual removal The contact may have been deleted by hand while someone was editing the customer profile. ## How priority is decided When the same email or phone exists on two customers, Maestra uses several signals to decide which customer keeps it: * **Order history** — the contact stays with the customer who has purchase history. * **Personal actions** — engagement with emails, product views, and other individual activity raise a customer's priority. * **Recency** — more recent data wins over older data. ## Where to find this information You can see exactly when and why a contact was changed in the **Change history** tab of the customer profile. Links to related profiles — the other customer the contact moved to or came from — are available in the **Personal information** section of the profile. # About Sessions: Why a Customer Has Actions That Happened Before They Appeared in the Database Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/profile-merging/about-sessions-actions-before-database-appearance **The Maestra JS tracker and mobile app SDK** record every visitor action on your website or in your app — whether or not that visitor already exists in your project's database. **A session** is an uninterrupted chain of actions on the website or in the app. The gap between any two actions in the same session must be no longer than 30 minutes. Actions taken by anonymous visitors are stored and then pulled into the customer profile once that visitor enters the database, following the deanonymization rules. # What Happens to Customer Identifiers After a Merge Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/profile-merging/what-happens-to-customer-identifiers-after-merge When two customer profiles are merged in Maestra, their unique identifiers don't disappear. Here's exactly what happens to each one, and how you can still use the old identifiers afterward. ## The primary unique ID The primary unique ID kept after the merge is the one that belonged to the priority customer. That ID becomes the active identifier on the merged profile going forward. ## The secondary identifier The second customer's identifier isn't deleted. It's preserved in the profile's change history. The archived identifier stays functional. You can still use it when: * Calling the Maestra API * Uploading or importing customer data In other words, even though it's no longer the primary ID, it continues to resolve to the merged customer profile. ## MaestraId All MaestraId values are also archived in the change history and remain available for data exchange. The system doesn't apply any priority rule for choosing a specific MaestraId — any of the archived MaestraId values can be used to reference the merged profile. > [!NOTE] > > Both the secondary unique ID and the archived MaestraId values stay usable after the merge. You don't need to update your integrations to swap one ID for the other right away. ## Important limitation If the unique ID configuration has the **Don't merge customers with different IDs** option enabled, lookup by archived identifiers is not available. In that case, only the active primary ID will resolve to the customer profile — archived IDs will not. > [!WARNING] > > Before enabling **Don't merge customers with different IDs** on a unique ID, check how your integrations rely on archived identifiers. Turning this on will break any lookups that depend on resolving old IDs to a merged profile. # What Happens to a Customer's Name and Other Data After a Merge Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/profile-merging/what-happens-to-name-and-other-data-after-merge When Maestra merges two customer profiles, the resulting profile keeps a single set of identity fields and combines everything else. Here's exactly how each piece of data is handled. ## Core identity fields First name, last name, middle name, gender, date of birth, and zone are taken from the **priority customer** — the profile that wins during deduplication. The values from the lower-priority profile are dropped for these fields, even if they look more complete. If you want a specific profile's identity data to survive, make sure that profile is the priority customer before the merge runs. ## Additional (custom) fields Custom fields also default to the priority customer's values. There's one important exception: > [!NOTE] > > If the lower-priority profile has a value in a custom field and the priority profile does **not**, the lower-priority value is carried over to the merged profile. Nothing is lost just because it lives on the non-priority side. In other words, Maestra fills in blanks from the other profile rather than overwriting filled-in priority values. ## Action history Actions from both customers are combined and kept on the final merged profile. This includes the full interaction history — orders, campaign opens, clicks, site events, subscriptions, and any other tracked actions from either profile. You end up with one consolidated timeline rather than two partial ones. ## Quick reference | Data | Source after merge | | - | - | | First name, last name, middle name | Priority customer | | Gender | Priority customer | | Date of birth | Priority customer | | Zone | Priority customer | | Custom fields (priority profile has a value) | Priority customer | | Custom fields (priority profile is empty, other profile has a value) | Other profile | | Action history | Combined from both profiles | ## Why this matters The priority rule keeps identity data predictable: one profile wins, and you always know which one. The fill-in-the-blanks behavior for custom fields means you don't lose useful attributes — say, a loyalty tier or a preferred store — just because they were collected on the non-priority side. And merging the action histories means segmentation, lifetime value, and flow eligibility all reflect everything the customer has ever done with you, not just the half attached to the surviving profile. # What Happens to Subscriptions When Customers Are Merged Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/profile-merging/what-happens-to-subscriptions-on-merge When two customer profiles are merged, their subscriptions are combined into the resulting profile. If the two profiles disagree on the status of the same subscription, Maestra resolves the conflict using a fixed priority order. ## Priority order When the same mailing topic and communication channel appear on both profiles with different statuses, the merged profile keeps the status with the highest priority: 1. **Subscribed** 2. **Pending confirmation** (waiting for double opt-in) 3. **Unsubscribed** Subscribed always wins. Pending confirmation beats Unsubscribed. Unsubscribed is only kept if both profiles are unsubscribed. ## Examples These examples show how the priority order resolves email subscription conflicts between two profiles being merged. | Profile 1 | Profile 2 | Result | | - | - | - | | Unsubscribed | Subscribed | **Subscribed** | | Subscribed | Pending confirmation | **Subscribed** | | Unsubscribed | Pending confirmation | **Pending confirmation** | > [!NOTE] > > The same rules apply across every communication channel (email, SMS, mobile push, web push) and every mailing topic. Each topic-and-channel pair is resolved independently using the priority order above. > [!TIP] > > If only one of the two profiles has a subscription for a given mailing topic and channel, that status carries over to the merged profile unchanged — there's no conflict to resolve. # Which Segment Does a Customer Land In After a Merge Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/profile-merging/which-segment-customer-lands-in-after-merge When two customer profiles are merged, Maestra has to decide which segments the resulting profile belongs to. The rules differ depending on whether the segment is static or scheduled. ## Static segment If only one of the source customers is in a static segment, the merged profile stays in that same segment. If the source customers belong to different segments within the same segmentation, the merged profile is assigned to the segment with the more recent entry date — the one that reflects the customer's most current state. ## Scheduled segment The merged customer ends up in every scheduled segment that either of the source customers was in. > [!NOTE] > > If the merged profile no longer matches a scheduled segment's criteria, it will be removed from that segment at the next recalculation. # Why Did a Customer's Custom Field Value Disappear Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/deduplication-faq/profile-merging/why-customer-custom-field-value-disappeared If a customer's custom field used to hold a value and now shows nothing, the value was almost always overwritten on purpose — either by an explicit instruction from your system or by a setting on the field itself. Maestra doesn't drop custom field data at random. There are two scenarios that clear a custom field value. ## 1. The special value `%CLEAR%` was sent When `%CLEAR%` is passed as the value for a custom field, Maestra treats it as an explicit instruction to wipe whatever was stored there. The field becomes empty. This is the intended way to remove a value through an integration or API call — useful when you want to deliberately reset a field rather than overwrite it with new content. ## 2. The field is set to clear on empty values Each custom field has a setting called **Clear if an empty value is transmitted**. When this option is turned on, sending an empty value to the field tells Maestra to remove the existing data. If the setting is off, empty values are ignored and the previous value stays in place. If it's on, any empty payload — including ones sent unintentionally by an integration — will erase the field. > [!NOTE] > > Both scenarios are by design. The value is removed because Maestra received an explicit signal to remove it, not because of an error or data loss inside the platform. ## How to investigate If you're trying to figure out why a specific customer's field went blank, work through these checks: **1. Open the customer profile's change history** The change history shows when each field was modified and what the new value was. Find the moment the field cleared — that timestamp tells you which event or integration call to look at next. **2. Check the integration or API call that wrote to the field** Look at what was sent to Maestra at that moment. If the payload contained `%CLEAR%` or an empty value, you've found the cause. **3. Review the custom field configuration** In the field's settings, see whether **Clear if an empty value is transmitted** is enabled. If it is and your integrations sometimes send empty payloads, the field will keep getting wiped until you either change the setting or fix the source data. **4. Audit recent imports and external syncs** Bulk imports, CRM syncs, and other scheduled jobs are common sources of unintended empty values. Confirm none of them ran around the time the value disappeared with payloads that omitted or blanked out the field. ## How to prevent it * If you don't want empty values to wipe data, turn off **Clear if an empty value is transmitted** on that custom field. * Make sure your integrations only send `%CLEAR%` when you actually want to erase a value. * When syncing from an external system, send only the fields you intend to update — leaving a field out of the payload is safer than sending it empty. # How Maestra Builds a Unified Customer Profile Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/how-maestra-creates-a-unified-customer-profile Maestra’s Customer Data Platform (CDP) constantly ingests data from websites, mobile apps, in‑store POS, call centers, and external CRMs. Because the same person often appears under different identifiers, Maestra automatically **deduplicates** (merges) records to keep one 360‑degree profile. A profile collects all known information about a customer: personal data, IDs, devices (cookies), purchase history, page views, and e‑mail activity. The system decides two records describe the same person when **one or more identifiers match** — phone, e‑mail, device, or other IDs—and no contradictions exist. *Example:* two contacts will **not** merge if the e‑mail matches but the phone numbers differ. | **Principle** | **What it means** | | - | - | | **Unique Contact Rule** | The same email, mobile number, loyalty card, or any other field flagged as *unique* can belong to **only one** customer record. | | **Match & Verify** | When two customers share at least one identical unique contact **and** there are no conflicting fields, the records merge. | | **Priority Model** | If conflicts exist (different phones, emails, personal data) the system chooses the *higher‑priority* record. Priority is calculated from recent activity, orders, and freshness of data. | | **History Preservation** | All former MaestraIDs and External IDs remain searchable so legacy API calls keep working. | | **Always‑On Engine** | Deduplication cannot be disabled; instead you tune it with flags such as **Do not merge customers with different External ID** or **Contact grants account access to the account**. | #### **Example 1** 1. A visitor subscribes to web‑push on the site. Maestra stores the browser ID and push‑subscription data. 2. The same browser subscribes to the e‑mail newsletter. Maestra creates a record containing the e‑mail address and browser data. 3. Because both actions happened in the same browser and no data conflict exists, the records merge. **Result:** one profile containing the e‑mail address, device, subscription data, plus the combined history of page views, message opens, and web‑push interactions. ### **Example 2** 1. A user signs up for the newsletter on a landing page from a work PC. Maestra stores **email**, the browser, and newsletter‑subscription data. 2. The same person places a one‑click order on the main site from a mobile phone, entering a phone number, **email,** and a name. Maestra creates a second record with the e‑mail, phone, name, and mobile browser. 3. Because the e‑mails match and no contradictions exist, the records merge. **Result:** one profile with the name, phone, e‑mail, both browsers, newsletter subscription, page‑view history, message interactions, and order information. **Important.** E‑mail addresses, phone numbers, and unique IDs must be unique: a given phone or e‑mail can belong to **only one** customer. If matching data are found and no contradictions exist, records merge (see Examples 1 & 2). If phone numbers match but e‑mails differ, merging is impossible. Which profile keeps the phone is decided by the priority system; the phone stays with the higher‑priority customer. *** ## **Customer Priority During Merging and When Resolving Conflicts (E‑mail / Phone / ID)** Priority rules are applied in two cases: 1. The system *cannot* merge records because of conflicting e‑mails, phones, or unique IDs (and a setting blocks merges with differing unique IDs). 2. The system *can* merge (e.g., e‑mails match) but must choose which record’s personal data and custom fields to keep. | **#** | **Priority criterion** | **Typical example** | | - | - | - | | 1 | A contact that **grants account access** is present. | Phone flagged “login by SMS” | | 2 | That contact is **confirmed**. | User clicked confirmation link or entered SMS code | | 3 | **Any** contact or loyalty‑card number grants access. | Card‑number login enabled | | 4 | Presence of **orders, promo codes, or reward points**. | Recent e‑commerce purchase | | 5 | Any **confirmed contacts** at all. | Confirmed e‑mail address | | 6 | The **latest personal activity** and/or registration date. | Most recent visit, open, or sign‑up | If two records tie on one criterion, the next criterion breaks the tie. ### **Example A – Must Choose Which Record Keeps the Phone** *Criterion: contact grants account access* * **Customer 1** already in the database: phone grants account access, plus an e‑mail. * Import brings **Customer 2** with the *same* phone but a different e‑mail. Because e‑mails differ, merge is impossible; the phone must stay with one record. The phone remains with Customer 1 because that phone grants account access. ### **Example B – Orders Tie; Fall Back to Latest Activity Date** Both customers have orders; e‑mails differ. Neither phone nor e‑mail grants access; no cards. Because orders tie, we look at the date of the **last personal activity** (site visit, message open, order). The phone stays with the customer whose last activity is more recent. *** ## **Identifiers Used in Maestra** | **Identifier** | **Grants access to account?** | **Must be unique?** | **Stored in history?** | **Notes** | | - | - | - | - | - | | MaestraID | ✖ | ✔ | ✔ | Assigned internally; several MaestraIDs can merge. | | Unique ID (external) | Optional | ✔ | ✔ | CRM/site ID; merging depends on settings. | | ID (non‑unique) | ✖ | ✖ | ✖ | May move between customers if merging fails. | | Mobile phone | Optional | ✔ | ✖ | Used for comms; can move (settings‑dependent). | | E‑mail | Optional | ✔ | ✖ | Same rules as phone. | | Loyalty‑card number | Optional | ✔ | ✔ | Card login if enabled. | | Device GUID / cookie | ✖ | ✖ | ✖ | Tracks site & app behavior; many per customer. | | Mobile device ID | ✖ | ✖ | ✖ | Appears when the mobile app registers. | | Card‑hash | ✖ | ✖ | ✖ | Sent with order data; can identify a bank card. | ### **Detailed description of customer identifiers** * **MaestraID** — assigned to every customer inside Maestra. It acts as the primary unique key when Maestra is the main system of record. Customers with different MaestraIDs *can* be merged. All historical MaestraIDs are kept in the profile, so you can reference the customer by any ID they have ever had. * **Unique identifier** — comes from an external system (CRM, online store, ERP). It uniquely identifies the customer; registering another profile with the same ID is forbidden. Customers whose unique IDs differ *may* merge (depending on integration settings). Historical values of the unique ID are stored; API calls and imports can use any of them (again, subject to settings). * **Identifier (non‑unique)** — this ID can be re‑used. If two profiles cannot merge, the ID may switch from one customer to another. The system does **not** keep a history for non‑unique IDs. * **Mobile phone** — used for text messages, and two‑factor log‑in. A phone number can belong to only one customer at a time, but it can migrate to another profile if allowed by the settings. * **E‑mail** — used for e‑mail marketing and account access. Behaves like phone: unique per customer at any given moment, but may move if the settings allow. * **Discount‑card number** — identifies the customer’s loyalty card. May grant account access if “log‑in by card” is enabled. * **Device (GUID / cookie)** — browser or app identifier. It is attached to the *last* identified customer who used the device. A shared device can trigger profile merges provided there are no conflicting identifiers. One customer can accumulate many devices (laptop, phone, tablet), and all activity from them feeds into the same profile. * **Mobile device ID** — behaves like the device GUID but is issued by the mobile SDK when the customer launches the app. * **Payment‑card hash** — a tokenized bank‑card fingerprint sent with order data. If two profiles share the same card hash and have no conflicting identifiers, they merge. ### **Example 1.1 – Landing Page + Site Registration** **Scenario**: Paul sees an ad for a contest from SuperSneakers, visits the landing page, and leaves the e‑mail [*paul.peterson@example.com*](mailto:paul.peterson@example.com). 1. **Landing‑page opt‑in.** Maestra creates a profile containing the e‑mail and the browser’s device ID. 2. **First order & site registration.** After receiving a promo e‑mail Paul follows the link, registers on the main site, and places an order—providing his name and phone (415) 555‑0122. 3. Maestra registers a *second* profile with name, phone, site‑account ID 535, the same device, and the order details. 4. Because the two profiles share the **same device** and have no conflicting data, they merge automatically.**Result**: a unified profile that contains the e‑mail, phone, two devices (home and work later), the site‑account ID, full order and browsing history, and an active e‑mail subscription. Later, at the office, Paul logs into his account. The site sends the new device ID to Maestra, so the work browser is attached to the same profile: Paul is now tracked seamlessly across both browsers. ### **Example 1.2 – Linda Enters the Picture** Linda, Paul’s wife, likes his new sneakers and visits the SuperSneakers site from the **same browser**. * While she browses, Maestra still thinks it is Paul, so page views are stored in his profile. * Linda chooses shoes and completes checkout, creating her own account in the process. * Maestra realises this is a different person, creates a new customer, and re‑attaches the device to Linda. All subsequent activity from that browser is linked to her—until Paul signs in again, at which point the device switches back.**Key point**: a device is always attached to the *last* identified customer who used it, keeping data accurate even in a shared household. ### **Example 1.3 – Someone Mistypes the Paul’s Phone** The SuperSneakers site has a **“Request a consultation”** form that passes phone and e‑mail to Maestra. 1. Evan submits the form with [*evan@example.com*](mailto:evan@example.com) and phone (415) 555‑0122—the number already belonging to Paul. 2. Maestra creates a customer with that phone and e‑mail. 3. Because a phone must be **unique**, Maestra must decide who keeps it. Paul has an order history while Evan does not, so **Paul is higher priority.** 4. The phone remains with Paul. Evan’s profile keeps only his e‑mail and device ID. ### **Example 1.4 – Order via Call Center** Paul places an order through the call centre, giving the same phone number.During the nightly import of call‑centre orders Maestra receives a record with phone (415) 555‑0122. The phone matches Paul’s profile, so the order is added to his history— no duplicate customer is created. ### **Example 2 – Unified Browsing History Across Devices** 1. Linda subscribes to the newsletter on her **home computer**; Maestra stores her e‑mail and the desktop browser’s device ID. 2. Later she opens a promo e‑mail on her **phone** and clicks the personalised link. 3. The unique tracking link lets Maestra capture the phone browser’s device ID and understand that it belongs to the same customer.**Result**: page views from both devices flow into one profile, enabling truly cross‑device personalisation. ### **Example 3 – Merge After Editing Data** * Scott subscribes to the newsletter from his **desktop**. Maestra creates a profile with his e‑mail and device. * On **mobile** he places an order, entering a phone number; Maestra creates a second profile (phone + device + order). * Later Scott adds the **same e‑mail** to his mobile account. Because duplicate e‑mails are not allowed, Maestra must choose: delete or merge. * There are **no conflicts** (one profile has phone, the other has e‑mail), so the two records merge into a single rich profile that unifies order, browsing, and messaging history. ### **Example 4 – Phone Removed from One Customer Due to Conflict** * Evan subscribes to the newsletter; profile with e‑mail and device. He later requests a callback and leaves his phone number. * Because that device was previously used by Paul, the phone is temporarily attached to Paul’s profile. * The store imports **another customer** whose phone matches Evan’s but whose e‑mail differs. Two customers now claim one phone. * Evan is deemed higher priority because he is active (opens e‑mails, browses products). The phone is *moved* to Evan; it is removed from the imported customer, and the event is logged in both histories. ### **Example 5 – Merge by Device ID** Evan first visits the site and subscribes to **web‑push** notifications. The next day, from the *same browser*, he subscribes to the e‑mail newsletter.Because both actions come from a single device and there are no conflicting contacts, the two temporary profiles merge into one that now contains the device ID, e‑mail address, and both subscriptions. *** ## **Why Were Customers Merged?** Possible reasons: 1. All data matched exactly—e‑mail, phone, device. 2. Non‑conflicting data were entered from the **same device** (e.g., first a web‑push opt‑in, then an e‑mail opt‑in). 3. A merge was triggered via the API, explicitly specifying which record has priority. 4. A manual merge was performed in the admin UI. 5. Both customers confirmed the same contact (e‑mail or phone).You can see the reason on the **Change History** tab inside the customer profile. *** ## **Priority Rules for Segmentation After Merging** When customers merge, the **history of segment membership** is taken from one record: 1. For each segmentation, compare the membership dates. 2. Keep the record with the **most recent** date. 3. If conflicting segments exist inside one segmentation, keep the segment whose *membership date* is most recent. | Segmentation | Customer 1Date | Customer 2Date | | - | - | - | | Subscribed to mailings | Jan 2021 | Feb 2019 | | Buys bread | Jan 2020 | **Mar 2020** | | Loyalty level 1 / 2 | **Jan 2021** | Aug 2020 | | Doesn’t open e‑mails | — | **Feb 2021** | **After merging** the unified customer has: | **Segmentation** | **Date** | | - | - | | Subscribed to mailings | Jan 2021 | | Buys bread | Mar 2020 | | Loyalty level 1 | Jan 2021 | | Doesn’t open e‑mails | Feb 2021 | *If dates tie, the segment with the **higher ID** wins.* *** ## **Deduplication Settings** In an **integration** settings you can choose which contacts: * Must be confirmed, and/or * Grant account access.Once a flag is enabled, all *new* contacts behave accordingly; existing contacts are unaffected. To change existing records you can, for example, re‑import them via the same integration point with the desired flags. You can also forbid merging customers with different **unique IDs** by toggling “Do not merge clients with different IDs” in the unique‑ID settings. ### **Can I Forbid Customer Merging?** Yes. In the unique identifier settings you can tick **“Do not merge customers with different IDs.”** ### **Can I Disable Deduplication Completely?** No. Contacts must stay unique. The system must always decide which customer “owns” **a phone or e‑mail** and whether merging is allowed. *** ## **What Counts as Personal Data? How Are They Edited?** Personal data = last name, first name, middle name, birth date, gender.When customers merge, the *entire* set of personal data comes from the **priority** customer—​they are not combined.Editing can: 1. Add data that don’t conflict (e.g., birth date and last name added to a record that previously had only a first name). 2. Overwrite conflicting data (e.g., a new birth date contradicts the old one; all personal data are cleared and only the new birth date is kept).**Recommendation:** When editing personal data, always send the *full* known set. *** ## **What Is “History‑ID Search”?** For **MaestraID** and for a **Unique ID** (unless merging by different IDs is forbidden), the system supports searching *in the history of IDs*.After a merge, the priority customer’s unique ID becomes the primary ID; the other ID remains in history. API calls and imports can still reference *any* historical ID.For MaestraID the same applies; priority does **not** affect which MaestraID remains primary. ### **Example** Customer 1: CRM ID 301 + **email** Customer 2: CRM ID 103 + **email** E‑mails match → records merge → resulting customer keeps CRM ID 103; ID 301 goes to history. Later, an API edit call using ID 301 adds a phone—​it still works. *** ## **Reading a Customer’s History After Merging** All changes are listed under **Change History**: * Personal data * E‑mails & phones * Identifiers * Custom fields * Merge (deduplication) events * Removal of contacts/IDs in favor of a higher‑priority customerIf a merge occurred, histories of all merged customers are interleaved chronologically under the single profile. *** ## **Common Errors and Their Meanings** ### **“Technical IDs must be unique…”** Re‑registering a Unique ID that already exists is forbidden. This error appears in file‑import results or API logs. Typical causes: * The system could not unambiguously decide which client to edit, tried to create a new one, and hit a duplicate Unique ID. * An API v3 operation did not find a client by the selected identifier and attempted to create one, again causing a duplicate.Same logic applies to creating a client with a phone/e‑mail flagged “grants account access” if another such client already has it. ### **“A user with this mobile phone is already registered…”** Thrown when an integration point requires that phone numbers granting account access be unique, and a registration attempts to reuse a phone already flagged that way. Solution: inform the end user they’re already registered and offer password recovery. Similar messages appear for e‑mail. ### **“Unable to uniquely determine the customer”** Identifiers in import/edit belong to **different** customers, so the system cannot choose which one to update. Often, one ID resides in another customer’s history. *** ## **Why Did a Phone Number or E‑Mail Disappear?** Possible reasons: 1. **Another customer with the same contact appeared.** Phones and e‑mails are unique, so the contact stayed with the *higher‑priority* customer. You can see the related customer on **Personal Info → Related Customers**. 2. \*\*The contact was removed during profile editing.\*\*For the exact date and reason check the **Change History** tab of the customer profile. ### **Priority examples** | **Example** | **Situation** | **Why the contact moved** | **Result** | | - | - | - | - | | 1. Order priority | **Customer 1:** phone + email, long‑time subscriber, *no* orders. **Customer 2:** same phone, different email, recently placed an order. | An order outranks mere opens; **Customer 2** is higher priority. | The phone is detached from **Customer 1** and attached to **Customer 2.** | | 2. Personal‑activity priority | **Customer 1:** phone + email, many personal actions (e‑mail clicks, product views). **Customer 2:** same email, different phone, no personal actions. | Personal activity outweighs lack of activity, so **Customer 1** wins. | The shared e‑mail remains with **Customer 1**; the conflicting phone stays with its owner. | ### **Case study – incorrect integration (loyalty program)** A loyalty program runs on the web site *and* in physical stores. * **Customer 1** registers at the cash desk: phone\_1 **grants account access**, email\_1 is for information‑only mailings; 100 points on the card. * **Customer 2** registers on the website: email\_1 **grants account access**, 50 points on the card.If the “grants account access” protection were disabled, both records would merge (because of the shared email). The priority would be decided solely by the contact that grants access, which is ambiguous and can lead to data being attached to the wrong person.**Correct integration:** always require the phone number on the website so that both registrations share phone\_1; no merge is required. *** ## **Matching Contacts Didn’t Merge—Why?** Possible causes: 1. The Unique‑ID option **“Do not merge customers with different IDs”** is enabled. Then even matching e‑mails/phones won’t merge if Unique IDs differ. 2. Customers have **different contacts that grant account access.** Merging is forbidden when those contacts differ—even if other contacts match.A loyalty‑card number can also block merging if “login by card” is enabled. *** ## **What Happens to Name, Birthday, Etc. After a Merge?** Last name, first name, middle name, gender, birth date, and time‑zone are taken from the **priority** customer. Custom fields follow the same rule, **except**: if the lower‑priority customer has values that the higher‑priority one lacks, those values are preserved. All activity history from both records is combined. *** ## **Which Segment Does the Customer Fall Into After a Merge?** **Static segments** * If only one precursor was in the static segment, the merged profile stays in that segment. * If precursors were in *different* segments inside the *same* segmentation, the merged profile stays in the segment whose **membership date** is later.**Calculated segments** * The merged customer is included in **all** calculated segments that any precursor belonged to. * If the customer no longer meets a segment’s conditions, they drop out at the next recalculation. *** ## **Sessions: Why Does a Customer Have Activity That Happened *Before* They Entered the Database?** The Maestra JS‑tracker logs every visitor’s actions, even anonymous ones. A **session** is a continuous chain of actions where the gap between events ≤ 30 minutes. Anonymous actions are linked retroactively to the profile once the user is identified according to de‑anonymization rules. *** ## **What Happens to Subscriptions When Customers Merge?** Subscriptions are combined. If the statuses conflict, we resolve by priority: 1. **Subscribed** 2. **Awaiting confirmation** 3. **Unsubscribed**Examples: * Customer 1 unsubscribed; Customer 2 subscribed → **Subscribed** * Customer 1 subscribed; Customer 2 awaiting confirmation → **Subscribed** * Customer 1 unsubscribed; Customer 2 awaiting confirmation → **Awaiting confirmation** *** ## **What Happens to Customer Identifiers After a Merge?** The **primary Unique ID** stays with the priority customer; the other moves to history. API calls and imports can still use any historical ID. All MaestraIDs of merged customers are also stored in history.**Important:** If “Do not merge customers with different IDs” is enabled, **history‑ID search is disabled** for that Unique‑ID type. # How to Manually Merge Customer Profiles Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/how-to-merge-customer-profiles-manually Sometimes the same person ends up with more than one customer profile in Maestra Platform — usually because they signed up through different channels, used different emails, or were imported from another system. When that happens, you can merge their profiles by hand so all of their history, contacts, and subscriptions live on a single record. This guide walks you through the manual merge process, what gets combined, and which fields you'll still need to fill in yourself. ## How to merge profiles **1. Open the customer list** Go to **Data** → **Customers**. **2. Find the profiles you want to merge** Search for the customers whose profiles belong to the same person. **3. Select the profiles** Use the checkboxes next to each customer to mark every profile that should be combined. **4. Choose the merge action** From the actions menu, pick **Merge customers**. **5. Pick the primary customer and confirm** Choose which profile will be the primary customer — the record that will survive the merge — and click **Merge**. Once the merge finishes, Maestra Platform shows a confirmation that only one customer profile remains. ## What happens to the data After the merge, the actions and fields from the selected customers are combined on the primary customer. Any empty fields on the primary profile — such as the customer's full name or subscription preferences — are filled in with the values from the other profiles being merged. In short, the primary record keeps everything it already had and picks up whatever information was only present on the other profiles. ## Fields that are not filled in automatically > [!WARNING] > > Three fields are never copied from the other profiles into the primary customer during a merge: > > * Email > * Mobile phone number > * Time zone If the primary profile is missing any of these values, the merge will not pull them in from the other records. You'll need to add them to the primary customer manually after the merge is complete. # How to merge customers via import Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/how-to-merge-customer-profiles-via-file-import To merge customer profiles in your project, prepare a correctly formatted file and run an import. Merging gives you a single unified customer profile and consolidates all activity under one record. If you need to record a different data source for the merge, use the [advanced settings](#step-3-configure-the-import). Imports run from **Settings → Import**. Click **New import** to open the wizard. ## Step 1. Choose an action 1. Pick the import type — **Customers**. 2. Pick the action — **Merge customers**. ## Step 2. Prepare and upload the file 1. Decide which profiles you want to merge. 2. The file must include these required fields: | Field | Description | | - | - | | `ResultingCustomerIdsMindboxId` | Maestra ID of the **primary** customer — the profile that will remain after the merge. | | `CustomersToMergeCustomerIdsMindboxId` | Maestra ID of the customer whose data will be merged into the primary profile. | 3. Prepare the file. Put column headers (field names) in the first row. * Format: `.csv` or `.txt` See [Preparing a file for import](/import-data/preparing-a-file-for-import) for details. 4. Upload the file and click **Continue**. ## Step 3. Configure the import On this step you can set one additional parameter — the **data source** (integration point). The data source indicates where the data originated and affects how customer actions are attributed. The default is "Maestra Platform admin panel." If the data source you need doesn't exist yet, create it ahead of time or from the link on the import page. ## Step 4. Review and start the import Before launching, Maestra Platform shows the first rows of your file with the mapping applied. Confirm that values land in the correct fields. If everything looks right, click **Start import**. ## Tracking the import After it starts, the import appears in the list on the Import page. Each job shows: * Date started * Import type * Who started it If errors occurred, some rows will have been skipped. Open the import details to see which rows failed and why. # Error: "Cannot Uniquely Identify the Customer" Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/merge-errors/error-cannot-uniquely-identify-customer This error appears when the identifiers you pass during an import or an edit operation belong to different customers. Because Maestra cannot tell which existing profile you mean, it refuses to apply the change instead of guessing. ## Why the error happens Every customer in Maestra is described by a set of identifiers — website ID, CRM ID, email, phone, loyalty card number, and so on. When you send an operation (import, edit, event, subscription change) that carries more than one identifier, Maestra looks each one up and expects them all to resolve to the same profile. If one identifier already belongs to Customer A and another to Customer B, there is no single target for the change. Maestra cannot uniquely identify the customer, so it rejects the operation and returns this error. > [!NOTE] > > Often one of the conflicting identifiers is no longer the customer's current value — it sits in the change history of another profile. Checking the change history on each profile is usually the fastest way to spot the conflict. ## Example You have two existing customers: | Customer | Identifier | | - | - | | Customer 1 | WebsiteID `111111` | | Customer 2 | CrmID `222222` | You then send an import row that combines identifiers from both: | Field | Value | | - | - | | WebsiteID | `111111` | | CrmID | `222222` | | Email | `mail1@mail.ru` | Maestra cannot decide whether to attach `mail1@mail.ru` to Customer 1 or Customer 2. No data is written, and the operation fails with "Cannot uniquely identify the customer." ## How to diagnose it **1. Open the change history on each profile** Pull up both customers that match the identifiers in the failing record and review their change history. Look for an identifier that used to live on one profile and now appears on the other — that is usually where the collision started. **2. Compare the identifiers in the failing payload** List every identifier in the import row or edit request and check each one against the customer profile it resolves to. If two identifiers resolve to two different profiles, you have found the conflict. **3. Decide which profile is correct** Confirm with the source system (your website, CRM, POS, etc.) which customer the record should belong to. Only then can you clean up the identifier that does not belong there. ## How to fix it Before you retry the operation, make sure every identifier in the payload points to the same customer profile. Depending on the situation, that may mean: * Removing the stray identifier from the import row so only identifiers for one customer are sent. * Updating the customer profile that holds the outdated identifier so it no longer conflicts. * Merging the two profiles if they represent the same person — then a single profile owns all the identifiers and the import can succeed. Once the identifiers are consistent, resend the import or edit. The operation will go through. ## How to avoid it * Send the minimum set of identifiers you actually need. Extra identifiers raise the chance of pulling in one that belongs to another profile. * Keep the identifier you treat as the primary key (for example, CRM ID or website ID) stable in your source system, and use it consistently across imports. * Reconcile duplicate or stale profiles regularly so old identifiers do not linger and trigger conflicts on future imports. # Error: "Technical IDs Must Be Unique" Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/merge-errors/error-technical-ids-must-be-unique This error appears when Maestra detects an attempt to use a duplicate unique identifier. Re-registering a customer with a unique identifier that already exists in the system is not allowed — each technical ID can belong to only one customer. ## Why this happens When you import customer data, the error shows up in two scenarios: **1. Maestra can't determine which customer to update** The system can't reliably match the incoming record to an existing customer, so it tries to create a new one. But the technical ID in the incoming record is already taken by another customer, so creation fails. **2. The customer isn't found by the chosen identifier** Maestra falls through to creating a new customer, but the technical ID supplied for that new customer collides with an ID that already exists in the database. In both cases, the underlying rule is the same: a technical ID is unique across the entire customer database, and Maestra refuses to assign one that is already in use. ## The same rule applies to "account access" contacts The uniqueness restriction isn't limited to technical IDs. Phone numbers and email addresses flagged as **account access** identifiers follow the same rule — you can't reuse the same phone or email as an account access identifier for two different customers. > [!NOTE] > > If you need to understand how Maestra decides which fields count as unique identifiers and how matching works during import, review the customer identifiers documentation for the full mechanism. ## How to fix it * Confirm which identifier you're sending in the import and check whether it already exists on another customer profile. * If you intended to update an existing customer, use an identifier that uniquely points to that customer so Maestra can match instead of creating a new record. * If you intended to create a new customer, generate a technical ID that isn't already in use. * For account access phones and emails, make sure the value isn't already attached as an account access contact to a different customer. # Error: "User With This Mobile Phone Is Already Registered" Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/merge-errors/error-user-with-mobile-phone-already-registered This error appears when Maestra blocks a registration or import because the mobile phone number is already attached to another customer profile that grants account access. Maestra refuses to attach the same account-access contact to two profiles so one customer cannot accidentally — or maliciously — gain access to another customer's account. ## Why the error happens on registration The error fires when both conditions are true at the point of integration: * The **Grants account access** flag is enabled for the mobile phone field. * A new customer tries to register with a phone number that is already tied to an existing profile where that same flag is enabled. In this state Maestra blocks the second registration to protect customer data. The right response is to tell the end user that an account with this number already exists and to offer the password recovery flow instead of creating a new profile. > [!NOTE] > > "Grants account access" means the contact (phone or email) can be used to log in to the customer's account. Two profiles cannot share the same account-access contact. ## Why the error happens during file import A similar error can appear when you import customers from a file: > Customer with email [test@example.com](mailto:test@example.com) is already registered. Enter a different email or use password recovery. The root cause is the same — a uniqueness conflict on an account-access contact — but the trigger is different. During import, Maestra could not unambiguously identify which existing profile to update, so it tried to create a new one. The new profile collided with the existing profile's phone (or email), and the import row failed. ### Example You have a customer in your database: | Field | Value | | - | - | | SiteID | 100 | | Mobile phone | 15551234567 (grants account access) | You import a row with: | Field | Value | | - | - | | SiteID | "New" 100 | | Mobile phone | 15551234567 (grants account access) | Maestra looks for a profile with the new ID, does not find one, and decides to create a new customer. But the phone number matches an existing profile and is marked as granting account access, so creation is blocked and the import row returns the error. ## How to fix it **1. Confirm the profile already exists** Search Maestra for the phone number. If you find an existing profile with the same number and the **Grants account access** flag, that is the profile blocking the new registration or import row. **2. For end-user registration, offer password recovery** Update your registration UI to detect this error and prompt the user to recover the password on their existing account instead of registering again. **3. For imports, match on a unique identifier the existing profile already has** Make sure each import row carries an identifier (SiteID, email, or another customer key) that Maestra can use to find and update the existing profile rather than create a new one. If the row should update the existing customer, send the existing SiteID — not a new one. > [!TIP] > > If you intentionally want a separate profile and the phone number should not grant account access on it, turn off the **Grants account access** flag for that field at the point of integration before importing. # Can You Turn Off Deduplication Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/merge-settings/can-deduplication-be-disabled Deduplication can't be turned off. Customer contacts have to be unique, so the system always needs to decide which customer a phone number or email belongs to — and whether those customers can be merged. Maestra builds a single customer profile to power accurate targeting, a better customer experience, and clean data. # Can You Block Customer Profile Merging Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/merge-settings/can-merging-be-disabled Yes. If you assign a unique identifier to each customer, you can prevent Maestra from merging customer profiles that have different IDs. ## How to block merging In the settings for the customer's unique identifier, turn on the **Do not merge customers with different IDs** option. **1. Open the unique identifier settings** Go to the parameters of the unique customer identifier you use to distinguish customers in your system. **2. Enable the option** Activate **Do not merge customers with different IDs**. Once enabled, Maestra will keep customer profiles separate whenever they carry different values of that identifier, even if other matching signals (such as email or phone) would normally trigger a merge. ## Why use this setting This setting preserves the integrity of customer profiles when each customer has a distinct unique ID in your system. It's useful when your source of truth (for example, a CRM or loyalty platform) guarantees that two different IDs always represent two different people, and you don't want Maestra to combine them. > [!NOTE] > > The block only applies to customers whose unique IDs differ. Profiles without an ID, or profiles sharing the same ID, follow Maestra's standard merging rules. # What Deduplication Settings Are Available Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/merge-settings/deduplication-settings Deduplication controls how Maestra decides when two customer profiles describe the same person and should be merged. A few settings let you tune that behavior — which contacts must be confirmed before they grant account access, and whether profiles with different unique identifiers can ever be merged at all. ## Contact confirmation and account access In your point of contact settings, you can choose which contacts require confirmation and which ones grant access to the customer's account. Once you turn this setting on, every new contact added through that point of contact will require confirmation or grant account access according to the rule you set. The setting does not retroactively apply to customers already in your database. > [!NOTE] > > If you need existing contacts to either gain account access or move into a "pending confirmation" state, edit those customer profiles through a point of contact that has the desired settings. That re-runs them through the rule. ## Unique identifier rules In the settings of a custom field marked as a unique identifier, you can prohibit merging customers that have different values for that ID. This is useful when an identifier — for example, an internal CRM ID or a loyalty number — is guaranteed to be unique per person. Blocking merges across different IDs prevents Maestra from collapsing two distinct people into one customer profile just because they share another signal like an email or phone number. ## Why this matters These settings are part of building a single, accurate customer profile — the foundation for precise targeting, a better customer experience, and clean data. # Customer Identifiers in Maestra Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/personal-info-and-identifiers/customer-identifiers-in-maestra Maestra uses a set of identifiers to recognize a customer across channels, devices, and systems. Some identifiers are unique and permanent, others can move between customer profiles, and a few are used purely for communication. Understanding how each one behaves is the foundation for how Maestra merges customers, resolves conflicts, and stitches activity together into a single customer profile. ## Identifier types ### MaestraId MaestraId is assigned to every customer in the system and acts as the primary unique identifier. A customer always has exactly one MaestraId. When two profiles merge, all MaestraIds involved are preserved on the resulting customer profile so that history and references from external systems continue to resolve. ### Unique identifier A unique identifier is set by an external system (for example, a CRM, an ecommerce platform, or a loyalty backend) and uniquely identifies a customer in that system. * The same unique identifier cannot be registered twice. * Whether two customers carrying different unique identifiers can be merged depends on your project's configuration. Use a unique identifier when an external system already owns the customer's identity and you need that identity to survive every merge. ### Identifier An identifier is similar to a unique identifier but more permissive: it allows re-registration and can transfer between customers. * History for a non-unique identifier is not preserved when it moves. * Use this type when the external value is not guaranteed to stay with the same person (for example, a temporary loyalty card or a session key). ### Mobile phone A mobile phone is used for communications (SMS, mobile push, calls, transactional notifications). * A phone number can belong to only one customer at a single point in time. * A phone number can move between customer profiles depending on your configuration — for example, when newer or higher-priority data overwrites older data. ### Email Email is used for communications (campaigns, transactional messages, double opt-in confirmations). * An email address can belong to only one customer at a single point in time. * Like a phone number, an email can move between profiles based on configuration and conflict-resolution rules. ### Discount card A discount card holds the customer's loyalty card number. It can be used both to identify a customer at checkout and to attribute offline orders to a profile. ### Device (Device GUID, cookie) A device identifier tracks customer activity on websites and apps. It is typically a cookie in a browser or a generated GUID in a mobile app. * One customer can have multiple devices — for example, a laptop browser, a phone, and a tablet. * A single device attaches to the most recent customer who authenticated on it. If a different customer logs in on the same device, the device reattaches to that customer until the original customer returns. ### Mobile device A mobile device behaves like a Device GUID and is created when a customer registers in a mobile app. It is used to deliver mobile push notifications and to attribute in-app behavior to the customer profile. ### Payment card hash A payment card hash is transmitted with order data and identifies a bank card without exposing its number. * It merges customer profiles when there are no contradictions in other identifiers. * It is never used as a standalone proof of identity for communications. ## How identifiers behave during merges Maestra continuously evaluates incoming data to decide whether two profiles describe the same person. * **No conflicts:** profiles merge automatically. The resulting profile inherits all identifiers, subscriptions, devices, and order history from both sides. * **Conflict on a communication identifier (email or phone):** the system keeps the identifier on the profile with stronger signals (recent activity, purchases, explicit consent) and detaches it from the other profile. A note is added to the losing profile. * **Conflict on a unique identifier:** merge is blocked unless your configuration allows it. The examples below walk through the most common situations. ## Examples ### Example 1.1 — Landing page, then website registration Pavel sees an ad for a giveaway and lands on the campaign page. He submits his email `pavel.petrov@example.com` to enter. Later, on the same browser, he registers on the main site, creates an account, and places an order. He provides his name and phone number `+1 (415) 111-1122`. **Outcome.** Two profiles exist for a moment — one from the landing page (email + device), one from the website (name, phone, device, order). They share the same device and have no conflicting data, so Maestra merges them automatically. The unified customer profile carries the email, phone, device, name, and order history. ### Example 1.2 — Shared device between spouses Pavel's wife Irina uses the same home browser. She browses products, registers under her own email, and completes a purchase. **Outcome.** The device reattaches to Irina because she is the most recent authenticated customer on that browser. Her subsequent anonymous activity is recorded under her profile. When Pavel signs in again on the same browser, the device reattaches to him. ### Example 1.3 — Duplicate phone on a new submission Ivan fills out a consultation request form. He enters his email `ivan@example.com` and, by mistake or coincidence, the phone number `+1 (415) 111-1122` — Pavel's number. **Outcome.** Maestra detects the phone conflict. Pavel has higher engagement (orders, recent activity), so priority goes to Pavel: the phone stays on Pavel's profile. Ivan's new profile keeps only his email and device identifier; a note about the phone conflict is added. ### Example 1.4 — Order placed through the call center Pavel calls customer support to place an order. The agent records his phone number on the order. **Outcome.** The daily order import matches the phone to Pavel's existing profile. The call center order is attached to Pavel's customer history alongside his self-service orders. ### Example 2 — Cross-device browsing history Irina subscribes to email on her desktop computer at home. Later she opens a campaign on her phone and clicks a link inside the email. **Outcome.** The unique tracked link in the email lets Maestra recognize both the desktop and mobile browsers as belonging to Irina. Browsing history from both devices is recorded on Irina's profile and becomes available for personalization. ### Example 3 — Profiles merged after a later data update Sergey subscribes to email on his desktop. Later, on a different device, he places an order using a different email address — so two profiles exist. Sergey then logs in to his account dashboard and adds his original email to the profile. **Outcome.** Maestra now sees both profiles share the same email and there is no contradictory data. The profiles merge automatically; the resulting customer profile contains both devices, both emails (with the canonical one marked as primary), the order, and the email subscription. ### Example 4 — Phone reassignment after an import conflict Ivan subscribes via the website and actively engages with campaigns. Later, an imported batch of customer data contains a record where the phone matches Ivan's but the email is different. **Outcome.** Merge is blocked because the emails contradict each other. Maestra prioritizes Ivan's active engagement: Ivan keeps all of his data, including the phone. The imported customer is created without that phone, and a note about the conflict is added to the imported profile. ### Example 5 — Device-based consolidation across days Ivan visits the site from a single browser over two days. On day one he subscribes to web push notifications. On day two, on the same browser, he subscribes to email. **Outcome.** A single customer profile is created. It contains the device identifier and both subscriptions. No manual merge is needed — the shared device is enough to keep activity on one profile. ## Privacy and data handling Customer identifiers are personal data under most privacy regimes (GDPR, CCPA, and similar). When designing how identifiers flow into Maestra: * Collect only the identifiers you need for the channels you actually use. * Honor opt-out and deletion requests across every identifier on the profile, not just the one the request came in on. * Treat the payment card hash as sensitive — never expose it in customer-facing surfaces or analytics exports. > [!NOTE] > > If you are unsure which identifier types your project should treat as unique versus reassignable, review your merge configuration before importing customer data in bulk. Misconfigured uniqueness rules are the most common cause of unexpected merges. # How to Wipe a Customer's Name, Phone, Email, or Identifier Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/personal-info-and-identifiers/how-to-wipe-customer-name-phone-email-or-id Sometimes you need to clear a value from a customer profile rather than overwrite it with a new one. This is common when honoring data subject requests under privacy laws like GDPR's right to erasure or CCPA's right to delete, or when cleaning up bad data captured by mistake. Maestra supports wiping personal data fields — full name, phone, email — as well as customer identifiers (like a website ID or external system ID) using a special placeholder value. ## The `%CLEAR%` placeholder To wipe a field on a customer profile, send the value `%CLEAR%` for that field in an operation or file import. > [!WARNING] > > `%CLEAR%` is case-sensitive. It must be written in all uppercase letters. Lowercase or mixed-case variants (`%clear%`, `%Clear%`) will not work — Maestra will treat them as ordinary string values. After the operation runs, the field is emptied on the customer profile. ## Wiping a value through an operation Include `%CLEAR%` as the value of the field you want to clear in the operation request body. For example, to wipe a customer's `websiteID` identifier through an edit operation: ```json theme={null} "ids": { "websiteID": "%CLEAR%" } ``` Once the operation finishes processing, that identifier is removed from the customer profile. The same pattern works for personal data fields. To wipe a phone number, for instance, pass `%CLEAR%` as the value of the phone field in your operation payload. ## Wiping a value through a file import The same placeholder works in file imports. In the column for the field you want to clear, enter `%CLEAR%` for the row of the customer whose data should be erased. When the import runs, Maestra empties that field on each customer profile where `%CLEAR%` was provided. > [!TIP] > > File imports are the fastest way to wipe the same field across many customers at once — for example, when honoring a batch erasure request or cleaning up a column of data that was imported in error. ## What you can wipe You can use `%CLEAR%` to clear any supported personal data field or identifier on a customer profile, including: * Full name * Phone * Email * Customer identifiers (such as `websiteID` or other external system IDs) ## Things to keep in mind * The operation must include `%CLEAR%` exactly — uppercase, with the percent signs. * Wiping a field empties its value on the customer profile. It does not delete the customer. * Wiping an identifier removes that specific identifier only; other identifiers on the same profile are untouched. * Once a field is wiped, the change is reflected in the customer profile's change history alongside other edits. # What Counts as Customer Personal Data and How to Edit It Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/personal-info-and-identifiers/what-counts-as-personal-data-and-how-to-edit-it Personal data is the set of fields that identify a customer as a real person. In Maestra, this includes: * First name * Last name * Middle name * Date of birth * Gender These fields live on the customer profile and behave differently from other attributes when you merge or update customers. ## How personal data behaves when customers are merged When two customers are merged, personal data is **not** combined field by field. Instead, the entire set of personal data is taken from the priority customer. The other customer's personal data is dropped. This keeps the profile internally consistent — you won't end up with one customer's first name paired with another customer's date of birth. ## How edits to personal data are applied When new personal data comes in for an existing customer, one of two things happens depending on whether the new values conflict with what's already on the profile. ### Scenario 1: The data is completed (no conflict) If the incoming data doesn't contradict any existing values, it's simply added to the profile. **Example.** A customer profile has a first name filled in, but no last name and no date of birth. An update arrives with a last name and a date of birth. Both new fields are written to the profile, alongside the existing first name. ### Scenario 2: The data conflicts If the incoming data contradicts existing values, Maestra assumes the update refers to a different person. All previously stored personal data is wiped, and only the new values from the update are kept. **Example.** A customer profile has a full name (first, last, middle) and date of birth #1. An update arrives with date of birth #2. Because the dates conflict, Maestra clears the existing name fields and the old date of birth, leaving only the new date of birth on the profile. > [!WARNING] > > Conflicting updates erase prior personal data — they don't merge with it. If you send only one conflicting field, you'll lose the other personal data fields you previously had on the customer. ## Recommendation: send the full set of known data To avoid accidental data loss in conflict scenarios, send the entire set of known personal data on every update — not just the field that changed. > [!TIP] > > If your integration only has a new date of birth to send, include the customer's current first name, last name, and middle name in the same update. That way, if the new date of birth triggers a conflict, the rest of the profile is repopulated from the same payload instead of being cleared. ## Why it works this way Personal data is treated as one connected identity record rather than independent fields. A conflict on any one field is a signal that the update may be about a different person, so Maestra protects the profile by not silently mixing identities. Aligning your updates with this model — always sending the full known set — keeps customer profiles accurate and complete. # What Is Identifier History Search Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/personal-info-and-identifiers/what-is-identifier-history-search When you merge two customer profiles in Maestra, one identifier stays active and the other moves into history. Identifier history search lets you keep reaching that customer by either identifier — so orders, updates, and other operations from your external systems keep working without changes on your side. ## How it works Identifier history search applies to MaestraID and to unique identifiers, as long as there's no restriction in place that blocks merging customers with different IDs. After two customer profiles are merged, the main identifier of the higher-priority customer becomes the active one. The ID of the lower-priority customer is preserved in history. From that point on, Maestra accepts either identifier — both for passing orders through and for updating customer information. In other words: to your external system, it still looks like two separate customers. Inside Maestra, it's one customer with a single combined profile. ## How MaestraID behaves All MaestraIDs of merged customers are stored in history. Unlike unique identifiers, customer priority does *not* decide which MaestraID stays active after a merge. MaestraID follows its own rules — every MaestraID from the merged profiles is kept and remains searchable through history. ## Example Two customers share the same email address and get merged on that basis. The old identifier doesn't disappear — it's saved in history. Maestra continues to accept operations sent under either identifier and applies them to the same combined customer profile. > [!NOTE] > > Identifier history search is what keeps your integrations stable across merges. If an order comes in with the older identifier after a merge, it still lands on the right customer profile. # Why Were Two Customers Merged Source: https://help.maestra.io/customers-orders-and-products/customers/merging-customers/why-were-customers-merged When Maestra merges two customer profiles into one, it's usually because the system has enough evidence that they belong to the same person. Here are the possible reasons. ## Possible reasons **1. The customer data matched completely** The two profiles shared the same email, phone number, and device. **2. Consistent data came from the same device** Non-conflicting data was entered from one device. For example, a customer first subscribed to web push notifications, then later subscribed to an email campaign from the same browser. Maestra treats this as the same person and merges the profiles. **3. A merge operation was called** The customer merging operation was triggered, and the profiles were force-merged. The higher-priority profile is specified explicitly in the operation call. **4. Manual merge through the admin panel** An operator merged the profiles manually through the web interface of the admin panel. **5. Customers confirmed the same point of contact** Both customers confirmed the same email address or phone number. > [!TIP] > > You can find the reason for a merge on the **Change history** tab of the customer profile. # Field Validation Rules for Customer Data Source: https://help.maestra.io/customers-orders-and-products/customers/personal-data/field-validation-rules Maestra validates every field when data enters the system — from imports, integrations, forms, and API calls. Validation keeps your customer database clean by checking that each value contains only permitted characters and fits within length limits. This page covers the rules for each field type so you know what Maestra will accept and what it will reject. ## How validation works When Maestra receives data for a customer profile, it checks each field against its validation rules. Invalid values aren't saved. In most cases the operation still completes with a warning, and all valid fields on the same record are preserved — only the bad field is dropped. There are a few exceptions where the whole operation fails: * A full name exceeds the character limit. * An enumeration field exceeds its character limit or contains the `|` character. * The only identifier supplied for a customer is invalid (Maestra can't match or create a customer without at least one valid identifier). > [!NOTE] > > Validation rules apply to all entry points — imports, API, integrations, pop-ups, in-app forms, and any other source that writes to a customer profile. ## Full name ### Default: Latin alphabet By default, full name fields accept Latin letters with a small set of allowed punctuation. Regex pattern: `^[A-Za-z][A-Za-z'\- ]*$` Rules: * The first character must be a letter. * Subsequent characters can be letters, apostrophes, hyphens, or spaces. * Each field (first name, last name, middle name) is limited to 100 characters. > [!WARNING] > > If a name exceeds 100 characters, the entire operation fails — Maestra does not truncate the value or save the rest of the record. ### Alternative alphabets You can switch the full name validation to one of several alphabets: English, Belarusian, Kazakh, Kyrgyz, Polish, Ukrainian, or an "any characters" option that supports a broad set of Unicode scripts. The "any characters" option accepts characters from these Unicode blocks: * Arabic * Armenian * Bengali * Cherokee * Cyrillic * Devanagari * Ethiopian * Georgian * Greek * Hebrew * Hiragana * Kannada * Khmer * Malayalam * Mongolian * Myanmar * Tamil * Telugu * Thai * Tibetan * CJK (Chinese, Japanese, Korean) It also allows digits and the following symbols: ``` ` ' ' ' - . ( ) + = ? * / " ! , _ @ № : · ``` > [!WARNING] > > Even with the "any characters" option, a single field cannot mix symbols from different languages. For example, a first name can't contain both Cyrillic and Greek letters. ## Mobile number ### Allowed characters Only digits are stored. Maestra strips parentheses, hyphens, plus signs, and spaces during processing, so customers can enter numbers in any common format and the value will normalize correctly. ### Country codes Mobile numbers must begin with a country code. Both international and domestic prefixes are accepted on input, but the number is always saved in international format. ### Length * US numbers: country code (`1`) plus 10 digits. * Other countries: at least one digit after the country code, with a total length of up to 19 digits. > [!TIP] > > If your number isn't being accepted, check that it includes a valid country code and that the total length (digits only) is between the country code's minimum and 19. ## Email Maestra validates email addresses against a regex that enforces the structure below: * **Before the `@`:** at least one character. Allowed characters are letters, digits, and ``_ - ! # $ % & ' * + / = ? ^ ` { } | ~``. * **After the `@`:** one or more domain groups separated by periods. Each group is 1–63 characters long, and the first and last characters must be a letter or digit. * **Total length:** up to 254 characters. Addresses that don't match this pattern are rejected. ## Gender Gender accepts the following values (case-insensitive): | Male | Female | | - | - | | `male` | `female` | | `m` | `f` | | `m` | `w` | ## Custom fields You can add custom fields to a customer profile. Each custom field has a type, and the type determines its validation rules. ### String / Identifier * Any characters. * Up to 1,000 characters. ### Enumeration * Any characters except `|` (the pipe character is reserved as a value separator). * Up to 250 characters per value. > [!WARNING] > > If an enumeration value exceeds 250 characters or contains a `|`, the entire operation fails. ### Integer * Digits only. * Range: −2,147,483,648 to 2,147,483,647. ### Decimal * Digits with either a period or a comma as the decimal separator. * Up to 16 digits before the separator and 2 digits after. * Range: −9,999,999,999,999,999.99 to 9,999,999,999,999,999.99. ### Boolean Boolean fields accept any of the following (case-insensitive): | True | False | | - | - | | `true` | `false` | | `yes` | `no` | | `1` | `0` | ## Date and date-time Maestra accepts 29 distinct date and date-time formats, including common variants such as: * `dd.MM.yyyy` * `yyyy-MM-dd` * `MM/dd/yyyy` These formats are available with and without optional time components. > [!NOTE] > > If you submit a date-time value to a date-only field, Maestra discards the time portion and stores just the date. ## Validation failures at a glance **1. Invalid value, operation continues** Most invalid values are dropped with a warning. Other valid fields on the same record are saved. **2. Invalid value, operation fails** The operation is rejected outright if a full name exceeds its character limit, an enumeration value exceeds its limit or contains `|`, or the only customer identifier provided is invalid. # How a Customer's Gender Is Determined From Their Name Source: https://help.maestra.io/customers-orders-and-products/customers/personal-data/how-customer-gender-is-determined-from-name When a customer is created or updated with a standard first name or middle name, Maestra automatically detects their gender and writes it to the customer profile. This saves you from collecting the field explicitly and keeps gender-based segmentation and personalization working even when only a name is available. ## When automatic detection runs Maestra fills in the gender field only in specific cases. The rules below decide whether the detected value is written. **1. Trigger** The customer is created or edited **through an import or an operation**. Manual edits to the customer profile do not trigger automatic gender detection. **2. No explicit value** Gender is filled in **only if it isn't explicitly provided** in the same import or operation. If the incoming data includes a gender value that contradicts what the name reference would suggest, the incoming value wins. **3. Overwrite on new name** A previously stored gender **may be overwritten** if the customer's new name appears on the standard list for a different gender. ## How the detection works Maestra matches the customer's first name (and, where applicable, middle name) against a built-in reference list of standard names. Each entry on the list is associated with a gender. If the name matches an entry, the corresponding gender is written to the profile. For example, if a customer is imported with the first name "Alex" and no gender field, Maestra looks "Alex" up in the reference list and records the matching gender. If that same customer is later updated and their first name is changed to a name that the reference list ties to a different gender, the stored value can be overwritten on the next import or operation. > [!NOTE] > > Detection runs on the name as it appears in the incoming data. Non-standard spellings, nicknames, or names that aren't on the reference list won't produce a match, and the gender field will be left empty. ## Priority of data sources When the same import or operation carries both a name and a gender value, the explicit gender value takes priority over anything the name reference would suggest. This protects cases where: * The customer has self-identified a gender that doesn't match their name. * Your source system already stores a verified gender value. * You're importing a corrected value to override an earlier auto-detected one. In short: explicit data from the caller beats reference-based inference. ## When the field stays empty Automatic detection won't fill the gender field if: * The customer is edited manually in the profile UI rather than through an import or operation. * The name on the incoming record isn't on the reference list of standard names. * No first name or middle name is provided at all. In any of those cases, the gender field keeps its previous value (or stays empty if it was never set). > [!TIP] > > If you rely on gender for segmentation or campaigns, audit how names arrive in your imports. Clean, standard first names give the best match rate; nicknames and initials usually won't resolve. # How Customer Names Are Validated Source: https://help.maestra.io/customers-orders-and-products/customers/personal-data/how-customer-names-are-cleaned-up When you collect a customer's name — from a signup form, a checkout, or a CSV import — the data is rarely clean. People type "john," "JON," or "null smith". Maestra automatically cleans up customer names — so you never send "Hey, null!" to a customer. ## What characters are allowed By default, name fields accept: * Letters (A–Z, a–z) — if needed, you can [enable additional alphabets or allow any characters.](/customers-orders-and-products/customers/personal-data/field-validation-rules) * Apostrophes (`'`) — for names like O'Brien * Hyphens (`-`) — for names like Mary-Jane * Spaces > [!WARNING] > > If a value contains characters outside this set (numbers, emojis, symbols) or characters not included in the alphabet used in your project, the field stays empty rather than saving bad data. > [!TIP] > > Each field has a 100-character limit. To learn more about validation rules, see \[[Field Validation Rules for Customer Data](/customers-orders-and-products/customers/personal-data/field-validation-rules)]. ## Two ways to send a name ### Option 1 — Send the parts separately Pass `FirstName` and `LastName` as individual fields. Maestra stores exactly what you send, with no parsing. ```json theme={null} { "firstName": "Sarah", "lastName": "Thompson" } ``` Use this when your form already splits the name into separate inputs. It's the most reliable option. ### Option 2 — Send a single full-name string Pass the whole name in one `FullName` field. Maestra splits it into first and last automatically by checking the first word against its name dictionary. ```json theme={null} { "fullName": "Sarah Thompson" } ``` Use this when your source system only stores one combined name field. > [!TIP] > > If a name is sent in lowercase, the first letter is automatically capitalized. > [!WARNING] > > If a name in the **FullName** field isn't recognized as a standard name, it won't be split — the entire value will be written to FirstName (e.g., "Jaxon Miller" → FirstName = "Jaxon Miller", LastName = empty). ## Standard vs. non-standard names Maestra keeps a dictionary of common names (rare, uncommon, or specific names and nicknames may not be included). When a name matches the dictionary, it's marked as **standard**. This matters when you pick a personalization variable in a template: * **`Recipient.FirstName`** — uses whatever is on file, standard or not. Best for maximum reach. * `Recipient.OnlyStandardFirstName` — only fills in if the name is standard. Best when you'd rather show a generic greeting than risk sending "Hi null" to subscribers with junk data. When using built-in personalization variables, the new builder automatically checks if the name is standard. # How a Customer's Time Zone Is Determined Source: https://help.maestra.io/customers-orders-and-products/customers/personal-data/how-customer-timezone-is-determined Time zone is one of the basic fields on a customer profile. Having it lets you personalize communications — sending campaigns that land at the right local time for each recipient. ## How the time zone is determined Maestra picks the customer's time zone from the following sources, listed from highest priority to lowest: **1. Explicit transmission via an operation or import** A time zone passed in directly through an API operation or a data import. **2. Mobile app tracker** Time zone reported by the mobile app tracker. **3. JS tracker (device system time)** Time zone inferred by the JS tracker from the device's system time. **4. Customer zone** The time zone configured for the customer's zone, if one is set for that zone. **5. Mobile number code** Time zone derived from the country code of the customer's mobile phone number. Higher-priority sources always override lower-priority ones. > [!NOTE] > > Example: a customer has a time zone filled in based on their zone. They then visit your site, and the device's local time differs from what's in the profile. The time zone on the profile will change, because tracker data is higher priority than the customer's zone. ## Related * Best time to send email and SMS campaigns — based on campaign performance data from 60 Maestra customers. # Double Opt-In: How Two-Step Subscription Works Source: https://help.maestra.io/customers-orders-and-products/customers/subscriptions/double-opt-in-how-two-step-subscription-works Double opt-in (DOI) is a two-step subscription confirmation flow for your email marketing program. With DOI turned on, new subscribers don't receive your campaigns until they click a confirmation link in a dedicated opt-in email. This guide explains how DOI works in Maestra, how to switch it on, how subscription statuses change once DOI is active, how to build a welcome flow around it, and how to turn DOI off again. > [!NOTE] > > Double opt-in is widely considered a best practice for email deliverability and US anti-spam compliance (CAN-SPAM, CCPA-aligned consent records). It proves the subscriber actually owns the address they gave you and protects your sending reputation from typos, bots, and spam traps. ## What double opt-in is Double opt-in means a customer does not start receiving your campaigns until they explicitly confirm their subscription by clicking the link in the opt-in email you send them. Until they click that link, their subscription stays in the **Requires confirmation** status. Once they click, the status flips to **Subscribed** and regular campaigns start flowing. Two concepts are related but distinct in Maestra: * **Subscription confirmation (DOI)** — the customer's consent to receive campaigns in a given channel. It's tied to the channel (and optionally topic). * **Contact confirmation** — proof that a specific email address or phone number belongs to a specific customer. It's tied to the contact itself, not to a channel. You can confirm both in a single click by attaching an email-confirmation ticket to your opt-in link (see step 4 below). ## Turn on double opt-in **1. Open email settings** Go to **Settings → Campaigns → Email settings**. **2. Enable subscription confirmation** Check the **Subscription confirmation** box and save. **3. Create the opt-in campaign** Create the campaign that the workflow will send. In the campaign settings, the **Subscription confirmation** profile must be selected. Then, in the template, mark the relevant link as the confirmation link for the channel or topic. > [!TIP] > > There's a second approach if you also want to confirm the contact (email address) at the same time. In the template, add an email-confirmation ticket to the link: > > ``` > ?direct-crm-ticket=${Ticket.EmailConfirmationLinkTicket} > ``` > > The ticket only subscribes customers whose subscription status is **Requires confirmation**. If the customer was already **Unsubscribed**, clicking the ticketed link does not change their subscription. **4. Build the flow** Create a flow with the trigger **Subscription status changed to "Requires confirmation"** in the email channel. Specify a topic only if you want confirmation for a specific topic. For channel-level confirmation, leave the topic empty. In the **Steps** block, choose **Send email** and pick the opt-in campaign you built in the previous step. **5. Build a confirmation landing page** On your site, add a dedicated page with the main tracker code installed. This is the page customers land on after clicking the confirmation link — typically a short "Your email is confirmed" message and a button back to the store. > [!WARNING] > > Switching the project to double opt-in does **not** change the subscription status of customers who are already in your database. DOI applies to subscriptions created or changed after the switch. ## How email subscriptions change once DOI is on With DOI active, a customer's email subscription can be in one of four statuses: **Subscribed**, **Unsubscribed**, **Requires confirmation**, or **No data**. How an incoming change is interpreted depends on which channel of data delivery it came through. ### API operations **Register** — creates a new customer. You can't pass an unsubscribe here, only brand, channel, and topic. * Any status → **Requires confirmation** **Create and subscribe to campaigns** — always creates a new customer. If the customer already exists, a merge happens and the subscription follows the merge rules. * Any status → **Requires confirmation** **Import** — depends on what you pass in `/customer/subscriptions/subscription/isSubscribed`: * `true` → **Subscribed** * `false` → **Unsubscribed** * No subscription block → **No data** **Customer — Authorized — Edit** — only works on customers that already exist: * `true` → **Subscribed** * `false` → **Unsubscribed** **Customer — Authorized — Append** and **Customer — Unauthorized — Register or Append** — you can't pass an unsubscribe here: * Any status → **Requires confirmation** ### File import **Customer import** — if the customer is new, you can add a subscription in any status, or skip subscription entirely (status will be **No data**). If the customer already exists, you can move them from any status to **Subscribed** (`true`), **Unsubscribed** (`false`), or **Requires confirmation** (`WaitingForConfirmation`). You can't move a customer back to **No data**. **Data edit import** — you can move any customer from any status to **Subscribed**, **Unsubscribed**, or **Requires confirmation**. You can't move back to **No data**. For bulk subscribe/unsubscribe, follow the mass subscription guide. ### Flows When a flow edits a customer, the system automatically logs an action *"Customer edit in flow block 'Flow name' — 'Step description'"*. Subscribing to the email channel is not available inside flows. You can only unsubscribe a customer or move them to **Requires confirmation**. | Flow type | Before → After | | - | - | | Flow requiring confirmation | Any status → **Requires confirmation** | | Flow with unsubscribe | Any status → **Unsubscribed** | ### Polls **Poll with subscription:** | Before | After | | - | - | | Subscribed | Subscribed | | Unsubscribed | Requires confirmation | | Requires confirmation | Requires confirmation | | No data | Requires confirmation | **Poll with unsubscribe:** * Any status → **Unsubscribed** ### Branded unsubscribe page When the customer ticks a topic checkbox and saves: * Any status → **Subscribed** When the customer unchecks a topic or unsubscribes from everything: * Any status → **Unsubscribed** ### Manual change in the customer card You can move a customer from any status to **Subscribed**, **Unsubscribed**, or **Requires confirmation**. You can't move back to **No data**. ## Welcome flow with subscription confirmation A typical DOI welcome program has two trigger events — a new customer landing in your database, and a customer confirming their subscription. Build a separate flow for each. Before you start, prepare your campaigns: * An automated opt-in campaign for the confirmation request and the reminder (both must use the **opt-in** profile). * An automated welcome campaign that goes out after confirmation (standard profile). * Configure the confirmation link setting on the relevant links so a click confirms the subscription. ### Flow 1 — request subscription confirmation **1. Set the trigger** Trigger on a subscription change — specifically, when the customer enters the **Requires confirmation** status in the email channel. **What counts as entering this status:** * Status became "Requires confirmation," including implicitly. * Status went straight to "Requires confirmation." * Customer appeared already in this status. * Status returned to "Requires confirmation." **What does not count:** * An implicit "Requires confirmation" became explicit. * After a merge, the primary customer ended up in this status. Depending on your business case, other valid triggers include action issued with templates from specific operations, customer registered, or new customer. **2. Limit re-entry** In the start block, limit the flow to one trigger per customer. **3. Check the contact** Verify that the contact exists and is valid. You don't need to check the subscription status here — the trigger event already guarantees it. If you use a different trigger, add a filter for **Subscription — Requires confirmation in the Email channel**. **4. Send the confirmation email** Send the opt-in campaign you prepared. **5. Wait 24 hours** Add a one-day wait step. **6. Send a reminder if still unconfirmed** If the subscription is still in **Requires confirmation**, send the reminder campaign. ### Flow 2 — welcome email after confirmation When the customer clicks the confirmation link, the system automatically issues an action *"Customer subscription to channel"* (or *"Customer subscription to topic"* if the link is topic-scoped). Trigger this flow on that action. **1. Trigger and limit** Trigger on the subscription action and limit to one run per customer. **2. Check the click and the contact** Verify there was a click in the campaign and that the customer is subscribed with a valid contact. If you only have one confirmation flow, you can skip the extra checks. But if you run multiple confirmation campaigns — for example, separate flows for different topics — these checks matter, because the same action template is issued in every case. **3. Send the welcome email** A few ideas for the welcome email: * Recommend popular products, or browsed products if you have them. * Offer a promo code or loyalty points as a thank-you for subscribing. Useful campaign parameters: * Recommendations — `Recipient.Recommendations.{algorithm name}`. * Promo code — `Recipient.LastReceivedPromoCode.WithType{pool name}.Value`. * Point expiration date — use `AddDays` to add the relevant number of days to `Message.SendingDateTime`. Use A/B testing to compare variants and pick the best performer. ## Turn off double opt-in If you need to disable subscription confirmation, do this in order: **1. Remove opt-in campaigns** DOI can't be turned off while opt-in campaigns are still active. Find and remove or reconfigure them. Use the event log filter to find campaigns with the opt-in profile. Switch the profile to anything that does not include **Send only to customers awaiting subscription confirmation** — for example, the **Standard** profile. If a campaign can't be edited, delete it. > [!NOTE] > > For multi-brand projects: only remove opt-in campaigns in the brand where you're turning DOI off. **2. Disable confirmation** Go to **Settings → Campaigns → Email settings** and uncheck **Subscription confirmation**. > [!WARNING] > > Customers who used to land in your database with **Requires confirmation** status will now arrive as **Subscribed** and start receiving campaigns immediately. **3. Subscribe existing customers if needed** Turning DOI off does **not** automatically subscribe customers who are already sitting in **Requires confirmation**. To move them to **Subscribed**, edit them using a data edit import. # How Customer Subscriptions Work Source: https://help.maestra.io/customers-orders-and-products/customers/subscriptions/how-customer-subscriptions-work Subscriptions let you control who hears from you, on which channels, and about what. This article walks through how Maestra models customer subscriptions, the states a subscription can be in, how filters work, and how all of it ties into the campaigns you send. ## The building blocks Maestra's subscription system is built around three concepts: * **Communication channel (point of contact)** — the channel you can reach a customer on, like email, SMS, Viber, mobile push, or web push. * **Mailing topic** — the category of content a customer can subscribe to or unsubscribe from (for example, weekly digests, product updates, or promotions). * **Opt-in confirmation** — the option to send introductory emails to people who haven't yet explicitly said they want to receive your campaigns. For each customer, Maestra stores both global subscription states (for the brand overall and for each channel within the brand) and per-topic states on each channel. That granularity lets you communicate more precisely. > [!NOTE] > > A customer can be subscribed to a channel but unsubscribed from some of its topics. In that case, they'll only receive campaigns for the topics they still want. ## Subscription states A customer's subscription can be in one of four states: * **Subscribed** — the customer has agreed to receive marketing campaigns. * **Unsubscribed** — the customer has opted out. * **Requires confirmation** — the subscription status is unclear, and you can send an opt-in campaign to confirm it. This state appears when the **Subscription confirmation** setting is turned on. * **No data** — there's no information about the subscription state. ## Explicit and implicit subscriptions If a subscription was set directly on a specific channel or topic, it's considered **explicit**. If it was calculated automatically based on a subscription at a higher level (for example, a brand-level subscription propagating down to a channel), it's considered **implicit**. The Maestra UI labels these subscriptions accordingly. The type of subscription affects how it changes when the customer's status is updated. ## Filtering customers by subscription To pull customers by their subscription state, use the subscription filter. The filter mirrors the subscription tree: you can narrow down by channel, topic, and — on multi-brand projects — by brand. A few things to know about the filter: * To check the **global** subscription, set the filter without specifying any channels. * To check the **channel-level** subscription, set the filter without specifying any topics. * **"Subscribed to anything"** means the customer is subscribed to the selected channel or to at least one topic within it. * You can search specifically for customers with **no subscription data at all** in the brand. > [!TIP] > > Need to find customers with no data on a specific topic? Build a segment that includes everyone who *does* have data for that topic, then exclude that segment from your audience. ## How subscriptions apply to campaigns In standard campaigns, recipients must be subscribed to the campaign's channel — and to the selected topic, if one is set. For example, a campaign sent to the **Digests** topic in the **Email** channel will only go to customers who are subscribed to digests on email. A few exceptions to keep in mind: * **Transactional automated campaigns ignore subscription state.** This profile is meant for messages a customer must receive — like a pickup-ready notification for an order — not for promotional content. * **Opt-in confirmation campaigns** are sent to customers whose subscription state is **Requires confirmation**. > [!WARNING] > > Always follow applicable privacy laws (such as GDPR and CCPA) when collecting and processing subscription data. Use transactional campaigns only for genuinely transactional messages — sending marketing content through that profile can violate consent requirements. # How to Bulk Subscribe or Unsubscribe Customers Source: https://help.maestra.io/customers-orders-and-products/customers/subscriptions/how-to-bulk-subscribe-or-unsubscribe-customers Use customer import to subscribe or unsubscribe many customers at once instead of editing profiles one by one. This is the right approach when you need to update subscription status for a list of customers you already have, sync consent records from another system, or push a segment of customers into a new topic. > [!NOTE] > > This guide also covers subscribing or unsubscribing customers selected by filter. To get the identifiers you need, build a filter on the Customers page and export the results first, then use that file as the basis for your import. ## Before you start You'll need a file that contains: * **At least one identifier column** for each customer: `Email`, `MobilePhone`, your external system ID, or `MaestraID`. * **One or more subscription columns** for the channels or topics you want to change. Use `true` to subscribe a customer and `false` to unsubscribe them. Leave a cell blank if you don't want to change that subscription for that customer. > [!WARNING] > > Subscribing customers in bulk only makes sense if you have a lawful basis for sending to them — express consent collected at signup, a pre-existing business relationship, or another basis that meets US email regulations like CAN-SPAM and applicable state privacy laws (for example, CCPA in California). Don't import addresses you scraped or purchased. ## Run the import **1. Open the import tool** Go to the **Customers** tab and choose **Import** → **Import customers**. **2. Choose the operation** Select **Edit customers** as the operation type. On this screen Maestra shows every field you can use, with descriptions and whether each one is required. You can also download a template file with example rows — start from that template if you're not sure how to format your data. **3. Prepare your file** Keep only the columns you need: * An identifier column (`Email`, `MobilePhone`, external ID, or `MaestraID`). * The subscription columns you want to update. For example, if you want to subscribe customers to the Email channel, to the **News** topic inside Email, and to the SMS channel, your file needs three subscription columns with `true` or `false` values alongside the identifier column. **4. Upload the file and create the task** Upload your file and create the import task. Maestra returns a link to the task so you can track progress and confirm when it's finished. **5. Verify the changes** Once the task completes, open any customer that was in the file. The subscription update is recorded under the **Change history** tab, and an action is written to the customer's timeline documenting the change. ## Optional fields for finer control You can override Maestra's defaults by adding any of the columns below. Set the value globally in your import settings, or set it per customer by including the column in your file. | Column | What it controls | | - | - | | `LastUpdateActionTemplate` | The action template recorded against each customer. Use the system name of the template. Only templates in the **Personal action** category are supported. | | `LastUpdatePointOfContact` | The point of contact attributed to each subscription change. Use the external ID of the contact point. To use this column, turn off automatic point-of-contact detection in the import settings. | | `LastUpdateDateTime` | The timestamp recorded on the action. If you don't include this column, Maestra uses the time the import task ran. | > [!TIP] > > The point-of-contact column is useful when you're backfilling consent collected on a specific landing page, store location, or campaign — set the column so the action is attributed to that source instead of "import." ## Add customers to a segment during import You can drop everyone in the file into a static segment at the same time. In the import settings, either pick an existing static segment or create a new one. Maestra adds every customer in the file to that segment as the task runs, so you can target them in a campaign right away. ## What happens after the import * Each subscription change is logged on the customer's **Change history** tab. * An action is added to the customer's timeline so you have a record of the subscription update, when it happened, and which point of contact it came from. * Customers who didn't exist in Maestra yet are created from the identifier column, and their subscription state is set in the same task. > [!NOTE] > > Maestra processes the file as a whole task. If some rows fail validation (for example, a malformed email), the rest of the file still imports, and the task report tells you which rows were skipped and why. # How to Subscribe or Unsubscribe a Customer in Their Profile Source: https://help.maestra.io/customers-orders-and-products/customers/subscriptions/how-to-subscribe-or-unsubscribe-a-customer-in-their-profile You can manually subscribe or unsubscribe a customer to any topic or channel directly from their profile in Maestra. This is useful when a customer asks a support agent to update their preferences, or when you need to fix a subscription state for a specific person. > [!NOTE] > > If you need to update subscriptions for many customers at once, use a bulk subscribe/unsubscribe import instead of editing profiles one by one. ## Update a customer's subscriptions **1. Open the Customers section** Go to **Customers** in the main menu. **2. Find the customer** Search for the customer you want to subscribe or unsubscribe. Apply filters if you need to narrow down the list. Click the customer's name to open their profile. **3. Switch to edit mode** Click **Edit** at the top of the profile. **4. Update the subscriptions block** Scroll to the subscriptions block and change the value in the fields you need. For example, you can subscribe the customer to promotions and unsubscribe them from the digest in the Email channel at the same time. Then click **Save**. ## What happens after you save * The customer now has an explicit subscribe or unsubscribe state for each topic you changed. * The change is recorded in the customer's history, so you can always see who edited the subscriptions and when. > [!TIP] > > Explicit consent matters for compliance with privacy laws like GDPR and the CCPA. Recording subscription changes in the customer's history gives you an audit trail you can refer back to if a customer ever disputes how they were contacted. # How Topic Subscriptions Change When a Customer's Channel Data Is Updated Source: https://help.maestra.io/customers-orders-and-products/customers/subscriptions/how-topic-subscriptions-change-when-channel-data-is-updated In Maestra, every customer has subscription data at two levels: the **channel** (such as email or SMS) and the **topics** within that channel (for example, promotions, news, or order updates). Topic subscriptions can be set directly, or they can be inherited from the channel they belong to. This article explains how topic subscriptions behave when you change channel-level data through different mechanisms. ## Subscription types Maestra distinguishes three states for any channel or topic: | State | What it means | | - | - | | **Explicit** | The subscription value was set directly for this channel or topic. | | **Implicit** | No direct value exists for the topic, so it inherits the value from its parent channel. | | **No data** | No subscription information has been received at any level. | A simple rule of thumb: if the subscription value arrived directly for the channel or topic, it is **explicit**. If the topic has no value of its own and only mirrors the channel, it is **implicit**. > [!NOTE] > > Explicit and implicit subscriptions are treated identically for campaigns, segments, filters, and workflows. An implicit subscription is just as valid for sending as an explicit one — and an implicit unsubscribe will stop sends just like an explicit unsubscribe. ## How updates propagate by mechanism The same channel-level change can produce different results depending on how it reaches Maestra. The sections below walk through each mechanism. ### File import (bulk upload) When you subscribe a customer to a channel by importing a file: * The **channel** is marked as an **explicit** subscription. * Every **topic** under that channel becomes an **implicit** subscription, inheriting the channel's value. When you unsubscribe the customer from the channel through the same import: * The **channel** is marked as an **explicit** unsubscribe. * Every **topic** under that channel becomes an **implicit** unsubscribe. If a topic already has an **explicit** value, the file import does not overwrite it. Only implicit topics follow the channel. ### Workflows Workflows can change subscription status as part of an automated scenario (for example, after a customer completes a form or hits a trigger). * Channel-level subscribe and unsubscribe actions behave the same way as a file import: the channel becomes **explicit**, and topics that had no explicit value become **implicit** with the new channel value. * Not every channel supports every action in workflows. Where the action is available, the explicit/implicit rules above apply. * Explicit topic subscriptions are preserved and are not rewritten by a channel-level workflow step. ### Unsubscribe from a campaign When a customer unsubscribes through a link in one of your campaigns (or marks the message as spam), the result depends on which link they used: * **Channel unsubscribe link** — creates an **explicit** unsubscribe on the channel. All topics that did not have an explicit value become **implicit** unsubscribes. * **Topic unsubscribe link** — creates an **explicit** unsubscribe on that specific topic only. The channel and other topics are not changed. > [!TIP] > > Use topic-level unsubscribe links when you want to let customers opt out of a single content stream (for example, promotions) without losing them on transactional or service topics. ### API operations API calls that update subscription data follow the same explicit/implicit logic as a file import, with one important difference: > [!WARNING] > > If a customer already has an **explicit** subscription on a channel, a new subscribe request through the API will **not** overwrite the existing data. This protects customers who have already made an explicit decision (for example, an explicit unsubscribe) from being silently re-subscribed by an automated API call. For unsubscribe requests, the API writes an explicit channel unsubscribe and turns inheriting topics into implicit unsubscribes, the same as the other mechanisms. ### Manual editing in the admin panel When a Maestra user edits a customer's channel subscription directly from the customer card: * The channel value is updated to **explicit**. * Topics that were **implicit** inherit the channel's new value (they remain implicit, with the updated state). * Topics that were **explicit** keep their existing value. Manual channel edits never overwrite explicit topic data. ## Adding new topics to a project When you add a new topic to a channel that already has customer data: * Every existing customer receives an **implicit** subscription value for the new topic, matching their current channel state. * If a customer is explicitly subscribed to the channel, they will be implicitly subscribed to the new topic. * If a customer is explicitly unsubscribed from the channel, they will be implicitly unsubscribed from the new topic. This means a new topic immediately reflects each customer's existing channel preference — no backfill is required. ## Change history The customer's change history records only **explicit** changes. Implicit updates — for example, a topic flipping because the parent channel was changed — do not appear as separate events in the history. To trace why a customer's effective subscription on a topic shifted, look at the most recent explicit change on the parent channel. ## Effect on campaigns, segments, and filters For the purpose of deciding whether to send a message: * An **implicit subscribe** lets the customer receive campaigns just like an explicit subscribe. * An **implicit unsubscribe** blocks sends just like an explicit unsubscribe. When you build a segment or filter on "subscribed to topic X," both explicit and implicit subscribers are included. The same applies in reverse for unsubscribed audiences. There is no separate filter that targets only explicit or only implicit subscribers — Maestra evaluates the effective state. > [!NOTE] > > Because implicit topic data follows the channel, the cleanest way to manage broad opt-ins and opt-outs is at the channel level. Use explicit topic edits only when a customer's preference for a single topic should differ from their overall channel preference. ## Quick reference | Mechanism | Channel result | Topic result (no prior explicit value) | Topic result (prior explicit value) | | - | - | - | - | | File import | Explicit | Implicit, inherits channel | Unchanged | | Workflow | Explicit | Implicit, inherits channel | Unchanged | | Campaign channel unsubscribe | Explicit unsubscribe | Implicit unsubscribe | Unchanged | | Campaign topic unsubscribe | Unchanged | Explicit unsubscribe on that topic only | Explicit unsubscribe on that topic only | | API subscribe | Explicit (skipped if already explicit) | Implicit, inherits channel | Unchanged | | API unsubscribe | Explicit unsubscribe | Implicit unsubscribe | Unchanged | | Manual edit in admin panel | Explicit | Implicit, inherits channel | Unchanged | | New topic added to channel | n/a | Implicit, inherits current channel state | n/a | # Who is a Customer? Source: https://help.maestra.io/customers-orders-and-products/customers/who-is-a-customer A customer in Maestra is any of your customers that we can identify — whether they've placed an order, signed up for a newsletter, or just installed your app. Once a customer lands in your project, Maestra builds them a single profile that tracks who they are, how they engage, and what they've done across every channel. ## What makes someone a customer Every customer needs at least one **unique contact detail or ID**. Any of the following will do: * Email address * Mobile phone number * Discount card number * External ID — an ID from your own system (requires a [custom field](/api-integrations/how-to-create-a-custom-field) with field type **Unique ID** and entity **Customer**) * Mobile app install * Mobile push device On top of that, Maestra automatically assigns every customer a **Maestra ID** so you always have a stable internal reference. ## Finding customer profiles Go to **Customer data platform** → **Customers** to browse every profile in your project. ![All customers list](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_whois.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=3529377dbf50e53e9154417e99779138) Click any name to open that customer's profile. ![Customer profile entry](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_whois.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=decc56275163b442120431c13c807297) ## Navigating the customer profile ![2026 05 07 22 55 30](https://mintcdn.com/maestraio/cjY4riRVnKa6YI10/images/2026-05-07-22.55.30.png?fit=max\&auto=format\&n=cjY4riRVnKa6YI10\&q=85\&s=355e8230619143399fe0508536054c1c) ### Main section The main section is stacked top to bottom: * Top — core contact and personal info: **email, mobile phone, birthdate, gender, area, and time zone**. * Middle — **IDs and discount cards**, plus an **ID Changelog** with the full history of identifier updates. To the left, an authentication token — click it to copy the customer's auth token to your clipboard. * Bottom — the **registration date** and **purchase data**. Click the registration date to jump straight to that moment in the activity feed. For [multi-brand](/administration/multibrand) projects, the customer's first registration date and the brand they signed up under are shown here as well. **Purchase data** The profile shows three top-line numbers calculated from the customer's lifetime orders: * **Order count** — how many orders this customer has placed. * **Average order value** — total order revenue divided by order count. * **Total spend** — lifetime revenue from this customer. If you have [RFM segmentation](https://help.maestra.io/segments/how-does-rfm-segmentation-work) set up, the customer's RFM segment is shown alongside it. > [!NOTE] > > **A few things worth knowing about purchase data:** > > * Only orders that fall into the **Placed**, **Paid**, or **Delivered** order status categories are counted. Deleted orders are excluded. > * Both average order value and total spend are calculated **after** discounts are applied. > * Values can be copied to the clipboard with the **Copy** button. Without the **View and edit personal data** permission, the copied values come through masked. > * Purchase data isn't included in customer exports. Below the main section, you'll find a row of tabs with a deeper view of the customer — their activity, the segments they belong to, their subscriptions, and other data tied to the profile: [Activity feed](#activity-feed), [Subscriptions](#subscriptions), [Segments](#segments), [Profile changelog](#profile-changelog), [Custom fields](#custom-fields), and [Product lists](#product-lists). The customer's devices live in a separate panel on the right side of the profile. ### Devices The **Devices** section gives you a full picture of every device this customer has used to connect with your brand — across apps, browsers, and customers with shared devices. **Mobile apps** ![Mobile app installs](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_whois.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=6d71c38f5e44b2adc6198bbbebf30dd1) **Browsers** ![Web push browsers](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_whois.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=e9eeeca351d841b17dbd77fffc026487) **Customers with shared devices** — other customers who've signed in on the same device or app: ![Customers sharing a device](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/customer_05.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=3b3ab8ad9639af79eeae6f90b9164742) ### Activity feed The Activity feed has two tabs: **All activity** and **Bonus points**. **All activity** A timeline of everything that's happened with this customer: their own [actions](/customers-orders-and-products/actions/what-is-an-action), anything done on their profile, campaigns sent to them, and personal data updates. ![Customer activity feed](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_whois.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=8591a072bf20d8d29aa120fd7d044581) Filter by date range or activity type to zero in on what you're looking for. ![1234](https://mintcdn.com/maestraio/1qFdoqKq78TbmYMY/images/1234.png?fit=max\&auto=format\&n=1qFdoqKq78TbmYMY\&q=85\&s=30f373b208ee6bc9d21f11e5220388cd) **Bonus points** The customer's current points balance and the full ledger of changes across every bonus account, with the reason for each accrual or deduction. ![Bonus points and rewards](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/customer_07.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=5f873caed22decd2b431ec674e3fb289) ### Subscriptions The customer's [opt-in status](/customers-orders-and-products/customers/subscriptions/how-customer-subscriptions-work) across every channel and topic. ![Subscription statuses](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/customer_08.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=c98dc4ae66d1de1533619bc872bd3fb9) ### Segments * **Current Segments** — every [segment](/segments/types-of-customer-segments) (both Scheduled and Static) the customer belongs to right now, along with the date they entered it. ![Current segments](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/customer_09.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=565df2d1c98bfc9669d510ccc07aebe8) * **Segment history** — when and why the customer entered or left each segment, with the relevant Maestra ID and any merge events flagged. If the profile has been merged with others, you'll see the full segmentation history of every merged customer. ![2026 05 07 22 28 43 1](https://mintcdn.com/maestraio/1qFdoqKq78TbmYMY/images/2026-05-07-22.28.43-1.png?fit=max\&auto=format\&n=1qFdoqKq78TbmYMY\&q=85\&s=4ea7cbd4de01cd5d4a78fcef59c75110) ### Profile changelog Every change to the customer's personal info — email, area, custom fields, and more, including profile merges. For each entry you'll see what changed, when, at which touchpoint, who made the change, and the details of the change itself. Filter by date range to narrow it down. ![Profile changelog](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_whois.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=19aaee6c690921e94ef397a0c60675e7) ### Custom fields All [custom](/api-integrations/how-to-create-a-custom-field) and [computed fields](/api-integrations/computed-fields) stored on this customer profile. ![2026 05 07 22 35 46](https://mintcdn.com/maestraio/1qFdoqKq78TbmYMY/images/2026-05-07-22.35.46.png?fit=max\&auto=format\&n=1qFdoqKq78TbmYMY\&q=85\&s=774d341083997b31bc87e1bda606b190) ### Product lists Every product the customer has added to their product lists — favorites, wishlists, and any custom lists you've defined. ![— 2026 05 07 2 39 00](https://mintcdn.com/maestraio/1qFdoqKq78TbmYMY/images/-%E2%80%94-2026-05-07-2.39.00.png?fit=max\&auto=format\&n=1qFdoqKq78TbmYMY\&q=85\&s=73115c63e90107c51f7c6bcb18cebcda) ## What you can do from a customer profile From any profile, you can: * [Edit customer details](/customers-orders-and-products/customers/add-edit-export-delete/how-to-edit-customer-data-in-the-profile) * [Update subscriptions](/customers-orders-and-products/customers/subscriptions/how-to-subscribe-or-unsubscribe-a-customer-in-their-profile) * Issue actions ## Adding customers to your project There are four ways to get customers into Maestra: * [Manually](/customers-orders-and-products/customers/how-to-add-a-customer-manually-via-the-user-interface), one at a time * [Bulk import from a file](/customers-orders-and-products/customers/how-to-bulk-import-customers-from-a-file) * Import from an FTP server * Via [API](https://developers.maestra.io/docs/bulk-import-of-customers) # How to Set Up Data Export for Analytics Source: https://help.maestra.io/customers-orders-and-products/data-export/how-to-set-up-data-export-for-analytics ## What data can you export? With the integration, you can access your project data instantly. Read large data volumes fast and securely! **Data for the following entities are available for export** : * Balance changes events; * Bonus Promoactions; * The relationship between point redemptions and accruals; * Points Balances; * Orders and order items; * Order Line statuses; * Touchpoints; * Campaigns; * Subscription topics; * Tags; * Tags in campaigns; * Folders; * Campaign engagement; * Customer merges; * A/B tests; * A/B test variants; * A/B test participants; * Segmentations and segments; * Customer segment history; * External customer IDs history; * Custom fields > [!TIP] > > The types of export data will be expanded. Follow the updates! ## Integration specifics and limitations * You can create no more than one integration. * Analytics data are refreshed daily. Covers all changes up to midnight UTC; available by 04:00 UTC. * Analytics data contain auto deleted data but no manually deleted data. * Analytics data are 99% accurate. This means that at least 99% of the data you see on the Maestra admin dashboard are available for export. ## How to create an integration To create a new endpoint, go to the Integrations section and click "Create Integration": ![01.png](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01-281-29.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=a8b58b387f8c962abbca3544145213ad) Select the "Data for analytics" preset: ![01\_SetUpDataExport](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_SetUpDataExport.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=d55c1c3c4cbbb3690d154d89cf609ef9) After these steps are completed, your data will be immediately available by the URL specified in the "Data Storage URL" parameter. To access your data, you will need the data specified in the "Secret Key" parameter. ![02.png](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/02-281-29.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=50bddee621f155143287e3f24e20ef01) You can find the data reading API and the reading script example in the articles on [How to Read Your Data](https://developers.maestra.io/docs/how-to-read-your-data) and [How to Update Your Data Regularly](https://developers.maestra.io/docs/how-to-update-data-periodically). # How Sending to the Contact from an Order Works Source: https://help.maestra.io/customers-orders-and-products/orders/how-sending-to-the-contact-from-an-order-works Sometimes the person who places an order isn't the one receiving it — it's a gift, or it was simply easier to pay from someone else's account. In that case, you can pass the recipient's phone number when the order is placed, then set up the flow to send the message to that number. ## How it works * The message goes to the number from the order, even if that number isn't in your database. * No new customer is created. The action is issued to the customer who placed the order, and the recipient's number shows up in the campaign details. * The recipient's data is never used to update an existing customer. When the flow is set to send to the contact from the order, but the order doesn't include that contact, the message goes to the customer's primary contacts instead. ## Mobile push specifics * The recipient must already be in your Maestra Platform database. * Pass the recipient's mobile phone number in the order. Maestra Platform uses it to find their customer profile, checks whether they have the app installed, and sends the push with the order details to the app. # How to Add a Payment Method Source: https://help.maestra.io/customers-orders-and-products/orders/order-settings/how-to-add-a-payment-method Customers can pay for an order in different ways — cash, credit or debit card, and so on. You can record these payment methods in Maestra Platform and pass them along with your order data. **1. Go to Settings → Products and orders → Payment methods and click Add** **2. Fill in the fields** * **Name** — the payment method name shown in the list. * **External ID** — the payment method's ID in your external system. It's how the payment method is written in your integrations. **3. Click Create to save the payment method** # How to Add an Order Line Status Source: https://help.maestra.io/customers-orders-and-products/orders/order-settings/how-to-add-an-order-line-status Each company defines its own order line statuses to match how its business works. Here's how to add a new one. **1. Go to Settings → Products and orders → Order line statuses and click Create** **2. Fill in the fields** * **Status name** — the name of the new status. * **External ID** — the status's ID in your external system. It's how the order line status is written in your integrations. * **Category** — the group of statuses this one belongs to. **3. Click Create to save the status** ## How order categories work Every order status goes into one of five standard categories: **Delivered**, **Canceled**, **Returned**, **Placed**, or **Paid**. Categories drive the automatic order total. Say you import an order without a total, and it has three lines: two in the **Delivered** category and one in **Returned**. Maestra Platform calculates the total by adding up only the delivered lines. The right category matters for event-based flows too. For example, a flow that fires when an item in an order is delivered starts once an order line moves to any status in the **Delivered** category. # What is an Order? Source: https://help.maestra.io/customers-orders-and-products/orders/what-is-an-order In Maestra Platform, an **order** is a set of actions that track every status change of the products in it, like **Placed** → **Paid** → **Delivered**. Each product in an order is a **line item** with its own quantity and status. Line items can all share the same status, or they can differ: one item is delivered while another is canceled. > [!NOTE] > > Every order needs an external ID, stored in a [custom field](/api-integrations/how-to-create-a-custom-field) of type **External ID** on the **Order** entity. Your Maestra manager usually sets it up during integration. > > Maestra Platform also automatically generates a **Maestra Order ID** for every order. Let’s take a look at a sample order. **1. The order is created** The first action of this order is **Order creation**: ![00\_orderNew(1)](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_orderNew-281-29.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=a985bb13a5de131719118f27b319e320) **Line items**: * Aqua Professional Suit with the **Placed** status at \$2,000; * Sunset Orange Professional Suit with the **Placed** status at \$1,500. A \$20 discount was applied to the order. This makes **the total cost**: \$3,480. > [!TIP] > > To filter orders by date, use the [date of the first action](/filters/filtering-by-orders/how-the-order-first-action-filter-works) — every order has one. **2. The line items are delivered** Once the line items are paid for, their status changes to **Delivered**: ![01\_orderNew](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_orderNew.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=459b3a0ee077591db67761bf6ef55a31) ## How to see an order's full history Want to see every status an order has gone through? Go to **Customer Data Platform → Actions** and filter by the order ID: ![02\_orderNew](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_orderNew.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=97ee306fa57bdc367a329e134f4743ae) You can also get the same filter from any action in that order. # How to Set Up a Product Feed Import Source: https://help.maestra.io/customers-orders-and-products/products/how-to-set-up-a-product-feed-import > [!NOTE] > > Since August 2025, the system no longer creates bulk tasks for feed import. > ​ > ​**How it worked before** > After you added a feed to your project, the system would automatically check it at the set intervals. A product import was only triggered if the feed contained new or updated data since the last import. You could download an original file with new data or a resulting file in the “Bulk tasks” tab. > > ​**How it will be now**: bulk tasks for feed import are no longer created. Data update logic stays the same. You can view your feed's update history on its page. [See more](#h_5901676d6d). ## Adding a product feed 1. Go to the **Products** tab and click **"Import"** → **"Add product feed"**: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-09-25--2_50_07PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=a6c0d4d65dffa44a0bcf756fbef34dc6) > [accordion] Another way to add your feed > > Go to the **Integration setup** tab. Click **"Create integration"**: > > ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_04_46AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=fbac0a9679990c0ec4f9b94d4f4fc8d6) > > Choose “Product feeds”. > > ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_08_11AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=50bbca9794977355a2b25238431c97a5) 2. Fill in the fields on the settings page: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_23_47AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=037e62a17fdd38b7bf8d64416ffb1054) **Mandatory fields:** * **Feed type** — Google/YML. * **External system** — the system we take incoming data from. * **Brand** — relevant for multi-brand projects. Select the brand you need to upload the product data for. * **URL** — your file address. * **Update every n hours** — the time period after which the system downloads the file by the specified URL and updates the data if necessary. After adding the feed, data download will start immediately, and then continue with the selected frequency. [See more on the update algorithm](#h_72b5c2885c). > [!NOTE] > > If you specify a number that is a multiple of 12, you will be able to specify the exact time at which the data should be updated. **Optional fields:** * By default, your feed is named *Product feed #.* Feel free to give it a more convenient name anytime. * **Area** — used for the projects where products data may differ depending on the region (Areas). * **Launch update at** — the exact time the data update is needed if necessary. After adding the feed, data download will start immediately, and then continue with the selected frequency. This option becomes available when you enter a number divisible by 12 in the **Update every n hours** field. * **Authorization** — fill in the field if the file for the download is secured by password. To add the feeds secured by password, you need to have the "Managing secret data" permission. 3. Click **"Add"**. Once the setup is complete, the feed will be displayed in the **"Product feeds" tab** of the **Integration setup** section. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_29_45AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=d8a41cc7f57d8e48007520c4d2ff8e1c) 4. You can check your feed download status on the following page: **Integration monitoring → Product feeds**. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_32_20AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=be68ddd101bd746fd1c4d90b7cccb2a5) ## How product data is updated Immediately after the feed is added to the project and during periodic updates, the system attempts to download the product feed file from the specified link. If the file is successfully downloaded and there are changes compared to the previous download, product information is updated: new products are added and existing ones are edited. ​ When loading and updating the feed, the system identifies a product based on two parameters: the **external product ID** and the **external feed system**. If the feeds with the same external product ID are added to the project, two scenarios are possible: * **Different external systems are selected**—*two product cards* will be created on the project, one for each system. * **The same external system is selected**—*one product card* will be created on the project. Updates may be applied to the product unpredictably, sometimes from one feed, sometimes from another. > [!NOTE] > > A brand does not currently impact a product's identification in Maestra. Click the "Update feed" button when you need to update product data without waiting for the next scheduled update. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_35_38AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=42461a393f9896a92a8efc7fb195ee73) A problem will be opened if the feed failed to download or process. ## Possible problems ### Issue with the file or link | **Description** | **Comment** | | - | - | | Unable to download the feed by the \{feed URL} address: incorrect URL or the server is unavailable. | Incorrect feed address is specified or the server is unavailable. | | Unable to process the feed by the \{feed URL} address: incorrect or unsupported format. | Incorrect feed type (Google/YML) is selected or the file is created in an incorrect format. | | Unable to download the feed by the \{feed URL} address: access forbidden—check login and password. | Incorrect authorization data (login and password) are specified when the feed is secured by password. | ### Issues with specific product values | **Description** | **Comment** | | - | - | | Product was not processed due to errors in the custom fields. Decimal numbers cannot have more than two digits after the decimal point. | A number with more than two decimal places was entered into a “Decimal” [custom field](/api-integrations/how-to-create-a-custom-field). | | The enum value contains invalid characters: \|. The enum value contains invalid characters: \|. | A multi-value is being passed into an enum-type [custom field](/api-integrations/how-to-create-a-custom-field), but the 'Allow multiple values in one field' checkbox isn’t enabled. | ## Feed update history Go to **Integration Setup** → **Product feeds** and select the relevant feed. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_46_59AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=5079fb32659119b4db6986f63383d8eb) Click the feed name to view its settings, including update history. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_52_22AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=ab4fc694dd8de6d9ca63ef70f1925a07) You’ll see all updates, including the feed’s very first download after it was added. The history contains all the updates for the last 30 days. In each record, the following data are available for view: * **Date** — date\&time of the feed file download. * **Number of changes** — the number of products changed as a result of the data update. * **Original feed file** — contains all the feed data at the start of feed download. If an error occurred while loading the feed and it was not processed, an exclamation mark icon will be displayed next to the entry. Hovering over it will show a description of the error: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_57_10AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=ad527e3127e14a6069353352497f6705) By comparing the files from different update records, you can find out when and how the product data were edited. This information can help you understand why your mechanics performed incorrectly. # How to Set Up a Regional Product Feed Import Source: https://help.maestra.io/customers-orders-and-products/products/how-to-set-up-a-regional-product-feed-import > [!NOTE] > > Since August 2025, the system no longer creates bulk tasks for feed import. ​ ​ > > **How it worked before** After you added a feed to your project, the system would automatically check it at the set intervals. A product import was only triggered if the feed contained new or updated data since the last import. You could download an original file with new data or a resulting file in the “Bulk tasks” tab. > > ​**How it will be now**: bulk tasks for feed import are no longer created. Data update logic stays the same. You can view your feed's update history on its page. [See more](/customers-orders-and-products/products/how-to-set-up-a-product-feed-import). First of all, areas must be added to the project. ## Adding a regional feed 1. Go to the **Integration setup** tab. Click "Create integration": ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_04_46AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=fbac0a9679990c0ec4f9b94d4f4fc8d6) Select the "Product feeds" preset: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--11_08_11AM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=50bbca9794977355a2b25238431c97a5) > [accordion] Another way to add your feed > > Go to the **Products** tab and click **"Import"** → **"Add product feed"**: ​ > > ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/123.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=b0389390d97232b5d8573734438a2c7d) 2. Fill in the fields on the settings page: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--1_02_50PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=13400ea5176b2292018c91a649eb6940) **Mandatory fields:** * **Feed type** — Google/YML. * **External system** — the system we take incoming data from. * **Brand** — relevant for multi-brand projects. Select the brand you need to upload the product data for. * **URL** — your file address. * **Update every n hours** — the time period after which the system downloads the file by the specified URL and updates the data if necessary. After adding the feed, data download will start immediately, and then continue with the selected frequency. [See more on the update algorithm](/customers-orders-and-products/products/how-to-set-up-a-product-feed-import). > [!TIP] > > If you specify a number that is a multiple of 12, you will be able to specify the exact time at which the data should be updated. **Optional fields:** * **Area** — select the area you need to download the feed for. Technically, this field is optional, however you need to select an area for a regional feed import setup. Otherwise, your feed will not be counted as regional. * **Launch update at** — the exact time the data update is needed if necessary. After adding the feed, data download will start immediately, and then continue with the selected frequency. This option becomes available when you enter a number divisible by 12 in the **Update every n hours** field. * **Authorization** — fill in the field if the file for the download is secured by password. To add the feeds secured by password, you need to have the "Managing secret data" permission. 3. Click "Add". After this is done, the feed will be displayed in the "Product feeds" tab of the **Integration setup** section. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--1_06_41PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=4637eb737797a872ee270248075fffcf) 4. Check your feed download status on the following page: **Integration monitoring → Product feeds**. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--1_18_02PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=8b0720fe990171480de52125d4d76e0d) ## Features of regional feeds * The following fields are not processed in regional fields: vendor code, shelfLife, categories (external product category IDs), and product group ID. * For clients with a filled area, the system primarily relies on regional product data in the client's zone: when generating recommendations, outputting product information using template variables, and launching flows with product change events.If the client's area is not specified or regional product data in the client's zone is missing, the system uses data from the master feed. * If the product is specified both in the master feed and in the regional feed, the system will add regional data to the product card. However, when the product is specified in the regional feed only, a new product card will be created based on the regional data. In this case, there will be no drop-down list for area selection on the product page. When the product data appear in the master feed, the regional data will be passed to the product page in the correct area. *`Only the regional feed contains product information:`* ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--4_17_14PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=1ddc0c012e46b2585bbf9921e208ca96) *`Both master feed and regional feed contain product information:`* ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-10-03--4_17.jpg?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=5fb461783a1503aade4ca9467bd890ca) # How to upload multiple product feeds in a single file Source: https://help.maestra.io/customers-orders-and-products/products/how-to-upload-multiple-product-feeds-in-a-single-file Use this method to add multiple feeds to your project at once — for example, if your project uses zones and needs a regional feed for each one. Instead of adding feeds manually in the UI, you can upload a single file that includes the details for every feed. If you only need to add one product feed, see the relevant instructions below based on your task. * [How to set up a product feed import](/customers-orders-and-products/products/how-to-set-up-a-product-feed-import) * [How to set up a regional product feed import](/customers-orders-and-products/products/how-to-set-up-a-regional-product-feed-import) 1. In the **Products** section, click "Import" → "Add multiple feeds": ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-4_01_11PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=a4cd73bcd63bc118ce49694377ab9b5b) > [accordion] Another Way to access the menu > > In the **Integration set up** section, click "Create integration": > ​ > > ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-4_11_54-E2-80-AFPM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=8c9757432fb469d600aeb18944717b44) > > In the "Product feed" preset, click "Create several" button: > ​ > > ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-4_16_08PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=c2a6d36d9112e4845e7087a32ba49ced) 2. On the file upload page, you can click **Download example** in the top-right corner to download a pre-filled file with sample data. Below it, you’ll find a list of all available upload fields, including each field’s name, description, whether it’s required, and examples of accepted formats. ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-4_23_03PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=1ef603f5f04dc358a9069f043ea1e5b2) Let's review all fields that can be included in the file. ​**Required fields:** * **Name** — product feed name * **Format** — **Google or YML** * **ExternalSystemSystemName** — system name of the [external system](/administration/how-to-create-an-external-system). * **BrandSystemName** — system name of the brand. * **URL** — web address where your product feed file is hosted * **UploadInterval** — how often the system checks your feed for updates. The system downloads the feed file every **N hours** and updates product data if anything has changed. The value is set **in hours**.**Optional fields:** * **AreaExternalId** — the external id of the area. Used in projects where products are split by areas. ​***Required*** \* when uploading a regional feed for a specific area.\* * **UploadStartAt** — the scheduled time to run product feed updates. After you upload the file and the feed is added successfully for the first time, the system will check your product feed URL for updates every **N hours**, starting at the time you specify (for example, at 6:00 AM each day). You can set this only if **UploadInterval** is a multiple of **12**. Otherwise the feed won’t be added to the project. * **Login** — username for password-protected feeds. Required if the uploaded file is password-protected. * **Password** — password for protected feeds. Required if the uploaded file is password-protected. > [!WARNING] > > If the product feed is password-protected, you must specify both the Login and the Password in the file. Otherwise, the feed will not be added to the project. 3. Prepare the file. Here is an example of a completed file: ![](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=c480c61a30e0bdbaae225be811320350) Maximum file size—300 MB. Format—.csv. 4\. Configure the necessary settings for file upload within the format settings: ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-4_25_29PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=14b02bc8e481389450b8217fe5f33674) **Encoding** — utf-8 by default. You can check the file encoding using text editors, such as Notepad++, VS Code, etc. **TextQualifier** — "(double quote) by default. Leave this field unchanged. **Column Separator** — semicolon by default. If your file uses a different delimiter, please enter the correct value in the field. You can check the delimiter using text editors, such as Notepad++, VS Code, etc. 5\. Select the file and click "Upload": ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-8_22_07PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=674e024a9e4a4c8bf6b75a2f914d545b) After that, you’ll see the file processing progress on the page. Uploading multiple files at the same time isn’t supported — the file picker will stay disabled until the current upload finishes. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-8_08_41PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=972505aff8679b4b73e9e97e0906c8d9) 6\. Once the file is processed and the feeds are uploaded successfully, you’ll see them on the **Integrations** page under the **Product feeds** tab. ​ ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-05_17-15-45.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=48f4de695adfe71c00ada3873f5bb718) The results file will remain available on the feed import page for 24 hours. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-8_13_12PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=2703e2b9cad86743d2e1e17abfa477ca) If the file fails to process and the feed isn’t imported, download the results file to see which rows contain errors. Fix the errors in your file, then upload it again. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-05-at-8_17_29PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=19ad8535f8a889bf07ab007c39d9ace3) # What is a Product? Source: https://help.maestra.io/customers-orders-and-products/products/what-is-a-product **A product** is an item registered in your project. Go to **Database** → **Products** to view all your products: ![product\_1](https://mintcdn.com/maestraio/Itk5DZRmZl9Vbe7N/images/imported/product_1.png?fit=max\&auto=format\&n=Itk5DZRmZl9Vbe7N\&q=85\&s=b43adba0dc7589fa5e859f7c6d149648) *** You can transfer details of **product groups** to Maestra. A product group is an overarching entity that encompasses individual products. For example, a specific sweatshirt model can be a product group, while all the available size options of this sweatshirt are separate products. So a size M sweatshirt and a size L sweatshirt are two different products within one parent product group. Every product uploaded to Maestra has an **external ID** from the external system. Maestra automatically generates its own internal ID for every product. ## Products have default fields * name; * description (this may contain HTML layout elements — if it does, there must be escaped characters); * stock availability; * vendor; * external group ID; * external ID; * price; * old price; * product page URL; * image URL; * shelf life; * category. You can also add [custom fields](/api-integrations/how-to-create-a-custom-field) if necessary. Products can be combined into segments based on conditions or into static segments. ## The following customer actions can be linked to products * Purchases * Browsing * Subscribing to price drop notifications * Subscribing to back in stock notifications, * Adding/deleting/changing a product in the user’s product list (in the Cart, Favorites, etc.) *** * Product group browse * Subscribing to price drop notifications for product groups * Subscribing to back in stock notifications for a product group * Adding/deleting/changing a product in the user’s product list (in the Cart, Favorites, etc.). ## You can filter and find the following actions in the system * **Related to product**: browse, add/delete/change a product or a product group in a product list. * **Related to product category**: product category browse. * **Order**: product purchase. In order to find these actions, use conditions as a filter to narrow your search. ## How to add products to the system You have lots of options when it comes to uploading products to your Maestra project. You can choose to: * Manually add products via the UI; * Import and update a product in real time; * Transfer a CSV file using a POST request; * Import a CSV file from an FTP server. # How to find clicks on specific links in campaigns Source: https://help.maestra.io/filters/filtering-by-campaign-engagement/how-to-find-clicks-on-specific-links-in-campaigns You can use filters **to find customers** who clicked on specific links within campaigns. To do this, select the following filter: **Campaign clicked → Link click → Link** ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-clicks-on-specific-links-in-campaigns.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=2ed2706ce7de186e4f9841261286de05) > [!WARNING] > > **Note:** The filter does not support links containing `?`, anchors (`#abc`), or variables. For example, clicks on the link below cannot be found by entering the full URL in the search. ​`https://demoshop.maestra.cloud/?utm_source=maestra&utm_medium=email&utm_campaign=Bulk` ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-find-clicks-on-specific-links-in-campaigns-\(1\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=3dd424199d28d054e39c3fb8637ad659) In the filter, you should only enter the part of the URL **before the `?`**. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-find-clicks-on-specific-links-in-campaigns-\(2\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=b07f551ca8e55d92c408fb34d3b6b033) This type of filter will find clicks on the specified link **with any variables**, including `click id` and UTM tags. It is not necessary to enter the full URL. **Partial URL search** is supported. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-find-clicks-on-specific-links-in-campaigns-\(3\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=815a26d4d5c76be660790f760858720d) You can also specify **which campaigns’ clicks** you are interested in, ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-find-clicks-on-specific-links-in-campaigns-\(4\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=1eb2d0b079c65f23d892333d9a59fd59) and specify the **time period** for the clicks. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-clicks-on-specific-links-in-campaigns-\(5\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=c6546bfa1933682c4f925a37717930ce) To see all **click actions** across all users, build the filter on the **Customer Data Platform → Campaign engagements** tab. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-clicks-on-specific-links-in-campaigns-\(6\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=1e637ccde4a20bb3b8a9572df81542a1) # How to Find Customers Who Interacted with a Specific Campaign Source: https://help.maestra.io/filters/filtering-by-campaign-engagement/how-to-find-customers-who-interacted-with-a-specific-campaign Applies to Email, SMS, Mobile Push, and Other Channels Let’s take a look at how customers interact with a campaign. # How to find customers Go to **Customer Data Platform→ Customers**. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(2\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=796bf5f5418af07d8618f208e7e303ad) > [!NOTE] > > We’ll use a "Welcome / Referral program" campaign as an example. ## Searching by campaign status In the **Campaigns** filter group, select the status you need. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-08--15_42_25.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=8e7f722b07c78997fb598c6c42679e54) Each status has a nested filter — **Campaign** — pick the one you need. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(4\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=b4c17e53248878669be6635892540316) * Find customers who were sent the campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(5\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=f6c639b44924006ba10ca5b03b772b4e) * Find customers who were unable to send the campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(7\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=5bb862f1ee55d21c419319040a1235d2) * Find customers who were unable to deliver the campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign--286-29.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=3b4e3a1bb63908de0868c694594badf5) * Find customers who were in the campaign recipient list but could not receive it due to a send or delivery failure. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(8\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=6cdc5afe70f698334815d005f0ac9e5b) * Find customers who received the campaign. There is no separate "Delivered" status. To find these customers, set the following two conditions: "The campaign was sent" and "There were no campaign delivery failures." ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(9\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=ebe3eaffc77ed809b39d20b820038940) * Find customers who opened the campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(10\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=2002ab1818809e8a7305964d44636dc1) * Find customers who didn’t open the campaign. > [!WARNING] > > **Note:** Make sure to include **campaign sends** in the filter. Otherwise, customers who weren’t included in the recipient list may appear as well, since they have no opens for the selected campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(11\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=5d17810479cbc379668a64c5277a1009) * Find customers who clicked on a link in the campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(12\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=788b925b804e408c9645204533bd0a73) * Find customers who did not click in the campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(24\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=bf215ee9624ffc0f95996c1a351e4951) * Find customers who clicked the unsubscribe link. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(14\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=e301212b3e20c3edf99b3adce6d90032) * Find all campaign participants — all customers who were included in the campaign’s recipient list. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-08--15_39_58.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=dec9891c528863243f666cfba4b29ede) ## Searching by interaction time * Find customers who opened the campaign in June 2024. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(16\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=06e406ce6db277bd77ebca07a0344ed0) * Find customers who opened the campaign within the last hour. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(17\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=14fb501af969a6868a94869624a8c044) ## Searching by number of interactions * Find customers who clicked in the campaign two or more times. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(18\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=c4560332705e49b8efebf6f8596d8b56) * Find customers who were sent the campaign three times in the last six months. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(19\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=d6f6e8ea8a9327ce94fe7d1beeb8b288) # How to find specific Campaign engagements (e.g. clicked, sent, opened etc.) Go to **Customer Data Platform → Campaign engagements**. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(20\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=ced6954cd08aee53b195f51d53166eeb) * Find campaign sends. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(21\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=48edaa803b62e4be67355fdb81250c9d) * Find campaign opens. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(22\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=731ee4bab030c601463cd2ab4e83b4d1) * Find campaign clicks in the last 24 hours. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(23\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=82a96cbafbb3919e688b974d9e8903ca) # How to Find Customers Who Interacted with More Than One Campaign Source: https://help.maestra.io/filters/filtering-by-campaign-engagement/how-to-find-customers-who-interacted-with-more-than-one-campaign Applies to Email, SMS, Mobile Push, and Other Channels # **How to find customers** Go to **Customer Data Platform→ Customers**. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(2\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=796bf5f5418af07d8618f208e7e303ad) ## Searching by campaign status In the **Campaigns** filter group, select the status you need. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-08--15_42_25.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=8e7f722b07c78997fb598c6c42679e54) * Find customers who have been sent a campaign at least once. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=b24cf98124e26368c5d14036f258ee25) * Find customers who have never been sent a campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(1\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=d8fc65b90d33f804f53079dec7300330) * Find customers who have at least one campaign send failure. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(2\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=6b69d7a1a8925c696a08556b851e061f) * Find customers who have at least one undelivered campaign. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(3\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=bd29eba6db30496ac7e9f4136549ca87) * Find customers who have opened any campaign at least once. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns--284-29.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=cd69efd5c91ab45e2485299faeda915b) * Find customers who have never opened the campaigns sent to them. ​**Note:** Make sure to include **campaign sends** in the filter. Otherwise, the filter will also return customers who were never on any campaign recipient list, since they have no open events. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(5\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=dd81201a7e898b538b7cf59e26d88eed) * Find customers who have clicked any link in a campaign at least once. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(6\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=0b3cf9d69feb8634889ee477f01bf7d8) * Find customers who have clicked an unsubscribe link at least once. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(7\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=f2092dada122da22d241a0cf9f11a00d) * Find customers who have participated in a campaign at least once (were on the recipient list). ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-08--15_39_58.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=dec9891c528863243f666cfba4b29ede) ## Searching by campaign group: channel, type, folder, topic, tags Each **status filter** has a nested **Campaigns** condition, where you can specify which [type of campaigns](/campaigns/types-of-campaigns-available-in-maestra) to search for. Available filtering options: * Campaign type (automated, bulk, transactional) * Topics * Folders * Channels (Email, SMS, MobilePush, WebPush, WhatsApp) * Tags * Brands ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(10\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=0d8f121e6286c68c2a2548f32dc327fe) * Find customers have been sent mobile push campaigns. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(11\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=d8666ad5b448f5e623bb1636049852d6) * Find customers who opened automated campaigns. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(12\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=e85d0fb49b611d19bda29281d13a4f77) * Find customers who clicked campaigns from a specific folder. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(13\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=eb5a60807ca10e394e870fb6816f4ba3) * Find customers who failed to receive a campaign with a specific tag (send or delivery failed). ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(14\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=12cc3e8e03a681286e977c239bcb5441) ## Searching by interaction time * Find customers who were sent campaigns in the first half of 2024. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(15\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=9e9c2883a832518fa7c7abc3da3b5d00) * Find customers who were sent campaigns within the last six months. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(16\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=d6b1a141e5a6b7cdce51f11b89ef1cf1) * Find customers who have clicked on automated email campaigns within the last hour. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(17\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=2b0c8ff4312cf6481ce7ff7ba64ddac8) ## Searching by number of interactions * Find customers who were sent four or more web pushes in the last month. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-campaigns-\(18\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=da05d98a3fd861ae70017f89bb968905) # How to find specific Campaign engagements (e.g. clicked, sent, opened etc.) Go to **Customer Data Platform → Campaign engagements**. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-who-interacted-with-a-campaign-\(20\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=ced6954cd08aee53b195f51d53166eeb) * Find all campaign opens. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-15--17_23_56.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=5fbb73fb50470509741070fe153b5e5b) * Find all clicks on automated web pushes from a folder. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-15--17_26_06.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=a5a757379ef5b79f44c3bc9264e8d06b) * Find all undelivered SMS in the last 15 minutes. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-15--17_27_36.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=95ad72065bda810ae4a35c178ad2d234) # How to find customers with send failures or undeliveries Source: https://help.maestra.io/filters/filtering-by-campaign-engagement/how-to-find-customers-with-send-failures-or-undeliveries Customers may not receive a campaign if: * **Failed to send from Maestra** (e.g., no subscription, expired consent, customer in Control Groups list, etc.); * **Failed to deliver to the recipient's email server**. Both types of events can be found in **campaign engagement tab**. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-15--17_46_09.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=f6e818bffbc540c47217e793b011eab1) You can also view the **error reason** and additional details there. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-15--17_49_46.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=8850a1f25ec13ea72fdc0134fc5a3189) Campaign engagements and customers can be **filtered by these reasons**. * Find all undeliveries with the reason **Mailbox full**. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-clicks-on-specific-links-in-campaigns-\(8\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=81cee46c87d312ae561fbc2e30bd2bb1) * Find all send failures where the message could not be composed. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-with-send-failures-or-undeliveries.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=36214decaf837bddd311e90911e0cd51) * Find customers who had two or more undeliveries with the reason **Recipient rejected email due to content** for the last week. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-with-send-failures-or-undeliveries-\(1\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=a5283a7d740bf81555bdd4dc91cf08fc) # How the order first action filter works Source: https://help.maestra.io/filters/filtering-by-orders/how-the-order-first-action-filter-works [Orders](/customers-orders-and-products/orders/what-is-an-order) often go through several statuses (e.g., placed → paid → delivered). The exact set of statuses may vary by project. We need to consider this when setting up filters. ## Use case 1 **Find customers who placed an order in February 2026.** To filter orders by date, we’ll use order events. The key question is: **which event should we use?** Let’s look at an example: * Order placed: February 28 * Order paid: February 28 * Order delivered: April 5 If you pull a revenue report on April 1 based on the *latest event status*, this order will be attributed to **February revenue**. If you pull the same report on April 6, the order will now be attributed to **April revenue**, since the latest status changed to “Delivered” on April 5. Because the *latest event* can change over time, filtering based on current order status creates inconsistencies in historical reporting. Unlike the latest event, the **first order event (Order Placed)** is fixed and does not change. It provides a stable, reliable timestamp for segmentation and reporting. That’s why we recommend to filter these customers based on the **first order event (Order Placed)**. ​ ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-the-order-status-filter-works-\(3\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=b054091c0a668bb518626f1415660f27) *The filter looks for customers who placed an order in February 2021 and who have completed, paid, or had their order delivered.* *You can read about the statuses in the article.* *** The same rule applies when searching for orders. ## Use case 2 **Find orders placed in March.** Another reason to use the **first order event** is that a single order can have multiple events over time (placed, paid, fulfilled, delivered, etc.). Filtering by the **first event (Order Placed)** guarantees one unique event per order, ensuring accurate order counts in your filter. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-the-order-status-filter-works-\(4\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=89ef90d2f97be2fd2d26125dc8dd89cf) # How the order status filter works Source: https://help.maestra.io/filters/filtering-by-orders/how-the-order-status-filter-works [An order](/customers-orders-and-products/orders/what-is-an-order) consists of items. Each item can have one of the following statuses: **placed, delivered, paid, canceled, or returned**. A single order can contain items with **different** statuses. For example, three items may be delivered while one is canceled. ## Which status is used for filtering > [!WARNING] > > The item status is always checked based on its **latest state**. **What this means:** For example, an order was placed, then paid, and later delivered. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(17\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=d568da4be54d6e4ee485427fff5fa461) To find this order, you need to build a filter for orders with the status **Delivered**, since that’s the most recent status. “Placed” and “Paid” are historical states, and orders can’t be filtered by those statuses ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-the-order-status-filter-works.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=2ef5186c8c3c7c9af7c9d75eb07a168a) ## **Which statuses should you use in your filter?** Start with the business goal. In most cases, you’ll want to include “positive” order statuses — such as **Placed**, **Paid**, or **Delivered** (using the **[OR](/filters/how-to-create-filters)**[ condition](/filters/how-to-create-filters)): ​ ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders-\(1\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=c32c03e6b0cd0dc0fdfae7ab29400b62) **Example 1:** how to find customers with paid orders (the most recent order status is Paid) ​ ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-the-order-status-filter-works-\(1\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=b4249958d42f408559341d9fdf0fa5b9) **Example 2:** find customers whose orders have **all items paid** (the most recent order status is Paid) ​ ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-the-order-status-filter-works-\(2\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=a16b311ebb1e2b3a3afc5086f05bd8f8) **Difference between the filters:** * In the first case, orders with partially canceled or delivered items are included. * In the second case, all the items are paid. # How to filter customers by total revenue Source: https://help.maestra.io/filters/filtering-by-orders/how-to-filter-customers-by-total-revenue The nested conditions in the revenue filter work the same way as in [order filters](/filters/filtering-by-orders/how-to-find-customers-with-orders). The key difference is that the top-level condition here is **total revenue value**, not **order**. Next, set the range **from … to** (upper bound is not inclusive) and define which orders should be used to calculate revenue. > [!NOTE] > > Revenue is calculated based on the **[order total after discount excluding refunds](/filters/filtering-by-orders/how-to-find-orders-with-a-specific-order-price)**. **Use case:** let's find customers whose **total revenue** is **\$3,000* or more*\* over the last month. \**The currency depends on your project settings.* 1. Go to **Customer Data Platform→ Customers.** ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-with-total-revenue-from-N.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=610eeadf0ac3a85b0a508fbf73bbffb4) 2\. Set up the filter. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-with-total-revenue-from-N-\(2\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=edc332a3af2b85a78018c3cca76c9ada) > [!NOTE] > > Revenue is calculated using **placed, paid, and delivered items**. Canceled and returned items are not included in the total. # How to Find Campaigns Sent for a Specific Order Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-campaigns-sent-for-a-specific-order **Use case:** find campaigns sent for a specific order, such as payment or delivery notifications. Go to **Customer Data Platform → Campaign engagements** and set up the filter. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-find-campaigns-related-to-an-order.png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=999b6b6b6f15a15abe968d1d0da16299) Add a condition to find **sent campaigns only**. ​ ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-find-campaigns-related-to-an-order-\(1\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=905c68ae1742d213439a6134f7dafd45) ## Which campaigns are included in the filter For a campaign to appear in the filter, the following conditions must be met: * The flow that sends the campaign must be triggered by the order event. ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-02-13--18_04_28.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=6553409a6f805d8cb5cf6245654e1a56) * The method that sends/updates the order must use one of the events shown in the screenshot. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(18\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=49cdf68d2d478f64563b2a66698bae70) All steps are supported except the **Get order list** step. # How to find customers by Average Order Value Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-customers-by-average-order-value **Average order value** is the total value of purchases divided by the number of orders. *** **Use case:** find customers with an average order value between **$1,000 and $5,000** over the last year. 1. Go to **Customer Data Platform → Customers**. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-with-total-revenue-from-N.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=610eeadf0ac3a85b0a508fbf73bbffb4) 2. Set up the filter. ​ ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-an-average-order-value-from-N.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=4661563352856391e45eb1a92e282c3f) ## How average order value is calculated * Average order value is calculated based on **placed, paid, and delivered items**. * Even if an order was fully canceled, it still counts toward the total number of orders. **Example:** A customer has three orders: * Order 1: one table \$1,500 — placed * Order 2: * line 1: two chairs \$500 each — paid * line 2: one stool \$300 — canceled * Order 3: one pouf \$1,000 — returned **Total:** $1,500 + $500×2 = $2,500 ​**Number of orders:** 3 ​**Average order value:** $833 # How to find customers with orders Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-customers-with-orders To find customers with orders, go to the **Customer Data Platform → Customers**. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=3943cf4be6d1addeb79150ea3375ee6a) * Find customers with an order in a specific status. In the screenshot, we’re filtering orders with any of the following statuses: Placed / Paid / Delivered. You can apply the same logic or specify a particular status if needed. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders-\(1\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=c32c03e6b0cd0dc0fdfae7ab29400b62) > [!NOTE] > > Please note that the filter is based on the **order’s latest status**. For example, if an order goes through several statuses — Placed → Paid → Delivered — it will be considered as Delivered in the filter.If an order goes from Placed → Paid → Canceled, it will be considered as Canceled in the filter. * Find customers who purchased a specific product with the order status Placed, Paid, or Delivered ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders-\(2\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=dd6d3c9dc1c68ec8d31c4ff2cb7c5d8c) * Find customers who placed an order with the order status Placed, Paid, or Delivered in the last 6 months. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders-\(3\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=5014ad93e3734899d7c570f786615cd2) * Find customers with two or more orders with the order status Placed, Paid, or Delivered ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders-\(4\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=d5f3f982c95a05611202a19ef1c2e574) * Find customers with order total spend of 200\$ or more. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders-\(5\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=98eacbc5f23886a1a26c38dcd2173056) There's no need to specify statuses. Cancelled and returned items are not included in the total order value. * Find customers with orders from a specific touchpoint with the order status Placed, Paid, or Delivered. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders--286-29.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=1337c0c2fcf236604627243e178356c9) * Find customers with orders from a specific brand with the order status Placed, Paid, or Delivered ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-with-orders-\(7\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=fce83001b1f6f2d9715e158729f070cf) # How to find customers without orders Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-customers-without-orders Go to **Customer Data Platform→ Customers**. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Find-customers-without-orders.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=b2b59b35b07a5582451d28bea0e328f0) The filter logic is the same as for finding [customers with orders](/filters/filtering-by-orders/how-to-find-customers-with-orders). The difference is that instead of **"order — at least one"**, select **"order — none"**. In this screenshot, we’re filtering for customers who don’t have any orders with the following statuses: Placed, Paid, or Delivered. That means they might have cancelled or returned orders, **but none that are** **Placed, Paid, or Delivered**. You can apply the same logic or specify a particular status if needed. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-without-orders.png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=82640f6e46e7b297e3df8b1f364b110b) > [!NOTE] > > Please note that the filter is based on the **order’s latest status**. > > For example, if an order goes through several statuses — Placed → Paid → Delivered — it will be considered as Delivered in the filter. > > If an order goes from Placed → Paid → Canceled, it will be considered as Canceled in the filter. Skip the status filter if you need to include customers **without orders at all.** ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-without-orders-\(1\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=65951d9a8924518e93c250d12baa16cd) ## **Use cases** How to find customers with no orders in the following statuses: Placed / Paid / Delivered **in the last 6 months.** ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-without-orders-\(2\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=61bc0c073b4ddd171f4acb98b6b4ac74) How to find customers who **have orders** in the following statuses: Placed / Paid / Delivered **, but not within the last month**. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-customers-without-orders-\(3\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=6f8ef326f398b74b80ac0dab97d39cfc) *These are customers who didn’t place an order in the last month but had orders before.* # How to find orders for a specific period Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-orders-for-a-specific-period * Go to **Customer Data Platform→ Actions.** ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-for-a-specific-period.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=4252a4bc8efb820d3304a081b74dd9f2) * The **Actions** page shows all actions from all customers. First, let's filter order-related actions only. This filter shows **all** order actions. ![](https://mintcdn.com/maestraio/O0b_zyYQP7Y48mll/images/imported/How-to-find-orders-for-a-specific-period-\(1\).png?fit=max\&auto=format\&n=O0b_zyYQP7Y48mll\&q=85\&s=8b988b1a1489b933886a64721cf48367) * To get an accurate order count, make sure you only count each order once. Orders can go through multiple statuses (Placed → Paid → Delivered), but you should filter by the first order action so you’re counting the order itself, not each status update. ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-for-a-specific-period-\(2\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=158f868d196600a2452816518dfd3cc5) * Select the required order statuses. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-for-a-specific-period-\(3\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=b110087c51dfa84e376c9a78f328cec8) ### Use cases Let’s take a look at how to find orders placed in January: ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-for-a-specific-period-\(4\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=621b4555ff11719acad2156932e78019) and find orders that include a specific product: ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-for-a-specific-period-\(5\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=5bd344164ee01affb9f14221c60b3f0e) You can export these orders using the order export. # How to find orders with a specific order price Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-orders-with-a-specific-order-price You can filter orders by their total amount in different ways: including or excluding discounts, subtracting canceled items or not, or even filtering by the price of each item. Let’s go through which filters work best for different tasks. ## **Order total price** Filters in this category include: * **Order — Base price** (price before discounts, returns, or cancellations) * **Order — Order total after discount including refunds** (and cancellations) * **Order — Order total after discount excluding refunds** (and cancellations) ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-2Bto-2Bfind-2Borders-2Bwith-2Ba-2Bspecific-2Bvalue.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=458a4628a575d1177d0ab29a9de4f9e4) We’ll use the following order as an example. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(2\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=77c1d0ce692af8b3a4923511140f0604) This order has four items: * $46.55 ($49.00 before discount) — paid * $10.00 ($60.00 before discount) — paid * $130.00 ($171.00 before discount) — cancelled * $286.85 ($283.00 before discount) — returned The order price changes depending on how discounts and returns are considered: * **Base price - before discounts, excluding returns and canceled items:** \$563 ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-02-12--15_48_44.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=13da798ba80793cc0a46c6a84d2a0cc6) * **Order total after discount including refunds** (and cancellations)**:** \$455.40 ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-02-12--16_15_02.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=abe92be52aa8da5e56288e3737031ccb) * **Order total after discount excluding refunds** (and cancellations): \$56.55 ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-02-12--15_54_10.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=577c9a0b8db5045beb98749bb9132781) > [!NOTE] > > **Note:** Both value boundaries in filters are inclusive. In some cases, all three values can be equal. For example, if an order has no discounts or canceled items, the total will be the same for all filters. **Total (any):** \$**239.00** ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(6\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=b9e9d844ce4760b4dbcf930b8f95f885) ## **Price per item** Filters in this category include: ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-02-12--16_30_05.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=9c96bbf4ff0dc46449bd8f9265bd2c85) * **Order** — **Order item — Price** (price per item as submitted when the order was placed before discounts, including returns or cancellations) * **Order** — **Order item — Disctounted price** (price per item as submitted when the order was placed after discounts, including returns or cancellations) *** ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-02-12--16_36_18.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=75597094abf71a7136e9550ad576d147) * **Order** — **Order item — Product — Price** (current product price from the product feed in Maestra) * **Order** — **Order item — Product — Old price** (previous product price from the product feed in Maestra) > [accordion] Product vs. order item: What’s the difference > > A **product** is a catalog item. It’s usually uploaded via an XML feed, which keeps pricing and availability up to date. You can find all products in **Customer Data Platform → Products**. > > When an item is purchased, the order line includes the product itself, its price at the time of purchase, the discounted price for a specific customer, the quantity, and the status. All of this together forms an **order item**. > > In other words, a product is just one part of an order item. That’s why the product price and the order item price can be different. > > For example, a year ago a customer bought a watch for $1,000. Today the same watch costs $2,000. In this case, the **order item price** is $1,000, while the **product price** is $2,000. > [!NOTE] > > **Note:** Item price filters always look at the price per item, not the total for the line. For example, let's take a loot at this order line and its item. ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(9\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=44739350a6edd9e1a452a04886b8df28) Product card on the platform: ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(11\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=1ffa50fe2a40ce815c304ec9cf7fc4f0) You can filter: * **Price per order item before discount:** \$49.00 ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(13\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=bfe0aaba4169dbc3fb7de38eab755018) * **Price per order item after discount:** \$46.55 ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(14\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=60951311757053eb642d34b48835aaac) * **Current product price (from product feed):** \$34.99 ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(15\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=40f0be81acb3a4a56d9aacf727e36ff1) * **Old product price at the moment (from product feed):** \$49.00 ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-a-specific-value-\(16\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=d4a482d9d92ecb7d805a252739b72319) > [!NOTE] > > **Note:** Both value boundaries in filters are inclusive. # How to find orders with applied promotions Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-orders-with-applied-promotions **Use case:** find orders with applied promotions. * Go to **Customer Data Platform→ Actions.** **Orders with any promotion applied** (discounts, points earned/spent, rounding). ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-applied-promotions.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=3819487bbd7982f86d3217e74625e0dd) > [!NOTE] > > See the related article for more information on why to use the order first action filter. **Orders with a specific promotion applied.** ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-applied-promotions-\(1\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=1e0d10a5e298af656eeec3b6429ec010) **Orders with a promo code applied.** ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-applied-promotions-\(2\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=b8c4ca993bb8fa10df6f175c6b61f3b1) **Orders with a promo code issued.** ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-applied-promotions-\(3\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=8b1995efa022f4097e8f97fd0d9c335c) **Orders with points spent.** ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-applied-promotions-\(4\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=a06a96b29d383f15ababc3c7817c40c8) **Orders with points earned.** ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-applied-promotions-\(5\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=7fe90e367c83cf9a5f6af85b427abdc3) # How to find orders with earned points Source: https://help.maestra.io/filters/filtering-by-orders/how-to-find-orders-with-earned-points Go to **Customer Data Platform** → **Actions**. ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-available-earned-points.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=e6cf040d1ddd5bb3cefa3c88f749a76a) **Find orders with earned points that are blocked.** ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-available-earned-points-\(1\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=49a9e814b4d04e8c168007a0f708afe7) **Find orders with earned points that are available.** ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-available-earned-points-\(2\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=6f6c2cd0316a42247b610dc6646153f9) **Find orders with earned points that are fully spent.** ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/How-to-find-orders-with-available-earned-points-\(3\).png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=20d57c9b5f25b3df390bba6383cdfcbd) > [!NOTE] > > Replace the **Order** filter with **“Order First Action = Yes”** to filter only the first order event per order. Filtering by the first event (for example *Order Placed*) ensures there is exactly one unique event per order, which guarantees accurate order counts in your filter. > You can find more details on **Order First Action = Yes filter** in [this article](/filters/filtering-by-orders/how-the-order-first-action-filter-works). # How to Build a Filter With Multiple Action Templates Source: https://help.maestra.io/filters/how-to-build-a-filter-with-multiple-action-templates Customer actions are tied to things like participation in campaigns, product views, order placement, and more. You can filter information across any of these actions by picking the right action template. In this article, we'll use action templates based on campaign participation. As an example, we'll work with two campaigns named **"First Campaign"** and **"Second Campaign"**. There's the "First Campaign," and there's the "Second Campaign." Each one has its own action template that tracks who participated. ## Use cases Here are the most common ways to combine two or more action templates inside a single filter. ### Customers who have at least one of the actions Use this when you want to reach everyone who participated in either campaign (or both). Add both action templates and combine them with an **OR** condition. A customer matches the filter if they have the first action, the second action, or both. ### Customers who have only "First Campaign" and not the second Use this when you want people who participated in the first campaign but did not participate in the second. Combine a positive condition on the "First Campaign" action template with a negative condition (does not have) on the "Second Campaign" action template, joined with **AND**. ### Customers who have only one of the actions Use this when you want people who participated in exactly one of the two campaigns — either the first or the second, but not both. Build it as two branches joined with **OR**: * Has "First Campaign" **AND** does not have "Second Campaign", or * Has "Second Campaign" **AND** does not have "First Campaign". ### Customers who have both actions Use this when you want only the customers who participated in both campaigns. Add both action templates as positive conditions and join them with **AND**. A customer matches only if they have both actions. ### Customers who have none of the actions Use this when you want people who participated in neither campaign. Add both action templates as negative conditions (does not have) and join them with **AND** — the customer must be missing both actions. It's also correct to express the same idea as a single negation: **NOT** (has "First Campaign" **OR** has "Second Campaign"). Both forms return the same set of customers. ### Exclude customers who have both actions at the same time Use this when you want everyone except the customers who have both actions. Wrap the combined condition (has "First Campaign" **AND** has "Second Campaign") in a **NOT**. The result includes customers who have only one of the actions, as well as customers who have neither — and excludes only those who have both. ## Learn more For a deeper walkthrough of how filters work, including video lessons and hands-on exercises after each lesson, check out the Maestra filters course. The action templates lesson is also available as a standalone video. # How to Create Filters Source: https://help.maestra.io/filters/how-to-create-filters To start with, let’s go through how to create a filter for customers. Go to **Customer Data Platform** → **Customers**: ![00\_newCreateFilter](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_newCreateFilter.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=ef6d1f6ff9bf0f58b187d631eb615ba0) The filter conditions field contains the **Add AND condition** and **Add OR conditions** buttons. > [!NOTE] > > **AND condition.** > ​ > > Use the **AND** condition when **all filter conditions must be true** for a customer to qualify. > > ​**Example:** > If you want customers with a **valid email AND an active subscription**, both conditions are required. > A customer with a valid email but no subscription **will not qualify**. > [!NOTE] > > **OR condition.** > ​ > > Use the **OR** condition when **at least one condition must be true** for a customer to qualify. > > ​**Example:** > If you want to find customers who purchased a **hat OR a scarf**, the filter will include: > > * customers who purchased a hat > * customers who purchased a scarf > * customers who purchased both Below the buttons on the left, you can see the total customer database size — in our case, it's 22,914 customers. ## How to add AND condition Click on the **Add AND condition** field. A dropdown menu will appear with a list of customer attributes you can filter by. At the top, you’ll see standard profile properties (e.g. name, gender, birthday), followed by grouped property categories (e.g. custom fields, orders and product lists). ![01\_newCreateFilter](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_newCreateFilter.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=30f595d27ca3c5e28eadcf37d14041ee) Click a group name to reveal related filter options: ![02\_ newCreateFilter](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_-20newCreateFilter.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=8a4f65379508e8ad2eb775e266fed71e) After selecting a filter, fill in any additional settings if available. For example, if you select the **Subscription** condition, additional fields will appear where you can specify the brand (if you have more then 1), channel and topic: ![03\_newCreateFilter](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_newCreateFilter.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=c7c62d7f02bdcdbbdd9ba982888541a4) Once you’ve filled in all the required fields, click the **Add condition** button: ![04\_newCreateFilter](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_newCreateFilter.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=4b209e6ad22747f0010ab6ed5c6dda4d) Click **Apply** to save the condition(s) you selected. The system will display the filtered customers and their total number: ![05\_newCreateFilter](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_newCreateFilter.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=9548f1c94130d5f6d0b61c2edb95d693) > [!TIP] > > AND conditions are connected by a light blue branching line (connector). > > ![06\_newcustomerfilter](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_newcustomerfilter.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=473ee7e5a4304f27d87376feaeea0028) > > This condition means we want to find customers who have a valid, non-empty email AND a valid non-empty phone number AND a filled-in name. ## How to add OR condition Use this feature when you want to match customers who meet any of the selected conditions. For example, to create a segment of customers with valid emails OR valid phone numbers, follow these steps: 1. Click **Add OR condition** 2. Click **Add AND condition** → **Email**, and select the "**not empty and valid**" from the dropdown on the right. After that, click **Add condition**. 3. Then, on the same panel below click **Add condition** → **Phone number** and select the "**not empty and valid**" from the dropdown on the right. Click **Add condition**. 4. Finally, click **Apply**. For more details on how to create filters with OR conditions, please refer to this article. > [!TIP] > > OR conditions are connected by a lilac branching line (connector). > > ![07\_newcustomerfilter](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_newcustomerfilter.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=47f37e25f7981d80a9d29e5c8ffe021c) > > This condition means we want to find customers who either have a filled-in valid email OR have a filled-in valid phone number. Satisfying at least one of these two conditions is sufficient. ## How to add a nested condition A field may contain additional conditions. The main condition and its more detailed nested condition are linked by a blue line of different levels. For example, to find customers who have placed an order and whose order value exceeds \$100 and whose previous orders have been fully paid select the following conditions: ![07\_createfilter](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_createfilter.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=3207f470fa5120440cd5c76a50741223) To apply additional conditions, click **+** next to the relevant condition. To apply nested conditions, click the links of the adjacent conditions. For example, to make the **Status** condition more detailed with a nested order line condition, you can choose from the following two options: 1. Click **+**: ![08\_createfilter](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_createfilter.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=be5d42146e875a342532060dade3ee7a) 2. Click on the side line: ![09\_createfilter](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_createfilter.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=dc3788f212b4bfc7b7065a9c2cc7a2b3) ## Search You can look up the required field using its name: ![10\_createfilter](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_createfilter.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=7c26811e4d3353718a039c57801d1130) ### Cross-search through nested conditions You can find the field you need among the list of nested conditions. For example, if you want to find an **Action template** condition which is nested in the **Customer action field**, one way to do this would be to select **Actions** → **Customer action** → **Action template**: ![11\_createfilter](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_createfilter.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=3da0257f38a819d7cd347a7821adda99) But you can also do this in one step if you use the search bar — simply start typing the field name in the Condition name field and click on the line you’re looking for: ![12\_createfilter](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_createfilter.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=f7f6f64188c4660654ccec2e739b3b5c) > [!NOTE] > > The cross-search function works across first- and second-level nested fields only. # How to Find Customers Added to the Database in a Given Period Source: https://help.maestra.io/filters/how-to-find-customers-added-to-database-in-a-period To find customers who were added to your database during a specific period of time, use the registration filter. This filter looks at the action through which a customer first gained a contact or identifier: email, mobile phone, external ID, or loyalty card. > [!NOTE] > > Actions where a customer only gains a device (such as a web push subscription or an app installation) do not count as registration. A customer may have activity before registration — site visits, category page views, and product views. These get attached to the customer card once the customer is added to the project. > [!TIP] > > If you want to search by the date of the first interaction with a customer instead, use the dedicated guide for finding customers by their first action in a given period. To get started, go to **Data → Customers**. Below are several common tasks and how to solve them. ## Single-brand projects ### Task 1. Find customers who registered in the last month Build a filter that selects customers whose registration action falls within the last month. ### Task 2. Find customers who registered since the start of the year Build a filter that selects customers whose registration action falls between the start of the current year and today. ## Multi-brand projects ### Task 1. Find customers who registered for the first time in the last month Build a filter that selects customers whose first registration across any brand happened during the last month. ### Task 2. Find customers who registered for the first time in the Test brand in the current calendar month Use this when it does not matter whether the customer had earlier registrations in other brands — only that their first registration in the Test brand falls within the current calendar month. ### Task 3. Find customers whose first overall registration was in the current calendar month, and that first registration was specifically in the Test brand This is stricter than Task 2: the customer's very first registration across the whole project must be in the current calendar month, and it must have happened in the Test brand. ## How to filter registration actions The logic is the same as for filtering customers, except you remove the **Customer action** element from the filter — you are already working on a list of actions. ### Task. Find registration actions from the last week Specify that you want registration actions, then limit them to the last week. You can export actions using the standard export instructions. ## Related Learn how to lower order cost through customer segmentation. # How to Find Customers Whose First Action Was in a Given Period Source: https://help.maestra.io/filters/how-to-find-customers-by-first-action-period The Maestra tracker records customer actions throughout a session and attaches them to the customer card at the moment of registration. As a result, a customer's first action is not always the registration itself — it might be something earlier, such as a visit to your website. This guide walks through how to find customers based on the date of that first action. ## Where to build the filter Go to **Data** → **Customers**: "First interaction" is one of the customer action filters available to you. Below are several common tasks and the way to solve each of them. ## Single-brand projects ### Task 1. Find customers whose first action occurred in the last month Use the **First interaction** action filter and set the time period to the last month. The result is every customer whose very first recorded action — whether that was a site visit, a subscription, an order, or anything else the tracker captured — happened within the past month. ### Task 2. Find customers whose first action occurred in the current year Same filter, but set the period to the current calendar year. You will get every customer whose first interaction with your brand happened at any point since January 1. ## Multi-brand projects If your project covers more than one brand, you have three distinct questions you can ask. Each one uses the same **First interaction** filter, but combines it with brand selection in a different way. ### Task 1. Find customers whose first action across all brands occurred in the last month Apply the **First interaction** filter with a "last month" date range and do not restrict by brand. The result includes every customer whose first-ever action on the project — regardless of which brand it happened in — fell inside the last month. ### Task 2. Find customers whose first action in the Test brand occurred in the current calendar month It does not matter whether the customer had earlier actions in other brands. You are asking: "When did this customer first interact with the Test brand specifically?" To do this, add the brand "Test" to the **First interaction** filter and set the period to the current calendar month. Customers who interacted with another brand earlier but only reached the Test brand this month will still be included. ### Task 3. Find customers whose absolute first action happened this calendar month, and that first action was in the Test brand This is the strictest of the three. You want customers who: 1. Have never had any action on the project before this calendar month, **and** 2. Whose very first action — the one that introduced them to the project — happened in the Test brand. Configure the **First interaction** filter to look at the customer's first action overall (not scoped to a single brand), set the period to the current calendar month, and then add the condition that this first action belongs to the Test brand. Customers whose first-ever action was in another brand are excluded, even if they later interacted with Test. ## Choosing the right task The three multi-brand variants look similar but answer very different business questions: | You want to know… | Use | | - | - | | Who is brand-new to the project this month? | Task 1 (no brand restriction) | | Who is new to a specific brand this month, even if they already knew us elsewhere? | Task 2 (brand inside the filter) | | Who joined the project this month through a specific brand? | Task 3 (first action overall, constrained to that brand) | Picking the wrong one will silently pull in or exclude large groups of customers, so it is worth being explicit about which question you are answering before you build the segment. # How to Find Customers Who Interacted With Product Lists Source: https://help.maestra.io/filters/how-to-find-customers-who-interacted-with-product-lists Use the **Product list changes** filter to find customers based on how they have interacted with product lists in Maestra Platform — for example, customers who added an item to their Cart, removed something from Favorites, or changed the quantity of a product in a list. ## What counts as a product list change Maestra Platform tracks five distinct types of changes to product lists: * **Product added** — a customer added a product to a list (for example, added a pair of glasses to the Cart). * **Product removed** — a customer removed a product from a list. * **Line changed** — the price or quantity of a product already in the list changed. * **List set** — a list was created or fully replaced with a new set of items at once (for example, the Cart was populated in a single action). * **List cleared** — every item in the list was removed at once. Each of these is recorded as a separate event, so you can filter customers by exactly the kind of interaction you care about. ## Where to find the filter **1. Open the customer list** Go to **Data** → **Customers**. **2. Add the filter** Add a new condition and choose **Product list changes**. **3. Refine the parameters** Set the change type, the product list, the products involved, and the time and location of the event (see below). ## Filter parameters After adding the **Product list changes** condition, you can narrow it down with the following parameters. ### Change type Pick one or more of the five change types listed above. If you leave it open, the filter will match any change. ### Product list Choose which list the change happened in — for example: * **Cart** * **Favorites** * Any other product list configured in your project You can select a single list or several lists at once. ### Product Limit the filter to specific products. You can match by SKU, product ID, category, or any other product attribute available in your catalog. For example, restrict the filter to products in the "Sunglasses" category, or to a single SKU. ### Time and location of the event Restrict the filter to a time window (for example, the last hour, the last 7 days, or a custom date range) and, where applicable, to the channel or point of sale where the change happened. ## Example: customers who added glasses to their Cart in the last hour To find every customer who added a pair of glasses to their Cart within the past hour: **1. Open Customers** Go to **Data** → **Customers**. **2. Add the Product list changes filter** Add a new condition and select **Product list changes**. **3. Set the change type** Choose **Product added**. **4. Set the product list** Choose **Cart**. **5. Set the product** Restrict the product to "Glasses" (by category, SKU, or another product attribute). **6. Set the time window** Limit the event to the last hour. The resulting segment contains every customer who added glasses to their Cart in the last hour. ## Verifying that a product is still in the list After filtering by **Product added**, you can add an extra check that confirms the product is **still in the list** at the moment the filter runs — not just that it was added at some point. This is useful when you want to target only customers whose Cart or Favorites currently contains the product. Customers who added the product and then removed it will be excluded. > [!TIP] > > Combine **Product added** with the "still in list" check to build classic abandoned-cart and abandoned-favorites audiences: customers who put a specific product into a list and have not removed it. ## Inspecting individual list interactions You can also look at single list-change events, not just aggregated customer-level filters. Go to **Data** → **Actions** to see each individual interaction with a product list. The same parameters are available there — change type, product list, product, time and location — so you can drill down to a specific event for a specific customer. This view is helpful when you are debugging a flow, investigating a customer's behavior, or verifying that the platform is recording list changes the way you expect. ## Common use cases * **Abandoned Cart**: customers who added a product to the Cart in the last *N* minutes/hours and have not completed an order. * **Abandoned Favorites**: customers who added items to Favorites but have not purchased them. * **Price-drop notifications**: customers who have a specific product in their Cart or Favorites when its price drops. * **Back-in-stock**: customers who added an out-of-stock product to Favorites or the Cart. * **Category interest**: customers who recently added any product from a given category to a list, to power category-specific campaigns. ## Related filters Once you have built a segment with **Product list changes**, you can combine it with other filters — for example, channel subscription status, total revenue, or recency of last order — to refine the audience even further. # How to Find Customers Who Viewed Specific Products or Categories Source: https://help.maestra.io/filters/how-to-find-customers-who-viewed-products-or-categories To find customers who viewed specific products or product categories, use the product view and category view filters. These filters let you segment customers by browsing behavior so you can follow up with relevant promotions, restock alerts, or price-drop notifications. Each view is stored as an action on the customer card, along with the context captured at the moment of the view: the product or category, its price and availability at that time, the action template, the point of contact (website, mobile app, etc.), and the timestamp. > [!NOTE] > > Price and availability are recorded as they were at the moment of the view. They do not update later, even if the product's current price or stock changes. This is what lets you target customers whose viewed product has since gone on sale or come back in stock. To get started, go to **Data → Customers**. ## Filtering by product views The product view filter selects customers based on individual product page views. You can narrow the filter by any combination of product attributes, the price and availability recorded at view time, the action template, the point of contact, and the date of the view. ### Task 1. Find customers who viewed promotional products over \$50 in the last month Use this filter to reach customers who showed interest in higher-ticket promo items so you can send them a targeted offer. 1. Add the **Product View** condition. 2. Restrict the product set to items in your promo catalog (for example, products tagged as "On Promotion" or belonging to a promo category). 3. Set the **Price at the moment of view** to greater than `$50`. 4. Set **Availability at the moment of view** to "Available." 5. Set the **Date** range to the last month. The resulting segment contains every customer who, in the last 30 days, viewed an in-stock promo product priced above \$50. ### Task 2. Find customers who viewed a product that has since dropped in price Because price at the moment of view is stored on the action, you can compare it against the product's current price. 1. Add the **Product View** condition. 2. Set **Price at the moment of view** to greater than the product's current price. 3. Set **Availability at the moment of view** to "Available." 4. Set the **Date** range to a window that makes sense for your category (for example, the last 14 days). This is the foundation for a "price dropped on a viewed product" campaign. ### Task 3. Find customers who viewed a product that is now back in stock 1. Add the **Product View** condition. 2. Set **Availability at the moment of view** to "Out of stock." 3. Add a second condition that the product is currently "Available." 4. Set the **Date** range to a recent window (for example, the last 30 days). This selects customers who tried to view a product when it was unavailable and can now be notified that it has returned. ### Task 4. Find customers who viewed a specific product on a specific channel If you want to act only on customers who viewed a product on a particular surface — say, your mobile app — add a **Point of contact** condition and choose the channel. You can do the same with the **Action template** if you want to scope the segment to views that came from a specific tracking template. ## Filtering by category views Category views are tracked as a separate action, not as a roll-up of product views inside the category. A category view is recorded when the customer opens the category page itself. Filter parameters include the category, the point of contact, and the date. ### Task 1. Find customers who viewed the "Outerwear" category in the last two weeks Use this filter to announce a new arrival or seasonal drop to customers who have shown interest in that part of your catalog. 1. Add the **Category View** condition. 2. Select the **Outerwear** category. 3. Set the **Date** range to the last two weeks. ### Task 2. Find customers who viewed any category on the mobile app yesterday 1. Add the **Category View** condition. 2. Leave the category open so any category qualifies. 3. Set the **Point of contact** to your mobile app. 4. Set the **Date** to yesterday. ## Combining product and category views To find customers who are broadly interested in a category — either through the category page itself or through individual products within it — combine both conditions in a single filter joined with "OR." ### Task. Find customers interested in the "Accessories" category in the last month 1. Add a **Category View** condition for the **Accessories** category, scoped to the last month. 2. Add a **Product View** condition for products in the **Accessories** category, scoped to the last month. 3. Join the two conditions with **OR**. The resulting segment contains every customer who either opened the category page or viewed an individual accessory in the last month. > [!TIP] > > If you plan to use this segment as a flow trigger or as the audience for a recurring campaign, save it as a named segment so you can reuse it across campaigns without rebuilding the filter each time. # How to Find Customers With Products in a List (Cart, Favorites) Source: https://help.maestra.io/filters/how-to-find-customers-with-products-in-a-list Customers can add products to lists, such as Cart or Favorites. You can find customers based on whether specific products are present in these lists, and then target them with relevant campaigns. **Example task:** Send sale information to customers who have a product from the Heaters category in their Favorites. ## How to build the filter 1. Go to **Data** → **Customers**. 2. Add a filter for customers who have a product in their Favorites that belongs to the Heaters category. The first-level condition is **Product in product list**. From there, specify: * the product list (for example, Favorites or Cart); * the product information (for example, category, price, brand, or any other product attribute). ## How to specify product price in a list There are several ways to set price-based conditions in list filters, depending on what you want to achieve. * **Product in product list — Actual line cost** — the price at which the product was added to the list. This price is specified for the entire line, including quantity. * **Product in product list — Product — Price** — the current product price stored on the platform from the product feed. * **Product in product list — Product — Old price** — the old product price stored on the platform from the product feed. ### Difference between a product and a product in list A **product** is a catalog item. Products are usually loaded into the project via a YML feed, which keeps the current price and availability up to date. On the platform, products are listed under **Data** → **Products**. When a customer adds a product to a list (or buys it), the product, its current price, and quantity are transmitted to the list — all combined into a single line in the product list. In other words, a product is one component of a line in a list. That's why the product price and the product-in-list price can differ. > [!NOTE] > > For example, a year ago a customer added a watch to their cart for $8,000. Today, the same watch costs $6,000. In this case, the actual line cost in the list is $8,000, while the current product price is $6,000. This distinction lets you set up mechanics like **price drop** notifications: send a message when the current price of a product in a list drops below the price at which it was added. ### Example A customer added an item to their Wishlist for \$3,000. The same product on the platform has the following prices: * **Line cost** — \$3,000 (the price the customer saw when they added it to the list) * **Current product price** — \$2,300 (the live price in the feed) * **Old product price** — \$2,500 (the previous price recorded in the feed) > [!NOTE] > > Both numeric boundaries in filters are inclusive. ## Total cost of products in a list You can also filter by the total sum of a list. The sum is calculated using the same logic as the actual line cost — by the prices at which the products were added to the list. So the **list sum** is the sum of the **actual line costs** of all matching products in the list. When you add conditions inside the filter, only the products matching those conditions are included in the total. For example, you can calculate: * the total sum of products in **Cart** only; * the total sum of women's clothing products in **Cart**. ## Understanding quantity You can specify quantity in two places: at the **Products in product list** level, and inside the nested **Product** condition. The difference between the two is easy to miss, so here are three examples that show how it works. ### Example 1: At least two different products The customer has at least **two different products** from the School Supplies category in their list. For example, one history textbook and one geometry textbook. ### Example 2: A single line with quantity of at least two The customer has a single line in the list with a **quantity of at least two**. For example, 15 lined notebooks on one line. ### Example 3: Multiple products, each with a quantity threshold The customer has at least **two different products**, and each of those products is on a line with a quantity of two or more. For example, 5 planners and 10 pencil cases. ## Exporting product lists You can export product lists for further analysis if needed. ## Related * Use the Actual line cost vs. Current product price difference to power price-drop flows. * Combine list filters with product attributes (category, brand, tags) to target promotions precisely. * Use the list-sum condition to identify high-intent customers with valuable carts or wishlists. # How to Simplify a Filter Source: https://help.maestra.io/filters/how-to-simplify-a-filter Some filters cannot be updated in real time. In this case, you will see a notification saying: The filter you have built has been running for a long time. Try creating a scheduled segment. ## Here’s what you can do to simplify a filter. If you need to search for customers with orders, try following these steps: go to **Database** → **Customers**, click **Add condition** and go to **Actions** → **Customer action** → **Orders** and **Product lists** → **Order** → **Additional information** → **First action information** instead of selecting **Add condition** → **Actions** → **Customer action** → **Orders and products** → **Order** → **Order first action**: ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_simplify_a_filter-\(1\).png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=7a8b3b45f641fd33dc8cba5f9a7d4431) ![](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_simplify_a_filter.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=fe2e80c03f69bcd2ea3adabeded1f24b) | **Before** | **After** | | - | - | | | | *** A search by quantity is more complex than the At least one condition. Therefore, try using the At least one condition instead of Set quantity → From 1: ![](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_simplify_a_filter.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=e59799b70eadefdcb3aefc87a2cc772a) ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_simplify_a_filter.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=fb542f4f32a4ec37ea46544425582b3c) | **Before** | **After** | | - | - | | | | *** If you’re creating a filter for orders with specific product categories and it’s taking a while to load, try creating a Scheduled or Static segment for these products and add it to your filter: ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_simplify_a_filter.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=3ba3c07bc6ad1de0e989b7ab9ddbd1a4) ![](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_simplify_a_filter.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=b9eecad11508b8f820a5f94d0c41ca1e) | **Before** | **After** | | - | - | | | | *** You can also speed up your search for balance updates: add your conditions for the bonus points account, the action template, and / or the period of a relevant update. You can specify the balance update actions by its name or category: ​ ![](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_simplify_a_filter.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=6e6399fd9d1b654dbf9075009442f655) ![](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_simplify_a_filter.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=8cb6679e5ab1ebabcb1f1374693a0356) | **Before** | **After** | | - | - | | | | *** If you need a search for orders placed during a specific timeframe in the Actions tab, go to Database → Actions, click Add condition → Orders and products → Order → Order item → Order → Additional information → First action information: ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_simplify_a_filter.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=3065f402035605a25bd26eca2ee24474) ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_simplify_a_filter.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=27cd1e89238bf7665405f4b39161091a) | **Before** | **After** | | - | - | | | | *** If your filter for actions cannot be created and you cannot simplify it, try filtering using a Scheduled segment for customers with the actions from the initial filter: ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_simplify_a_filter.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=476140d0d780748cab312c98ca450615) ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/15_simplify_a_filter.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=8713c4b00442c7a03a63a955c95e551d) | **Before** | **After** | | - | - | | | | *** If a segment cannot be calculated and your filter has multiple conditions, try to determine if there are any particularly difficult ones that may be slowing things down. To do this, apply your conditions one by one: ![16\_simplify\_a\_filter](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/16_simplify_a_filter.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=dc3a5495c608f15ebedd8d7166298daa) If your filter cannot be calculated, you can add some of its conditions as a Scheduled segment. This is because Scheduled segments are ready-to-use when you add them to the filter. ## Reasons why a filter cannot be calculated Whether a filter can be calculated or not depends on the three factors: * filter conditions; * the amount of data that fits these conditions; * the database workload volume at the time when you’re creating the filter. 1. **Filter conditions** Let’s take a closer look at this example: ![17\_simplify\_a\_filter](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/17_simplify_a_filter.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=3f84c0cd684a5c587db38923ca40b78a) To find customers that fit these conditions, system must filter them in two separate lists: those with orders and those with a subscription that matches the one selected. After that, the system will compare these lists. The more customers / orders / topics the database contains, the more data will have to be processed by the filter, and therefore the longer it will take for the selection to be completed. If you add a new condition — for example, First action information — the filter becomes more complex, because it must now search through an additional list of actions and merge the results with the data found at the previous step. Therefore, the more entities your filter includes and the more data for these entities the database contains, the more complex your filter is. **2. Volume of data** If a Realtime filter often displays a notification that suggests building a Scheduled segment, this is an indicator that a large volume of data has built up in your project’s database. ![18\_simplify\_a\_filter](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/18_simplify_a_filter.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=0c012ef4bda42682b7d4ec5af22d4417) To help everything work smoother, you can delete some of this data. Actions can be deleted automatically and other entities can be deleted manually. > [!NOTE] > > **What happens if you choose not to delete your data?** > > In this case, please keep in mind that your filters may work slower. Some of them will no longer be updated in real time and you will have to replace them with Scheduled segments. **3. Database workload** Database resources are limited. Filters share these resources with other features in the system, including messages, triggers, imports and exports, multiple API method calls, etc. All of these can be quite heavy on the system, which in turn can affect how filters work — so they may be slower during peak hours and speed up when workload volumes from other system operations are lower. # Abandoned Session Flow Source: https://help.maestra.io/flows/examples/abandoned-session-flow **Goal:** send a communication after a session ends for an abandoned cart, abandoned product view, or abandoned category view, in a defined priority order. To solve this, we'll set up a flow. ## Before you create the flow * Add automated campaigns in the channels you need: email, SMS, Viber, mobile push, or web push. * Configure product output using the following parameters: * For abandoned cart — `Session.GetAddedToListProducts()` * For abandoned category — `Session.ProductCategoryViews` * For abandoned product view — `Session.ProductViews` * Or use the new constructor to output products without parameters or code — refer to the abandoned cart, abandoned product, and abandoned category guides. ## Build the flow **1. Set the trigger event** Set the flow to start on the **Customer left site or application** event and limit triggering to once every 3 days. > [!NOTE] > > **About the event** > > A session is a continuous chain of actions on the site (tracked by the Maestra tracker) or in the app (tracked by the Maestra SDK). It automatically closes 30 minutes after the customer becomes inactive. **Event settings** **Actions performed during the session** Available actions: * Product added to a list * Product view * Product category view If one or several action types are selected, the flow will trigger only on customer sessions that contain those actions. If no actions are selected, the flow will consider all sessions. **Orders during the session** Lets you limit sessions by whether or not orders were placed in them. **2. Wait 30 minutes** Also restrict the exit from the wait block so the flow doesn't send messages at night. **3. Check customer eligibility** Verify that the customer: * Has not placed any orders in the past 24 hours * Has not received any campaigns in the past 24 hours * Has an active subscription * Has a valid contact in the campaign's channel **4. Filter for cart additions** Filter by session — a product was added to the cart and the product is still in the list. **5. Send the abandoned cart message** If the conditions above are met, send the abandoned cart campaign. > [!TIP] > > **What to include in the campaign** > > * Alongside the products from the cart, you can add recommendations: > * Complementary products to the list — to help the customer complete the order; > * Similar products to the list — alternatives that might be a better fit. > * The parameter for recommendations to a list is `Recipient.Recommendations.{algorithm_name}`. Or use the new constructor. > > You can evaluate effectiveness and pick the best version using A/B testing. **6. Handle sessions with no cart additions** If there was no product added to the cart, continue to the next check. **7. Filter for product views** Check whether the session contained a product view. **8. Send the abandoned product view message** Send the abandoned product view campaign. > [!TIP] > > **What to include in the campaign** > > * You can add recommendations — products similar to those viewed in the last session — alternatives that might be a better fit. > * The parameter is `Recipient.Recommendations.{algorithm_name}` (or use the new constructor). **9. Handle sessions with no product views** If there was no product view, continue to the next check. **10. Filter for category views** Check whether the session contained a category view. **11. Send the abandoned category view message** Send the abandoned category view campaign. > [!TIP] > > **What to include in the campaign** > > * You can add recommendations — popular products from the categories viewed in the last session. > * The parameter is `Recipient.Recommendations.{algorithm_name}` (or use the new constructor). **12. Launch the flow** The flow is ready. You can turn it on. ## Flow logic summary | Step | Condition | Action | | - | - | - | | 1 | Customer left site or application (max once every 3 days) | Start the flow | | 2 | Wait 30 minutes, skip nighttime sends | Delay | | 3 | No orders or campaigns in the past 24 hours, active subscription, valid contact | Continue | | 4 | Product added to cart and still in the list | Send abandoned cart campaign | | 5 | No cart addition, but product was viewed | Send abandoned product view campaign | | 6 | No product view, but category was viewed | Send abandoned category view campaign | > [!NOTE] > > Priority order matters: the abandoned cart message takes priority over abandoned product view, which takes priority over abandoned category view. Each customer receives only one message per session. # Double Opt-In Welcome Flow Source: https://help.maestra.io/flows/examples/double-opt-in-welcome-flow A double opt-in welcome flow is one of the highest-ROI automations you can run. It confirms that a new subscriber actually owns the email address they entered, keeps your sender reputation clean, and gives you a perfect moment to introduce your brand while engagement is at its peak. This guide walks through the full setup in Maestra: two flows working together — one that asks the customer to confirm their subscription, and a second that sends a welcome campaign as soon as they click the confirmation link. > [!NOTE] > > Double opt-in is the recommended pattern for any list you plan to send marketing to. It protects deliverability, filters out typos and bots, and gives you documented consent in line with US email-marketing best practices (CAN-SPAM) and similar laws if you market internationally. ## How the flow works The setup is split into two independent flows so each step has a clean trigger and is easy to debug. | Flow | Trigger | What it does | | - | - | - | | **Flow 1 — Confirmation request** | Customer receives a subscription status in the selected channel or topic | Sends a confirmation email, waits 24 hours, sends a reminder if the customer hasn't confirmed | | **Flow 2 — Welcome after confirmation** | "Customer subscription to channel" action is recorded (fired automatically when the customer clicks the confirmation link) | Sends the welcome campaign | The link inside the confirmation email is a special opt-in link. When the customer clicks it, Maestra automatically: 1. Updates the subscription status from "implicit" or "pending" to "subscribed." 2. Generates a "Customer subscription to channel" action — this is what fires Flow 2. ## Before you build the flows You need three campaigns ready in Maestra before you wire the flows together. **1. Confirmation email campaign** Create an automatic email campaign using the **opt-in (subscription confirmation)** sending profile. The opt-in profile lets you send to addresses that haven't confirmed yet — your regular marketing profile will skip them. The email must contain a clearly labeled confirmation link or button (for example, "Confirm subscription"). When you insert it, choose the link type that triggers a subscription update on click. **2. Reminder email campaign** Create a second automatic email campaign, also using the opt-in profile. This is the nudge you send 24 hours later to customers who didn't click the first email. Reuse the same confirmation link. **3. Welcome email campaign** Create an automatic email campaign using your standard marketing profile. This goes out once the customer has confirmed, so you can send it through the normal marketing channel. > [!TIP] > > Keep the confirmation email short and single-purpose. One headline, one sentence of context, one button. Save the brand story, perks, and product highlights for the welcome email — the customer hasn't confirmed yet, so anything that distracts from the click is friction. ## Flow 1: Subscription confirmation request This flow runs the moment a new subscriber is captured — from a signup form, checkout subscribe box, popup, landing page, or any other source that writes a subscription status to Maestra. ### Trigger Use the **Subscription status changed** trigger. * **Event:** customer acquires the selected subscription status in a channel or topic. * **Channel:** Email. * **Topic:** the topic you want to confirm (for example, your main newsletter topic). * **Status:** the "implicit" / "pending" status assigned to new, unconfirmed subscribers. > [!NOTE] > > The trigger fires for both explicit subscribes (a customer ticks a box) and implicit subscribes (a status assigned by another system or import). That's intentional — you want every new address to go through confirmation. ### Flow blocks **1. Start block: limit to one entry per customer** In the start block, set the execution limit to **one entry per customer**. This prevents the same customer from receiving duplicate confirmation emails if their subscription status is rewritten multiple times (for example, by a re-import). **2. Filter: contact exists and is valid** Add a filter that checks the customer has a valid email address. Drop anyone who fails — there's no point continuing the flow for an invalid contact. Common conditions to include: * Email is present. * Email is not marked as invalid. * Email is not on a suppression / hard-bounce list. **3. Send the confirmation email** Add a **Send email** block pointing to your confirmation email campaign (the one built with the opt-in profile). **4. Wait 24 hours** Add a **Wait** block set to 24 hours. You can tune this — 24 hours is a common default, but 48 or 72 hours also works depending on your audience. **5. Filter: subscription still unconfirmed** After the wait, add a filter that checks the customer's subscription is still in the "implicit" / "pending" state. If the customer already clicked the confirmation link, they should exit the flow here — no reminder needed. **6. Send the reminder email** Send the reminder email campaign. Keep it lightweight — a quick "Did you mean to subscribe?" with the same confirmation button. **7. Activate the flow** Save and turn the flow on. > [!WARNING] > > Don't send marketing content through this flow. Until the customer confirms, you're operating under the opt-in profile and shouldn't include promotions, product recommendations, or anything that looks like a campaign send. Mixing the two is the fastest way to land in spam folders and cause deliverability issues for your confirmed list. ## Flow 2: Welcome message after confirmation This flow fires the instant the customer clicks the confirmation link. Because the click writes a "Customer subscription to channel" action, you can trigger directly off that action instead of polling for status changes. ### Trigger Use the **Customer action** trigger. * **Action:** Customer subscription to channel. * **Channel:** Email. * **Topic:** the same topic you used in Flow 1. ### Flow blocks **1. Start block: limit to one entry per customer** Set the start block to **one entry per customer** so a returning customer who resubscribes later doesn't receive the welcome series a second time. If you do want re-subscribers to get it again, switch this to per-event instead. **2. Filter: confirmation click happened and subscription is active** Add a filter that verifies: * The customer clicked the confirmation link (the action you're triggering on). * The customer's current subscription status in this channel and topic is active / confirmed. * The customer's email is valid. This guards against edge cases where an action is recorded but the subscription state didn't update correctly. **3. Send the welcome email** Add a **Send email** block pointing to your welcome campaign (the one using your standard marketing profile). **4. Activate the flow** Save and turn the flow on. ## What to put in the welcome email The welcome email has the highest open and click rates of any campaign you'll ever send. Use it deliberately. Strong elements to consider: * **A clear thank-you and brand intro.** One or two sentences. Who you are and what the customer will get from being on the list. * **A subscriber incentive.** A first-order promo code, free shipping, or loyalty-program bonus points. This single addition has been shown in multiple programs to push conversion to first purchase from around 40% up to 65%. * **Popular products or recently viewed items.** Pull dynamically with personalization parameters so the email reflects what each customer has shown interest in. * **Channel preferences.** Invite the customer to set their preferences (frequency, topics, SMS opt-in) — this lifts long-term engagement and reduces unsubscribes. * **A primary CTA.** One main button — usually "Shop now" or "Claim your offer." > [!TIP] > > Run an A/B test on the welcome email from day one. Subject line, hero image, and the presence/size of the incentive are the three variables that typically move the needle most. Even a small lift compounds because every new subscriber sees this email. ## Testing the setup Before you go live, run an end-to-end test with a real address you control. **1. Subscribe through your real signup path** Use the signup form, popup, or whichever source is in production. Don't test by manually writing a subscription status in Maestra — you want to validate the trigger fires the way it will for actual customers. **2. Confirm Flow 1 sent the confirmation email** Check your inbox and the customer card in Maestra. The customer should be in the "implicit" / "pending" state, and the confirmation email should be logged as sent. **3. Click the confirmation link** Verify two things happen automatically: * Subscription status flips to "subscribed." * A "Customer subscription to channel" action is recorded on the customer card. **4. Confirm Flow 2 sent the welcome email** The welcome email should arrive within a few minutes. Check that personalization parameters resolved correctly and the incentive code (if any) works. **5. Re-test the reminder path** Subscribe a second test address, but this time don't click the link. After the wait period, confirm the reminder fires and the welcome email does not. ## Common issues | Symptom | Likely cause | Fix | | - | - | - | | Confirmation email not sent | Campaign is using the standard marketing profile instead of the opt-in profile, so unconfirmed addresses are skipped | Switch the campaign to the opt-in / subscription-confirmation profile | | Welcome email arrives even when the customer didn't click | Flow 2 is triggering off a status change instead of the subscription action | Change the trigger to **Customer action → Customer subscription to channel** | | Reminder sent after the customer already confirmed | Missing "still unconfirmed" filter after the 24-hour wait in Flow 1 | Add the filter that checks subscription status before the reminder send block | | Both flows fire repeatedly for the same customer | Start block isn't limited to one entry per customer | Set the start block to one entry per customer in both flows | | Customer confirms but status doesn't update | The confirmation button isn't using the special opt-in link type | Recreate the link in the email editor, selecting the subscription-confirmation link option | > [!WARNING] > > If your confirmation email lands in spam at high rates, your sender reputation is likely already damaged. Pause the flow, investigate authentication (SPF, DKIM, DMARC) and recent campaign sending behavior, and consider warming the opt-in sending profile separately before relaunching. ## Why this setup works * **Two flows, two triggers.** Splitting confirmation and welcome into separate flows means each one has a single, clean trigger. Debugging, editing, and A/B testing are dramatically easier than maintaining one giant flow with internal branches. * **One entry per customer.** Prevents duplicate sends caused by re-imports, status rewrites, or customers who unsubscribe and resubscribe. * **Wait + re-check pattern.** The 24-hour wait followed by an "is the customer still unconfirmed?" filter is the standard pattern for any reminder logic — reuse it for cart reminders, browse reminders, and review requests. * **Welcome on the marketing profile.** Once confirmed, the customer goes through your normal sending profile, which keeps your opt-in profile clean for actual confirmation traffic and protects deliverability across both. Programs that ship this exact setup routinely see double-opt-in confirmed lists driving the largest share of CRM-attributed revenue — in mature programs, the welcome flow alone is often responsible for 10–15% of total GMV from CRM communications. # How to Create a Next Best Action flow Source: https://help.maestra.io/flows/examples/how-to-create-a-next-best-action-flow ## Why is the algorithm useful? — It identifies customers who are likely to make a purchase following a personalized offer (personalized product recommendations) and automatically sends them relevant emails. — It maximizes the open and conversion rates to make up to 10x revenue compared to non-ML algorithms, which periodically send emails after an order. ## How to set up a flow ### 1. Launch the algorithm. Go to **Campaigns** → **Next Best Action:** ![00\_nba](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_nba.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=e9c432fa2722a797dcb7e3be102fd4ac) After launching the "Next Best Action" algorithm module will be in a demo mode so it can only be activated up to 10 times per day. To access all features without restrictions, contact your Maestra Forward Deployed Marketer to enable the module. ### 2. Create the flow. 2.1. Select the **Time for Next Best Action** event that would trigger this flow: ![01\_nba](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_nba.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=893e553f79e8cdd8bf9211666a1a235d) > [!TIP] > > To make the event accessible, launch the algorithm at least in the demo mode. 2.2. Add the **Delay** block to set the delay time before the next step. You may also configure node schedule and limit sending hours: ![02\_nba](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_nba.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=3df7f559c40db4cca41e8758923b15c0) 2.3. Then add your specific **conditions**. Don’t forget to check if customers are subscribed with valid contact details: ![03\_nba](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_nba.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=fa755cdffbb196774df58dd4fef7ca1b) Make sure the contact details and the subscription you are checking in the condition block match your communication channel. 2.4. Send an email: ![04\_nba](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_nba.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=a6c3ae96d11ed4f4b34335b7f7aba4c7) 2.5. You can limit how often the flow should run for each customer: ![05\_nba](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_nba.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=20f9d34da03adfcc9e624b5bf1da10b3) 2.6. Your flow is ready, now you can launch it: ![06\_nba](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_nba.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=7cd8902634619904ca7ffc708784a8e0) ## How the algorithm works The algorithm is powered by a neural network. It analyzes the following customer actions: 1. Purchasing a cheap product; 2. Purchasing a medium-price product; 3. Purchasing an expensive product; 4. Viewing a cheap product; 5. Viewing a medium-price product; 6. Viewing an expensive product; 7. Receiving an email; 8. Opening an email; 9. Clicking on an email links. The neural network also transmits intervals between such actions. The target variable is the last 5 customer actions. They are what the neural network learns to predict. The output AI model shall predict whether it is reasonable to send an email this day. If the model decides to send it, the **Next Best Action** flow is triggered. # Multiple Abandoned Sessions Flow Source: https://help.maestra.io/flows/examples/multiple-abandoned-sessions-flow ## Overview **Goal:** Encourage customers who frequently visit your site to complete a target action, such as placing an order. **Solution:** Extend the standard abandoned session flow with an additional branch that targets customers who have visited the site multiple times without converting. This approach helps you reach high-intent shoppers who keep coming back but haven't yet purchased, giving them an extra nudge with relevant content or recommendations. ## How to build the flow ### Step 1. Add a condition block before the cart check In your existing abandoned session flow, insert a new condition block before the step that checks whether the customer has an abandoned cart. This branch will route frequent visitors into a separate communication path. ### Step 2. Configure the conditions Set the condition block to verify that the customer meets all of the following criteria: * Has had **3 sessions within the last 5 days**. * Has **not placed any orders** during this period. * Has **not received an email from this branch** in the last month. The first condition identifies customers who are actively engaged with the site. The second filters out customers who have already converted. The third prevents over-messaging by suppressing customers who recently received this communication. ### Step 3. Send the email campaign Once a customer matches all of the conditions, the flow sends them an email campaign tailored to re-engage frequent visitors. ## What to include in the email Use the email to give multi-visit customers a reason to return and complete an action. Consider including: * **Popular products** or **personalized recommendations** based on browsing behavior. * The **most frequently viewed product or category**, paired with related product recommendations. * **Curated collections** and tips to help customers navigate your catalog. * A **survey** to uncover what's stopping the customer from converting (for example, pricing, sizing, shipping, or product availability concerns). > [!TIP] > > Use A/B testing to compare different versions of the email — subject lines, content blocks, offers, or recommendation strategies — and identify the variation that drives the most conversions. ## Result The final flow contains the original abandoned session branch plus a new branch that detects customers with multiple recent sessions and sends them a dedicated email. Customers who qualify for the multi-session branch follow the new path, while everyone else continues through the standard abandoned session logic. # Order Confirmation Flow: 'Your Order Is Placed' Source: https://help.maestra.io/flows/examples/order-confirmation-flow Send customers an automatic confirmation as soon as they place an order. This flow keeps shoppers informed about order status, reduces "Where's my order?" support tickets, and builds trust right after checkout. ## Goal Notify a customer that their order has been created. ## Before you build the flow Set up an automated campaign in the channel you want to use. You can send the confirmation through any of the following: * Email * SMS * Viber * Mobile push * Web push > [!NOTE] > > Set the campaign profile to **Transactional**. Order confirmations communicate technical information about the order, so they must reach every customer regardless of their marketing subscription status. To display order details (line items, totals, shipping address, and so on), you have two options: * Use the **Order** parameter in your campaign template to pull order data dynamically. * Use the new template constructor, which renders order details automatically without requiring you to wire up the parameter. ## Build the flow **1. Add the trigger** Start the flow with the **New Order** event. This event fires whenever an order is created in Maestra. > [!TIP] > > Backdated orders also trigger the flow, as long as the order falls within the relevance window of the flow's step group and no later modifications have been made to that order. **2. Add an order status condition** The **New Order** event fires for any newly created order, regardless of its status. Add a condition that checks the order status so the confirmation only goes out for the statuses you care about (for example, `Confirmed` or `Paid`). As an alternative, you can replace the **New Order** trigger with the **Order Status Changed** event. Use this approach if you want the flow to run only when an order transitions into a specific status, rather than at the moment of creation. **3. Send the campaign** Add a send step that fires the transactional campaign you prepared earlier. > [!WARNING] > > Because this is a transactional message, the customer must receive it. Do not add subscription checks or marketing validity checks before the send step — they will block legitimate order confirmations. **4. Activate the flow** Turn the flow on. New orders will now trigger the confirmation automatically. ## Flow structure at a glance | Step | Type | Configuration | | - | - | - | | 1 | Trigger | **New Order** event (or **Order Status Changed**) | | 2 | Condition | Order status matches the value you want to confirm | | 3 | Action | Send transactional campaign (email, SMS, Viber, mobile push, or web push) | ## Key things to remember * The confirmation is transactional, so it bypasses subscription and marketing validity checks. * Use the **Order** parameter or the new constructor to render order details in the template. * If you want to confirm a specific status change (for example, only after payment is captured), switch the trigger to **Order Status Changed** instead of layering a condition on top of **New Order**. * Backdated orders can still trigger the flow when they land inside the step group's relevance window. # Post-Purchase Feedback and Review Flow Source: https://help.maestra.io/flows/examples/post-purchase-feedback-flow Collecting feedback after a purchase is one of the highest-leverage automations you can run. It tells you which products customers love, surfaces fulfillment problems before they snowball into refund requests, and feeds a steady stream of social proof into your product pages and third-party review sites. This guide walks through a complete post-purchase feedback flow in Maestra Platform. The flow waits until the customer has actually had time to use the order, confirms they are still subscribed and reachable, and then sends a single, well-timed message asking them to rate the order or leave a review on a third-party resource (Google, Trustpilot, Yelp, a category-specific site, or your own product reviews). ## Goal Send a communication after delivery that asks the customer to rate their order or leave a review on a third-party resource. The flow is channel-agnostic — you can deliver the ask over email, SMS, Viber, mobile push, or web push. Pick the channel where your customer is most likely to respond. For most brands, email is the workhorse here because it gives you room for a star-rating widget, a written review prompt, and links out to external review sites. ## Before you build the flow Set up the automated campaign you plan to send from inside the flow. The campaign lives outside the flow itself — the flow just triggers it. **1. Create an automated campaign in your chosen channel** Build one campaign per channel you want to use: email, SMS, Viber, mobile push, or web push. **2. Add the Order parameter (optional)** If you want the message to reference specific order details — item names, images, the order number, the delivery date — pass the `Order` parameter into the campaign. The campaign template can then pull fields directly from that order. Alternatively, use the new constructor, which renders order content without requiring you to wire up the parameter manually. **3. Test the campaign once on its own** Send a preview to yourself before plugging the campaign into the flow. It is much easier to debug a broken template in isolation than inside a multi-step flow. > [!TIP] > > If you want to A/B test the channel or the ask itself (star rating vs. open-ended review, internal vs. external review site), build the variants as separate campaigns now. You can branch between them inside the flow later. ## Flow structure The flow has six pieces, in order: 1. **Trigger** — Order status changed 2. **Delay** — Give the customer time to actually use the product 3. **Subscription check** — Confirm the customer is still reachable in the channel 4. **Send campaign** — Deliver the feedback ask 5. **Frequency cap** — Limit how often this flow runs per customer 6. **Activate** — Turn the flow on The sections below cover each piece in detail. ## Step 1. Trigger: Order status changed Use the **Order status changed** event as the flow trigger. Configure it to fire when an order transitions to the status that means "the customer now has the product in hand" — typically `Delivered`, `Completed`, or `Fulfilled`, depending on how your order pipeline is modeled. ### How the trigger behaves A few details about this event are worth knowing up front, because they shape how the flow behaves in edge cases: * **It fires on entering the selected status, including on order creation.** If an order is created already in the target status (for example, an in-store pickup recorded as `Completed` immediately), the flow still triggers. * **Backdated orders trigger the flow** if the order falls inside the relevance window of the trigger step and there are no later status changes that would supersede it. This matters if you import historical orders or correct fulfillment data after the fact. * **All line items on the order must reach the target status.** If a single line item is canceled, the flow will not trigger — unless you switch the trigger into "Any position transitioned" mode, which fires as soon as one item hits the status. * **Line items do not have to transition at the same time.** The flow waits until the last remaining item reaches the target status, then fires once. * **You can cap how often the trigger fires per order.** This prevents weird situations like an order bouncing between statuses and re-triggering the flow. * **Status transitions only count from the moment the flow goes live.** Transitions that happened before you activated the flow are not retroactively counted. > [!NOTE] > > Choose the status that most reliably means "the customer has the product." If your carrier integration writes back a `Delivered` status, use that. If you only have `Shipped`, you will need a longer delay in Step 2 to compensate for shipping time. ## Step 2. Delay: let the customer use the product Add a **Delay** block immediately after the trigger. The point of the delay is simple: a customer who got their order ten minutes ago cannot meaningfully review it yet. How long to wait depends on the product: * **Consumables, fast-moving goods, food, beauty samples** — 3 to 5 days is usually enough. * **Apparel and accessories** — 5 to 7 days, long enough for the customer to wear the item at least once. * **Electronics, home goods, anything with a setup curve** — 7 to 14 days. * **Furniture, appliances, big-ticket items** — 14 to 30 days. Inside the Delay block, set **send-time windows** so the message cannot go out in the middle of the night. A safe default is to allow sends only between 9:00 AM and 8:00 PM in the customer's local timezone. If the delay expires at 3:00 AM, the flow will hold the message until the window opens. > [!TIP] > > If you have multiple product categories with very different "time to first use," consider splitting the flow into branches by category and using a different delay on each branch. ## Step 3. Subscription check Before sending, add a condition that checks the customer's status in the channel you are about to use: * The customer has a valid subscription in the channel (email, SMS, Viber, mobile push, or web push). * The customer has a valid contact in that channel — a deliverable email address, a phone number that can receive SMS, an active push token, and so on. If either check fails, exit the flow. Do not try to fall back to a different channel here unless you have explicit consent for that channel as well — burning subscription health for a review request is not worth it. > [!WARNING] > > Skipping this check is the most common cause of bounce-rate spikes on post-purchase flows. Customers who unsubscribed between the time they placed the order and the time the delay expired must not receive the message. ## Step 4. Send the campaign Send the automated campaign you built in the "Before you build the flow" section. A few content patterns that work well here: * **Lead with the ask, not the brand.** "How are you liking your \[product]?" outperforms "A message from \[brand]." * **Make rating one-click.** Embed a star widget directly in the email so the customer can rate without opening a separate page. The click should deep-link them into the full review form with their rating pre-filled. * **Split positive and negative responses.** If the customer picks 4 or 5 stars, route them to your public review site (Google, Trustpilot, the App Store, your product page). If they pick 1, 2, or 3 stars, route them to a private feedback form that goes to your support team. This is the single biggest lever for both your review scores and your churn rate. * **Include the order context.** Showing the actual item the customer bought — image, name, order number — lifts response rates significantly over generic "rate your recent order" copy. * **Don't offer an incentive for a positive review.** Incentives for *any* review (positive or negative) are fine on most platforms; incentives conditional on a 5-star rating violate the policies of most review sites and will get your reviews removed. ## Step 5. Frequency cap In the flow's start block, set a **frequency cap** so a customer who orders three times in a month does not get three feedback asks in quick succession. A reasonable default is **one feedback request per customer every 30 days**, but tune this to your typical purchase cycle. If you sell something customers buy weekly (coffee, supplements, pet food), once every 30 days is right. If you sell something customers buy twice a year (outerwear, electronics), every 60 to 90 days is more appropriate so you are not asking on every single order. ## Step 6. Activate Turn the flow on. From this point forward: * Every order that transitions into the target status will enter the flow. * After the delay, eligible customers will receive the campaign. * The frequency cap will suppress repeat asks within the configured window. > [!NOTE] > > Status transitions that happened *before* you activated the flow will not trigger it retroactively. The flow only sees events that occur from the activation moment onward. ## What to measure Once the flow has been running for a few weeks, look at: * **Response rate** — percentage of recipients who submitted a rating or review. Healthy benchmarks: 5–15% for email, 1–5% for SMS. * **Average rating** — both the trend over time and the distribution. A creeping average is the earliest signal of a quality or fulfillment problem. * **Negative-feedback recovery rate** — of customers who left a 1–3 star private response, how many did your support team reach and resolve. This is where feedback flows pay for themselves. * **Review volume on external sites** — if you are routing positive responses to Google or Trustpilot, your public review count should be climbing. * **Unsubscribe rate on this flow vs. your marketing campaigns** — if it is materially higher, your delay is probably too short or your frequency cap too loose. ## Variations worth trying * **Two-touch flow.** Send a short "did it arrive okay?" message a day or two after delivery, then the full review ask a week later. The first touch catches fulfillment problems before they become bad reviews. * **Repeat-buyer branch.** Customers on their third or fourth order behave differently than first-time buyers. Consider a separate branch with a more familiar tone and a higher-trust ask (referral, UGC photo, video testimonial). * **Category-specific copy.** If you sell across categories, split the flow by product category at the trigger and use category-specific subject lines and questions. * **Win-back loop.** Pipe customers who leave a low rating directly into a support workflow with an SLA. Customers whose complaint is resolved within 48 hours have meaningfully higher retention than customers who are never contacted again. # Post-Trip Survey Flow Source: https://help.maestra.io/flows/examples/post-trip-survey-flow Ask customers for feedback right after their trip ends. Whether you sell flights, train tickets, hotel stays, tours, or any other travel service, a well-timed survey gives you fresh reviews while the experience is still top of mind. This flow is different from a standard post-purchase survey. With most products, you can send the review request a few days after the order ships. Travel is different: a customer can book a trip days, weeks, or even months in advance, so the order creation date tells you nothing about when the trip actually happens. The campaign has to wait until the travel date itself before it fires. To make that work, the flow uses the date passed in the order (the trip end date) instead of the order date. ## Before you start **1. Pass the trip date into the order** Make sure your integration sends the trip end date (or return date) into a custom field on the order, the order line, or the product. Which one you use depends on your setup: * **Order-level field.** Simplest option. Works when one order equals one trip, and you only need a single date for the whole order. Lets you react to any status change on the order. * **Line-level field.** Use this when a single order can contain multiple trips with different dates (for example, several flights or several hotel stays). You can run a separate sequence for each line item. * **Product-level field.** Use this when the date lives on the product itself. Pick the option that matches how your business and your data are structured. **2. Build the survey campaign** Create an automated campaign in the channel you want to use — email, SMS, Viber, mobile push, or web push. Insert the survey link or feedback form. If you want to show order details (destination, dates, booking reference) inside the message, use the Order parameter when building the template, or use the new template builder, which can pull order data without an extra parameter. ## How the flow works **1. Trigger — Order status changed** Start the flow with the **Order status changed** event. Keep the default frequency limit of one run per order so the same customer isn't surveyed twice for the same trip. This event also fires when an order is created directly in the target status, so newly created completed orders are covered. **2. Dynamic wait until the trip ends** Add a wait step that pauses the flow until the date passed in the order. This is the key difference from a standard post-purchase flow — you're not waiting a fixed number of days after the order; you're waiting until the actual trip end date stored on the order, line, or product. Choose the field you populated in the prep step as the wait reference. **3. Check that the order is still valid** After the wait, confirm the order hasn't been cancelled or refunded in the meantime. If it has, the flow ends and no message is sent. **4. Check the customer and their contact** Verify two things before sending: * The customer is still subscribed to the channel you're about to use. * They have a valid contact for that channel (a valid email address, phone number, push token, etc.). If either check fails, exit the flow. **5. Send the survey** Send the campaign you prepared. Pick whichever channel fits your audience best — email, SMS, Viber, mobile push, or web push. **6. Launch the flow** Save and activate the flow. From this point on, every order that hits the trigger status will wait until the trip ends, run the validity checks, and send the survey automatically. ## Tips * If you offer multi-leg trips or bundles, prefer line-level dates so each leg can be surveyed on its own schedule. * Keep the survey itself short. Customers are most willing to respond in the first day or two after they return. * Consider adding an incentive (a discount code, loyalty points worth a few dollars off the next booking) to lift response rates. * A/B test the send time — same day the trip ends versus one or two days later — to find what works for your audience. # Price Dropped on a Product in Customer's List Flow Source: https://help.maestra.io/flows/examples/price-dropped-on-product-in-list-flow The task: to send a communication when the price drops on a product a customer has saved to one of their personal lists — for example, Favorites, Cart, or any other custom product list. > [!TIP] > > **Before creating the flow** > > Add an automated campaign in the required channel: [email](https://intercom.help/maestraio/en/articles/11898625-how-to-create-a-trigger-email-campaign), SMS, Viber, mobile push, or web push. > > A [parameter](/campaigns/message-template-engine/what-is-the-message-template-engine) for product output — > > `ProductListItem` > > You can also use the new email builder, which renders the product without an explicit parameter. Create a [flow](/flows/what-are-flows-and-how-do-you-use-them): 1. Launch — by the "Product in list changed — product price decreased" event: > [!TIP] > > When the "Price" field of a product in a customer's list is changed, the system checks whether the current price has decreased compared to the price the product had at the moment the customer added it to the list. > > If it has, the flow is triggered for the customer who has this product in the specified list. > > * This happens every time, including: > > * When the price decreases even further > > * When the price increases and then decreases again relative to the previous price > > * It does not trigger when the price is filled in for the first time. > > If the product previously had no price data, the price should change after it is filled in so that the flow is triggered. > > * The flow triggers separately for each product. If two products in the customer's list have their price reduced, the flow runs twice — once per product. > > For customers with a filled area: > > * If the product has regional price data for the customer's zone, the flow triggers on changes to the product in the customer's region. > > * If the product has regional data but not for the customer's zone, the flow is not triggered. > > * If the product has regional data for the customer's area but the price information in that area is not filled, the flow triggers based on changes in the main feed. > > * If the product has no regional data, the flow triggers based on changes in the main feed. 2. Restrict the number of times the flow is applied to a customer so as not to send several campaigns at once: 3. We don't set a delay, but we restrict the exit from the block so as not to send a message at night: 4. Make sure that the product is known and in stock: 5. Check the validity of the contact and the subscription status in the campaign channel: If there are other price-drop mechanics running in parallel (for example, price drop on the most viewed or purchased product, or price drop on a product in a different list), set a delay so the mechanic with the highest priority is processed first. In the others, add a check for the absence of communications over the recent period. 6. Then — send the campaign: > [!TIP] > > * In the campaign, you can output related products or personal recommendations for the customer; parameter — `ProductListItem.Recommendations`. > * Use A/B testing to evaluate the efficiency of using recommendations and select the most suitable algorithm. 7. The flow is ready, you can launch it. # Price Dropped on a Viewed Product Flow Source: https://help.maestra.io/flows/examples/price-dropped-on-viewed-product-flow Use this flow to automatically notify customers when the price drops on a product they previously viewed on your site. It is one of the highest-converting triggered communications you can launch, because the customer has already shown direct intent on the exact item that is now cheaper. ## Before you start Before you build the flow, create the automated campaign you intend to send. The flow itself only handles the trigger and the conditions — the message is sent by the campaign you select inside it. The campaign can use any channel supported by Maestra: * Email * SMS * Viber * Mobile push * Web push Inside the campaign, insert the viewed product using the `ProductView` parameter, or build the block visually with the drag-and-drop email builder so you do not have to work with parameters at all. > [!TIP] > > You can enrich the campaign with related products or personalized recommendations. Both can be added as parameters or, more easily, dropped in as ready-made blocks in the drag-and-drop builder. ## How the flow works The flow listens for the **Viewed Product Changed — Price Decreased** event. The event fires when the current price of a product the customer has viewed becomes lower than the price at the moment the customer viewed it. Key behaviors of the event: * It triggers repeatedly. If the price drops, rises, then drops again below the original viewed price, the event fires each time the drop happens. * It triggers per product. If the prices of several viewed products go down, the flow runs once for each product. * It does not fire on the initial price load. The event requires an actual price change after the product data has been recorded — the first price ingestion is not treated as a decrease. * It respects regional pricing. If the customer has an assigned zone and the product has zone-specific prices, the event tracks price changes for that customer's zone. If there is no zone-specific price, the event uses the price from the primary feed. ## Build the flow **1. Add the trigger** Start the flow with the **Viewed Product Changed — Price Decreased** event. **2. Limit how often the flow can run per customer** Add a frequency cap so a single customer does not receive multiple price-drop messages at the same time. Without a cap, a customer who viewed many products could be hit with several emails in quick succession if prices change in a batch update. **3. Restrict delivery times** Add a time window so the flow does not send messages outside of acceptable hours — for example, overnight. The flow will pause and wait for the allowed window before continuing. > [!NOTE] > > If you also run price-drop campaigns based on lists, add a delay here so the list-based mechanics fire first. This prevents the triggered flow from racing ahead of your scheduled list campaigns. **4. Check the product and the view** Add conditions that confirm: * The customer viewed the product recently (so you are not messaging about a product they looked at months ago). * The product is currently in stock and available for purchase. Both checks together prevent you from sending an irrelevant message about a stale view or an out-of-stock item. **5. Check the subscription and contact** Add a condition that verifies the customer: * Is subscribed to the channel you are about to use. * Has a valid contact (email address, phone number, push token, etc.) for that channel. **6. Send the campaign** Add the send step and select the automated campaign you prepared earlier. The viewed product is passed into the campaign automatically, so it appears in the message. **7. Activate the flow** Once all steps are configured, activate the flow so it starts listening for price-drop events. ## Adding recommendations To increase relevance and average order value, supplement the viewed product with extra items: * **Related products** — products related to the viewed item, inserted via a related-products parameter or a related-products block in the drag-and-drop builder. * **Personalized recommendations** — products recommended specifically for the recipient, inserted via a recipient-level recommendations parameter or a recommendations block in the builder. Both options work in the same flow; you can use one or both. ## A/B testing Use A/B testing on the campaign to compare subject lines, copy, hero blocks, or recommendation strategies, and let Maestra surface the variant that performs best. # Product From Customer's List Is Back in Stock Flow Source: https://help.maestra.io/flows/examples/product-in-list-back-in-stock-flow This flow automatically notifies customers when a product from one of their personal lists (for example, Favorites, a wishlist, or a "notify me when available" list) returns to stock. It triggers individually for each customer and each product, so the message always feels personal and timely. ## Before you start Set up an automated campaign in the channel you plan to use: * Email * SMS * Viber * Mobile push * Web push The campaign should pull product details using the `ProductListItem` parameter, or use the new content constructor that displays product information without manually specifying parameters. > [!TIP] > > Plan the channel ahead of time. The flow uses a single channel per branch, so if you want to reach customers across multiple channels, plan to add separate branches with subscription checks for each one. ## How to configure the flow ### Step 1. Set the trigger event Start the flow with the event **Product in customer's list changed — Product is back in stock**. This event has a few important behaviors: * It fires when a product that was previously out of stock becomes available again. * It re-fires every time the product cycles between out of stock and back in stock, so customers can be notified on each return to availability. * If several products from a customer's list become available at the same time, the event fires separately for each product. * If your catalog uses regional availability zones and the customer has regional data, the event respects regional stock information when deciding whether the product is available for that customer. ### Step 2. Limit how often the flow runs per customer Add a frequency limit so the same customer does not receive too many back-in-stock messages in a short period. This protects the customer experience and keeps your sending reputation healthy. A common starting point is to allow no more than one back-in-stock message per customer per day, but tune the limit to match your catalog size and how active your customers' lists are. ### Step 3. Restrict sending hours Add a time window so the flow does not send campaigns during nighttime hours. Match the window to your customers' time zones — for example, only allow sends between 9:00 AM and 9:00 PM local time. ### Step 4. Add product validation checks Insert conditions that confirm the product is actually worth sending a message about. Typical checks include: * The product is in stock in the customer's region. * The price meets your minimum threshold (for example, above \$10). * The product is not excluded from marketing communications (no "do not promote" flag). * The product belongs to a category you actively promote. Adjust the checks to match your merchandising rules. ### Step 5. Check the customer's subscription and contact details Before sending, confirm that the customer: * Has an active subscription for the channel you are using. * Has valid contact information for that channel (a deliverable email address, a valid phone number, an active push token, and so on). This step prevents wasted sends and keeps engagement metrics clean. ### Step 6. Send the campaign and clean up the list Send the prepared campaign to the customer. After the send, optionally remove the product from the customer's list (for example, from a "notify me when available" list) so the customer is not notified again about the same item. > [!NOTE] > > If the list is Favorites or a wishlist that the customer maintains themselves, do not remove the product — let the customer manage the list manually. Only auto-clean lists that are specifically meant for one-time back-in-stock alerts. ### Step 7. Add a final frequency cap End the flow with one more frequency limit to prevent multiple back-in-stock campaigns from being sent to the same customer at nearly the same moment (for example, when several products in the customer's list become available within seconds of each other). ## Make the message work harder You can enrich the campaign with recommendations so a single back-in-stock message also drives discovery of related products: * **Related products for the same item.** Use the parameter `ProductListItem.Product.Recommendations.{algorithm name}` to show products related to the one that came back in stock. * **Personalized recommendations for the customer.** Use `Recipient.Recommendations.{algorithm name}` to show products tailored to the individual customer. Replace `{algorithm name}` with the name of the recommendation algorithm you have set up. ## Test and optimize Run an A/B test on the campaign to find the variant that drives the most engagement and revenue. Common things to test: * Subject line and preview text * Hero image versus product grid * Single product focus versus product plus recommendations * Call-to-action wording * Send time inside your allowed window Once you have a winner, promote it to the default and keep iterating. # Product Replenishment Reminder Flow Source: https://help.maestra.io/flows/examples/product-replenishment-reminder-flow Remind customers to restock products that are about to run out. This flow works for any product that customers buy on a predictable cycle — shampoo, diapers, laundry pods, contact lenses, pet food, vitamins, coffee pods, or anything else with a roughly fixed replenishment interval. ## What this flow does When a customer receives an order containing a replenishable product, Maestra schedules a reminder campaign timed to land shortly before that product is expected to run out. The reminder can recommend the same product (so the customer can reorder their favorite) and, optionally, similar alternatives. ## Key things to know before you start Three characteristics shape how this flow is built: 1. **You'll need to extend your product feed.** The flow relies on knowing how long each product lasts, so you'll need to send a shelf-life or replenishment interval for every product in your feed. 2. **The flow runs per line item, not per order.** Replenishment timing is tracked at the product level. If a single order contains two qualifying products, the flow triggers twice — once for each line item — and the customer can receive two separate reminders timed independently. 3. **You can skip the feed change if you prefer.** As an alternative, you can pass the next purchase date directly in a custom field on the order line item. This is useful when replenishment timing depends on something other than a fixed shelf life (for example, a subscription cadence or a quantity-based estimate). ## Step 1. Extend the product feed Add an `` parameter inside each `` element in your YML feed. The value uses ISO 8601 duration format: | Replenishment interval | Value | | - | - | | 1 year | `P1Y` | | 2 months | `P2M` | | 3 days | `P3D` | | 4 hours | `PT4H` | Set the value to how long the product typically lasts a customer between purchases — not its physical shelf life on a warehouse shelf. > [!TIP] > > If you'd rather not modify the feed, send the next purchase date in a custom field on the order line item instead. The flow can read either source. ## Step 2. Create the reminder campaign Build the campaign you want to send in your preferred channel — email, SMS, Viber, mobile push, or web push. Make it an automated (transactional) campaign so the flow can trigger it on demand. ### What to include in the campaign * A clear reminder that the product is about to run out * A direct link or one-click reorder button for the original product * Optionally, recommendations for similar products so the customer can either restock their favorite or try an alternative > [!TIP] > > A/B test the "same product only" version against a version that also shows alternatives. Different categories respond differently — replacements work well when customers are open to trying new things, while a single-product reminder tends to win for habitual repurchases. ## Step 3. Build the flow ### Trigger: Product in order delivered Start the flow from the **Product in order delivered** event. A few things to know about how this event behaves: * It fires only once the order reaches a delivered status. * It can fire again on the same line item if something about that line item changes after delivery. * It also fires on orders added retroactively, as long as those orders still meet the freshness conditions you set. ### Delay until the reminder window Add a wait step that holds the customer in the flow until shortly before the product is expected to run out. A common choice is **one week before the expected run-out date**, but you can tune this to whatever lead time fits the category — coffee drinkers may want a couple of days, while annual products may warrant a month. Cap the send window to your normal sending hours so reminders don't go out in the middle of the night. ### Check conditions Before sending, verify that the customer: * Has an active subscription for the channel you're using * Has a valid contact (email address, phone number, or push token) for that channel Customers who fail these checks exit the flow without receiving the reminder. ### Send the campaign Send the reminder campaign you built in Step 2. Pass the original product (and any recommended alternatives) into the campaign so the content is personalized to what the customer actually bought. ### Cap how often a customer can enter In the start block, set a **maximum frequency per customer**. This prevents a customer who places several qualifying orders in a row from getting flooded with reminders. ## Recommendations for the campaign content Along with the product that's running out, consider showing alternatives. This gives customers two options in one message — restock the product they already like, or try something similar. Whether alternatives lift or hurt performance depends on the category, so validate the choice with an A/B test before rolling it out everywhere. # Customer Reactivation by Email Opens Flow Source: https://help.maestra.io/flows/examples/reactivation-by-email-opens-flow Bring back subscribers who used to open your emails but have gone quiet. This flow automatically detects customers whose engagement has dropped off and sends them a short series of motivational campaigns to win back their attention. ## When to use this flow Use this flow when you want to: * Re-engage subscribers who previously opened your emails but stopped doing so recently. * Clean up your list naturally — customers who never respond to reactivation can be excluded from future sends to protect deliverability. * Maintain a healthy sender reputation by keeping engaged contacts active and identifying dormant ones. ## How the flow works The flow runs on a schedule, screens customers for inactivity, sends them a first reactivation campaign, waits a few days, checks whether they re-engaged, and then sends a follow-up to anyone still silent. **1. Trigger: run on a schedule** Set the flow to launch automatically once a day. A scheduled trigger lets the flow continuously sweep your customer base and pick up anyone who newly qualifies as inactive. **2. Filter inactive but reachable customers** Right after the trigger, add a filter block that selects only customers who match all of the following: * **Previously opened emails.** They have at least one recorded email open in the past — these are real subscribers worth winning back, not contacts who never engaged. * **Stopped opening recently.** They have not opened any email within a recent window (for example, the last 60–90 days), even though they have continued to receive campaigns during that period. * **Received emails recently.** They have actually been sent campaigns in the inactivity window. This rules out customers who simply weren't messaged. * **Valid email and subscribed.** Their email is valid and they are still subscribed to the email channel. There's no point trying to reactivate someone who has unsubscribed or whose address is invalid. Customers who don't meet every condition exit the flow. **3. Send the first reactivation campaign** Send the first motivational email to everyone who passed the filter. This is your main reactivation message — make the subject line and preheader work hard, because if the customer doesn't open this one, they aren't engaging with your brand at all. **4. Wait 3 days** Add a wait block of three days. This gives the customer time to notice the email, open it, and act on it before you decide whether to follow up. **5. Check engagement and eligibility** After the wait, add a second filter block to check: * Did the customer open the first reactivation email? * Is the customer still subscribed and reachable by email? If they opened the first email, the flow has done its job — they can exit here. If they didn't open it and they're still subscribed, they move on to the next step. **6. Send the second reactivation campaign** Send a second motivational email to customers who still haven't opened. Use a different angle, subject line, and preheader from the first message — the same hook clearly didn't work, so try a new one. **7. (Optional) Send a third reminder if you offered a bonus** If your reactivation campaigns include a promo code or bonus points with an expiration date, add an optional third email closer to the expiration to remind the customer to use it before it's gone. Skip this step if you're not offering an incentive. **8. Limit how often the same customer enters the flow** In the trigger (start) block, cap how often a single customer can go through this flow. A typical rule: a customer can re-enter the flow only if they have opened at least one email in the last 180 days. This prevents you from hammering the same dormant address with reactivation emails over and over — if half a year of campaigns hasn't earned a single open, it's time to stop sending. If you've configured a 180-day re-entry condition based on opens, an additional per-customer frequency cap may not be necessary. For other setups, we still recommend adding one. ## What to send in the campaigns The whole flow lives or dies on whether the customer opens the email, so subject lines and preheaders are the highest-leverage thing to get right. Run A/B tests on both. Effective reactivation content typically uses one of these approaches: * **Useful content.** Lead with something genuinely valuable — a guide, a roundup, a piece of education tied to your product. Remind the customer why they signed up in the first place. * **Marketing games or interactive content.** A quick game, quiz, scratch-card, or wheel-of-fortune mechanic gives the customer a reason to click that's lighter than "buy something." * **Gifts or incentives.** A promo code, free shipping, or bonus loyalty points can pull customers back when content alone isn't enough. If you go this route, set a clear expiration and consider the optional third reminder email above. Test combinations: a strong subject line with a useful content angle often outperforms a generic discount, but the only way to know for your audience is to A/B test it. ## Tips * **Don't reactivate customers who never engaged.** The filter requiring at least one historical open is important. Subscribers who have never opened anything are not a reactivation problem — they're a list hygiene problem. * **Match the inactivity window to your send frequency.** If you email weekly, 60 days of no opens is a clear signal. If you email monthly, give the window more room before declaring a customer inactive. * **Clean up after the flow.** Customers who pass all the way through the flow without opening anything are good candidates to exclude from your regular campaign audience. Continuing to send to them hurts your deliverability and inflates your costs. * **Mind frequency overlap.** Make sure customers in this flow aren't also being hit by your standard promotional sends on the same days — the reactivation message should stand out, not get buried. # Customer Reactivation by Order Activity Flow Source: https://help.maestra.io/flows/examples/reactivation-by-orders-flow Bring back customers who haven't placed an order in a long time. This flow sends a sequence of reminder campaigns, layers in a bonus incentive when the first nudge doesn't land, and finishes with a last-chance reminder before the bonus expires. ## Before you start Set up the automated campaigns you'll use inside the flow. Each campaign can run on any of these channels: * Email * SMS * Viber * Mobile push * Web push You can mix channels across the steps (for example, email for the first touch and SMS for the bonus reminder) or A/B test channel combinations to see what reactivates customers most reliably. > [!TIP] > > Prepare campaign content before building the flow. The flow only orchestrates timing and audience — the creative lives inside each campaign. ## How the flow works The flow has nine steps. It runs daily, filters customers who match the reactivation criteria, sends the first reminder, waits, and then escalates to a bonus offer if there's still no order. **1. Launch trigger** Schedule the flow to run **daily**. On each run, the flow checks two things before letting a customer through: * The customer's contact in the chosen channel is valid. * The customer is still subscribed to that channel. Then it applies the reactivation segment: * The customer has been in the database for **6 months or more**. * The customer has **at least one order in their history**. * The customer has **not placed an order in the last 180 days**. > [!NOTE] > > These values are a starting point. Tune them to your business model and average purchase cycle. A coffee subscription brand might consider 60 days "inactive," while a furniture retailer might use 365 days. RFM segmentation can sharpen the audience further — for example, focusing the flow on previously high-value customers who've gone quiet. **2. First reactivation campaign** Send the opening campaign. Pick whichever angle fits your brand and catalog: * A short survey ("Tell us what you've been missing") * Bestsellers from the last few weeks * Personalized product recommendations * Products from the customer's favorite category * A curated set or edit A/B test the angle, subject line, and channel to learn what actually pulls dormant customers back. **3. Wait 7 days** Pause the flow for **seven days** to give the customer time to act on the first campaign. **4. Check for an order** After the wait, check whether the customer placed an order during those seven days. * **If they ordered:** they're reactivated. Exit the flow. * **If they didn't order:** continue to the bonus step. **5. Send a bonus offer** Send a campaign with a real incentive — either a promo code or a deposit of loyalty points. Set an expiration date for the bonus using an `AddDays` expression so the offer has urgency. Use these personalization tokens inside the campaign: | Content | Token | | - | - | | Promo code from a pool | `Recipient.LastReceivedPromoCode.WithType{poolname}.Value` | | Personalized recommendations | `Recipient.Recommendations.{algorithmname}` | | Favorite category | `Recipient.{categoryname}` | > [!TIP] > > Keep the bonus meaningful. A $5 credit on a $200 average order rarely moves the needle — match the incentive to the lifetime value you're trying to recover. **6. Wait 12 days** Pause for **twelve days** so the customer has time to redeem the bonus before it expires. **7. Check whether the bonus was used** Verify whether the customer redeemed the promo code or spent the loyalty points. * **If they used the bonus:** exit the flow — they're back. * **If they didn't:** continue to the final reminder. **8. Send an expiration reminder** Send a last-chance campaign reminding the customer that their bonus is about to expire. This is usually the highest-performing step in the sequence because the urgency is concrete and personal. **9. Set entry frequency** Configure how often a customer can enter this flow in the start block. In practice, the segmentation itself limits re-entry: a customer can only qualify again after they place a new order **and** then go quiet for another 180+ days. That means the frequency cap mostly protects against edge cases rather than throttling normal flow traffic. ## Personalization reference Use these tokens inside any campaign in the flow to pull customer-specific content: * **`Recipient.LastReceivedPromoCode.WithType{poolname}.Value`** — the most recent promo code issued to the customer from the named pool. * **`Recipient.Recommendations.{algorithmname}`** — product recommendations from the named algorithm. * **`Recipient.{categoryname}`** — the customer's favorite category. ## Launch Once every step is configured and every campaign is published, turn the flow on. It will start running on its daily schedule and pull qualifying customers into the sequence automatically. # Reminder Before an Event Flow Source: https://help.maestra.io/flows/examples/reminder-before-event-flow Send students a friendly nudge before a class, lecture, webinar, or appointment they signed up for. This guide walks through a flow that fires two reminders for every registration: one a day before the session and a second one 15 minutes before it starts. ## The use case Your website lets customers sign up for classes with specific instructors. You want to make sure no one forgets — so you send them two reminders: * **24 hours before** the class — enough lead time to rearrange the day. * **15 minutes before** the class starts — a final ping with the join link or address. A flow handles this automatically for every registration. ## How the data is modeled Before you build the flow, make sure your data is structured like this: * **Classes and lectures are products.** Each class (or session, or lecture) is added to Maestra as a product in your catalog. * **Registrations are orders.** When a customer signs up for a class, that registration is sent to Maestra as an order. The order contains one line item per class the customer signed up for. * **Start time lives on the order item.** The exact start date and time of each class is stored as a custom field on the order line item — not on the order header. This lets a single order contain several classes that start at different times. > [!NOTE] > > If the class start time is stored as a custom field on the **order** itself instead of on the order item, you can build the same flow using a different trigger event — "New order," "Order data changed," or "Order status changed" — and reference the order-level field in the wait blocks. ## Before you build the flow Set up the following first: * **Create an automated campaign** in the channel you want to use for the reminders: email, SMS, mobile push, web push, or messenger. You'll select this campaign inside the send block later. * **Use `OrderItem` as the product parameter** in the campaign template. Because the flow is triggered per order line item, the reminder template should reference the specific item (the class the customer registered for) — not the full order. ## Build the flow The flow has nine steps total: a trigger, two waits, four checks, and two sends. ### 1. Trigger: Product in order delivered Start the flow with the event **Product in order delivered**. A few things to know about this trigger: * It fires **only** when the delivery status of an order line item changes to "delivered." If a registration is created with that status from the start, it still fires. * It fires **per line item**, not per order. If a customer signs up for three classes in one order, the flow runs three separate times — once per class. * It re-fires on the same line item if its data changes after delivery. * It also works on backdated orders, as long as the timing still makes sense and no later changes have happened. For paid classes, this trigger is ideal: the line item moves to "delivered" the moment the registration is confirmed and paid, which is exactly when you want the reminder clock to start ticking. ### 2. Wait: 1 day before class start Add a **Wait** block configured as a dynamic delay that points to the custom "class start time" field on the order line item, minus 24 hours. Because each line item carries its own start time, the wait is calculated individually for each run of the flow. A customer registered for a Monday 9:00 AM class will receive their first reminder Sunday at 9:00 AM; someone registered for a Wednesday 6:00 PM class gets theirs Tuesday at 6:00 PM. ### 3. Check: Class has not been canceled Add a filter that confirms the class is still on. The exact field depends on how you model cancellations — typically a status field on the order item or product (for example, "class status is not equal to canceled"). If the class has been canceled, the flow exits here and no reminder is sent. ### 4. Check: Customer is subscribed and has a valid contact Add a filter that confirms the customer: * Has an active subscription to the channel you're sending in (email, SMS, push, etc.). * Has a valid contact in that channel (a deliverable email address, a confirmed phone number, a registered push token). > [!NOTE] > > If your reminder is a transactional message tied to a paid service the customer already bought, you can skip the subscription check — transactional sends don't depend on marketing consent. You may still want to verify the contact is valid so the message has somewhere to land. ### 5. Send the first reminder Add a **Send** block and select the automated campaign you created earlier. This sends the day-before reminder. Because `OrderItem` is the product parameter, the message can reference the specific class — its name, instructor, time, and location. ### 6. Wait: 15 minutes before class start Add a second **Wait** block, also pointing to the class start time on the order item, but this time minus 15 minutes. ### 7. Check: Class has not been canceled (repeat) Repeat the cancellation check. A class that was on track yesterday could have been canceled in the meantime — don't send a "see you in 15 minutes" message for a class that's no longer happening. ### 8. Check: Customer is subscribed and has a valid contact (repeat) Repeat the subscription and contact check for the same reason. Subscriptions can change between the two sends. ### 9. Send the final reminder Add the second **Send** block. This is the "starts in 15 minutes" message — typically the most useful place to include the join link, room number, address, or any last-minute instructions. ## The full flow at a glance **1. Trigger** Product in order delivered (per line item) **2. Wait** Until 1 day before class start time **3. Check** Class is not canceled **4. Check** Customer is subscribed and reachable in the channel **5. Send** Day-before reminder **6. Wait** Until 15 minutes before class start time **7. Check** Class is not canceled **8. Check** Customer is subscribed and reachable in the channel **9. Send** 15-minutes-before reminder ## Variations * **Different channels for the two reminders.** It's common to send the 24-hour reminder by email (more room for context, agenda, prep materials) and the 15-minute reminder by SMS or push (faster to surface on the lock screen). Just pick different campaigns in each send block. * **More than two reminders.** Add additional Wait + Check + Send sequences for, say, a one-week-ahead reminder or a one-hour-ahead reminder. The pattern is the same. * **Order-level start time.** If the class time lives on the order rather than the order item, swap the trigger to **New order**, **Order data changed**, or **Order status changed**, and reference the order-level field in the waits. Everything else stays the same. * **Skip subscription checks for transactional reminders.** For paid classes where the reminder is part of the service the customer bought, the subscription check is unnecessary. Once the flow is configured and you've reviewed a few test runs, turn it on and let it handle reminders for every new registration. # Repeat Purchase Motivation Flow Source: https://help.maestra.io/flows/examples/repeat-purchase-motivation-flow After a customer places an order, you have a short window to bring them back for a second purchase. A repeat purchase motivation flow keeps your brand top of mind, suggests complementary products while interest is high, and then follows up with a curated selection of new items. This guide walks through building that flow in Maestra end to end. ## What this flow does The flow is triggered by an order status change. Once a customer's order reaches a target status (for example, "Paid" or "Delivered"), Maestra sends a sequence of automated campaigns: 1. A first campaign with **complementary products** related to what the customer just bought. 2. A second campaign featuring **new or popular products** the customer hasn't seen yet. Along the way, the flow checks that the order wasn't cancelled, that the customer is still subscribed and reachable, and that they haven't already made another purchase or received a recent campaign. > [!TIP] > > You can layer in supporting mechanics such as repurchase reminders for consumable products and post-order satisfaction surveys to deepen the relationship between orders. ## Before you start Create the automated campaigns you plan to use in this flow, in whichever channels your audience prefers: * Email * SMS * Viber * Mobile push * Web push Each campaign should be ready to send before you reference it from the flow. ## Build the flow ### Step 1. Add the launch trigger Use **Launch — by event "Order status changed"** as the entry point. How the trigger behaves: * It fires when an order reaches the status you select (for example, "Paid" or "Delivered"). * It also works for backdated orders, as long as the status change falls inside the relevance window you configure. * By default, **all order line items** must move to the target status before the trigger fires. You can switch this to "any line item" if you want the flow to start as soon as a single item reaches the status. * Status transitions are counted cumulatively from the moment the flow is activated. * You can cap how many times the flow runs per order to prevent duplicate sends on the same order. ### Step 2. Add a delay with quiet hours Add a **Delay** block after the trigger so the flow doesn't send messages in the middle of the night. Set time-of-day restrictions that match your audience's local quiet hours, so customers receive the first campaign at a reasonable time. ### Step 3. Check that the order wasn't cancelled Add a condition that verifies the order has not been cancelled between the trigger and the send. If the order is cancelled, the flow should exit — there's no reason to motivate a repeat purchase on an order that no longer exists. ### Step 4. Verify subscription and contact details Add a condition that confirms the customer: * Has a valid contact (email address, phone number, or push token) for the channel you're about to use. * Is still subscribed to that channel. This step prevents wasted sends and keeps your deliverability healthy. ### Step 5. Send the first campaign: complementary products Send an email (or other channel) featuring products related to the order the customer just placed. You have a few options for picking the products: * **Related Products algorithm**, based on the customer's latest order. * **Manual category matching** — for example, if the order included a coffee machine, recommend coffee beans and filters. * Reference recommendations in the campaign template using the `Recipient.Recommendations.{algorithm name}` parameter. * Alternatively, use the new email builder with recommendations blocks built in. ### Step 6. Add a second delay Insert another **Delay** block between the first and second campaigns. The gap gives the customer time to read the first campaign — and ideally act on it — before you reach out again. ### Step 7. Check recent activity Before sending the second campaign, add a condition that checks whether, in the past 24 hours, the customer: * Made another purchase, or * Already received a campaign from you. If either is true, skip the second send. This prevents over-messaging and avoids competing with a campaign the customer just received. ### Step 8. Send the second campaign: new products For customers who pass the activity check, send a second campaign showcasing fresh inventory. You can build the product list using: * Products from a **recalculated** or **static** product segment. * **Popular products** recommendations. * **Personalized** recommendations tailored to the customer. * Optional filtering by customer preference attributes — for example, preferred category, brand, or size. ### Step 9. Set a per-customer frequency cap In the launch block, configure a frequency limit so a single customer can't be re-entered into this flow too often. This is especially important for customers who place multiple orders in a short period — you don't want them receiving the same complementary-products email three times in a week. ### Step 10. Launch the flow Once every block is configured and your campaigns are linked, activate the flow. ## Supporting mechanics A few additional mechanics pair well with this flow: * **Repurchase reminders** for consumable products (coffee, supplements, pet food, skincare refills) timed to typical replenishment cycles. * **Post-order satisfaction surveys** sent a few days after delivery, which both gather feedback and re-engage the customer. ## Tips for higher repeat-purchase rates * Keep the first campaign tightly relevant to what the customer just bought. Generic recommendations underperform here. * Test the delay between order and first send. Same-day, next-day, and three-day delays all work for different categories. * Use the recent-activity check in Step 7 strictly — sending a second campaign to someone who just bought again is a fast way to feel spammy. * Segment by customer value or order amount (for example, customers whose last order exceeded \$100) and run a higher-touch variant of this flow for your most valuable buyers. # The price of the most viewed or purchased product has dropped flow Source: https://help.maestra.io/flows/examples/the-price-of-the-most-viewed-or-purchased-product-has-dropped-flow The task: to send a communication about the reduced price of a product from the [computed field](/api-integrations/computed-fields) — the product the customer buys most often. > [!TIP] > > **Before creating the flow** > ​ > > Add an automated mailing in the required channel: [email](https://intercom.help/maestraio/en/articles/11898625-how-to-create-a-trigger-email-campaign), SMS, mobile push, or web push. > > A [parameter](/campaigns/message-template-engine/what-is-the-message-template-engine) for product output — > > Recipient.CustomField.\{A system name of a field} Create [flow](/flows/what-are-flows-and-how-do-you-use-them): 1. Launch — by the "Preferred product changed" event: ![00](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=0cf2085637502878f67e0725804d98d4) > [!TIP] > > When the "Price" field of a product is changed, it is checked whether the price has decreased compared to the previous value by a specified percentage or amount. > > If it has, a flow is triggered for clients who have this product recorded in the specified computed field. > > * This happens every time, including: > > * When the price decreases even further > > * When the price increases and then decreases again relative to the previous price > > * It does not trigger when the price is filled in. > > If the product previously had no price data, the price should change after it is filled in so that the flow is triggered. > > For clients with a filled area: > > * If the product has regional price data for the client’s zone, the flow triggers on changes to the product in the client’s region. > > * If the product has regional data but not for the client’s zone, the flow is not triggered. > > * If the product has regional data for the client’s area but the price information in that area is not filled, the flow triggers based on changes in the main feed. > > * If the product has no regional data, the flow triggers based on changes in the main feed. 2. We don't set a delay, but we restrict the exit from the block so as not to send an email at night: ![01](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=4ce34bb594a1a8cc5f592a6d0b91365d) 3. Make sure that the product is familiar and in stock: ![02](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/02.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=c1c0a5343148464ed2dfd82f5938eaf1) 4. We check the validity of the contact and subscription status in the mailing channel: ![04](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=644612a6d1b6fcfc345a523ea5540157) If there are other mechanics for price reduction (in the list or by views), set a delay so as the mechanic with the highest priority is processed first. And in the rest, set checking the absence of communications over the recent period. 5. Then — send the mailing: ![05](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/05.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=1a21630e3d36887266283464dbbd6c4d) > [!TIP] > > * In the mailing, you can output the related products for the product; parameter — Recipient.CustomField.\{the field name}.Recommendations. > * Use A/B testing to evaluate the efficiency of using recommendations and select the most suitable algorithm. 6. Restrict the number of times the scenario is applied to a customer so as not to send a few mailings at a time: ![06](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=ad167bbe7acb34f09e8d34facccb38d2) 7\. The flow is ready, you can launch it: ![07](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/07.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=6ec677e084f1c96b1facafecd45a9547) # Viewed Product Is Back in Stock Flow Source: https://help.maestra.io/flows/examples/viewed-product-back-in-stock-flow Send a campaign to a customer when a product they recently viewed becomes available again. This flow brings shoppers back to items they showed real intent on, right at the moment those items are buyable. ## Before you start Before you build the flow itself, prepare the campaign you want to send when the trigger fires. **1. Create an automated campaign** Create an automated campaign in the channel you plan to use: email, SMS, Viber, mobile push, or web push. **2. Insert the viewed product** Use the `ProductView` parameter to render the viewed product inside the campaign, or build the content in the new editor, which lets you pull in the product without configuring parameters manually. > [!TIP] > > You can also add a block of related items or personalized recommendations so the customer has something to fall back on if the original product is no longer the best fit. ## How the trigger works The flow launches on the **Viewed Product Changed — Product Returned to Availability** event. > [!NOTE] > > * The trigger fires **every time** a product transitions from out of stock back to in stock. If a product cycles in and out of availability, each return to stock can trigger the flow again. > * The trigger fires **per product**. If several products that a customer viewed come back in stock at the same time, the flow runs separately for each one. Because of this behavior, you should add frequency caps and delays so a single customer does not receive a burst of messages at once. ## Build the flow **1. Add the trigger** Set the flow to start on the **Viewed Product Changed — Product Returned to Availability** event. Apply a per-customer frequency cap so the customer cannot enter the flow multiple times in parallel. **2. Restrict send times** Add a condition that prevents the campaign from going out at night. If you run other product-availability campaigns in parallel, add a delay so this flow does not collide with them. **3. Validate the product view and stock** Add filters that confirm: * The product view happened recently (so you don't message customers about something they looked at months ago). * The product is currently in stock at the moment the campaign is about to send. **4. Check subscription and contact data** Confirm the customer still has an active subscription for the channel you're using and that you have valid contact information (email address, phone number, push token, etc.) for that channel. **5. Send the campaign** Send the prepared campaign. Optionally include related products or personalized recommendations alongside the viewed product. ## Notes on cost and pacing > [!WARNING] > > Because the trigger fires per product and on every return to stock, an unfiltered flow can generate a large volume of sends. Use the recency filter on the product view, the stock check, the nighttime restriction, and the per-customer frequency cap together to keep volume reasonable and to protect customer experience. Sending costs are billed in \$ based on your channel pricing. ## Recap A well-built "Viewed Product Is Back in Stock" flow includes: * An automated campaign prepared in your chosen channel with the viewed product rendered inside it. * The **Viewed Product Changed — Product Returned to Availability** trigger with a per-customer frequency cap. * A nighttime restriction and a delay to coordinate with other availability flows. * Filters confirming a recent product view and current stock. * A subscription and contact-data check for the channel. * The send step, optionally enriched with related products or recommendations. # Welcome Flow: How to Greet a New Customer Source: https://help.maestra.io/flows/examples/welcome-flow **Goal:** Send a welcome email to every new customer. If the customer doesn't place an order within a week, follow up with a campaign that includes a promo code. You'll solve this by building a flow in Maestra. ## Before you start Set up the automated campaigns you want to send in your preferred channel before you build the flow: * Email * SMS * Viber * Mobile push * Web push > [!TIP] > > You can use more than one channel in the same flow. For example, send the welcome message by email and the reminder by mobile push. ## Build the flow **1. Trigger the flow on the New customer event** Set the flow to launch on the **New customer** event and limit it to one execution per customer. **How the New customer event works** The event fires whenever a new customer is added to the database — by any method: manually, via API, or by file import. Whenever a new Maestra ID is created, the event fires. > [!WARNING] > > Even if a brand-new customer is immediately merged with an existing customer card, the new card was still created — so the flow will start. To prevent duplicate runs in cases like this, limit the flow to one execution per customer. > [!NOTE] > > An import doesn't always create a new customer. If the customer already exists in the database, the import will just update the existing record. In that case the "added to the database" event doesn't fire. **Other triggers you can use, depending on your business case:** | Trigger | When to use it | | - | - | | An action with templates from specific operations was issued | When you want to start the flow from a particular operation that issued an action. | | Customer registered | When you want to trigger on any registration operation. | **2. Check that the contact is valid and subscribed** Add a check that verifies the contact is valid and that the customer is subscribed in the channel you plan to use. To avoid triggering the flow for customers who were already in your database before you launched the flow, add an extra filter — for example, by **first registration date** — so only customers registered after the flow went live can enter it. **3. Send the welcome campaign** Send your welcome campaign. **What to include in the campaign** * To help new customers figure out where to start, recommend popular products — or, if you have the data, products they've already viewed. * Recommendation parameter: `Recipient.Recommendations.{algorithm name}` > [!TIP] > > Use A/B testing to measure performance and pick the variant that works best. **4. Wait one week** Add a one-week wait step before the next action. **5. Check whether the customer has placed an order** Add a condition that checks whether the customer has placed any orders during the wait period. **6. Send a reminder campaign if there's still no order** If the customer hasn't ordered, send a reminder campaign. **What to include in the reminder** * Recommendations for popular products. * An extra incentive — a promo code or loyalty points. **Campaign parameters you can use:** | Purpose | Parameter | | - | - | | Show product recommendations | `Recipient.Recommendations.{algorithm name}` (or build it in the new editor) | | Show a promo code | `Recipient.LastReceivedPromoCode.WithType{pool name}.Value` (or build it in the new editor) | | Show the points expiration date | Use the `AddDays` function to add the desired number of days to the campaign send date (`Message.SendingDateTime`) | Your flow is ready to launch. > [!NOTE] > > This flow complies with US email and privacy regulations (CAN-SPAM, CCPA) as long as your welcome and reminder campaigns include a clear sender identity, an unsubscribe link, and a valid postal address, and as long as you only send to customers who have actively opted in. # Flow Run Statistics Source: https://help.maestra.io/flows/flow-run-statistics The flow run statistics report shows you how customers move through a flow, where they exit, and how each block performs. Use it to verify expected volumes, identify drop-off points, and surface ideas for improving mechanics. In flow run statistics you can view: * How many customers entered the mechanic * How they distributed across branches and at which blocks they ended their run * The most frequently occurring execution errors * Metrics on sent campaigns ## Why use this report The run statistics report helps you: * Verify that the expected number of customers pass through the flow * Adjust settings that cause unnecessary customers to exit the flow * See how parallel flows affect each other and your target metrics * Find growth opportunities and build hypotheses to improve your mechanics ## How to view run statistics The **Runs** mode is enabled automatically when you open a flow. The successful runs count is displayed next to each block for the selected period. **Wait** blocks show paused runs, and the start block shows the processing queue at the end of the selected interval (or at the time the version was stopped if it was edited that day). > [!NOTE] > > Statistics are available for the last 30 days within the open version. **Only those who entered the flow during this period** — counts only runs that started inside the specified timeframe for the open version. This excludes runs of customers who were already sitting in wait blocks at the start of the period, as well as runs carried over from previous versions. Values are shown both as absolute numbers and as a percentage of the first block. ### Detailed block information Click a block to open run details: * Number of entries * Number of transitions (broken down by branches when the block splits) * Number of unique customers from the transitions * Stop reasons The displayed values depend on the block type. #### Event-based start * Entered the flow and awaiting processing *(only when customers are in queue)* * Entered the block * Moved to the next block * Filtered out *(customers did not meet the block conditions)* #### Schedule-based start * Did not enter the flow due to frequency settings * Entered the flow and awaiting processing *(only when customers are in queue)* * Entered the block * Moved to the next block #### Condition * Entered the block * Moved to the "yes" branch * Moved to the "no" branch * Exited the flow *(in blocks without a second branch)* #### Split * Entered the block * Moved to branch 1, 2, and so on #### Wait * Total entered * Entered during this period * Entered during previous periods * Currently in block * Moved to the next block #### A/B test * Entered the block * Moved to Variant 0, Variant 1, and so on #### Limit * Entered the block * Moved to the branch before the limit was triggered * Moved to the branch after the limit was triggered The counter value and the number of transitions to the "before limit" branch can differ for two reasons: * The counter counts **only** runs in which at least one step group after the limit executed successfully. "Moved to branch" counts every exit from the block toward that branch. > [!NOTE] > > For example, if a step group after the **Limit** block fails with an error and does not execute, the block exit is counted but the limit count is not. * The limit counts globally across all versions and resets only on a manual reset or when the limit is edited. The values in **Runs** reset every time a new version is launched. > [!NOTE] > > For example, if you edit a flow but change nothing in the **Limit** block, block exits drop to zero while the limit count stays the same. #### Step group * Entered the block * Steps executed ### Statistics on sent campaigns In **Step group** blocks that send campaigns, the **Settings** tab shows metrics pulled from the campaign report. > [!WARNING] > > Report limitations: > > * Statistics are shown **with date precision only** and are not tied to hours. Different flow versions running during the selected period will show identical campaign metrics. > * Data is pulled **from the campaign, not from messages sent by a specific block**. If the same campaign is used in multiple branches or flows, statistics for the same period will be identical. ### View and export customers from a branch On the **Runs** tab, the **Show customers** button lets you: * View up to 10 unique recent customers and their runs * Download the complete customer list * Add all customers to a segment Customers appear in the list if they: * Moved to a specific branch in a branching block (condition, split, A/B test, limit) * Executed steps in a step group * Exited the flow due to a stop Clicking the button next to a customer opens the tab with that customer's run history. > [!NOTE] > > **Deletion and merging.** Run records for deleted customers are preserved, but viewing them is unavailable. The same applies to non-primary customers in a merge who lose their Maestra Id. #### Export Click **Export** to create a task. The finished file contains a list of `MaestraId` values. Customers can also be exported through the API. > [!WARNING] > > The file **may contain more customers** than you saw in the UI if new runs occurred while you were reviewing the details. Export pulls data that is current at the moment of download. #### Add to segment When flow errors cause customers to take the wrong branch or exit the flow incorrectly, use the **Add to segment** function. Select the static segment to add customers to. If no suitable segment exists, create one first. To monitor the import results, follow the link to the task. ### Stop reasons A stop means a run was interrupted at one of the blocks. The canvas shows the total number of stops for the selected period. Click the count to open a list that groups stops by block and shows reasons, counts, and the last ten affected customers for each reason. The same information appears on the block tab. Stops related to flow frequency settings are also shown there. ## Report usage examples ### Example 1 **Task.** Develop hypotheses to increase revenue for the "Price on a product in Favorites decreased" mechanic. **Analysis.** The flow report shows that only 77% of customers matching the event reach the campaign send step. Customers exit at the contact check stage. Check customer contacts in other channels — some customers unsubscribed from email but use the app and are subscribed to push notifications. **Solution.** Adding mobile push subscribers to the flow increases the mechanic's reach from 76.85% to 96.3%. ### Example 2 **Task.** Determine why the mechanic's effectiveness dropped compared to previous periods. **Analysis.** The report shows that the second email reaches 49% of customers in the sequence (it is sent three days after the first email if the first one is not opened). But the open rate on the first campaign is around 30%, so the second email should reach far more customers. Check the transitions on the "no" branch. The customer does have an open of the first campaign, but it was more than six months ago, during a previous run of the sequence. The flow filter has too strict a condition and excludes valid customers. **Solution.** In the **Condition** block, specify that opens should be absent only for the last three days (counted from the start of the current run). Customer distribution across branches becomes correct, and all eligible customers receive the second campaign in the sequence. # How Contextual Filters Work in the Condition Block of a Flow Source: https://help.maestra.io/flows/how-contextual-filters-work-in-the-condition-block-of-a-flow In flows, you can narrow down which data the flow should fire on by using contextual filters in the **Condition** block. Different entities (contexts) are available in the Condition block depending on what you need to check. For example, a price-drop flow should only run when a product is available, while an abandoned cart flow should only run after a session in which the customer added items to their list. > [!TIP] > > For details about the multi-branch mode, see the article on how multi-branch mode works in the Condition block. ## Contexts available in all flows The following entities are available in every flow, regardless of the trigger event. ### By customer Determines whether the flow should fire for the customer who entered it. **Example.** Use the **Customers** context to check that the customer has a valid email, is subscribed, and has not received any campaigns in the last 24 hours. ### By promo code availability and By products in segment These contexts set firing conditions that do not depend on customer data. A product segment can be of any type (real-time, recalculated, or static). **Example.** The flow fires if the **New arrivals** segment contains at least five products. A promo code pool can come from any campaign. The pool must be live. **Example.** The flow fires if the **For the 10% promo** pool contains at least one available promo code. ## Event-specific contexts The events that trigger flows carry their own data. For example, if the event is an order, that data includes the order value, purchased products, line item statuses, and so on. Choosing a specific trigger event makes it possible to filter the entities passed in that event using dedicated contexts. Let's look at how this works with orders and sessions as examples. ### By order Available in flows triggered by the **New order**, **Order data changed**, and **Order status changed** events. **Task:** the flow should fire when an order with a value of \$30,000 or more is delivered. Create a flow triggered by **Order status changed** and set the condition: Use the **Orders** context. This way you check exactly the order that triggered the flow. **How checking by order differs from checking by customer:** When you use the **Customers** context, you set a condition that the customer has the required data, but there is no link to the triggering event: The check confirms that the customer has an order of \$30,000 or more. That could be either the order that triggered the flow or any other order in the customer's history. This context is not suitable for the task above. ### By session Available in flows triggered by the **Customer left site or app** event. **Task:** to build an abandoned cart flow, you need to verify that the customer added products to their list during the session. Use the **Session** context. This way you check exactly the session that triggered the flow. **How checking by session differs from checking by customer:** You would be setting a condition that the customer has products in their cart, but they are not necessarily products added during this session. This context is not suitable for the task above. ### By operation variables Available in flows triggered by the **Operation called** event. The comparison logic is the same as in multi-branch mode, but there are nuances depending on variable type. #### Integer and decimal numbers Range boundaries are inclusive: "less than 3" means 3 and below; "from 1 to 5" means 1, 2, 3, 4, 5. > [!WARNING] > > Decimal numbers must match the specified value exactly. With the condition "equal to 7.77," the value 7.77221 will go to the **No** branch. Control precision on the integration side. **Example: integers.** After an order is delivered, the operation passes an NPS survey score into the `nps_score` variable. The condition block has three branches: * 3 or less → an apology email asking what went wrong * Between 5 and 8 → "Thanks for your rating, we'll keep improving" email * Between 9 and 10 → "Thanks for the high rating, we appreciate you" email **Example: decimals.** A customer places an order. The operation passes the purchase amount into the `order_amount` variable. The condition block has three branches: * Between $1,000.00 and $4,999.99 → email with a selection of related products and a promo code * More than \$5,000.00 → email thanking the customer and offering increased cashback on the next purchase #### Date / Date and time UTC Values of the "Date and time UTC" type are stored in UTC and converted to the project's time zone for comparison. * **In range** — both the left and right boundaries are inclusive. For example, with the condition "occurs in 3–7 days," a customer with a date exactly 3 or exactly 7 days from now will go to the **Yes** branch. * **More than N** / **Less than N** — the boundary is not included. For example, with the condition "occurs more than 3 days from now," a customer with a date exactly 3 days from now will go to the **No** branch. * **Today** triggers when the value matches the current calendar day in the project's time zone. **Example: Date and time UTC.** A courier is running late on a delivery. The operation passes the courier's expected arrival time into the `arrival_time` variable. The condition block has three branches: * Occurs in 15–30 minutes → apology email, no compensation * Occurs in 31–60 minutes → email with a 10% discount on the next order * Occurs more than 1 hour from now → email with a \$10 promo code #### String and Enumeration Compared by exact value match. **Example.** A new pickup point is opening. The operation passes the city and district into the `city_district` variable. The condition block has two branches: * Value equals "Boston Back Bay" → email with a selection of new pickup points in Back Bay * Value equals "Chicago" → email with a selection of new pickup points in Chicago, and so on #### Boolean Accepts **Yes** or **No**. **Example.** A customer signs up for a subscription. The operation passes a premium-subscription flag into the `is_premium` variable. The condition block has two branches: * Value equals **Yes** → welcome email describing premium features * Value equals **No** → email offering an upgrade to premium with a discount ### Other entities The remaining contexts work on the same principle. Filters and the events they're available in: | Context | Events | | - | - | | By session | Customer left site or app | | By order | New order, Order data changed, Order status changed | | By order line item | Order line item delivered, Order line item paid | | By action | New order, Order data changed, Order status changed, Viewed product changed, Product-related action granted, Customer changed email, Customer changed mobile phone, Customer balance went negative, Bonus points became available, Discount card status changed, Discount card replaced | | By product in list | Product in product list changed, Product list changed | | By viewed product | Viewed product changed | | By product | Order line item delivered, Order line item paid, Product in product list changed, Product list changed, Viewed product changed, Preferred product changed, Product-related action granted | | By promo code | Promo code granted, Customer applied promo code, Customer's referral promo code used | | By balance change | Customer balance went negative, Bonus points became available | | By discount card information | Discount card status changed | | By operation variables | Operation called | ## How to combine filters from different contexts ### Flows with multiple contexts Many use cases require setting conditions across different entities at once. **Task:** customers who register for an online history course before the start of the school year receive a bonus. Create a flow triggered by **Product-related action granted** and check two entities: * the action (whether the registration happened) * the product (whether the right course was passed) ### What order to put the blocks in In most cases the order doesn't matter. But if the flow processes large volumes of events (several million per hour) and you want to reduce load on the project, put the blocks that filter out the most irrelevant events first. ## How you should and shouldn't check the customer > [!WARNING] > > Check the customer only by using the **Customer** context. Do not set customer conditions through other contexts. In new flows, that option is no longer available. Instead of combining checks in one block, split the conditions into separate blocks: **1. By balance change** Set up the balance-related condition using the **By balance change** context. **2. By customer** Set up the customer-related condition using the **Customer** context in a separate block. # How the "MultiBranches" Mode Work in the "Condition" Block of the flow Source: https://help.maestra.io/flows/how-the-multibranches-mode-work-in-the-condition-block-of-the-flow **MultiBranches** is a mode in the Condition block that allows a flow node to split into multiple branches based on the value of a single attribute. Instead of using a cascade of identical conditions, you can use one compact block with multiple branches. Benefits: 1. Conditions are checked once, reducing the number of Condition blocks in the flow. 2. Reduces load on the flow. 3. Speeds up audience flow through the blocks. 4. Minimizes the risk of setup errors. ## How to Set Up Add a new Condition block to your flow and select MultiBranches mode. ![](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_j.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=1e4d88361e32bfb41fe221d4d0fb18e9) Choose the type of divide condition and add your variants in the branch settings: ![](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_j.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=076fcbf511a35914df9f6c53b35ab703) > [!TIP] > > If you add multiple values to one branch, the system uses OR logic — the customer only needs to match one of them to move down that branch. > > You can use up to 50 branches in a single block. Conditions are evaluated **top to bottom**, allowing you to prioritize. **Example**: Send reminders for short-term promotions first, then long-term then public promotions. ​ ![](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_j.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=baf55edf3b076f645d58b482573cb78c) After saving, an Other branch appears. You can leave it unconnected or use it for customers who do not match any of the block’s conditions. ​ ![](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_j.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=68e6a5daa62c5331d5e9ab52720cd998) ## Condition by Customer Available for any launch settings. > [accordion] Customer Segment > > Determines whether the customer belongs to a segment. Both [static](/segments/how-to-create-a-static-customer-segment) and [scheduled](/segments/how-to-filter-customers-into-segments) segments can be used. > ​ > ​**Example**: Sending messages based on customer activity or lifecycle stage: > Loyal customers → personalized communication > > New customers → welcome email > > Inactive customers → brand reminder > ​ > > ![](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_j.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=ff4f8fb7a477fd28463beea8370e5bae) > > ​ > [accordion] Birthday > > Routes customers based on their birthday. > > > [!NOTE] > > > > Conditions like "Arrived less" than or "Coming in less" than includes today. > > > > Example: Today is 09.10. Customers in the condition "Coming in less than 7 days" include birthdays: > > > > Today, 09.10 > > > > From 10.10 to 16.10 > > **Example**: Send different communications based on the birthday timing: > > * Birthday today → congratulations and reminder about promo codes or points > * Coming in less than a week → award points and suggest a gift > * Coming in less than a month → curated ideas and recommendations > * Default → customers without a birthday set; you can request it in exchange for a bonus > > ![](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_j.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=1d275163fbaab8c4daeb13b84d956e4a) > [accordion] Mobile Device > > Identifies the customer’s active app. > > Useful for sending mobile push notifications. > > Instead of multiple blocks for checking the app, use one multi-branch block. > ​ > > ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_j.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=d6405480818f29ae81aa5e0fcd72c306) > > ​ > [accordion] Customer Custom Fields > > Allows routing customers based on a value in a custom field. > > ​**Example**: If a custom field stores the number of purchases: > > * More than 10 → notification about increased cashback > * 3–10 → promo code for 15% off > * 1–2 → free shipping > * Default → customers with no orders, offer 20% off the first purchase > > ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_j.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=c1360cb5afc744d5d94caa9ad30a24f5) ## Event-Based Conditions Availability of conditions is determined by the flow context. ### **By Product** Available in flows triggered by these events: * "Order product delivered" * "Order product paid" * "Product list changed" * "Product in the product list changed" * "Browsed product changed" * "Preferred product changed" * "Product related action added" > [accordion] By Product from event > > Checks if the product from the event matches the product in the branch condition. Search it by name, SKU, or external product ID. > > ​**Example:** > > Goal: Encourage the customer to buy a new collection product added to favorites. > > The customer adds the product to favorites → triggers "Product list changed" event. > > Multi-branch evaluates the product variant, then sends a targeted message and awards points for 24 hours. > ​ > > ![](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_j.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=4832bff3bb14cc69dbcb3a22f5c5ccee) > [accordion] By Product segment from event > > Routes customers by the segment of the product in the event. Supports [static](/segments/how-to-create-a-static-customer-segment) and [scheduled](/segments/how-to-filter-customers-into-segments) segments. > ​ > > **Example**: > > Price increased for a previously browsed product → triggers "Browsed product changed" event. > > Determine the segment of the viewed product and suggest alternatives from the same segment. > ​ > > ![](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_j.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=09f766fee2432ec6e303dfb66964b464) > [accordion] By Product Category from Event > > Determines the product category and routes customers to branches based on the options. > ​ > ​**Example:** > A product from a customer’s favorites became out of stock. The "Product in the product list changed" event triggers the flow. > > The goal is to offer the customer a selection of alternative products from the same category. > ​ > > ![](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_j.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=0972277ed3cd3d0d7b46465df0e92d17) > [accordion] By Product Custom Fields from Event > > Allows routing customers based on product custom fields from the event. > ​ > ​**Example:** > > 1. The product’s custom field ("Promo Price") stores the promo price of the product. > > 2. A product in the customer’s favorites goes on sale and updates the "Promo Price" custom field → triggers "Product in the Product list changed" — "Product Custom Field Changed" event. > > 3. Depending on the promo price, the customer receives targeted messages. > ​ > > ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_j.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=614b90c726ca96cee1d5b409d5e760f8) ### **By Session** Available in flows triggered by "Customer left the website or app" event. > [accordion] Product viewed in Session > > Checks if the product viewed in the session matches the product in the branch. Search product by name, SKU, or external ID. > > ​**Example:** > > 1. Customer viewed a product and left the website. > 2. Goal: check if this product is on promotion. > 3. Check if the viewed product matches one of the branches and send a special promo code to the customer. > > ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_j.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=8e14050c0256400474e9c9c1320a5975) > [accordion] Product segment viewed in Session > > Route customers based on product segment they viewed during the session. > ​ > Example. > > 1. Customer watched a free webinar on the website. > > 2. Goal: sell a course that matches the customer’s interests. > > 3. Identify the product’s topic segment and recommend relevant courses. > ​ > > ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_j.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=f95c417b32e8c92211f361ceda605022) > > ​ > [accordion] Category of Product viewed in Session > > Determines product category and routes customers to flow branches. > > ​**Example**: > > Customer browsed but didn’t purchase → determine the category of the viewed product and engage the customer with a personalized product selection from the same category, along with a special offer tailored to each branch. > ​ > > ![](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/15_j.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=7c31558fbf243871da6ff74abc50b084) > [accordion] Custom Field of Browsed Product in Session > > Checks custom field of the product browsed during the session and routes customers according to the branch conditions. > ​ > ​**Example:** > > 1. Customer viewed a product but didn’t buy. > 2. Identify the product’s brand from its additional field and send a personalized email with brand-specific recommendations and a special offer. > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/16_.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=a896106f6af44bd15c666fd7aa51e655) ### **By Order** Available in flows triggered by these events: * New order * Order status changed * Order data was updated * Order product delivered * Order product paid > [accordion] Product in Order > > Allows you to route customers based on the presence of a specific product in their order. Products can be searched by name, SKU, or external product ID. > ​ > ​**Example**: > ​ > A customer purchased an educational course. > The goal is to determine which course the customer bought and send a targeted email based on the topic: > > * Courses like *“Investments”* or *“Financial Literacy”* → send a finance-related email > * Courses like *“Latin”* or *“German”* → send a language-related email > * Courses like *“Python for Beginners”* or *“JavaScript Basics”* → send a programming-related email > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/17_j.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=24700cc57f1af01624fb1ad701cd873e) > [accordion] Product Segment in Order > > Routes customers according to the segment of the product purchased in the triggering order. > ​ > ​**Example:** > ​ > Goal: Send a post-purchase message to drive cross-sell. > ​ > ​**Branch conditions:** > > * If the customer bought **Microwaves** → send an email featuring compatible cookware > * If the customer bought **Vacuum Cleaners** → send an email promoting smart mops > * If the customer bought **Irons** → send a special offer on steamers > * **None of the above** → send personalized recommendations or related products > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/18_j.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=add7d3041fd05a29fda74fdb7af949a4) > [accordion] Product Category in Order > > Determines the product category in order and routes customers to branches based on the options. > ​ > ​**Example:** > > 1. Customer cancels an order. > 2. Identify the product category and recommend a selection of popular items from the same category to encourage the customer to make another purchase. > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/19_j.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=67ed4bc8d87bfd406f390e3f205b6b10) > [accordion] Touchpoint of first action with Order > > Routes customers by point of contact of first action with Order. > > **Example**: > Depending on the store (touchpoint) where the order was placed, send the customer a survey asking about their experience. This allows you to collect feedback separately for each store location. > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/20_j.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=820e6065e8b55b2514449f2cd3355d19) > [accordion] Product Custom Fields in Order > > Checks products custom field from the order and routes customers according to the condition branches. > ​ > ​**Example**: > > The product's custom field contains a specific attribute, such as “season.” Based on the value of the purchased product, send curated collections tailored to that season. > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/21_j.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=ca288647f4a483ab0dfa9ddb765000c8) > [accordion] Order Custom field > > Checks a custom field in the order and routes customers according to the condition branches. > > ​**Example**: > > The order’s custom field contains the delivery method. Based on this value, different transactional notifications about the delivery are sent. > ​ > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/22_j.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=4919af2deac46ef759b80350ec824670) ### By Action Available in flows triggered by events: 1. Customer Actions events: "Action added", "Product related actions added" 2. Order events: "New Order", "Order data was updated", "Order status changed" 3. Loyalty events: "Specified balance changed", "Customer balance now negative", "Bonus points now available", "Card status changed", "Discount card changed" 4. "Browsed product changed" 5. "Authentication code requested" 6. "Customer registered" > [accordion] By customer action > > Checks which action template was assigned to the customer and routes them to the corresponding branches. > ​ > ​**Example:** > > An interactive campaign is running on the website, where customers complete tasks. After each stage, the corresponding action is assigned to the customer’s profile. > ​ > ​**Goal:** > Depending on the stage, send customers different messages with information about the next step and issue relevant rewards (bonuses, promo codes, etc.). > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/23_J.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=acaa71f6a6f1e0c961c3067395451923) > [accordion] By action touchpoint > > Routes customers by point of contact of action. > > ​**Example**: > A brand may have multiple websites for different language audiences. Communications with the customer should use the appropriate language. > > 1. Customer registers and triggers the “Customer Registered” event > 2. The system checks the registration touchpoint to determine which site the customer signed up on. > 3. Send a welcome email in the corresponding language. > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/24_j.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=51f0355dfb6924516184d896d8173940) > [accordion] By action custom field > > Routes customers by custom field of action. > > ​**Example**: > In the “Gift Selection” popup, the customer is assigned an action, and the selected gift is recorded in a custom field. > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/25_j.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=141c452d8eee730fcc06aa3d46f4e023) ## Numeric Condition Rules When checking integer or decimal fields, both the lower and upper bounds are included. * “Less than 3” includes values: 3, 2, 1, 0, -1, etc. * “Greater than 3” includes values: 3, 4, 5, etc. * “In the range from 1 to 5” includes values: 1, 2, 3, 4, 5. # How the Wait Block Works in a Flow Source: https://help.maestra.io/flows/how-the-wait-block-works-in-a-flow The Wait block lets you pause a flow before the next steps run. Use it to space out messages, hold customers until a specific time, or trigger actions relative to a date stored on a customer, order, or product. ## Wait types You can configure the Wait block in three ways: * **Fixed** — wait a set number of minutes, hours, or days. * **Dynamic** — wait until a date stored in a field on the customer or another entity. * **Time interval** — don't wait, but only let customers exit during specific hours or days of the week. ## Fixed Set the number of minutes, hours, or days to wait. You can also restrict the hours and days of the week when customers are allowed to exit the block. *Example: Wait 7 days after delivery, then between 10:00 and 20:00 ask the customer to review the order.* ## Time interval No waiting period is applied, but the customer can only exit the block during the hours or days of the week you specify. *Example: Hold an abandoned cart message so it isn't sent overnight.* ## Dynamic Dynamic Wait uses a value from a custom field on the customer or another available entity with a Date or Date and time data type. > [!NOTE] > > Fields with the Date type don't include a time, so they default to midnight. You can configure the Wait to end: * The moment the time in the field arrives. * N minutes, hours, or days before that time. * N minutes, hours, or days after that time. You can also restrict the hours and days of the week when customers are allowed to exit the block. ## Which dates are available in which events Every flow can use a Wait based on a customer field. The events that trigger a flow also carry their own data — for example, custom fields on the order or product. Selecting an event lets you configure the Wait against custom fields on the entities passed in by that event, through dedicated contexts. The table below lists the available contexts and the events where each one can be used. | Context | Events where available | | - | - | | Customer field | All flows | | Order field | New Order; Order Data Changed; Order Status Changed | | Action field | New Order; Order Data Changed; Order Status Changed; Viewed Product Changed; Action Performed; Product-Related Action Performed; Customer Changed Email; Customer Changed Mobile Phone; Customer Balance Became Negative; Bonus Points Became Available; Set Balance Changed; Discount Card Status Changed; Discount Card Replaced | | Product field | Product in Order Delivered; Product in Order Paid; Product in Product List Changed; Product List Changed; Viewed Product Changed; Preferred Product Changed; Product-Related Action Performed | | Line item (position) field | Product in Order Delivered; Product in Order Paid | | Product expiration date | Product in Order Delivered; Product in Order Paid; Product in Product List Changed; Product List Changed; Viewed Product Changed; Preferred Product Changed; Product-Related Action Performed | | Points expiration | Customer Balance Became Negative; Bonus Points Became Available; Set Balance Changed | | Discount card information field | Discount Card Status Changed | | Operation variable | Operation Called | ## Examples of dynamic Wait ### Triggering before a date **Goal:** Remind a customer that a webinar is about to start. **Solution:** Store webinars as products and pass the start date and time in a custom field. Start the flow off the registration using the Product-Related Action Performed event with the right template. Set the Wait against the product data. Other use cases: * Remind a customer about an upcoming class or lecture. * "A product from your order is running low" flow. * "Your points are about to expire" flow. ### Triggering on a date **Goal:** Remind a customer to pick up a pickup order on its last day of storage. **Solution:** Pass the order's storage end date as a custom field. After delivery and the initial message, if the customer still hasn't picked up the package, send a reminder on the last day. ### Triggering after a date **Goal:** Ask a customer for a review after a tour. **Solution:** Pass the return date from the tour as a custom field on the order. After payment, wait 3 days from the return date, then request feedback. Other use cases: * Post-trip survey flow. ## How Wait affects flow progression The current "time of progression" for a flow is set by these blocks: * **Event** — uses the time of the event itself, not when it reached the project. * **Schedule** — uses the scheduled time. * **Step group** — running the steps sets the current date and time of progression. * **Wait** — moves the date and time of progression forward by the configured interval. > [!WARNING] > > It's important to distinguish actual waiting from an exit-time restriction. > > Fixed and dynamic Wait are part of the flow logic — progression is paused for the entire wait period and resumes only when it ends. > > A time interval restriction only postpones execution of the next block until the allowed hours; the time of progression is still measured from when the Wait ended. Why does this matter? Pausing and resuming progression changes time-based flow settings — the relevance period of a step group, and floating dates in filters. ### Relevance period Relevance is the window during which it still makes sense to run the steps. It's measured from when the customer entered the flow (the event or schedule block) or from the exit of the previous step group. Fixed and dynamic Wait pause progression. An hour restriction only postpones execution of the block — progression, and the relevance countdown along with it, resumes. **Example:** In a welcome series, the second email runs with a time restriction, and step group relevance is 1 day. A customer signs up on August 1 at 22:00 and immediately receives the first email. The next one goes out on the morning of August 5: * Progression is paused from August 1 22:01 until August 4 22:01. * Execution of the next block is postponed until morning, but progression and the relevance countdown resume at 22:01. * Before the step group runs, the system checks whether more time has elapsed since the previous step than the configured relevance — 12 hours have passed (August 4 22:01 to August 5 10:01), which is within the 1-day window, so the email is sent. ### Filters with floating dates For filters with floating dates ("current day", "up to 2 hours ago", and so on), the moment the filter is built matters. Fixed and dynamic Wait move progression — and the time the filter is applied — forward by the configured interval. An hour restriction postpones execution of the next block, but the time context (including for filters) stays at the moment progression resumed. **Example:** A customer enters a flow on August 6 at 23:00. A fixed Wait pauses progression from August 6 23:00 to August 13 23:00. Progression then resumes, and filters use that moment as the reference point — even if execution of the next block is postponed to the allowed hours (until August 14 10:00). How this affects different filter types: * **Calendar filters** ("calendar day/week/month/year", "anniversary") treat the time progression resumed as the current day — August 13. The check verifies there were no orders on August 13, even though it's already August 14. * **Interval filters from a date** ("date and time will occur / has occurred") count from the moment progression resumed — from August 13 23:00. The check verifies there were no orders between August 12 23:00 and August 13 23:00. * **Interval filters from the current time** ("period from the current date") count backward from the moment progression resumed — from August 13 23:00. The check verifies there were no orders between August 12 23:00 and August 13 23:00. * If you don't constrain by the nearest time boundary, the window extends to the moment the filter is actually applied: the check verifies there were no orders between August 12 23:00 and August 14 10:00. > [!TIP] > > Use fixed or dynamic Wait when you need the flow's time context (relevance and floating-date filters) to move with the wait. Use a time interval only when you want to shift delivery into allowed hours without changing the time context. # How to Limit How Often a Flow Runs Source: https://help.maestra.io/flows/how-to-limit-how-often-a-flow-runs Use the **Limit** block to cap how many times customers can enter a specific chain inside a flow. Limits help you control spend on paid channels, smooth out load during peak periods, and hand out a finite number of rewards without overshooting. ## When to use a Limit block * **Cap spend on paid channels.** Restrict the number of SMS or Flash Call sends so you stay inside budget. * **Smooth infrastructure load.** Spread sends over time instead of firing everything at once. * **Distribute limited rewards.** Hand out a fixed pool of loyalty points, promo codes, or discounts and stop once the pool is empty. ## How the Limit block works The block counts how many customers pass through it and compares that count against the cap you set. It has two output branches: | Branch | What it does | | - | - | | **Within limit** | Runs the main chain. Used while the counter is below the cap. | | **Beyond limit** | Optional. Runs an alternative chain (for example, a cheaper channel) once the cap is reached. If you leave it empty, customers who hit the cap exit the flow at this block. | While the flow is running, the block shows the current pass count and how much capacity is left. ## Set up a Limit block **1. Add the block** Drag the **Limit** block into your flow and place it before the chain you want to cap. **2. Choose how the cap is counted** Pick one of two modes: * **For all time** — a single cap across the entire lifetime of the flow. * **For a period** — a cap that resets on a schedule. Choose hours, days, calendar days, or weeks. **3. Enter the number of passes** Set the maximum number of customers allowed through the **Within limit** branch. **4. Connect the branches** Wire the **Within limit** output to the chain you want to run for the first N customers. Optionally wire the **Beyond limit** output to a fallback chain. **5. Turn on threshold alerts (optional)** Enable a notification that fires a warning when remaining capacity drops below a level you choose — useful for catching a budget that's about to run out before it does. ## Editing a live Limit block You can change a Limit block while the flow is running, but be aware of how each change affects the counter: | Change | Effect on the counter | | - | - | | Change the number of passes only | Counter is **preserved**. Existing pass statistics carry over. | | Change the reset schedule (mode or period) | Counter is **reset**. Pass statistics are cleared. | > [!WARNING] > > Changing the reset settings wipes the running totals. If you depend on historical pass counts, export them before you save the change. ## How passes are counted A customer's run through the flow counts as a successful trigger only when a step group actually executes. If a customer enters the Limit block but the run ends there — for example, because they hit the cap and the **Beyond limit** branch is empty — that run is not recorded as a successful flow trigger. This matters when your flow has per-customer entry restrictions: a customer who stops at the Limit block can still be re-entered later, because the platform doesn't count that pass as a completed trigger. ## Design rules to keep counts accurate > [!NOTE] > > Don't place either of the following on the **Within limit** branch before the first step group: > > * **Delay blocks** > * **Additional Limit blocks** > > These can throw off the count. Put your first step group right after the Limit block, then add delays or further limits downstream. ## Limits on the Limit block itself You can add up to **5 Limit blocks per flow**. If you need more, contact support. ## Example: capping SMS spend Say you want to send an SMS reminder but cap the cost at \$500 a week, with an email fallback once the cap is hit. **1. Add the Limit block** Place it before the SMS send step. **2. Set the cap** Choose **For a period**, set the period to **1 week**, and enter the number of SMS sends that fits your \$500 budget. **3. Route the branches** Connect **Within limit** to the SMS send step. Connect **Beyond limit** to an email send step. **4. Add a threshold alert** Turn on the notification and set it to warn you when fewer than 10% of sends remain, so you can adjust before the week ends. > [!TIP] > > Pair the Limit block with a segment filter upstream to make sure only your highest-value customers reach the paid channel before the cap is hit. # How to Schedule a Flow to Run Periodically Source: https://help.maestra.io/flows/how-to-schedule-a-flow-to-run-periodically Flows let you automate how you interact with customers. Use them to reactivate inactive shoppers, send birthday and anniversary greetings, deliver digests, and much more. Scheduled flows run at a specific time on a recurring cadence. For example, every day at 10:00 AM, every weekday at 3:00 PM, or at 8:00 PM on the last day of every month. To create a scheduled flow, open the start block and choose **By schedule**. Then set when and how often the flow should run, and which customers should enter it. > [!NOTE] > > To trigger a flow in response to customer actions instead, see the article on event-based flows. Below are the available scheduling options, plus the key details to keep in mind when working with periodic flows. ## Every day Runs every day at the same time. Pick a time of day. **Example:** The flow runs every day at 2:00 PM. **Common use cases:** * Birthday greeting flow * Anniversary reminder flow * Customer reactivation flow * Reactivation by email opens ## By days of the week Runs on specific days every N weeks. Pick the days of the week, the time, and the repeat frequency. **Example:** The flow runs every second Friday at 3:00 PM. ## By days of the month Pick the months, the days to repeat on, and the time. You can choose from these repeat days: * Specific dates * The last day of the month * The first, second, third, fourth, or last weekday of the month **Examples:** * The flow runs on the 1st of every month at 10:00 AM. * The flow runs on the last day of every month at 9:00 AM. * The flow runs on the first Friday of every summer month at 8:00 PM. ## Other settings and behavior ### When the flow starts After you turn the flow on, the **Schedule** block waits until the time you set, then runs for the customers who match its conditions at that moment. **Example:** You turn the flow on at 5:00 PM. * It will run every day at 10:00 AM for the customers who are in the segment at that time. * The first run happens the next day at 10:00 AM. ### Flow active window You can set a start date and an end date for the flow. This is useful for time-limited campaigns and helps you automate when they begin and end. To do this, open the flow settings and set the dates. **Example:** The flow only runs during March 2023. ### Per-customer frequency cap A customer can match a flow's conditions many times. For example, a reactivation flow checks for no orders in the last 30 days and sends a campaign. Without a frequency cap, the flow will run for that customer every day until they make a purchase. Another example: a customer edits their birth date in their profile. Without a safeguard, the birthday flow will issue bonuses again. You can prevent this by capping how often the flow runs per customer. **Example:** The birthday flow runs only once per calendar year for a given customer, even if they update their data. ### How to check the project time Flow schedules use the project's time zone. If your team works from different locations, your local time may not match the project's time. You can find the project time zone under **Settings → System → Platform Parameters**. ### How fast scheduled flows run Flows have throughput limits per unit of time. Running a flow against half of your customer base will take several hours. Heavy filters can also add processing time. If a filter can't be calculated within four hours, the flow stops and an alert is opened. > [!WARNING] > > Plan large scheduled flows with throughput in mind. Complex filters and big audience sizes can push processing into multiple hours, and filters that exceed four hours will halt the flow. # How to Test a Flow Source: https://help.maestra.io/flows/how-to-test-a-flow ## Why conduct a testing before launching your flow? By testing your flow, you can: * make sure that the **expected number of customers** complete the flow; * verify **if your conditions are correct and how your customers are divided into branches**; * look how a **specific customer goes down the flow** * **test your campaigns** on real events without sending them to your customers. Meanwhile, **group of steps are not completed and expectations are ignored** in the test mode (campaigns in steps only generate messages but do not send them). In other words, to conduct a fast testing with minimum actions, you do not have to create a simplified flow version by removing promo codes or bonus points generation or by limiting expectation time down to 1 minute. You can just enable testing mode, so that you can test your flow with its final settings. ## How to launch a testing Prepare your flow and press the "**Test**" button: ![00\_howtotestFlow](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_howtotestFlow.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=c5f0a42ecf147ee82e695c69ededb76b) #### How the testing mode operates After the testing mode is enabled, a corresponding icon will appear in your flow. First runs are being calculated: ![01\_howtotestFlow](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_howtotestFlow.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=f800ff6df1cefe639a5a8efa42f43a77) #### What runs go down to a test launch? * event flows are launched by an initial node event; * bulk flows are implemented once after the launch on the customers matching “Launch conditions” filter in Schedule node (10,000 customers maximum). Meanwhile, launch time settings are ignored. #### Which nodes and settings are run in the test launch? Testing **includes settings** of nodes, such as: * event; * schedule (filter only); * distribution to the branches of the flow; * limit (in a process launch, test runs are reset automatically) * conditions. The nodes and **settings below are ignored**: * expectation * group of steps (however, the testing mode is activated automatically for all campaigns in the flow → messages are generated but not sent); * A/B testing (the testing is not launched, your clients are just divided into branches, as in the flow splitter node); * execution frequency (event flows are executed every time a relevant event occurs, while bulk flows are executed only once after the test launch on all the customers matching the filter criteria. To repeat it, create a new version of the flow and launch a new testing); * start and end date of flow execution; * [transactionality](/flows/what-is-a-transactional-flow) (events in the test are processed without a priority). #### Can you launch a test flow and a process flow at the same time? Your flow can simultaneously contain one version only, either a test one or a process one. Copy your process flow and launch your test there for a parallel launch. ### Testing results #### Customer distribution and flow runs Run mode operates like in a regular flow. The toggle feature is available after at least one customer enters the flow. ![02\_howtotestFlow](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_howtotestFlow.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=11d7be4204bafa3ae75a3fc8f4fd15bb) You can also choose customers from the branches and click on the icon next to the customer's name to see their runs: ![03\_howtotestFlow](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_howtotestFlow.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=b2530a13eaf427d1f6086c348aaeefe7) ![04\_howtotestFlow](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_howtotestFlow.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=2ff3b2f833b840c802ba64fa9c06b17c) To view a specific user's way down the flow, you can also go to "Customer flow interections" and find the user by their ID: ![05\_howtotestFlow](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_howtotestFlow.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=b2ab4a66a481b8bc11e3c007f5acfc46) ![06\_howtotestFlow](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_howtotestFlow.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=30409a3fbf89baae8924a095b64f67be) #### Generated campaigns To view the generated messages, go to the corresponding tab in the node with the campaign and click on the ‘eye’ icon: ![07\_howtotestFlow](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_howtotestFlow.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=765095fe19a1b307900f6a23cbe98cab) Generated campaigns from all nodes are collected in the tab "**Executions and mailing campaigns**" → "**Generated messages**": ![08\_howtotestFlow](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_howtotestFlow.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=b28b4006e072048fc899fbb6d3b3da06) ![09\_howtotestFlow](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_howtotestFlow.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=afaee889515e2b66a1f39fd340dd9dcf) For each node, mailings for the last ten clients are displayed. For repeated runs, the last letter generated for the client will be shown. ## Testing termination and flow launch After you conducted the testing and analyzed its results, you can: * **Pause your test**. You can resume it later; the statistics will be common within one version. * Conduct a new test. To do this, go to the flow editing page, make your changes, and launch the new test. As this is a new version, the statistics in it will be reset. * Launch a flow. To do this, go to the flow editing page—a process flow version will be created with the same settings. Launch it. Meanwhile, the test version is paused automatically: ![11\_howtotestFlow](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_howtotestFlow.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=2271479da92327cebd55ffb6be03e5a9) ![13\_howtotestFlow](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_howtotestFlow.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=c8bd1c847c66f3b1fded4e59c6b1325b) #### What happens to the test runs? Nothing. They are not counted and, as a result, do not affect execution frequency counter. You cannot launch processing of the events of the test. #### How is the test displayed in the flow history? The test is a separate flow version. It is marked by a corresponding icon in the flow history. Its launch and stopping are recorded as in regular versions: ![14\_howtotestFlow](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_howtotestFlow.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=5489fa7c323f489e3f7d8f000833a94e) # How to Track a Customer's Progress Through a Flow Source: https://help.maestra.io/flows/how-to-track-a-customers-progress-through-a-flow ## Overview Ever wonder why a specific customer didn't get an email from your welcome flow — or where exactly they dropped off? Maestra lets you replay any customer's journey through a flow step by step, so you can see exactly where they are, how long they've been waiting, and why they exited. This is especially useful for: * Debugging flows that aren't behaving as expected * Investigating a support request from a specific customer * Confirming that your logic is working the way you intended ## How to view a customer's flow activity 1. Open the flow you want to inspect. 2. Click the **flow menu** (the three-dot icon in the top right corner). 3. Select **View customer activity**. 4. Search for the customer using any of the following: * Full name * Maestra ID * Email address * Mobile phone number 5. Select a **time period**. Activity data is available for the last **30 days**. 6. Click on an entry in the results list to open the full activity view. You'll see a visual timeline of the customer's path through the flow — each block they passed through, how long they spent there, and what happened at each step. > [!NOTE] > > If the flow was edited after the customer entered it, the activity view reflects the settings that were active **at the time each step was executed** — not the current version of the flow. ## Understanding activity statuses ### In progress The customer is currently moving through the flow. This includes two scenarios: * They're **actively in a step** — the system is processing an action right now. * They're **waiting in a delay block** — the expected exit time is shown so you know when they'll move on. ### Completed The customer finished the flow. This can happen in a few ways: * All steps executed successfully. * An event failed a condition check at the final step. * The trigger frequency limit was reached (the flow ran the maximum number of times allowed for this customer). ### Stopped The customer exited the flow early. Common reasons include: | Reason | What it means | | - | - | | Step relevance period expired | The customer was in the flow too long and exceeded the time limit set for the steps | | Frequency limit not met | The customer didn't meet re-entry rules set for event-triggered flows | | Failed launch condition check | The customer didn't satisfy the conditions required to start the flow | | Outside segment restriction | The flow folder was limited to a segment, and this customer wasn't in it | | Flow was stopped | The flow was manually paused or stopped while the customer was in it | | Wait block was deleted | An active delay block was removed during a flow edit while the customer was waiting in it | | Dynamic wait value missing | A delay block relied on a custom field date that wasn't available for this customer | ### Error Something unexpected happened. If you see this status, check the **Campaign & Data monitoring** page for more detail. ## Troubleshooting: why doesn't a customer show up? If you search for a customer and don't see any activity — or the activity seems incomplete — here are the most likely causes. ### For event-triggered flows * **The flow wasn't active when the event occurred.** Check the version history to see if the flow was running at that time. * **The event trigger wasn't set up yet in that version.** An older version of the flow might not have included the same trigger. * **The event didn't match the trigger criteria.** Review the launch block conditions and confirm the customer's action met all of them. * **Wrong template used.** If the trigger is template-based, make sure the right template was active. * **Multi-brand project.** If you're running multiple brands, confirm the event happened in the correct brand. * **Historical event upload.** If the event was uploaded retroactively: the flow must have been active at the time of the upload, and the event must have occurred within the last 7 days before the data was entered. ### For scheduled flows * **The flow hasn't run yet.** Double-check the scheduled run time — it may simply not have triggered yet. * **The customer didn't meet the conditions at run time.** The version history shows what conditions were active at each scheduled execution. * **The flow wasn't active at that moment.** Confirm the flow was running during the scheduled window. # What are flows and How Do You Use Them? Source: https://help.maestra.io/flows/what-are-flows-and-how-do-you-use-them ## What are flows? Flows help set up automated communications with customers across all channels (email, mobile and web push notifications, SMS, webhooks, and more), assign promo codes, award bonus points, edit customer data, and transmit this data between segments. Flows are highly flexible, and combined with Maestra’s segmentation capabilities, they allow you to create an ultra-personalized sequence of interactions with each customer. ## How to create a flow Go to **Campaign manager**: ![Screenshot 2026 06 12 At 17 17 20](https://mintcdn.com/maestraio/spQTsOQpDgxyaztO/images/Screenshot-2026-06-12-at-17.17.20.png?fit=max\&auto=format\&n=spQTsOQpDgxyaztO\&q=85\&s=2fd3beae561a4c8a278e643b7507aa39) Click the green **Create campaign** button in the upper right corner, expand **Automations**, and select **Flow**. ![Screenshot 2026 06 12 At 17 18 54](https://mintcdn.com/maestraio/spQTsOQpDgxyaztO/images/Screenshot-2026-06-12-at-17.18.54.png?fit=max\&auto=format\&n=spQTsOQpDgxyaztO\&q=85\&s=0d1e1b5d4364027d5c5ddcb781e79ab1) Next, choose the folder where the system will create your flow and brand (if you have several, otherwise the brand field will be hidden) and click **Create**: ![Screenshot 2026 06 12 At 17 26 53](https://mintcdn.com/maestraio/spQTsOQpDgxyaztO/images/Screenshot-2026-06-12-at-17.26.53.png?fit=max\&auto=format\&n=spQTsOQpDgxyaztO\&q=85\&s=97af6e78f31c54f5c98070a6ceae268c) ## How to set up a flow #### Settings ### Flow statuses * **Draft**: some nodes are still empty; * **Ready for launch**: all the blocks are filled in and the flow (or the draft) can be launched; * **Launching**: this status is displayed for a couple of seconds after clicking the Launch button; * **Active**: the flow is running; * **Paused**: the flow has been paused; * **Creating draft**: the status is displayed for a couple of seconds after clicking the Edit or Copy flow buttons. ### Nodes A flow consists of different **nodes**: ![Screenshot 2026 06 12 At 17 31 43](https://mintcdn.com/maestraio/spQTsOQpDgxyaztO/images/Screenshot-2026-06-12-at-17.31.43.png?fit=max\&auto=format\&n=spQTsOQpDgxyaztO\&q=85\&s=2c78408e607dc532f9754245bc5c6e41) > [!NOTE] > > We support the stable flow interface up to 150 added nodes. 1. **Launch Settings** The Launch Settings node is the starting point of every flow — it defines what kicks it off. Each flow requires exactly one Launch Settings node. There are two ways to trigger a flow: * **Event-based** — the flow starts when a specific action or change occurs, such as a customer joining your list, a browsing session ending, or an order status update. * **On a Schedule** — the flow runs on a recurring schedule rather than in response to an event: daily, on specific days of the week, or on set dates each month. ![Screenshot 2026 06 12 At 17 49 30](https://mintcdn.com/maestraio/spQTsOQpDgxyaztO/images/Screenshot-2026-06-12-at-17.49.30.png?fit=max\&auto=format\&n=spQTsOQpDgxyaztO\&q=85\&s=c4b0e539d50e13729a679a86f7ea5339) 2. **Condition** The Condition block lets you filter contacts after a flow is triggered by checking criteria across multiple entities — such as the customer, the triggering event (order, session, or product), or promo code availability. The entities available in the block depend on the flow's trigger: some, like customer, are always accessible, while others — like order or session details — are only available when the flow is triggered by the corresponding event. ![Screenshot 2026 06 15 At 11 12 56](https://mintcdn.com/maestraio/QWUMTnlrt3ryj1ar/images/Screenshot-2026-06-15-at-11.12.56.png?fit=max\&auto=format\&n=QWUMTnlrt3ryj1ar\&q=85\&s=ada8046059b90cb0f68c0ecd73e2b413) 4. **Steps** The Step block defines what actions Maestra Platform takes on a contact once they reach that point in the flow — such as sending a message, issuing a promo code, updating loyalty points, or editing customer data. ![Screenshot 2026 06 15 At 11 18 43](https://mintcdn.com/maestraio/QWUMTnlrt3ryj1ar/images/Screenshot-2026-06-15-at-11.18.43.png?fit=max\&auto=format\&n=QWUMTnlrt3ryj1ar\&q=85\&s=d44f03c668e694dc7baeff194d99c66d) 5. **Flow splitter** The Split block randomly distributes contacts across up to five branches based on set probabilities, so you can send different groups down different paths within the same flow. Unlike the A/B test block, it handles distribution only — without any built-in performance tracking. ![Screenshot 2026 06 15 At 11 24 11](https://mintcdn.com/maestraio/QWUMTnlrt3ryj1ar/images/Screenshot-2026-06-15-at-11.24.11.png?fit=max\&auto=format\&n=QWUMTnlrt3ryj1ar\&q=85\&s=e35ad15ff1e91f284861ce64c09e66de) 6. **Wait** The Wait block pauses a contact's progress in the flow until a set condition is met. There are three delay types: * **Fixed** — holds the contact for a set number of minutes, hours, or days. * **Dynamic** — waits until a date stored in a customer, order, product, or action field, with the option to trigger before, on, or after that date. * **Timed waiting period**— doesn't add a delay, but controls when the contact exits the block by restricting it to specific hours or days of the week. ![Screenshot 2026 06 15 At 11 31 47](https://mintcdn.com/maestraio/QWUMTnlrt3ryj1ar/images/Screenshot-2026-06-15-at-11.31.47.png?fit=max\&auto=format\&n=QWUMTnlrt3ryj1ar\&q=85\&s=bd54acfe54f953e0b986fbbfdcce6531) 7. **A/B test** The A/B Test block splits contacts into up to five branches at set percentages to test hypotheses and measure their impact on key metrics like order conversion rate, average order value, or revenue per contact. Unlike the Split block, it includes built-in reporting that tracks performance across variants and determines a winner. ![Screenshot 2026 06 15 At 11 37 53](https://mintcdn.com/maestraio/QWUMTnlrt3ryj1ar/images/Screenshot-2026-06-15-at-11.37.53.png?fit=max\&auto=format\&n=QWUMTnlrt3ryj1ar\&q=85\&s=1cf94667a0d0b7e366fc4715218d71b7) 8. **Limitation** The Limit block caps how many contacts can pass through a specific branch — either over all time or within a rolling period. This lets you control spend on paid channels, cap the number of messages sent per period, or run promotions with a fixed number of rewards.\\ ![Screenshot 2026 06 15 At 11 42 35](https://mintcdn.com/maestraio/QWUMTnlrt3ryj1ar/images/Screenshot-2026-06-15-at-11.42.35.png?fit=max\&auto=format\&n=QWUMTnlrt3ryj1ar\&q=85\&s=c68f50d1dbe41ecf95900ad57b307417) ## Connections between nodes Use connection lines to join nodes into a sequence ![05\_workflow\_new](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_workflow_new.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=d4a5ea8dc37be60c23a93724a345b709) ## Bulk copying and deleting blocks To copy or delete multiple blocks at once: **1. Switch to multi-select mode using the left toolbar.** ![Screenshot 2026 06 15 At 12 24 17](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-12.24.17.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=c04ccc716d0702b9eb37f1a885956ae4) **2. Highlight the blocks** Drag to highlight the blocks you want. **3. Copy or delete** Use the buttons in the upper-right corner of the selection to copy or delete them.\\ ![Screenshot 2026 06 15 At 12 26 10](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-12.26.10.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=ad046af725411f8c958fd74f7d049e29) **Keyboard shortcuts** | Action | macOS | Windows | | - | - | - | | Select multiple | Option | Shift | | Copy | Cmd + C | Ctrl + C | | Paste | Cmd + V | Ctrl + V | | Delete | Backspace | Delete | > [!TIP] > > You can also copy blocks into other flows within the same account. *** ## Flow frequency per customer or order You can set a limit on how often a flow fires for a given customer or order — once ever, on a recurring schedule, or every time the flow fires. ![Screenshot 2026 06 15 At 12 51 49](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-12.51.49.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=72ffdcf170a90d2af9ddaae4c37fd544) *** ## Flow schedule There are three ways to schedule a flow: * Launch it immediately when you're ready. * Schedule it to start automatically on a future date. * Set an end date so it stops automatically at a specific time. To set a start and/or end date on a future date for your flow: **1. Open flow schedule** Open the flow schedule in the upper-right corner. ![Screenshot 2026 06 15 At 13 09 28](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-13.09.28.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=3d797907a6ffed03c94f60b240310d03) **2. Enter dates and click Save** Enter the start and/or end date and time.\\ ![Screenshot 2026 06 15 At 13 15](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-13.15.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=1ddc1a683cc752faa7e9c71d3df6d72a) **3. Schedule for later** If setting a start date, click **Schedule for later** — otherwise the flow won't launch automatically. ![Screenshot 2026 06 15 At 13 17 01](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-13.17.01.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=c51d0cb1e7d4b82e50de1e488b42b824) > [!NOTE] > > **Once the schedule is set, here's how each option affects the flow:** > > **Start date** — the flow only processes events that occur after this date. > > **End date** — works like a manual stop: contacts already in a Wait block will remain there, and no further steps will execute. If you push the end date back while contacts are waiting, they'll continue through the flow. *** ## Segment restriction > [!NOTE] > > If the folder containing your flow is restricted to a segment, the flow will only fire for contacts who belong to that segment — both at the time of the trigger event and at the time each step executes. If a contact leaves the segment at any point, their run stops. ![Screenshot 2026 06 15 At 14 04 39](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-14.04.39.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=c225e32714833090c84219c842a52c1f) *** ## Autosave and validation Every change is saved automatically.\ If you can't launch your draft, click **Show errors in the flow** in the top right corner to see what's blocking it. You can jump straight to the problem by clicking the link in the popup. ![Screenshot 2026 06 15 At 14 09 17](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-14.09.17.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=9d3e878fc43030e03b5d42d82069e435) *** ## Launching a flow ### Test mode Use [test mode](/flows/how-to-test-a-flow) to verify your flow logic before going live. You can preview how contacts are routed through each branch and generate test messages — step groups won't execute and wait blocks are skipped. ![02 Howtotest Flow Png](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/02_howtotestFlow.png.webp?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=1e0ba9790c0068c416c5a2e1e9b6d13a) ### Editing a live flow **1. Click Edit** ![Screenshot 2026 06 15 At 14 27 16](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-14.27.16.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=7c5bbe617dd0f779bacc52e5131017b6) A draft is created that doesn't affect the live version. **2. Make your changes** Edit the draft as needed. **3. Click Launch** The draft goes live and the previous version stops. ![Screenshot 2026 06 15 At 14 30 45](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-14.30.45.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=9c356652a8e16d86a640d30905a52fcf) > [!TIP] > > To discard your changes, select **Delete draft** from the menu. > > ![Screenshot 2026 06 15 At 14 31 40](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-14.31.40.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=0816e9a2e489dd0930c6f27a477fe180) ### Version history Click the clock icon next to the flow name to open version history. Each entry shows when that version was launched and stopped. Click any version to view its configuration at that point in time. ![Screenshot 2026 06 15 At 14 37 42](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-15-at-14.37.42.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=6e42e1f91eb1cdb9d6a3d4f573274752) ### Copying a flow Select **Copy** from the flow menu ![Screenshot 2026 06 16 At 16 54 42](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-16-at-16.54.42.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=9b42e504b61b2384cc9da4bc8276ffa4) Then choose the destination folder and brand. By default, the original folder and brand are pre-selected. ![Screenshot 2026 06 16 At 16 57 21](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-16-at-16.57.21.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=4fc5ef3d185ef026c16fa9b7b20aae74) * If the flow sends campaigns, check **Create campaign copies in the selected folder** to automatically duplicate them in the new folder. * If the flow issues an action, the step group will be copied without that step — you'll need to create a new action template and add it to the copied flow manually. *** ## Comments Comments let you leave notes directly on the flow canvas — useful for documenting logic or leaving context for teammates. To add a comment: **1. Switch "Add a comment mode" using the left toolbar.** ![Screenshot 2026 06 16 At 17 09 48](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-16-at-17.09.48.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=92a317c838920770897ccbf0862f937d) **2. Click anywhere on the canvas, type (up to 500 characters) and save** ![Screenshot 2026 06 16 At 17 17 24](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-16-at-17.17.24.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=1de426abb83d4663f2a4514c5fda0298) Once added, you can move comments around the canvas, resize the highlighted area, or delete them. *** ## Flow analytics ### Run statistics Once your flow is live, run statistics appear directly on each step. Use them to see: * How many contacts entered the flow * How they moved through each branch and where they dropped off * The most common step execution errors * Send metrics for any messages in the flow ![Screenshot 2026 06 22 At 13 45 09](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-22-at-13.45.09.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=58736df17380772f0ce8b44c05b24677) You can also drill into any individual contact's run history. ![Screenshot 2026 06 22 At 13 47 47](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-22-at-13.47.47.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=6130473320f02a9bf92833e52db1e20b) ![Screenshot 2026 06 22 At 13 51 26](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-22-at-13.51.26.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=6be524848941caa4e52019ca8b26628c) ### Reporting Hover over **Flow Report** on the flow page for a summary of metrics since the first launch. \\ ![Screenshot 2026 06 22 At 14 54 22](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-22-at-14.54.22.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=9d00e94696c99e35a0c5ad99a98cfef1) \ Click to open the full **Flows Dashboard** for this flow. ![Screenshot 2026 06 22 At 15 01 23](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-22-at-15.01.23.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=3113fd0cbee05b1c67039dc7b724f30d) *** ## Bulk flow management From the campaigns list, you can launch, pause, or delete multiple flows at once: 1. Filter the list to find the flows you need. 2. Use the checkboxes to select them. 3. Choose an action — launch, stop, or delete. 4. Confirm when prompted. ![Screenshot 2026 06 22 At 15 10 08](https://mintcdn.com/maestraio/X3DPOSnrzAspqmNU/images/Screenshot-2026-06-22-at-15.10.08.png?fit=max\&auto=format\&n=X3DPOSnrzAspqmNU\&q=85\&s=dbee52e285b8e607b6fc8e018a0127a9) This is useful for: * Launching a multi-flow automation all at once * Pausing flows with errors while you fix them * Cleaning up old test flows in bulk # What Events Can Trigger a Flow Source: https://help.maestra.io/flows/what-events-can-trigger-a-flow Flows let you automate customer interactions. Use them to award loyalty points after an email is confirmed, send NPS surveys after an order is delivered, and much more — anytime you want to react to an event. Some filter contexts, waits, and parameters are available in every flow and mechanic. For example, in any chain you can check conditions on the customer, set a fixed wait of N days, or output a product segment. An event also carries its own data, which you can use in the flow: context filters and waits become available, and in campaigns you can use event parameters. For example, in an order-based flow you can check conditions on the contents of that order, set a wait based on one of its custom fields, and send a campaign that prints data from it. To configure an event-based flow, in the start block choose the trigger condition **An event occurred**. This article covers which events a flow can react to, their specifics and settings, and how to drop unwanted entries using customer conditions. > [!TIP] > > To launch a flow on a customer segment on a periodic schedule (every day, end of the month, etc.), see the periodic flow guide. ## Processing historical events When historical events are loaded into the database, only actions that occurred within 7 days before the upload are processed. Events older than 7 days will not enter a flow. > [!NOTE] > > **Example.** If an action was uploaded on 10/20, an event dated 10/12 will not be processed. ## Customers — how to restrict triggering by event You can drop irrelevant events at the moment they appear and avoid unnecessary load on your project. To do this, use customer filters in the trigger block so that only relevant entries reach the flow. Available customer conditions: * **Email** — filled and (in)valid * **Mobile phone** — filled and (in)valid * **Segment** — (does not) belong to a recalculated or static segment * **Subscription** — subscribed in the required brand, channel, or topic * **Mobile app** — has an app with permission to receive mobile push * **Device** — has a device with permission to receive web push on the site To set conditions that are not on this list, including event context conditions, use a separate condition block. > [!TIP] > > **Why check the customer's contact and subscription in the flow?** For example, after an abandoned session you send email and web push campaigns. Only customers who can be reached on at least one channel should enter the flow — so add those conditions at launch. Customers without suitable data will not enter the flow they would have dropped out of anyway, and won't add unnecessary load. Entries that don't pass the check do not move on to the next block, so they don't appear in the overall flow canvas statistics, but their count is visible in the trigger block under "Did not enter the flow." These entries stop with the reason "Condition cannot be applied." ## Customer actions ### Action issued An action was issued. You can select several action templates at once. > [!NOTE] > > The flow triggers on backdated actions, but they must fall within the step group relevance window. > > **How it works.** Say a flow sends a campaign immediately after an order; the step group relevance is one day. An order arrives in the database on June 10 at 10:00 with an order date of June 6 at 20:00. The step could have fired between June 6 20:00 and June 7 20:00 (given the one-day relevance). That window has passed, so the flow drops the event and does not trigger. Now change the flow: put a 3-day wait between the order and the campaign. The 3 days are again counted from the action's date, so the campaign can send between June 9 20:00 and June 10 20:00. The order falls within the step relevance, so the flow does run. * **Context filters:** by action * **Dynamic wait:** from an action field * **Event parameters:** CustomerAction ### Product-related action issued A product-related action was issued: view, add to or remove from a list. You can select several action templates at once. > [!NOTE] > > The flow triggers on backdated actions, but they must fall within the step group relevance window. (See the example above under "Action issued.") **Limitations:** * An order is not considered a product-related action. * The action must be tied to a product. Otherwise, even if the matching template is issued, the flow will not start. * **Context filters:** by action; by product * **Dynamic wait:** from an action field; from a product field; product expiration date * **Event parameters:** CustomerActionProduct; CustomerAction; Product ### Customer left the site or app The event fires after a session that matches the configured settings ends. A session is a customer's presence on the site with the Maestra tracker installed. It automatically closes after half an hour of inactivity. You can also force it to close by entering the following in the **Console** tab of developer tools: ```js theme={null} mindbox("closeSession") ``` **Event settings** **Actions taken during the session.** Available actions: * Adding a product to a list * Viewing a product * Viewing a product category If one or more action types are selected, the flow will only trigger on sessions where those actions occurred. If no actions are selected, the flow accounts for all sessions. **Orders during the session.** Lets you restrict sessions by whether they include a placed order. * **Context filters:** by session * **Event parameters:** Session ### Product list changed #### Product added to the list A new line was added to the customer's list. The event does not react to an increase in the quantity of a product that is already on a line. * **Context filters:** by product on the list; by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** ProductListItem; Product #### Any change A line was added to the customer's list, or the list was adjusted (the line total or quantity changed). The event does **not** fire: * When the cart is cleared * When a line is fully removed from the list, including when removal happens at the same time as an addition in a list set operation If changes happen at the same time — for example, in a single import or list set — the flow fires once. * **Context filters:** by product on the list; by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** ProductListItem; Product ### Customer requested an authorization code A code was created via an operation with the step **Action — Generate authorization code**. > [!TIP] > > Use this event to launch transactional flows with guaranteed send speed. * **Context filters:** by action * **Dynamic wait:** from an action field * **Event parameters:** CustomerAction ## Orders ### Order status changed The order moved to the selected status, including arriving in that status directly. > [!NOTE] > > The flow triggers on backdated orders, but two nuances apply: > > 1. The action must fall within the step group relevance window. > 2. There must be no later change to the order. Otherwise the incoming data is no longer the most current for that order. > [!TIP] > > Use this event to launch transactional flows with guaranteed send speed. #### All order items transitioned * Every item that came in with the order's creation must reach the status. If one item is canceled, the flow won't start. * Items don't have to transition to the status in a single action. If item changes arrive gradually, the flow starts once all items reach the required status. * You can additionally limit the number of triggers per order. * The count of transitions to the required status is measured from the moment the flow is turned on. #### Any order item transitioned * You can additionally limit the number of triggers per order. * The count of transitions to the required status is measured from the moment the flow is turned on. * **Context filters:** by order; by action * **Dynamic wait:** from an order field; from an action field * **Event parameters:** Order; CustomerAction ### New order The flow launches when a new order is created in any status. > [!NOTE] > > The flow triggers on backdated orders, but keep the step group relevance in mind. > [!TIP] > > Use this event to launch transactional flows with guaranteed send speed. * **Context filters:** by order; by action * **Dynamic wait:** from an order field; from an action field * **Event parameters:** Order; CustomerAction ### Order data changed The flow fires when a change occurs on the order. You can additionally limit the number of triggers per order. By default, the event fires on any change. If you select specific fields, the flow only fires when those fields change. > [!NOTE] > > The flow triggers on backdated orders, but the action must fall within the step group relevance window, and there must be no later change to the order. * **Context filters:** by order; by action * **Dynamic wait:** from an order field; from an action field * **Event parameters:** Order; CustomerAction ### Product in the order delivered An order item moved to the **Delivered** status, including arriving in that status directly. Fires for each delivered item, even if they came in the same order. Delivering an order with two items launches the flow twice. * Fires again on an item if anything on it changes (price, quantity, custom fields). Additionally, you can restrict which products enter the flow: * Products that moved to the specified status in the **Delivered** category * Products that belong to one of the selected segments * **Context filters:** by order item; by product * **Dynamic wait:** from an order item field; from a product field; product expiration date * **Event parameters:** OrderItem; Product ### Product in the order paid An order item moved to the **Paid** status, including arriving in that status directly. Fires for each paid item, even if they came in the same order. Paying for an order with two items launches the flow twice. * Fires again on an item if anything on it changes (price, quantity, custom fields). Additionally, you can restrict which products enter the flow: * Products that moved to the specified status in the **Paid** category * Products that belong to one of the selected segments * **Context filters:** by order item; by product * **Dynamic wait:** from an order item field; from a product field; product expiration date * **Event parameters:** OrderItem; Product ## Segments ### Customer entered a segment The customer entered the selected recalculated or static segment. ### Customer exited a segment The customer left the selected recalculated or static segment. ## Customer profile changes ### New customer A new customer was added to the database in any way: manually, via API, or by file import. If a new Maestra ID appears, the event fires. > [!NOTE] > > Even if the new customer is immediately merged with an existing profile, a new profile was created, so the flow launches. To avoid duplicate triggering in these cases, limit the number of applications per customer to one. > > An import does not always create a new customer. If the customer already exists, the record is simply edited — in that case there is no "added to database" event. ### Customer registered A new customer was added via an operation with the step **Customer — Register**, **Customer — Register or update**, or **Customer — Import**. The event does **not** fire if: * The customer is being edited, not created, by the operation * The customer was created from a personalization form * The customer was created via an interface import > [!TIP] > > Use this event to launch transactional flows with guaranteed send speed. * **Context filters:** by action * **Dynamic wait:** from an action field * **Event parameters:** CustomerAction ### Profiles of one customer merged Any merge of customer profiles, including manual. ### Customer changed email Change of email from one to another. Does not include filling in, wiping, or creating a customer with an email. #### With email confirmation Includes adding an unconfirmed email when a confirmed one exists, or an email without confirmation data becoming unconfirmed. Does not include confirming an email, or an email without confirmation data becoming confirmed. ### Email became valid Fires every time a customer's email status changes from **Invalid** to **Valid**. Does not include replacing an invalid email with a new valid one. ### Customer confirmed email On every email confirmation. Includes confirming the primary email, re-confirming, filling in an already-confirmed email, or an email without confirmation data becoming confirmed and primary. Does not include confirming an unconfirmed email when the customer has both a confirmed and unconfirmed email, or switching from one confirmed email to another. ### Customer changed mobile phone Change of mobile number from one to another. Does not include filling in, wiping, or creating a customer with a phone. #### With phone confirmation Includes adding an unconfirmed phone when a confirmed one exists, or a phone without confirmation data becoming unconfirmed. Does not include confirming a phone, or a phone without confirmation data becoming confirmed and primary. ### Phone number confirmed On every phone confirmation. Use this event to launch transactional flows with guaranteed send speed. ### Customer data changed A change in customer data that shows on the **Change history** tab: filling and wiping fields, recognizing an email as valid or invalid, and so on. ### Customer modified data A change in customer data with an action from the **Personal** category that shows on the **Change history** tab. ### Customer custom field value changed A selected custom field or calculated field on the customer changed. Includes filling, changing, or wiping the value. > [!NOTE] > > The custom field history storage feature does not affect this event. Use this event to launch transactional flows. ### Subscription status changed The customer received the selected subscription status in a channel/topic. Includes the subscription moving to the required status (explicit or implicit), the customer being created already in the required status, and the subscription transitioning to the required status again. Does not include an implicit required status becoming explicit, or the primary customer ending up with the required status after a merge. > [!TIP] > > Use this event to launch transactional flows with guaranteed send speed. ## Product changes ### Product on a list changed You can additionally restrict the event by selected product segments. Only products that belong to at least one of the selected segments will enter the flow. #### Product back in stock A product on the customer's list that was previously out of stock — or had no availability data — became available. * Fires every time: when it next goes unavailable and comes back, the flow runs again. * Fires per product: if two products on the list become available, the flow runs twice. For customers with a filled-in zone: * If the product has regional availability data for the customer's zone, the flow triggers on changes in that region. * If the product has any regional data but not for the customer's zone, the flow does not trigger. * If the product has regional data for the customer's zone but availability in it is not filled in, the flow reacts to changes in the main feed. * If the product has no regional data at all, the flow triggers on changes in the main feed. * **Context filters:** by product on the list; by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** ProductListItem; Product #### Product out of stock A product on the customer's list that was previously in stock — or had no availability data — became unavailable. * Fires every time and per product. Regional behavior matches "Product back in stock" above. * **Context filters:** by product on the list; by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** ProductListItem; Product #### Product price dropped A product on the customer's list dropped in price by N percent or more, or by \$N or more. In detail: when a product is added to the list, the price at which the customer added it is recorded. This is independent of the product feed price and may differ from it. Then the product's feed price may change. The flow compares whether the current price has dropped below the price the customer saved the product at. If so, the flow launches. * **Fires every time**, including further drops and on a new drop after an increase. * **Fires per product.** * **Does not react to price being filled in.** If the product previously had no price data, the price must change again after being filled in. Regional behavior matches "Product back in stock" above. * **Context filters:** by product on the list; by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** ProductListItem; Product #### Product price increased A product on the customer's list rose in price by N percent or more, or by \$N or more. Logic mirrors "Product price dropped" — fires every time, per product, does not react to fills, regional rules apply. * **Context filters:** by product on the list; by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** ProductListItem; Product #### Product custom field changed The value of a custom field on a product from the customer's list changed. * Fires on fill, change, or removal of the value. * You can select several custom fields. If multiple selected fields on one product change at once, the flow runs once for that product. * Fires per product. Regional behavior matches "Product back in stock" above. * **Context filters:** by product on the list; by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** ProductListItem; Product ### Viewed product changed You can additionally restrict the event by selected product segments. Only products that belong to at least one of the selected segments will enter the flow. The four sub-events — **back in stock**, **out of stock**, **price dropped**, **price increased**, and **custom field changed** — work the same as for the list, with two differences: * The trigger is based on a viewed product, not a list product. * The reference price for "dropped" / "increased" comes from the price recorded at view time, not the price on a list. * **Context filters:** by viewed product; by product; by action * **Dynamic wait:** from a product field; product expiration date; from an action field * **Event parameters:** ProductView; Product; CustomerAction ### Product viewed The customer viewed a product page. * **Context filters:** by viewed product; by product; by action * **Dynamic wait:** from a product field; product expiration date; from an action field * **Event parameters:** ProductView; Product; CustomerAction ### Preferred product changed Data for a product stored in a calculated field on the customer changed. #### Product price dropped The price of the customer's most-viewed or most-purchased product dropped by N percent or more, or by \$N or more. How it works: when the product's **Price** field changes, the flow compares whether it dropped by the configured percent or amount relative to the previous value. If so, the flow launches for customers who have this product stored in the specified calculated field. > [!WARNING] > > Don't confuse this with the **Old price** product field — it plays no role in this event. * Fires every time, including on further drops and on a new drop after an increase. * Does not react to price being filled in. Regional behavior follows the list-product rules above. * **Context filters:** by product * **Dynamic wait:** from a product field; product expiration date * **Event parameters:** Product ## Loyalty ### Customer balance went negative After a balance change, it became negative. For example, a customer spent points earned from an order and then canceled the order. The event also fires if, after an award, the balance remains negative, or further deductions arrive. * **Context filters:** balance change; action * **Dynamic wait:** point expiration; from an action field * **Event parameters:** CustomerBalanceChange; CustomerAction ### Bonus points became available (moved from blocked) Awarded points became available. * If points are active immediately on award, the flow also fires. * The event's run time is set at the moment points are awarded. * The flow must be turned on both at the moment of awarding and at the moment the points become available. * **Context filters:** balance change; action * **Dynamic wait:** point expiration; from an action field * **Event parameters:** CustomerBalanceChange; CustomerAction ### Specified balance changes Any change to the balance on a points account: award, deduction, zeroing. * **Context filters:** balance change; action * **Dynamic wait:** point expiration; from an action field * **Event parameters:** CustomerBalanceChange; CustomerAction ### Promo code issued A single-use or referral promo code was issued. * **Context filters:** by promo code * **Event parameters:** PromoCode ### Customer applied a promo code Use of any promo code, including multi-use, in any promotion, including external ones. * For multi-use and referral promo codes, the flow re-triggers on each order item the promo code applied to when the order status updates. * For single-use promo codes, the flow re-triggers when the order status updates regardless of the number of items. * **Context filters:** by promo code * **Event parameters:** PromoCode ### Customer's referral promo code used A referral promo code issued to the customer was used. When the order is modified, the flow re-triggers on each item the promo code was applied to. * **Context filters:** by promo code * **Event parameters:** PromoCode ### Discount card status changed The card's status became **Activated**, **Blocked**, or **Not activated**. > [!NOTE] > > Cards are always issued with a status change. * **Context filters:** discount card info; action * **Dynamic wait:** from a discount card info field; from an action field * **Event parameters:** CustomerAction ### Discount card replaced Card replacement. > [!NOTE] > > Issuing a new card is not considered a replacement. * **Context filters:** by action * **Dynamic wait:** by action field * **Event parameters:** CustomerAction ## Campaign participation ### Email generated for the customer in a campaign / Campaign sent to the customer The customer received the configured campaign status. > [!NOTE] > > For other statuses (open, click, unsubscribe request), use the **Action issued** event with the corresponding template. ## Other ### Operation called The flow launches only after the operation selected in the event is called with the step **Action — Start flow**. The customer is identified by the data passed in the call. > [!WARNING] > > * An operation can be used in only one active flow. > * After the flow starts, the selected operation cannot be edited or deleted. * **Context filters:** by operation variables * **Dynamic wait:** from an operation variable * **Event parameters:** CustomParameters # What is a transactional flow? Source: https://help.maestra.io/flows/what-is-a-transactional-flow Ranked highest in an event processing queue, a transactional flow, as its name suggests, sends transactional messages. ## How to create a transactional flow Creating a transactional flow doesn't mean the entire process has to be transaction-focused – you can select a specific section that will be given priority. When setting up a transactional flow, ensure it contains the following: 1. **Triggering Event**: This could be any event, such as "Order added or changed", "Order status changed", "Authorization code requested", "Customer registered", "Subscription status updated" or "Customer custom field value has changed". ​ 2. **High Priority API Method**: The event must originate from an API method marked as "High Priority." ​ 3. **Waiting Period:** You can select a timed or fixed waiting that does not exceed 5 minutes.Note that any delay selected here does is not accounted for when calculating the guaranteed processing speed. ​ 4. **Steps Node:** This includes sending transactional communications via Email, SMS, or Mobile Push notifications, or executing a "Balance - Edit" step. ​ 5. **Sequences:** You can employ up to three consecutive transactional step nodes. The timing for each the segment is calculated separately. ​ 6. **No “Split” Node:** Split nodes are not allowed within transactional flows.**Example:** ![00\_transactional\_workflow](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_transactional_workflow.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=4cb11e8a11880f9b5fe17bd57a41f764) The flow above is labeled as transactional; the green lines connect its nodes. You can also create a partially transactional flow. **For example:** ![01\_transactional\_workflow](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_transactional_workflow.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=33b1e5777ea7edf2022e4ce24b459382) The first section of the flow ranks higher, while the node with a fixed time delay makes the other part of the flow non-transactional. If you use a transactional campaign but the flow has not been labeled as transactional, hover over the flash icon to see which nodes are preventing this from happening. **For example:** ![02\_transactional\_workflow](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_transactional_workflow.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=11ca340d94944a6d6da00dc166d1cb61) ## How a transactional flow works A flow is determined as transactional and prioritized in the event processing queue if API calls transmit events such as new added orders or changes to order data or status. A flow will not be prioritized in the event processing queue if: * new orders or order changes are added via import; * order statuses are changed manually by users via the interface. # How to Import Actions Source: https://help.maestra.io/import-data/actions/how-to-bulk-import-actions-from-a-file Prepare a file in the right format and upload it to add actions to customers in bulk. Imports run under **Customer Data Platform → Imports**. Click **New import** to open the settings. ## Step 1. Choose the import type Pick the import type — **Orders and actions → Actions**. > [!NOTE] > > Each row in the file creates a new action on a customer. Import doesn't change or delete existing actions. ## Step 2. Prepare and upload the file Work out which fields you need. The file has to contain **at least one customer identifier**. | Field | Required | Description | | - | - | - | | Email Mobile phone Maestra ID External customer IDs | ✅ At least one | The customer's identifier or contact | | Touchpoint external ID | Yes, unless set in the import settings | The touchpoint the action will be created with (a website or a store, for example) | | Action template system name | Yes, unless set in the import settings | The template the action will be created with | | Action date and time in UTC | ❌ | If omitted, the date and time the import task runs is used | | Product ID in `{External system}` | ❌ | The external-system ID of the product the action relates to | | ProductGroup ID in `{External system}` | ❌ | The external-system ID of the product group the action relates to | | Action custom fields | ❌ | Any custom fields configured on the account for the **Action** entity | Export the data from your source system and build the file. Use the first row for field names — the wording is up to you. * Format: `.csv` or `.txt`. * Check that the values match the allowed formats. See [Preparing a file for import](/import-data/preparing-a-file-for-import) for the full set of recommendations. Upload the file and click **Continue**. ## Step 3. Map the file's fields Maestra Platform maps the file's columns to its own fields automatically. Adjust the mapping if you need to: * In the **Import** column, tick the fields you want to load. Unticked columns are skipped. * In the **Maestra field** column, map each file column to a field on the account. Optional fields left unmapped are skipped. > [!TIP] > > If a custom field you need doesn't exist yet, create it with the **Create custom field** button. Click **Continue**. ## Step 4. Configure the import This step sets the action parameters shared by every row in the file. Any of them can be moved into the file instead, so each row gets its own value. * **Data source** — the integration point the data came through. Affects how the customer's actions are attributed. * **Touchpoint** — the channel or integration the action is tied to. By default it's derived from the integration point. You can set it manually or pass it in the file. * **Brand** — available on multi-brand accounts. Which brand the action was performed under. * **Action** — the template the actions are created from. Determines the category and how flows handle them. * **Comment** — a description of the import. Makes it easier to find in the list later. ### Setting the action template If the template you need doesn't exist yet, create it in advance or from the link on the import page. * **Every row uses the same template** — set the action template in the import settings and it applies to every row in the file. * **Rows use different templates** — leave it unset in the import settings and put an **Action template system name** column in the file. ### Setting the touchpoint If the touchpoint you need doesn't exist yet, create it in advance or from the link on the import page. * **Every row uses the same touchpoint** — pick the integration point that carries it, or set the touchpoint explicitly in the settings. * **Rows use different touchpoints** — leave it unset in the import settings and put a **Touchpoint external ID** column in the file. ## Step 5. Review and start the import Before you start, Maestra Platform shows the first rows of the file with the mapping already applied. Check that the data looks the way you expect — that the right values landed in the right fields. If everything's correct, click **Start import**. ## How to track the import Once started, the import appears in the list on the **Import** page. For each task you'll see: * start date, * import type, * source file with its comment, * load progress, * rows imported and errors, * who started it. If errors came up during the import, some rows were skipped. Open the import details to see which rows had a problem and why. Fix them in the file and run the import again. ## The result Once the task finishes, the actions show up in customer profiles and are ready to use in segmentation, campaigns, and analytics. # How to Import Orders from a File Source: https://help.maestra.io/import-data/orders/how-to-bulk-import-orders-from-a-file Order import lets you load your customers' orders into Maestra Platform in bulk — line items, statuses, prices, discounts, and more. You'll need it when you first migrate data from another system, or when you upload orders on a regular schedule because there's no direct integration. Imports run under **Customer Data Platform → Imports**. Click **New import** to open the settings. Before you import, make sure your account has: * a [custom field](/api-integrations/how-to-create-a-custom-field) of type **External ID** on the **Order** entity; * an [external system](/administration/how-to-create-an-external-system) for identifying products; * the [integration point](/api-integrations/how-to-create-and-configure-an-integration-point) and [touchpoint](/customers-orders-and-products/actions/channels-and-touchpoints/touchpoints/how-to-create-a-touchpoint) the orders will be assigned to. ## Step 1. Choose the import type Pick the import type — **Orders and actions → Orders**. ## Step 2. Prepare and upload the file Below the **Upload a file for import** field, you'll find a reference of every field you can load, plus a sample file template. Use them as the starting point for your own data. Work out which fields you need. The file has to contain every required field: | Field | Required | Description | | - | - | - | | Order ID in `{External system}` | ✅ At least one | The order's unique ID. Needs a custom field of type **External ID** on the **Order** entity, created in advance | | Order created/updated date and time | ✅ | When the order was last changed, in UTC | | Customer identifier | ✅ At least one | Email, phone, card number, Maestra ID, or external customer ID | | Product ID in `{External system}` | ✅ | The product's ID in the external system | | Product quantity | ✅ | Number of units in the order line | | Base product price Customer price for the order line | ✅ One of the two | Price per unit, or the line's final price (not counting line cancellations or returns) | | Order line status | ✅ | The line's current status — for example, paid, canceled, or returned | | Order and order line custom fields | ❌ | Any custom fields configured on the account for the **Order** and **Order line** entities | Build the file. Use the first row for field names — the wording is up to you. * Format: `.csv` or `.txt`. * Each row is one order line. An order with several lines takes several rows with the same external order ID. See [Preparing a file for import](/import-data/preparing-a-file-for-import) for the full set of recommendations. Upload the file and click **Continue**. ## Step 3. Map the file's fields Maestra Platform maps the file's columns to its own fields automatically. Check the result and adjust it by hand if you need to: * In the **Import** column, tick the fields you want to load. Unticked columns are skipped. * In the **Maestra field** column, map each file column to a field on the account. Optional fields left unmapped are skipped. > [!TIP] > > If a custom field you need doesn't exist yet, create it with the **Create custom field** button. Click **Continue**. > [!WARNING] > > Make sure the order ID and product ID fields point to the right [external system](/administration/how-to-create-an-external-system). ## Step 4. Configure the import This step sets extra parameters for the import: * **Data source** — the integration point the data came through. Affects how the customer's actions are attributed. Defaults to the Maestra admin panel. * **Touchpoint** — the channel or integration the action is tied to. By default it's derived from the integration point. To tie the orders to a specific website or store, pick the touchpoint manually. * **Comment** — a description of the import. Makes it easier to find in the list later. ## Step 5. Review and start the import Before you start, Maestra Platform shows the first rows of the file with the mapping already applied. Check that the data looks the way you expect — that the right values landed in the right fields. If everything's correct, click **Start import**. ## How to track the import Once started, the import appears in the list on the **Import** page. For each task you'll see: * start date, * import type, * source file with its comment, * load progress, * rows imported and errors, * who started it. If errors came up during the import, some rows were skipped. Open the import details to see which rows had a problem and why. Fix them in the file and run the import again. ## How to update an order's status When you import an order again with the same external ID, Maestra Platform updates its status and the other line fields. > [!WARNING] > > Once an order that used a promo code or points is canceled, you can't move it to any other status. That's how the promo code and points get returned to the customer correctly, without the benefit being applied twice. > > If you still need to change the status, create a new order with a different external ID. ## The result Once the task finishes, the orders show up in customer profiles and are ready to use in segmentation, campaigns, and analytics. If errors came up, some rows may have been skipped. Open the task details to see the problem rows and the reason, fix them in the file, and run the import again. # Preparing a file for import Source: https://help.maestra.io/import-data/preparing-a-file-for-import To upload data into Maestra Platform, your file needs the right format and encoding. This guide walks through the requirements and shows how to save the file correctly from common spreadsheet apps. ## File requirements | Parameter | Value | | - | - | | Format | `.csv` or `.txt` | | Encoding | `UTF-8`, `UTF-8 with BOM`, or `Windows-1251` | | Delimiter | Any (commonly comma `,` or semicolon `;`) | | Text qualifier | Any (double quotes `"` recommended) | | Size | Up to 1.5 GB | | File name | Up to 400 characters; cannot contain `\ / : * ? " < >` | ### File format Maestra accepts two formats: * `.csv` (recommended) * `.txt` > [!WARNING] > > Other spreadsheet formats ( e.g.,`.xlsx`, `.xls`, `.ods`) are not supported. **How to check the format:** look at the file extension after the dot — `customers.csv` works, `customers.xlsx` does not. ![Import File Recommendations Type](https://mintcdn.com/maestraio/8C7OSkMNXHs2tnzg/images/import-file-recommendations-type.png?fit=max\&auto=format\&n=8C7OSkMNXHs2tnzg\&q=85\&s=3b5404a39b653d6d2111e129f07d48d3) > [!NOTE] > > **Don't see file extensions?** > > * **Windows:** in File Explorer, go to **View** and enable **File name extensions**. > * **macOS:** in Finder, go to **Settings → Advanced** and enable **Show all filename extensions**. > > Or check the file type in its properties (right-click → **Properties** on Windows, or right-click → **Get Info** / `Cmd + I` on macOS). ### Encoding Encoding tells your computer how to interpret letters and symbols. If the file's encoding doesn't match what Maestra Platform expects, names may appear as garbled characters like `Ðнна Иванова` in the preview. **Fix:** re-save the file as `UTF-8` using the instructions in [How to save the file correctly](#how-to-save-the-file-correctly). ### Column delimiter In `.csv` and `.txt` files, data is stored as plain text and columns are separated by a delimiter character. Maestra Platform supports any delimiter. The most common ones are: | Delimiter | What it looks like | | - | - | | **Comma `,`**(recommended) | `Smith,John,+15551234567` | | **Semicolon `;`** | `Smith;John;+15551234567` | | **Tab `\t`** | `Smith John +15551234567` | **How to check the delimiter:** 1. Open the file in Notepad (Windows) or TextEdit (macOS). 2. Look at the first data row. 3. Note the character separating the values. ![Phot](https://mintcdn.com/maestraio/LYx-7dDw4fnYkSJ7/images/phot.jpg?fit=max\&auto=format\&n=LYx-7dDw4fnYkSJ7\&q=85\&s=1ad219904f9e1700a56756a1142354ba) Example of an import file using a comma(,) delimiter > [!TIP] > > If the import preview shows all your data crammed into a single column, just pick the correct delimiter in the upload settings — the columns will redistribute automatically. ### Text qualifier A qualifier is a character that wraps values containing special symbols (like a comma inside an address, or a line break). Without it, those values would be misread as multiple columns. > [!NOTE] > > The recommended qualifier is double quotes `"`. **Example:** Without a qualifier: ```text theme={null} Name,Address,Phone John,Boston, MA, 5 Main St,+15551234567 ``` The delimiter `;` also appears inside the address. Maestra Platform would see **4 columns** instead of 3 and throw an error. With a qualifier: ```text theme={null} Name,Address,Phone John,"Boston, MA, 5 Main St",+15551234567 ``` **How to check the qualifier:** 1. Open the file in Notepad or TextEdit. 2. Look at rows where values contain punctuation (addresses, product descriptions, reviews). 3. If those values are wrapped in `"..."`, the qualifier is `"`. If not, no qualifier is in use. ### File size The limit is **1.5 GB per file**, which is plenty for almost any task. **How to check file size:** * **Windows:** right-click the file → **Properties** → **Size**. * **macOS:** right-click → **Get Info** / `Cmd + I`. **What to do if your file is larger than 1.5 GB:** 1. **Split the file into parts** (by region, segment, date range, etc.) and upload each part as a separate import. 2. **Remove duplicate columns and rows.** > [!TIP] > > Smaller files (under 200–500 MB) upload and process faster. For recurring imports, break large exports into smaller chunks. ## How to save the file correctly Pick the tool you use. > [accordion] Microsoft Excel > > **1. Open or prepare your file** > > **2. Choose File → Save As** > > **3. Pick a folder** > > **4. Enter a file name** > > **5. In the file type dropdown, choose one of** > > * CSV (comma delimited) — recommended > * **CSV UTF-8 (comma delimited)** > * Text (tab-delimited) > > ![Screenshot 2026 05 21 121122](https://mintcdn.com/maestraio/8C7OSkMNXHs2tnzg/images/Screenshot-2026-05-21-121122.png?fit=max\&auto=format\&n=8C7OSkMNXHs2tnzg\&q=85\&s=3a993f13e83a8299a416b074235fa53a) > > **6. Click Save** > [accordion] LibreOffice > > **1. Open or prepare your file** > > **2. Choose File → Save As** > > **3. Pick a folder and file name** > > **4. In the file type dropdown, choose Text CSV (.csv)** > > **5. Enable Edit filter settings to set encoding, delimiter, or qualifier** > > **6. Click Save** > > **7. In the dialog that appears, set** > > * **Character set:** `UTF-8` > * **Field delimiter:** `,`(comma) > * **String delimiter:** `"` (double quote) > > **8. Click OK** > [accordion] Google Sheets > > Google Sheets always exports `.csv` as `UTF-8` with a comma delimiter. There's no way to change the delimiter or qualifier from the UI. > > **1. Open the file in Google Sheets** > > **2. Choose File → Download → Comma-separated values (.csv)** > > ![Screenshot 2](https://mintcdn.com/maestraio/8C7OSkMNXHs2tnzg/images/Screenshot_2.png?fit=max\&auto=format\&n=8C7OSkMNXHs2tnzg\&q=85\&s=0deb87c4c9c52f1a0843416eeae62c43) ## Common problems ### Non-Latin characters appear as "?" or gibberish The file is saved in an unsupported encoding. Re-save it as UTF-8 (or Windows-1251) using the instructions above. ### Data lands in a single column on upload Maestra Platform couldn't detect the delimiter. In the upload settings, manually pick the delimiter (and qualifier if needed) — the preview will redistribute columns automatically. If that doesn't help, re-save the file with a different delimiter. ### The file is rejected on upload * Check the extension — only `.csv` and `.txt` are supported. * Check the file name — it cannot contain forbidden characters. * Check the size — it must be under 1.5 GB. # How to Import Channels Source: https://help.maestra.io/import-data/references/how-to-import-channels A **channel** groups touchpoints together. Channels themselves can also be grouped. You can add channels one at a time through the interface, following [How to create a channel](/customers-orders-and-products/actions/channels-and-touchpoints/channels/how-to-create-a-channel), or import them in bulk from a CSV file. > [!WARNING] > > Import can only create child channels. The parent channel has to already exist in your account. To load channels into your account, go to **Customer Data Platform → Imports**. Click **New import** to open the import settings. ## Step 1. Choose the import type Pick the import type — **Reference data → Channels**. ## Step 2. Prepare and upload the file Work out which fields you need. ### Fields for loading new channels | Field | Required | Description | | - | - | - | | Maestra parent channel ID Parent channel external ID | ✅ At least one | The parent channel the new channel will be attached to | | Channel external ID | ✅ | The unique ID the new channel is loaded under. A Maestra ID is generated automatically after the load | | Channel name | ❌ | A unique channel name. If omitted, it's taken from the external ID | | Channel description | ❌ | Criteria for grouping touchpoints into this channel | ### Fields for editing existing channels | Field | Required | Description | | - | - | - | | Maestra parent channel ID Parent channel external ID | ✅ At least one | The parent channel the channel is attached to | | Channel external ID Channel Maestra ID | ✅ At least one | The ID of the channel you're editing | | Channel name | ❌ | A unique channel name. If omitted, it's taken from the external ID | | Channel description | ❌ | Criteria for grouping touchpoints into this channel | > [accordion] How do I find a parent channel's Maestra ID or external ID? > > Find the parent channel under **Settings → Customers and actions → Channels**. Build the file. Use the first row for the names of the fields you're loading data into — the wording is up to you. * File format: `.csv` or `.txt`. See [Preparing a file for import](/import-data/preparing-a-file-for-import) for the full set of recommendations. Upload the file and click **Continue**. ## Step 3. Map the file's fields Maestra Platform maps the file's fields to its own automatically. Check the result and adjust it by hand if you need to: * In the **Import** column, tick the fields you want to load. Unticked columns are skipped. * In the **Maestra field** column, map each file column to a field on the account. Optional fields left unmapped are skipped. Click **Continue**. ## Step 4. Review and start the import Before you start, Maestra Platform shows the first rows of the file with the mapping already applied. * Check that the data looks the way you expect. * Add an import comment if you want one. * Start the import. ## How to track the import Once started, the import appears in the list on the **Import** page. For each task you'll see: * start date, * import type, * source file with its comment, * load progress, * rows imported and errors, * who started it. If errors came up during the import, some rows were skipped. Open the import details to see which rows had a problem and why. Fix them in the file and run the import again. ## The result Once the import finishes, the channels show up in the data section. For creating touchpoints, see [how to add](/customers-orders-and-products/actions/channels-and-touchpoints/touchpoints/how-to-create-a-touchpoint) and [how to import](/import-data/references/how-to-import-touchpoints) touchpoints. # How to Import Touchpoints Source: https://help.maestra.io/import-data/references/how-to-import-touchpoints A **touchpoint** is the way you reach the customer — sometimes the place the action happened — through which the action takes place. A website, a store, or a social network, for example. Touchpoints can be grouped, or classified, using channels. For more on those, see [how to add](/customers-orders-and-products/actions/channels-and-touchpoints/channels/how-to-create-a-channel) and [how to import](/import-data/references/how-to-import-channels) channels. To load touchpoints into your account in bulk, go to **Customer Data Platform → Imports**. Click **New import** to open the import settings. > [!NOTE] > > You can also add touchpoints one at a time through the interface — see [How to create a touchpoint](/customers-orders-and-products/actions/channels-and-touchpoints/touchpoints/how-to-create-a-touchpoint). ## Step 1. Choose the import type Pick the import type — **Reference data → Touchpoints**. ## Step 2. Prepare and upload the file Work out which fields you need. ### Fields for loading new touchpoints | Field | Required | Description | | - | - | - | | Maestra parent channel ID Parent channel external ID | ✅ At least one | The parent channel the new touchpoint will be attached to | | Touchpoint external ID | ✅ | The unique ID the new touchpoint is loaded under. A Maestra ID is generated automatically after the load | | Touchpoint name | ❌ | A unique touchpoint name. If omitted, it's taken from the external ID | | Touchpoint description | ❌ | Extra information about the touchpoint — what it's for | | Custom fields | ❌ | Any custom fields configured on the account for the **Touchpoint** entity | ### Fields for editing existing touchpoints | Field | Required | Description | | - | - | - | | Maestra parent channel ID Parent channel external ID | ✅ At least one | The parent channel the touchpoint is attached to | | Touchpoint external ID Touchpoint Maestra ID | ✅ At least one | The ID of the touchpoint you're editing | | Touchpoint name | ❌ | A unique touchpoint name. If omitted, it's taken from the external ID | | Touchpoint description | ❌ | Extra information about the touchpoint — what it's for | | Custom fields | ❌ | Any custom fields configured on the account for the **Touchpoint** entity | > [accordion] How do I find a parent channel's Maestra ID or external ID? > > Find the parent channel under **Settings → Customers and actions → Channels**. Build the file. Use the first row for the names of the fields you're loading data into — the wording is up to you. * File format: `.csv` or `.txt`. See [Preparing a file for import](/import-data/preparing-a-file-for-import) for the full set of recommendations. Upload the file and click **Continue**. ## Step 3. Map the file's fields Maestra Platform maps the file's fields to its own automatically. Check the result and adjust it by hand if you need to: * In the **Import** column, tick the fields you want to load. Unticked columns are skipped. * In the **Maestra field** column, map each file column to a field on the account. Optional fields left unmapped are skipped. If a custom field you need doesn't exist yet, create it with the **Create custom field** button. Click **Continue**. ## Step 4. Review and start the import Before you start, Maestra Platform shows the first rows of the file with the mapping already applied. * Check that the data looks the way you expect. * Add an import comment if you want one. * Start the import. ## How to track the import Once started, the import appears in the list on the **Import** page. For each task you'll see: * start date, * import type, * source file with its comment, * load progress, * rows imported and errors, * who started it. If errors came up during the import, some rows were skipped. Open the import details to see which rows had a problem and why. Fix them in the file and run the import again. ## The result Once the import finishes, the touchpoints show up in the data section. # What is Data Import? Source: https://help.maestra.io/import-data/what-is-data-import The **Settings → Import** section lets you bulk-upload data into your project: customers, orders, products, loyalty cards, and other entities. **When to use it:** * Migrating data from another system * Bulk-fixing existing records * Loading data for new promotions and campaigns ## How import works \*\*1. Choose the entity you want to work with and the specific action you'd like to perform. \*\* For example, you might select Customers as your entity type and Merge customers as your action. Check out the Import types section below for a full list of supported entities and actions. **2. Decide which fields to send** * **Required** — core fields, without them the import will not run. * **Required-if** — at least one field from the group must be present. For example, a customer must always have an email, mobile phone, or one of the supported identifiers. * **Optional** — extra data you may want to include (birthday, custom fields, etc.). **3. Prepare your file** Follow the [file requirements](#file-requirements) below. **4. Upload the file** Drag-and-drop or browse to your `.csv` or `.txt` file. **5. Start the import and track it** Watch progress and results in the [list of imports](#list-of-imports). > [!NOTE] > > Each import type requires its own set of permissions. See the permissions reference for details. ## File requirements | Parameter | Value | | - | - | | Format | `.csv` or `.txt` | | Encoding | `UTF-8`, `UTF-8 with BOM`, or `Windows-1251` | | Delimiter | Any single character (commonly `,` or `;`) | | Text qualifier | Any (double quotes `"` recommended) | | Size | Up to 2 GB | | File name | Up to 400 characters; cannot contain `\ / : * ? " < >` | For step-by-step guidance, see [Preparing a file for import](/import-data/preparing-a-file-for-import). ## Import types > [!NOTE] > > The list of imports available under **Settings → Import** keeps growing. ### Customers * **Add and edit** — creates new customers and updates existing ones. * **Edit existing** — updates existing customers only; new records are not created. * **Merge customers** — merges customer profiles by Maestra ID. The primary profile is kept and data from the second profile is transferred into it. ### Customers and their cards * **Add and edit cards and customers** — import customers together with their loyalty cards. ### Blocklist * **Import to blocklist** — adds contacts to the [blocklist](/customers-orders-and-products/customers/contacts-and-identifiers/blocklist/how-to-add-contacts-to-the-blocklist). * **Remove from blocklist** — removes contacts from the blocklist. > [!WARNING] > > Adding contacts to the blocklist **does not stop campaigns from sending to them.** After the import, either delete those customers or clear the contact values on their profiles. ## List of imports The **Settings → Import** page shows every import in the project — completed, running, and drafts. For each import you can see: * Import type * Author * Date and time the import was started # How to Bulk Import Discount Cards Source: https://help.maestra.io/loyalty/discount-cards/how-to-bulk-import-discount-cards Use bulk import to load discount cards into your Maestra project in one go. This is the fastest way to add a new batch of cards, refresh existing ones, or assign cards to a card type. The process has four steps: pick the data action, prepare and upload the file, map the file fields to Maestra fields, and review and launch the import. ## Step 1. Select the data action Go to **Settings → Import** and click **New Import**. Make the following selections: * **Import type**: Discount Cards * **Action**: Add and Update Discount Cards ## Step 2. Prepare and upload the file Build a file that contains the cards you want to load. Each row in the file represents one discount card. ### Required field Your file must include at least the following field: * **Discount Card Number** — the unique number of the discount card. ### Optional fields You can also include: * **Card Type** — references a discount card type you have already configured in Maestra. If you leave this empty, cards are loaded without a type. * **Additional fields** — any custom fields you have configured for the Discount Card entity. ### File specifications * **Format**: `.csv` or `.txt` * **Structure**: a header row with the field names, followed by one row per card * **Validation**: make sure card numbers and any additional field values use the correct formatting > [!TIP] > > Double-check that your card numbers are unique and that any values in additional fields match the format Maestra expects. Bad formatting is the most common cause of failed rows. Upload the prepared file and click **Continue**. ## Step 3. Map file fields Maestra automatically matches the columns in your file to fields in the system. On this screen you can: * Use the checkboxes in the **Import** column to choose which fields to load. * Adjust the mapping in the **Maestra Field** column if a column did not match correctly. * Skip any optional fields you do not want to import. ## Step 4. Review and launch Maestra shows preview rows with the mappings applied, so you can confirm the data looks right before running the import. When everything checks out, launch the import. ## Track the import Every completed import appears in the import list with its launch date, import type, and the person who started it. If any rows failed, you can open the import to see which rows had errors and the specific reason for each failure. ## Results Successfully imported cards show up in your project. Cards are assigned to the card type you specified, or they are created without a type if you left that field empty. ## Card stock notifications In your card type settings, you can turn on automatic alerts that fire when the number of available cards drops to a minimum threshold you set. When the threshold is hit, Maestra sends a project-level notification so you know it's time to load a new batch. # How to Bulk Unlink Discount Cards via the UI Source: https://help.maestra.io/loyalty/discount-cards/how-to-bulk-unlink-discount-cards-via-ui When you need to detach discount cards from customers in Maestra at scale, you can do it directly from the platform interface. This guide walks through the process of bulk unlinking discount cards through the UI, what happens to card statuses afterward, and how to track the operation. ## When to use this method Use the UI-based bulk unlink flow when you have a manageable set of cards to detach from customers and you want a quick, point-and-click workflow without preparing a file. For larger datasets, use the import-based approach instead. ## Before you start * Make sure you have access to **Settings** in Maestra and permission to manage discount cards. * Confirm that the cards you plan to unlink are the correct ones. Once unlinked, any status assigned earlier (for example, *Blocked*) is erased, and the cards become available for reissuance to other customers. > [!WARNING] > > Unlinking a discount card erases its previously assigned status. A card that was blocked, for example, becomes available again and can be reissued to another customer. Double-check your selection before confirming. ## Steps **1. Open the discount cards section** In Maestra, go to **Settings → Customers and Actions → Discount Cards**. **2. Select the cards to unlink** In the list of discount cards, use the checkboxes to select every card you want to detach from its customer. You can select multiple cards at once for bulk processing. **3. Click "Unlink Cards"** With your selection in place, click the **Unlink Cards** button above the list. **4. Confirm the action** Confirm the unlink operation in the dialog that appears. Maestra then starts processing the request. **5. Track the operation** After confirmation, Maestra generates a task link so you can monitor the unlink operation's progress in real time. Open the task to verify that all selected cards were processed successfully. ## What happens after unlinking * Each selected card is detached from its customer. * Any status that was previously assigned to the card (such as *Blocked*) is erased. * The cards become available again and can be reissued to other customers. ## Example If you select cards numbered `1234500` and `1234501` and confirm the unlink action, both cards are detached from their respective customers. The system shows a confirmation that two cards were successfully unlinked, and the task link lets you review the result. ## Alternative: bulk unlink via import If you have a large number of cards to unlink, the UI flow can become impractical. In that case, use the import-based method to upload a file containing the card numbers and unlink them in a single operation. # How to Change a Discount Card's Status Source: https://help.maestra.io/loyalty/discount-cards/how-to-change-a-discount-card-status Sometimes you need to change the status of a discount card — for example, to deactivate a card that was issued by mistake, suspend a lost card, or reactivate a card that a customer has recovered. In Maestra, you can change a discount card's status directly from the customer's profile. This guide walks through how to change the status of an activated discount card to inactive. The same steps apply when switching between any other available statuses. ## Steps **1. Open the customer's profile** Find the customer whose discount card you want to update and open their profile. **2. Go to the Discount cards tab** Inside the customer's profile, switch to the **Discount cards** tab. You'll see every discount card linked to that customer, along with each card's current status. **3. Open the status menu** Locate the card you want to update and open its menu to change the status. **4. Select the new status and apply** Choose the status you want to assign to the card, then click the apply button to save the change. ## Result The discount card's status is updated immediately and reflected in the customer's profile. From this point on, the card behaves according to its new status — for instance, an inactive card will no longer be usable for purchases or loyalty operations until it is reactivated. > [!TIP] > > If you need to update the status of many discount cards at once, use a bulk import instead of changing each card individually. # How to Create, Edit, and Delete Discount Card Types Source: https://help.maestra.io/loyalty/discount-cards/how-to-manage-discount-card-types Discount card types let you group cards that share the same rules, design, or purpose, like "Silver", "Gold", or "VIP". Every discount card issued in Maestra belongs to a type, so setting these up is the first step before you start importing cards, issuing them to customers, or attaching promotions to them. This guide walks you through creating a new discount card type, configuring low-balance notifications, editing an existing type, and deleting one you no longer need. ## Where to find discount card types In Maestra, go to **Settings** → **Customers and Actions** → **Discount Card Types**. The page lists every card type that exists in your project, along with the number of cards available in each pool and the notification threshold (if one is set). ## Create a discount card type **1. Open the discount card types page** Go to **Settings** → **Customers and Actions** → **Discount Card Types**. **2. Click Add** Click the **Add** button in the upper-right corner of the page. **3. Fill in the required fields** Enter the following details: * **Name** — the display name of the card type. This is what you and your team will see across Maestra (for example, when issuing cards, building segments, or setting up promotions). Use a name that's easy to recognize, like `Gold`, `Welcome card`, or `Employee discount`. * **External ID** — a unique system identifier for the card type. It's used when importing cards from a file, syncing with your POS or e-commerce platform, and calling the Maestra API. The external ID can't be changed once the card type is created, so pick something stable and human-readable (for example, `gold`, `welcome-card`, `employee`). **4. Save the card type** Click **Save**. The new card type appears in the list and is ready to be used. > [!NOTE] > > Creating a card type doesn't generate any cards on its own. After the type exists, you can import a batch of card numbers, generate them automatically, or issue cards to customers one by one. ## Set up low-balance notifications If you issue physical cards from a pre-printed pool, you'll want to know when you're running low so you can order more before the pool is empty. Maestra can raise an internal notification when the number of available (unissued) cards in a type drops below a threshold you choose. **1. Open the card type** On the **Discount Card Types** page, click the pencil icon next to the card type you want to configure. **2. Add a notification** In the **Notifications** section, click **Add**. **3. Set the threshold** Enter the minimum number of available cards that should trigger the notification. For example, if you set the threshold to `500`, Maestra will create a notification as soon as the pool of unissued cards for this type falls to 500 or fewer. **4. Save** Click **Save**. The threshold is now active and Maestra will monitor the available card count automatically. > [!TIP] > > You can add more than one threshold per card type — for example, one notification at 1,000 cards (early warning) and another at 200 cards (urgent reorder). ## Edit a discount card type You can change the name and notification thresholds at any time. The external ID is fixed and can't be edited after the card type is created. **1. Find the card type** Go to **Settings** → **Customers and Actions** → **Discount Card Types** and locate the type you want to update. **2. Open it for editing** Click the pencil icon next to the card type. **3. Update the fields** Change the name or adjust the notification thresholds as needed. **4. Save your changes** Click **Save**. The updates take effect immediately and apply to every card already issued under that type. ## Delete a discount card type If you no longer use a card type — for example, after retiring a legacy loyalty tier — you can delete it from the project. **1. Open the card type** Click the pencil icon next to the card type you want to remove. **2. Click Delete** Select **Delete** at the bottom of the card type's settings. **3. Confirm the deletion** Confirm when prompted. The card type is removed from the list. > [!WARNING] > > Deleting a card type affects every card that belongs to it. Customers who currently hold a card of this type will lose access to the discount associated with it. Before deleting a type, make sure you've migrated active customers to another card type or accepted that those cards will no longer be valid. ## What to do next Once your card types are set up, you can: * Import a batch of card numbers into a type so you have a pool to issue from. * Issue cards to individual customers manually or automatically through a campaign. * Build promotions that apply only to specific card types — for example, a 15% discount limited to Gold cardholders. * Use card type as a filter when creating customer segments. # How to Delete Gift Card Pools Source: https://help.maestra.io/loyalty/gift-cards/how-to-delete-gift-card-pools Over time, you may end up with gift card pools you no longer need — test pools, expired campaigns, or pools created by mistake. Maestra lets you remove these pools to keep your loyalty workspace tidy. > [!NOTE] > > You can only delete a gift card pool that has no cards associated with it. If the pool still contains gift cards, remove the cards first, then delete the pool. ## Delete a gift card pool **1. Open the gift card pools section** In Maestra, go to **Campaigns → Loyalty → Gift card pools**. **2. Find the pool you want to delete** Locate the pool in the list. Open the additional actions menu next to it and select **Delete**. **3. Confirm the deletion** Once the pool is removed, you'll see a notification confirming that the deletion was processed successfully. > [!WARNING] > > Deletion is permanent. Make sure the pool is no longer referenced by any active campaigns or workflows before you remove it. ## Before you delete a pool If the pool still contains gift cards, you won't be able to delete it. You have two options: * **Remove the cards first.** See the guide on deleting individual gift cards, then return here to remove the empty pool. * **Keep the pool.** If the cards are still in use, leave the pool in place. Once the pool is empty, repeat the steps above to delete it. # How to Delete Gift Cards Source: https://help.maestra.io/loyalty/gift-cards/how-to-delete-gift-cards Sometimes you need to clear out gift cards from a project — test cards from a pilot, cards from a discontinued program, or batches created by mistake. Maestra lets you delete gift cards in bulk through a file import. > [!WARNING] > > Deletion is permanent. Once gift cards are removed, they cannot be restored. Double-check your file before launching the import. ## Before you start You can only delete gift cards that have no associated transactions. Maestra blocks the removal of cards that are linked to sales or payment orders. Before importing your delete file, make sure that: * The cards you want to delete have no sales, purchases, or payments tied to them. * If any of the cards do have related orders, either remove those orders first or exclude the cards from your file. To check which actions are tied to a specific card or pool, go to **Data → Actions**. Use the filters to find all sales, purchases, or operations involving the gift cards or pools you're about to delete. ## Delete gift cards in bulk **1. Choose the action type** In Maestra, open the import section and create a new import. For the import type, select **Loyalty → Gift Cards**. For the action, select **Delete Gift Cards**. **2. Prepare and upload your file** Prepare a CSV or TXT file with the gift cards you want to delete. The file must include two fields for each card: * **Card number** * **Pool system name** > [!NOTE] > > Make sure card numbers and pool system names contain no extra spaces. Stray whitespace will cause rows to fail. Upload the file to the import. **3. Map the file fields** Match the columns in your file to the corresponding Maestra fields. Use the checkboxes to mark which fields should be included in the import, then map each file column to the right Maestra field (card number and pool system name). **4. Verify and launch the import** Review the data one more time before you start the import. Confirm that the card numbers, pool system names, and field mappings are all correct. > [!WARNING] > > Once you launch the import, the deletion cannot be canceled. There is no undo. Launch the import to remove the cards. ## Track the import After you launch the import, Maestra shows the task status along with the launch date and the user who started it. When the import finishes, the deleted cards are permanently removed and no longer appear in your project's gift card lists. ## If deletion fails If some cards can't be deleted, it's almost always because those cards still have associated actions (sales, purchases, or payments). To resolve this: 1. Go to **Data → Actions** and filter by the card number or pool to find the related operations. 2. Remove those actions, or exclude the affected cards from your delete file. 3. Re-run the import with the corrected file. # How to Extend Gift Card Validity Source: https://help.maestra.io/loyalty/gift-cards/how-to-extend-gift-card-validity When a customer doesn't redeem a gift card before its expiration date, the card moves to an **Expired** status. In Maestra, you can extend an expired card for one more year from the current date, bringing it back to an **Activated** status. ## Overview Gift cards in Maestra have a defined validity period. Once that period ends, the card automatically becomes **Expired** and can no longer be used at checkout. Rather than issuing a new card, you can extend the existing one directly from the gift card pool. The new expiration date is always calculated from the date the extension is performed, not from the original expiration date. ## Steps to extend a gift card **1. Open the gift card pool** Go to **Campaigns → Loyalty → Gift Card Pool**, then click **Go to all gift cards** to see the complete list of cards. **2. Find the card** Search for the specific card by its number. **3. Open the card for editing** Click the edit icon to the right of the card number. **4. Extend the card** Select **Extend for 1 year**. Once the action completes, the page refreshes and the card status changes to **Activated**. The new expiration date is set to one year from the current date. ## Example > [!NOTE] > > * Original expiration date: **April 4, 2026** > * Date the extension is performed: **April 6, 2026** > * New expiration date: **April 6, 2027** The extension recalculates validity based on when the action is performed, not on the original expiration date. This means that if you extend a card a few days after it expired, the customer gets a full additional year from that day forward. > [!NOTE] > > Extending a gift card does not change its balance. Only the validity period is updated. The card keeps its original number and any remaining funds. # How to Import Gift Card Pools Source: https://help.maestra.io/loyalty/gift-cards/how-to-import-gift-card-pools A gift card pool is a group of gift cards that share the same parameters — denomination, expiration rules, redemption behavior, and so on. Every gift card in Maestra must belong to a pool, so you create the pool first, then load cards into it. Importing pools in bulk lets you set up many groups of cards at once instead of creating each one manually. This guide walks you through preparing the file, mapping the fields, and running the import. > [!WARNING] > > Pool parameters are locked in once the import finishes. You will not be able to edit them later. Double-check the file before you launch the import. ## Before you start When a pool is imported, Maestra automatically creates a **technical product** for it. That product is the SKU used behind the scenes whenever a gift card from the pool is sold or redeemed at checkout. You will need three identifiers for this product in your file: * An external product ID * The external system the product belongs to * The brand Make sure those values match what your e-commerce or POS system expects, so card sales and payments line up with the correct product record. ## Step 1. Open the import 1. Go to **Loyalty → Gift Card Pools**. 2. Start a new import and choose the action **Add gift card pools**. ## Step 2. Prepare the file The import file must be: * `.csv` or `.txt` format * First row containing the column headers (field names) * All mandatory fields present for every row ### File fields | Field | Required | Type | Values | Description | | - | - | - | - | - | | Gift card pool name | Yes | Text | Any string | Display name of the pool as it appears in the Maestra interface. | | Gift card pool system name | Yes | Text | Unique string | Unique system identifier for the pool. Used later when you import the individual gift cards into this pool. | | Supports arbitrary gift card value | Yes | Boolean | `true`, `false` | If `true`, each card in the pool can have its own denomination. If `false`, every card in the pool is worth the same fixed amount. | | Supports partial redemption | Yes | Boolean | `true`, `false` | If `true`, customers can spend a card across multiple purchases until the balance runs out. If `false`, the card must be used in a single transaction. | | External product ID | Yes | Text | Unique string | External ID of the technical product that will be generated for this pool. | | External system of the technical product | Yes | Text | System name | The external system (e.g. your e-commerce platform) that owns the technical product. | | Brand of the technical product | Yes | Text | Brand name | Brand assigned to the technical product. | | CVV required for gift cards | Yes | Boolean | `true`, `false` | If `true`, a CVV code is required to redeem cards in this pool. | | Gift card value in the pool | Conditional | Numeric | Any amount in \$ | Required only when **Supports arbitrary gift card value** is `false`. Sets the fixed denomination for every card in the pool. | | Gift card expiration type | No | Enum | `NoExpiration`, `Year` | Defaults to `NoExpiration`. Use `Year` if cards in the pool should expire a set number of years after issuance. | | Gift card lifetime in the pool | No | Integer | 1–10 | Used only when **Gift card expiration type** is `Year`. Sets how many years a card stays valid. | > [!TIP] > > Pick the **system name** carefully — it is the key you will reference when you later import the actual gift cards into this pool, and it cannot be changed afterward. ### Example ```csv theme={null} pool_name,pool_system_name,arbitrary_value,partial_redemption,external_product_id,external_system,brand,cvv_required,card_value,expiration_type,lifetime Holiday $50,holiday_50,false,true,gc-holiday-50,website,Acme,true,50,Year,2 Flexible Gift,flexible_gift,true,true,gc-flexible,website,Acme,false,,NoExpiration, ``` ## Step 3. Map the fields Upload the file. Maestra automatically matches your columns to the corresponding pool fields. Review the suggested mapping, adjust anything that didn't line up, and untick any columns you don't want to import. ## Step 4. Verify and launch Check the preview of the parsed data, confirm everything looks right, and start the import. ## After the import * Imported pools appear under **Campaigns → Loyalty → Gift Card Pools**. * A technical product is created automatically for each pool and used whenever a card from that pool is sold or redeemed. * You can now load gift cards into each pool, referencing the pool's system name. ## Handling errors If some rows fail validation, the import skips them and continues with the rest. Open the import details to see which rows were rejected and why, fix the issues in your source file, and re-import only the corrected rows. # How to Import Gift Cards Source: https://help.maestra.io/loyalty/gift-cards/how-to-import-gift-cards Prepare a file in the correct format and upload it to add gift cards to your project in bulk. Use import for the initial load of cards, topping up a pool with new numbers, or migrating data from another system. > [!NOTE] > > Before you import gift cards, the pools that will store them must already exist on the project. Every card in the file must reference an existing pool. Imports run from **Settings → Import**. Click **New import** to open the setup. ## In this article * [Step 1. Choose the action](#step-1-choose-the-action) * [Step 2. Prepare and upload the file](#step-2-prepare-and-upload-the-file) * [Step 3. Map the file fields](#step-3-map-the-file-fields) * [Step 4. Review and launch the import](#step-4-review-and-launch-the-import) * [How to track an import](#how-to-track-an-import) * [Import result](#import-result) ## Step 1. Choose the action 1. Select the import type — **Loyalty → Gift cards**. 2. Select the action — **Add gift cards**. Each row in the file creates a new gift card in the specified pool. The import does not change or delete existing cards. ## Step 2. Prepare and upload the file 1. Decide which fields you need to load. The file must contain every required field. | Field | Required | Description | | - | - | - | | Card number | Yes | Unique number of the gift card. | | Pool system name | Yes | System name of the pool the card belongs to. The pool must already exist on the project. | | Gift card CVV | No | Required for pools that have CVV transfer enabled. | | Card balance | Yes | For cards with a fixed face value, the balance must equal the pool's face value. | | Point of contact external ID | No | The point of contact where the card was issued. Used when registering cards that were sold in the past. | | Card purchase date (UTC) | No | Date and time the card was issued, in UTC. Used when registering cards that were sold in the past. For pools with a fixed validity period, the expiration date is counted from this date. | | Gift card status | No | Current status of the card. If the field is omitted, the card is assigned the "Inactive" status. | **Allowed card statuses:** * **CanBeUsed** — activated. The card can be used to pay for an order. Cards in this status cannot be sold. * **Inactive** — not activated. The card can be sold. Once sold, the card becomes activated and can be used to pay for an order. * **Blocked** — blocked. The card cannot be sold or used for payment. > [!TIP] > > To record that a card was issued in the past, pass all three at once: the point of contact, the purchase date, and the `CanBeUsed` status. 2. Export the data from the external system and prepare the file for upload. Put any column names you like in the first row. * Format — `.csv` or `.txt`. * Check that the values match the allowed formats. 3. Upload the file and click **Continue**. ## Step 3. Map the file fields The system automatically maps the file's columns to project fields. Adjust the mapping if needed: 1. In the **Import** column, check the fields you want to load. Unchecked columns are skipped. 2. In the **Maestra field** column, match each file column to the corresponding project field. Optional fields without a mapping are skipped. 3. Click **Continue**. ## Step 4. Review and launch the import Before launching, the system shows the first rows of the file with the mapping already applied. Make sure the data looks the way you expect — that the right values landed in the right fields. If everything looks good, click **Launch import**. ## How to track an import Once started, the import appears in the list on the **Import** page. Each job shows: * the launch date, * the import type, * who launched it. If errors occurred during the import, some rows were skipped. Open the import details to see which rows caused problems and why. Fix the errors in the file and run the import again. ## Import result After the job finishes successfully, the gift cards appear in their pools and become available for sale, activation, and use in orders. # What Are Gift Cards in Maestra Source: https://help.maestra.io/loyalty/gift-cards/what-are-gift-cards Gift cards are a form of prepaid card customers can use to purchase goods or services. You can hand them out as bonuses to build brand loyalty, or sell them as gift certificates. ## Protecting gift cards with CVV A CVV code adds an extra ownership check when a customer pays for an order with a gift card. It helps you: * Confirm that the order is being placed by the person who actually holds the card. * Reduce the risk of fraudulent redemptions if a card number leaks. To use CVV: 1. Import a gift card pool with the CVV requirement enabled: set `true` in the **IsCvvRequired** column. 2. Provide CVV values when you import the gift cards. When a customer pays for an order with a gift card from a CVV-required pool, the CVV must be passed in the operation. If an incorrect CVV is submitted, payment with the gift card will not go through. ## How gift cards work ### Storing cards Gift cards are grouped into pools. Pools are stored as products, which are created automatically when you import a pool. You can open the list of cards from the pool page. In a card's edit view you can see additional details about it. ### Selling cards Cards must be uploaded to the project before they can be issued. Only cards with the status **Not Activated** can be sold. When a customer buys a gift card, an order is created with the pool product on it: The card is activated. If a store issues a card directly, it still has to be activated. To do that, you can run its purchase through as an anonymous customer order. > [!NOTE] > > Possible errors that can occur when selling gift cards are described in the developer documentation. ### Redeeming a card Only cards with the status **Activated** can be used on an order. The customer partially pays for the purchase with the card. Once the card's full face value has been spent, it automatically moves to the status **Redeemed**. > [!NOTE] > > Possible errors that can occur when paying for orders with gift cards are described in the developer documentation. ## How to start using gift cards To start working with cards, you need to: 1. Create a gift card pool. 2. Import the cards. 3. Update the order save operations to account for the cards added to the project. 4. Enable the loyalty program module. # How Discounts Are Distributed Across Order Line Items Source: https://help.maestra.io/loyalty/how-discounts-are-distributed-across-order-line-items This article describes how discounts are applied to order lines and associated items. This helps you understand when order lines need to be split and how refund amounts are calculated for partial returns. # Spread — Proportional Discount Distribution > [!NOTE] > > Discounts and loyalty points are split proportionally between purchased items according to their value. *** ## Example A store is running a promotion that allows customers to pay up to **50% of the order value with loyalty points**. A customer purchases: * **2 pairs of sneakers** priced at **\$200 each** * **1 sweater** priced at **\$100** The total order value is **\$500**, and the customer redeems **100 loyalty points** for the order. The system automatically calculates each product’s share of the total order value: * **200 / 500 = 0.4** — the share of one pair of sneakers * **100 / 500 = 0.2** — the share of the sweater Based on these shares, the system distributes loyalty points proportionally: * Each pair of sneakers receives a **40-point discount** * The sweater receives a **20-point discount** ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-07--15_33_57.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=947cd937fcebecfa82ba420c24600268) *** > [!WARNING] > > **Some rewards** offer additional discount distribution options. > ​ > You can apply a discount in one of the following ways: > > * Apply the discount **only to the discounted item** > * Distribute the discount **proportionally across all items participating in the promotion**, based on their prices > * Set a **minimum price of \$1** for the discounted item ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-07--15_40_57.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=09139c2ae2c1d0505edc7c2b22860338) *** ## Example A promotion is active: **Buy two items, get the third one free**. A customer purchases: * **Socks** — \$10 * **T-shirt** — \$60 * **Sunglasses** — \$30 The socks are the discounted (free) product. How the discount is applied depends on the **promotion’s settings**. ​**Option 1. Apply the discount only to the discounted item** The full discount amount is attributed to the socks. The total order value is \$**90**. **Option 2. Distribute the discount proportionally across all participating items** The system calculates each item's share of the total order value and distributes the discount accordingly: * T-shirt — (60 / 100) × 10 = **\$6** discount * Socks — (10 / 100) × 10 = **\$1** discount * Sunglasses — (30 / 100) × 10 = **\$3** discount The total order value is \$**90**. **Option 3. Enforce a minimum price of \$1 for the discounted item** The socks are priced at **$1**. ​**$9** of the discount is attributed to the socks only. The total order value is \*\*$91** ​ You can also distribute the $1 across participating items The discounted item (socks) receives $**9** of the discount (10 − 1). The remaining $**1** is distributed proportionally across the other items. * T-shirt: (60 / 90) × 1 = **\$0.67** * Sunglasses: (30 / 90) × 1 = **\$0.33** The total order value is **\$90**. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-07--15_59_33.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=9e1ffa9fc9bb1e208fdbbb301615b9ed) *** # **Split — dividing a single order line into multiple line items** Sometimes, a promotion applies only to part of the items within an order line or applies **different discounts** to identical items. In this case, the **final price and applied discounts** for otherwise identical items will differ. To correctly distribute discounts across items within the same line and avoid issues during returns, these items must be sent as **separate order line items**. Otherwise, the attempt to create the order will fail with the following error: *`Splitting of lines means that current order must be recalculated`* ## When order lines are split 1. Different discounts are applied to items within the same order line. In this case, the order line is split into two, and products participate or do not participate in the promotion as separate line items. ​ *** ​**Example** ​A store is running a promotion: **10% off a bundle that includes 1 pair of sneakers and 2 T-shirts**. A customer purchases: * **3 identical T-shirts** priced at **\$25** each * **1 pair of sneakers** priced at **\$200**Only **two of the three T-shirts** qualify for the promotion and receive a discounted price. The third T-shirt is sold at the regular price. Because these products end up with **different prices**, they cannot be sent as a single order line item. The POS or website can send identical items in one order line for calculation. Maestra automatically splits lines when required and returns the correct structure to be used when creating the order. ​ The final order consists of **three line items**: * **2 discounted T-shirts** at **\$22.50** each * **1 T-shirt** at the full price of \$**25** * **1 discounted pair of sneakers** at **\$180** ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-07--16_50_06.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=6316d067270ccc349f298a01a1cb24bd) *** 2. The same promotion is applied to items within a single order line, but the discount amount cannot be evenly divided across the discounted items. In this case, the system splits the order line into two line items, and **one of the items receives a slightly higher discount** as part of the reward ​ *** ​**Example** ​A store is running a promotion: : **Buy any three T-shirts and get a $10 discount**. ​A customer purchases **three identical T-shirts**, each priced at **$25**. The total order value is **$75**. After the promotion is applied, the order total becomes **$65**.The discount amount (**\$10**) cannot be evenly distributed across the three discounted items.As a result, the system **splits the order line into two**: * **2 T-shirts** with a discount of \$**3.33 each** * **1 T-shirt** with a discount of \$**3.34**This ensures the full discount amount is applied correctly and the final order total is accurate. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-07--17_02_49.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=2d29f68241e5c73575e944e32f8daafc) ​ *** > [!WARNING] > > For redeem points promotions, order lines are not split if points cannot be evenly distributed proportionally by price. See the next section for details. ## Multiplicity Rule for Loyalty Point Discounts In promotions **that use loyalty points**, a customer may not always be able to redeem all available points for an order.This happens when a discount **cannot be proportionally distributed** across an order line **.** In this case, the system does **not split the order line**. Instead, it allows the customer to redeem only the **maximum number of points that can be evenly applied across the items in the line**. *** ## Example A promotion allows customer to pay **100% of the order value using loyalty points**.A customer purchases **three identical pairs of socks**, each priced at \$**10**, and wants to redeem **13 loyalty points** for the order.The system distributes the discount **evenly across all items in the order**. Since all items have the same price, each item should receive **one third of the total points**.Because **13 points cannot be evenly divided by 3**, the system applies the **largest amount that can be divided evenly** across all items.As a result, **12 points** are applied to the order — **4 points per item**. Redeeming all **13 points** is not possible in this case. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-08--14_57_08.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=4f66a56a3c505cdb31a6df350d7faa64) If a **decimal points balance** were used, the system could apply **12.99 points**, allocating **4.33 points** to each pair. *** In all other cases, order line splitting works the same way as in other types of promotions: * If items within the same order line participate in **different promotions**, the line is split into multiple line items. * In orders with **multiple order lines** (even if they contain the same items), when a discount cannot be evenly distributed, **one of the items receives a slightly higher discount**. # **How Loyalty Points Are Refunded After a Return** When a discounted item is returned the refund amount reflects the final price paid for the returned product.If the order contained multiple identical items with **different discount allocations**, the refund amount depends on **which order line is referenced** when the order status is updated. # How Promotion Arbitration Works Source: https://help.maestra.io/loyalty/how-promotion-arbitration-works Arbitration is how Maestra decides which promotions apply when a customer's order is eligible for several at once. It is the set of relationships you configure between promotions so the platform knows whether to stack them, pick the best one, sum them up, or apply them one after another. You can configure arbitration at three levels: * The entire arbitration tree (rules that apply across all promotions). * A promotion group (rules that apply within a folder of related promotions). * An individual promotion (incompatibilities defined directly on one promotion). ## Editing the arbitration tree Changes to the arbitration tree are **not saved automatically**. After you edit the tree you must click **Save changes** to commit them. If you change your mind before saving, you can: * Click **Reset all changes** to drop every unsaved edit. * Use **Undo** (or `Ctrl+Z` / `Cmd+Z`) to roll back recent steps one at a time. > [!TIP] > > Save often. If you navigate away from the page without saving, your edits are lost. ## Viewing changes to the arbitration tree Every change to the tree is recorded in the event log. To review the history: 1. Go to **Settings → Security → Event log**. 2. Add a filter and select **Arbitration tree** as the entity type. 3. Apply the filter. For each entry the log shows the team member who made the change, their IP address, the date and time, the entity ID, the event payload, and any comment that was attached. ## The four arbitration rules Maestra supports four rules that describe how promotions relate to each other. You attach one of these rules to the tree as a whole, to a group, or use incompatibilities on an individual promotion. ### Sequential application Promotions apply in the order they appear in the tree, from top to bottom. Each promotion is calculated against the amount that is left after every promotion above it has already been applied. **Example.** Two promotions, each offering 10% off, are arranged sequentially on a \$100 order: * The first promotion takes 10% off $100, leaving $90. * The second promotion takes 10% off $90, leaving $81. The customer's final price is $81, not $80. ### Incompatibility Only one promotion from the set is allowed to apply — the one with the highest priority. The level at which the rule operates determines what "apply" means: * **Order level.** If the higher-priority promotion applies to any line item in the order, the lower-priority promotion does not apply to the order at all. * **Product level.** The lower-priority promotion can still apply, but only to the line items that the higher-priority promotion did not touch. ### Summation Every discount and every bonus-point reward inside the group is added together. The customer receives the full combined benefit of all promotions in the group. ### Maximum benefit Maestra calculates every possible combination of the promotions in the group and selects the one that gives the customer the biggest reward — the largest discount for discount promotions, or the largest number of points for bonus-point promotions. > [!NOTE] > > Rounding promotions and discount/point-deduction promotions cannot live inside a maximum-benefit group. Maximum benefit only chooses between options that are directly comparable. ## The order in which promotions are applied Regardless of how the tree is organized, Maestra always processes promotions in this fixed order: 1. **Discount promotions and point-deduction promotions** (promotions that spend the customer's points). 2. **Rounding promotions.** 3. **Point-earning promotions** (promotions that award points). Rounding promotions cannot be combined with any other arbitration rule. If you try to place a rounding promotion in a group that uses summation, maximum benefit, or incompatibility, Maestra returns an error when you save. ## Arbitration at the tree level The top of the tree carries the base rule that applies to everything beneath it. Click **Configure** on the tree to set it. At this level you can also set a global minimum product cost — the smallest price a line item must have before any promotion can apply to it. The minimum can be expressed as either a percentage of the original price or a fixed dollar amount. ## Arbitration at the group level Open the menu on any group to pick the rule that governs the promotions inside it: sequential, incompatibility, summation, or maximum benefit. On the same screen you can also set: * A **maximum discount limit** for the group, as a percentage of the line-item price or as a fixed dollar cap. * A **minimum product cost** below which promotions in the group will not apply. > [!NOTE] > > Rounding promotions cannot carry a maximum discount limit. Groups can be nested as deeply as you need. Each nested group is evaluated according to its own rule first, and the result of that group is then handed up to the parent group, which applies its own rule. **Example.** Suppose you have a group called **Maestra Discounts** that contains four discount promotions and a subgroup called **Personal Offers**. The Personal Offers subgroup uses summation, while Maestra Discounts uses maximum benefit. 1. Maestra first sums every promotion inside Personal Offers into a single combined discount. 2. It then compares that combined discount against each of the four sibling promotions in Maestra Discounts. 3. Whichever option — the summed Personal Offers bundle or one of the four standalone promotions — gives the customer the biggest discount is the one that applies. ## Arbitration on an individual promotion Each promotion has its own **Arbitration** section where you can declare other promotions that are incompatible with it, without having to restructure the tree. For every incompatibility you choose the level at which it applies: * **Order level.** If this promotion applies to any line item in the order, the incompatible promotion is blocked from applying to that order entirely. * **Product level.** The incompatible promotion is allowed on the order, but only on the line items where this promotion did not apply. > [!TIP] > > Use product-level incompatibility when two promotions should never stack on the same item but can still coexist on the same order — for example, a category discount and an item-specific clearance discount. ## Putting it together When a customer places an order, Maestra walks the arbitration tree from the top: 1. It applies discount and point-deduction promotions in the order dictated by the tree and each group's rule. 2. It applies any rounding promotions. 3. It awards points from point-earning promotions. At each step the rules above govern whether promotions stack, compete, or block one another. By combining tree-level defaults, group rules, and per-promotion incompatibilities, you can express almost any policy — from "always apply every active promotion" to "give the customer the single best deal they qualify for." # How to add a Promo Code into a Campaign Source: https://help.maestra.io/loyalty/how-to-add-a-promo-code-into-a-campaign You will be likely to send promo codes to your customers. # There are two ways to do that: 1. Add a promo code into a message as a custom dynamic parameter. Create a file with identifiers of the customers that contains a promo code for each customer. Follow the guidelines to create a file and send a message using it. This way is convenient if you need to send promo codes only once. 2. Create a pool of promo codes, issue them to customers, and add them into messages. It is useful if you need to regularly issue promo codes manually or automatically. ## Let’s have a closer look at the second way: 1. Follow the [guidelines](/loyalty/how-to-import-promo-codes-into-a-project) to create a pool of promo codes. > [!NOTE] > > The pool must be marked as "Can be used" in the UI. 2. Issue promo codes to your customers: * manually (follow the guidelines) * in a flow/ API method 3. Add a dynamic content message template parameter to the text of your message to send the last received promo code from a pool to each customer. Template: ``` `${Recipient.LastReceivedPromoCode.WithTypePool.Value}` ``` where "Pool" is a system name of your pool of promo codes. For example, a message template parameter for the following pool: ![00\_addpromocode](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_addpromocode.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=7c3ee9bdcfceec4f48e4ccf2e43ad8ae) will be: **\$\{Recipient.LastReceivedPromoCode.WithTypeBirthdaypromocodes.Value}** # How to Add a Multi-Use Promo Code Pool to a Promotion Source: https://help.maestra.io/loyalty/how-to-add-multi-use-promo-codes-to-a-promotion This guide explains how to add a pool of multi-use promo codes to a promotion and configure it so that each customer can only redeem the code once. ## Instructions **1. Create a pool of promo codes** Create a pool of promo codes following the standard pool creation instructions. Set the following options: * **Processing**: Maestra * **Promo code type**: Multi-use The pool must be in the **Ready to use** status before you can attach it to a promotion. **2. Create a discount promotion** Create a new discount promotion and select the benefit you want to offer in the **Products** or **Order contents** section. **3. Attach the pool in Availability conditions** Open the **Availability conditions** section of the promotion and select the pool you created in step 1. Once the pool is attached, a link to this promotion will appear on the pool's page under the **Usage** section. **4. Set a personal usage limit** Open the **Limits** section and set a personal limit on the number of times the promo code can be triggered per customer. To allow each customer to use the code only once, set this limit to 1. **5. Launch the promotion** Activate the promotion to make it available to customers. # How to Create a Bonus Points Promotion Source: https://help.maestra.io/loyalty/how-to-create-a-bonus-points-promotion A bonus points promotion lets you reward customers with loyalty points and control how those points can be spent. Use it to drive repeat purchases, boost average order value, or run time-limited point multipliers. This guide walks through every setting available when you build a points promotion in Maestra. ## Create the Promotion To start, go to **Campaigns** in the main menu and click **Create campaign**. Choose **Loyalty**, then select **Bonus points** as the campaign type. Pick the folder where the promotion should live and confirm. Give the promotion a clear internal name, set a launch date, and add a short description so other team members understand its purpose at a glance. > [!TIP] > > Use a descriptive name that includes the offer and timeframe, for example "Double points on skincare — July 2026." ## Audience In the **Customers** section, decide who is eligible for the promotion. You have three choices: * **All customers in the database** — applies to every customer. * **Customers in a specific segment** — applies only to customers who match the segment. * **All customers except a specific segment** — excludes the segment you choose. Only recalculated and static customer segments are available for selection. If you don't have the right segment yet, you can create one inline by defining filter conditions without leaving the promotion editor. ## Availability Conditions Availability conditions limit when and how the promotion can be triggered. You can layer multiple conditions together. * **Promo code** — require a code, or restrict how many times a code can be used per customer or in total. * **Brand** — restrict the promotion to specific brands in your catalog. * **Days of the week** — pick the weekdays when the promotion is active. * **Time of day** — set start and end times within a day, useful for happy-hour offers. > [!NOTE] > > Conditions are combined with AND logic: a customer must meet all of them for the promotion to apply. ## Locations Under **Locations**, choose the channels and zones where the promotion can be applied. This typically includes specific stores, regions, websites, or apps. Leave it open to apply everywhere, or narrow it down to run channel-specific offers. ## Products The **Products** section controls which catalog items the promotion covers. The options mirror the audience settings: * **All products** — the promotion applies to the entire catalog. * **Products in a specific segment** — only items in the selected product segment qualify. * **All products except a specific segment** — excludes a product segment. Both recalculated and static product segments are supported. You can also set a recalculation schedule and execution time so the segment refreshes automatically — useful for seasonal collections or stock-driven campaigns. ## Benefit The benefit is the core of the promotion. You can choose one of three benefit types. ### Allow Points Discount Lets customers pay for the qualifying items with points. Set the maximum share of the line item or order that can be covered by points — for example, 100% means points can fully pay for the item, while 50% caps the discount at half the price. ### Award Points Grants points to the customer when the promotion fires. You can express the award in several ways: * **Fixed amount** — a flat number of points per order or per qualifying line item. * **Points per currency unit** — for example, 5 points for every \$1 spent on qualifying products. * **Percentage of product value** — convert a share of the spend into points (for example, 10% back in points). You can also configure how the awarded points behave: * **Activation timing** — when the points become available for spending (immediately, after a delay, or after order completion). * **Expiration** — set the date or duration after which unused points expire. ### Award Points From an Additional Field Use this option when the number of points to award depends on data attached to the order line item — for example, a custom field that stores a per-SKU bonus value. Maestra reads the value from the specified field at the moment the promotion is applied, which lets you run highly granular point awards without creating separate promotions for each product. ## Applying the Benefit to Orders After choosing a benefit, define which orders qualify. The selection logic mirrors the product settings: * All orders * Orders matching a specific segment * All orders except a specific segment This lets you target, for example, only first orders, orders above a certain value, or orders placed in a particular channel. ## Incompatibility Use the **Incompatibility** section to prevent the new promotion from stacking with conflicting ones. There are two scopes: * **Order-level incompatibility** — if any incompatible promotion applies to the order, this promotion is blocked across the entire order. * **Product-level incompatibility** — the promotion is excluded only from line items where a conflicting promotion already applies. Other line items in the same order can still receive the benefit. > [!WARNING] > > Always review incompatibility settings before launch. Overlapping points promotions can lead to unexpected stacking and over-rewarding. ## Arbitration When several promotions could apply to the same order, arbitration decides which ones actually run and in what order. * **Parent group** — assign the promotion to a group that defines the arbitration rules (for example, "only the best promotion wins" or "all eligible promotions apply"). * **Position within the group** — control where this promotion sits in the application sequence relative to its siblings. Choosing the right group is critical: it determines whether your new promotion competes with existing offers or runs alongside them. ## Launch Once every section is configured, activate the promotion. From the moment it goes live, qualifying orders will start earning points (or spending them, if you chose the points-discount benefit) according to your rules. > [!TIP] > > Place a test order that matches your audience, product, and availability conditions to confirm the promotion fires as expected before announcing it to customers. # How to Create a Discount Promotion Source: https://help.maestra.io/loyalty/how-to-create-a-discount-promotion This guide walks you through every step of building a discount promotion in Maestra Platform, from selecting the audience to launching the campaign. ## 1. Open the Campaigns section Go to **Campaigns** in the main menu. ## 2. Start a new campaign Click **Create campaign** → **Loyalty** → **Discounts**. ## 3. Pick a folder Choose the folder where the promotion will live and click **Create**. ## 4. Name the promotion and configure general settings Enter the promotion name and adjust the **General settings**: launch date, description, and any other top-level fields. ## 5. Choose the audience In the **Customers** block, choose who the promotion will apply to. The promotion can target: * All customers in the database * Customers in a specific segment * All customers except customers in a specific segment If you need to limit the promotion to customers in a particular segment, select **for customers in segment**. > [!NOTE] > > Only recalculated and static customer segments are available in promotions. If the segment you need does not exist yet, click **Create**. In the pop-up window, build the filter conditions you need, fill in all the fields, and click **Create**. ## 6. Set availability conditions Under **Availability conditions**, define when the promotion is allowed to trigger. You can restrict it by: * Required promo code * Brand * Days of the week * Time of day ## 7. Choose placements Under **Placements**, select the channels and zones where the promotion is active. ## 8. Configure the core promotion logic This is where you choose which products are eligible and what benefit customers receive. ### 8.1. Choose the products the promotion applies to The promotion can apply to: * All products * Products in a specific segment * All products except a specific segment If you need to limit the promotion to products in a particular segment, select **for products in segment**. > [!NOTE] > > Only recalculated and static product segments are available in promotions. If the segment you need does not exist yet, click **Create**. In the pop-up window, build the filter conditions, fill in all the fields, and click **Create**. If you need the segment to be recalculated on a schedule, choose the execution period and time in the corresponding fields. ### 8.2. Choose a benefit Pick one of the following line-item benefits: * Give a discount * Round the price * Display text * Use a price from a custom field * Give a discount based on the value of a discount card #### 8.2.1. Give a discount A simple discount of X percent or X dollars per line item. #### 8.2.2. Round the price Hover over each option to see an example of how the rounding works. > [!WARNING] > > Price rounding cannot be combined with other benefits. #### 8.2.3. Display text Show a message either in the product card area or in the cart area. For example, when a product is purchased you can display a message to the cashier or to the shopper in the online store cart. You can use template engine parameters in the text. #### 8.2.4. Use a price from a custom field You can select **Decimal**-type custom fields. For example, you can store a special price in a product custom field and apply it only to a specific customer segment. #### 8.2.5. Give a discount based on the value of a discount card The discount equals the nominal value of the customer's discount card. You can also cap the maximum discount percentage at a value you choose. ## 9. Configure order-level rewards In addition to line-item benefits, you can apply rewards at the order level. Rewards can apply to: * All orders * Orders in a specific segment (segment creation works the same way as for products) * All orders except orders in a specific segment Available order-level rewards: * Give a discount * Cascading discount * Round the price * Display text * Give a discount on products from segment A for every n products from segment B * Give a bundle discount * Give a discount based on the value of a discount card * Give a discount on a product for every n dollars spent on products from a segment * Free shipping * Give a promo code * Give a promo code for each product ### 9.1. Give a discount Give a discount of X percent or X dollars. You can configure: * The segment of discounted products * The segment of discounted line items * A limit on the number of discounted products * Whether the discount applies to the most expensive or the cheapest product ### 9.2. Cascading discount For every X products of any kind, give an additional discount on products from the same segment. ### 9.3. Round the price Round the order total down (or up) to a chosen value. ### 9.4. Display text Show a message at the register or in the online store cart. ### 9.5. Give a discount on products from segment A for every n products from segment B For every N products (any product, a product in a segment, or all products except a specific segment), give a discount of X percent or X dollars on: * Any product * A product in a specific segment * All products except a specific segment You can also display a message about the available discount at the register or in the cart by enabling the matching checkboxes in the settings. ### 9.6. Give a bundle discount Give a discount of X percent or X dollars when the customer buys a product from a specific segment. ### 9.7. Give a discount based on the value of a discount card You can cap the maximum discount. ### 9.8. Give a discount on a product for every n dollars spent on products from a segment For every N dollars spent on products in a segment, give a discount of X percent or X dollars on products. You can also display a message about the available discount at the register or in the cart by enabling the matching checkboxes in the settings. ### 9.9. Free shipping The product is delivered free of charge. ### 9.10. Give a promo code Issue a promo code from a specific promo code pool (you must upload promo codes into the system in advance) and display a message at the register or in the online store cart. ### 9.11. Give a promo code for each product Same as 9.10, but the customer receives a promo code for every qualifying product. ## 10. Set incompatibility rules Choose which promotions are incompatible with this one. * **Order-level incompatibility:** if promotions A and B are incompatible and promotion A applied to at least one line item in the order, promotion B will not apply at all. * **Product-level incompatibility:** in the same situation, promotion B will still apply to all other line items where promotion A did not apply. ## 11. Configure arbitration Set up promotion arbitration. 1. Open **Arbitration tree**. 2. Choose the parent group the promotion will belong to. This determines which arbitration rules govern how the discount stacks with other promotions. 3. Choose the position within the group, which determines the order in which the promotion is applied. ## 12. Launch the promotion Activate the promotion to make it live. # How to Create a Promo Code Format for Generation Source: https://help.maestra.io/loyalty/how-to-create-a-promo-code-format Before Maestra can generate promo codes for a pool, you need to create a **format** that defines the structure every code in the set will follow. The format controls which characters appear in your codes, how long they are, whether they share a fixed marker, and how many codes can be generated from it. This guide walks you through creating a promo code format step by step. ## When to create a format You create a format whenever you want Maestra to generate promo codes automatically for a pool, instead of uploading codes manually. The format is reusable: once saved, you can pick it again for future pools. > [!NOTE] > > A format is the template, not the codes themselves. After saving the format, you still need to generate the actual codes for your pool. ## Create the format **1. Open pool settings** Go to the promo code pool you want to populate. **2. Choose how codes are added** For the addition method, select **Generate promo codes**. **3. Start a new format** Next to the **Format** field, click **Create**. **4. Configure the format** Fill in the fields described below, then save. ## Format settings Each field shapes how your codes will look when Maestra generates them. ### Name The name identifies the format in selection menus across Maestra. Pick something descriptive so you can recognize it later when choosing a format for another pool — for example, `Summer 2026 — 10 chars` or `VIP welcome codes`. ### Alphabet The alphabet determines which characters Maestra is allowed to use when generating codes. By default, all available characters are selected. To exclude a character from the alphabet, click it. Excluded characters won't appear in any generated code. This is useful when you want to: * Remove visually ambiguous characters (for example, `0` and `O`, or `1` and `I`) to make codes easier to read aloud or type. * Keep codes uppercase-only or limit them to digits. * Avoid characters that could be misinterpreted in print or on receipts. ### Marker A marker is an optional set of identical characters placed in the same position across every code in the set. It acts as a visual signature for the batch — handy when you want to tell at a glance which campaign or pool a code belongs to. For example, if your marker is `SALE`, every generated code in the set will contain `SALE` in the same fixed position. The marker counts toward the total length of the code, so plan your code length accordingly. ### Code length The total number of characters in each code, including any marker characters. The maximum length is **20 characters**. Longer codes are harder to guess and support a much larger pool of unique combinations. Shorter codes are friendlier when customers have to type them in manually. ### Maximum quantity The cap on how many codes can ever be generated from this format. Once you hit this number, the format can no longer produce new codes — you'll need a different format (for example, with a longer code length or a different marker) to generate more. Set this with headroom: pick a number you're unlikely to exceed across the life of the format. > [!TIP] > > Code length and alphabet size together determine how many unique codes are mathematically possible. If you pick a short length and a small alphabet, you can run out of unique combinations quickly — give yourself room by either lengthening the code or widening the alphabet. ## After saving Once you save the format, it becomes available in the **Format** dropdown for any pool that uses **Generate promo codes** as its addition method. You can now go back to the pool and generate the actual codes using the format you just created. # How to Generate Promo Codes for a Pool Source: https://help.maestra.io/loyalty/how-to-generate-promo-codes-for-a-pool Promo codes help you collect and enrich your customer database, encourage target actions, and personalize discounts. When you need a large batch of unique codes ready to distribute, Maestra can generate them for you and store them inside a pool. This guide walks you through generating promo codes for a pool from start to finish. ## Before you start Make sure you already have a pool created in Maestra. The generation flow described below is configured on the pool itself — specifically inside its **Promo Codes** section. If you don't have a pool yet, create one first using the standard pool creation flow. The only thing that changes for this use case is what you choose inside the **Promo Codes** section. ## Step 1: Open the pool and go to Promo Codes Open the pool you want to populate and navigate to the **Promo Codes** section of its settings. This is where you decide how the pool will be filled with codes. ## Step 2: Choose "Generate promo codes" as the replenishment method In the **Promo Codes** section, select **Generate promo codes** as the method Maestra will use to replenish the pool. This tells the system you want it to create codes for you rather than upload them from a file. ## Step 3: Select or create a promo code format Next, Maestra asks which promo code format to use. The format defines the structure of the codes that will be generated — for example, length, character set, and any fixed prefix or suffix. You have two options: * **Pick an existing format** from the list of formats already configured in your account. * **Create a new format** if none of the existing ones fit. Follow the standard format creation flow to define how the codes should look, then return to this step. > [!TIP] > > Reusing an existing format is the fastest path. Create a new format only when you need a code structure that isn't already available. ## Step 4: Configure the generation parameters Once a format is selected, configure how many codes to generate in this run: | Field | What it means | | - | - | | **Quantity** | The number of promo codes this task will generate and add to the pool. | | **Available codes for generation** | The number of codes still available in the selected format's set. This is the upper bound for how many unique codes the format can still produce. | Use **Available codes for generation** as a sanity check — your **Quantity** can't exceed it. If you need more codes than the format can produce, switch to a format with a larger code space (for example, a longer code length or a wider character set). ### Optional: Auto-generate when the pool runs out You can enable **Auto-generate promo codes if they run out**. When this option is on, Maestra will automatically generate a new batch of codes as soon as the last code in the pool is distributed — so campaigns that rely on this pool don't stall when supply runs low. > [!TIP] > > Turn this on for always-on use cases (welcome flows, evergreen offers, referral programs) where you can't afford to manually top up the pool. Leave it off for one-time campaigns with a fixed code budget. ## Step 5: Save and generate Click **Save and generate** to kick off the task. Maestra creates a new upload task for this generation run. The task moves through statuses — starting at **Awaiting execution** and progressing until it completes. Once done, you'll see the results of the run, including how many codes were generated and added to the pool. ## Step 6: Save the Promo Codes settings on the pool After generation finishes, save the **Promo Codes** block settings on the pool itself. This persists your replenishment configuration (including the auto-generate option, if you enabled it) so the pool keeps behaving the way you set it up. ## What happens next The newly generated codes are now in the pool and ready to be handed out through any campaign, scenario, or integration that draws from it. If you enabled auto-generation, Maestra will refill the pool on its own when supply runs out — no further action needed from you. # How to Import Promo Codes into a Project Source: https://help.maestra.io/loyalty/how-to-import-promo-codes-into-a-project Promo codes allow you to create personal offers for your customers, which you can then send via different message channels. In order for these promo codes to be uploaded to message templates, you’ll need to upload them to your project first. After that, the system will be able to give them out via flows. In short, to import promo codes into a project you’ll have to: 1. Create a new pool of promo codes; 2. Edit pool settings; 3. Activate the pool. Read on for a detailed description of each of these steps. # 1. How to import a promo code pool Open the campaign you’d like to add promo codes to: ![00\_promocodes](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_promocodes.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=1e3953659bb9a8a84d56f6f33486978b) Click **Add** → **Promo code pool**: ![01\_promocodes](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_promocodes.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=5e088670ff5fe18faa7668a9783d9246) # 2. How to edit the pool settings ## 2.1. The pool name and general settings: ![02\_promocodes](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_promocodes.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=77bab4ad2e05352092770c6b928a69b8) **Description**: write down any info that you may need to remember on this promo code pool — e.g., why you created it. The Description field is **mandatory** — you cannot activate the pool without it. **ID**: this will be a unique system title for the pool. This field is filled in automatically, but you can also edit the ID manually. **Parameter name in the message template builder:** the name of the promo code parameter that will be used to add the promo code to your message. ## 2.2. How to add more promo codes to your pool: You can add new promo codes manually or generate them in the system. Use the "generate more codes" button if you’d like the platform to generate promo codes for you. If you’d like to upload more codes manually, please note that the "generate more codes" button will become inactive after the first upload. ## Manual import 1. Download the **Manual code import template:** ![03\_promocodes](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_promocodes.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=8b3bc929e0d036de6b8c22822fa8d1e6) 2. Get your file ready: ![04\_promocodes](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_promocodes.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=f893939f740d705dbaac21426f45f671) If a third-party system is responsible for promo code redemption, you can leave the "Code" column and remove the rest. **Issue-start** and **issue-end** specify when to assign the promo codes. **Available-from** and **available-till** are dates and times the promo codes are active and can be used. 3. Upload the file. If a task number appears under the **Codes import history**, this means the codes are being imported. Please wait until the task has been completed: ![05\_promocodes](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_promocodes.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=85eda3ac3b62f68d7e4578aaf988f71e) Once the task is complete, the status will be updated. Click the task number to display the task completion report: ![06\_promocodes](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_promocodes.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=d4df46671e22ac2e49d733684d0caf48) Use the "**Notify when code amount is below**" checkbox to send an automatic notification to all subscribed staff members when promo codes start running out. Uncheck this option to disable notifications. 4. Click **Save**. ## How to generate promo codes We go into more detail on generating promo codes in this article. ### Manual import using the text box Type in your promo codes and click **Upload**: ![07\_promocodes](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_promocodes.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=304f24ac699d472192d084b41a03bc1c) ## 2.3. Usage settings ![08\_promocodes](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_promocodes.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=95241773853056b7140fc45a6193aa9a) Use the **"Check that code was issued to customer before activation"** checkbox to ensure that a promo code can be redeemed only after it has been assigned to a customer. This measure protects from fraud and brute force attacks. Codes can be marked as issued using the API, flow, or the Maestra UI. Once this option is enabled, the system will ask for the **Validity period** for an assigned promo code. **Processing** can be carried out externally or in Maestra. **Codes can be used multiple times:** if you check this option, you will not be able to undo this after the pool has been activated. You cannot simultaneously select "Code was issued before activation" and enable the multiple use option. These options are mutually exclusive. # 3. How to activate your pool Once you’ve finished editing, click **Launch** to make the pool accessible in the database: ![09\_promocodes](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_promocodes.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=a357908a6009082a220e0eebc966df6d) # How to Manually Issue Promo Codes from the Pool Using Filters Source: https://help.maestra.io/loyalty/how-to-manually-issue-promo-codes-from-the-pool-using-filters You can issue single-use promo codes from the [pool of promo codes](/loyalty/how-to-import-promo-codes-into-a-project) to your customers automatically (at a certain step of a flow or an API method) or manually (to customers that you’ve filtered or customers listed in a CSV file). # To assign promo codes manually, follow these steps: 1. Build your filter in the **Customers** section: ![00\_issuecode](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_issuecode.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=37a41bd8261f341bbd85109fe5c5c4c6) 2. Open the drop-down menu and select the relevant customers or check the boxes manually: ![01\_issuecode](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_issuecode.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=aee4b6718c126a4c0076d28374dc0500) You can click **Select all** or **Random selection**. Example: 500 customers or 20% of all the customers found. 3. Open the menu and select **Issue promo code**: ![02\_issuecode](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_issuecode.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=bd564796d95da487bebef1797e8107a5) 4. Select the promo code pool and click **Apply**: ![03\_issuecode](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_issuecode.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=ed35a13229d9952692b010ba0a70b336) > [!NOTE] > > You can only select pools that are marked as "Can be used" in the system. 5. A link to the task appears: ![04\_issuecode](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_issuecode.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=4a74d8f3fa62f000ebb9f47ca403f480) 6. Please wait until this task is completed: ![05\_issuecode](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_issuecode.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=dff57a1cac5e8500a82f4ea934d11321) Once the task has been completed successfully, the relevant action will be recorded for the customer: ![06\_issuecode](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_issuecode.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=cc85aaeba98b4b1ae1217f43f7c8df37) And promo codes will be assigned: ![07\_issuecode](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_issuecode.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=23b3c7dc4d14ac0f856270fd99d8c416) # How to Set Limits on a Promotion Source: https://help.maestra.io/loyalty/how-to-set-promotion-limits For many promotions in Maestra, you can set your own restrictions on how often they apply. For example, you can make a promotion trigger no more than a thousand times total, prevent it from awarding more than 500 points per day to a single customer, or stop it from applying multiple times within the same order. Limits are available in both discount and points promotions. ## Where limits are available You can apply limits to the following benefits: **In the Products block:** * Apply a discount * Use price from an additional field * Display text * Allow discount by points * Award points **In the Order composition block:** * Apply a discount * Shipping discount * Apply a discount to N products when an order is placed for N units of a product * Display text * Allow discount by points * Award points * Apply a personal offer (only limits on discount sum or points accrual/deduction) Limits aren't yet available for other promotion types. ## General promotion limits When general limits are in use, the remaining balance is shown on the promotion page. ### Limit on the number of triggers Restricts how many times the promotion can trigger over all time, or over N calendar days, calendar weeks, or calendar months. ### Limit on the discount sum Available in discount promotions. Restricts the total discount sum over all time, or over N calendar days, calendar weeks, or calendar months. ### Limit on the accrual/deduction sum Available in points promotions. Restricts the total accrual or deduction sum over all time, or over N calendar days, calendar weeks, or calendar months. ## Personal promotion limits Remaining balances for personal limits aren't shown in the interface. If you need this information, you can pull it via API (the "Customer — Get available promotions" step). ### Limit on the number of triggers Restricts how many times the promotion can trigger for a single customer over all time, or over N calendar days, calendar weeks, calendar months, or rolling days, weeks, or months. > [!NOTE] > > Day, week, and month are floating (rolling) limits that count time from the customer's most recent use of the promotion. > > A day is 24 hours — for example, from 12:00 on March 1 to 12:00 on March 2. A week is 7 days. A month is 30 days. > > This works on the same principle as the "period from current date" filter. **Example:** a promotion is set to limit a customer's participation to "no more than two times per week." When the customer places an order, Maestra checks whether the promotion has been used by that customer two or more times in the last seven days. If not, it can be applied to the order. ### Limit on the discount sum Available in discount promotions. Restricts the total discount sum for a single customer over all time, or over N calendar days, calendar weeks, calendar months, or rolling days, weeks, or months. > [!NOTE] > > Day, week, and month are floating (rolling) limits that count time from the customer's most recent use of the promotion. > > A day is 24 hours — for example, from 12:00 on March 1 to 12:00 on March 2. A week is 7 days. A month is 30 days. > > This works on the same principle as the "period from current date" filter. **Example:** a promotion has a limit of "discount sum no more than \$500 per day." When the customer places an order, Maestra checks whether the customer has received discounts from this promotion totaling \$500 or more over the last 24 hours. If not, the promotion can be applied to the order. The \$500 limit is calculated by subtracting all discounts already given to the customer under this promotion in the last 24 hours. ### Limit on the accrual/deduction sum Available in points promotions. Restricts the total accrual or deduction sum for a single customer over all time, or over N calendar days, calendar weeks, calendar months, or rolling days, weeks, or months. > [!NOTE] > > Day, week, and month are floating (rolling) limits that count time from the customer's most recent use of the promotion. > > A day is 24 hours — for example, from 12:00 on March 1 to 12:00 on March 2. A week is 7 days. A month is 30 days. > > This works on the same principle as the "period from current date" filter. **Example:** a promotion has a limit of "no more than 1,000 points awarded per month" for a customer. When the customer places an order, Maestra checks whether the customer has been awarded 1,000 or more points under this promotion over the last 30 days. If not, the promotion can be applied to the order. The 1,000-point limit is calculated by subtracting all accruals already made to the customer under this promotion in the last 30 days. ## Per-order limits ### Limit on the number of triggers Restricts how many times a promotion can trigger within a single order. ## When the limit isn't enough Promotions apply with maximum benefit to the customer, except when the benefit setup explicitly resolves the discount product in favor of the store. ### The limit isn't enough for multiple applications If the remaining limit isn't enough to cover all possible applications of the promotion within an order, the promotion runs with maximum benefit to the customer. **Example:** a promotion is set on orders — "For each product, grant a 100% discount on one more of the same product, applying the discount only to the discounted product" — with a remaining limit of 1. The customer places an order with two laptops and two keyboards. If the promotion had no limit, it would trigger twice on the order — once per line. But because of the limit, it applies only once, to the most expensive product. The customer ends up paying for one laptop and two keyboards. ### The limit isn't enough for one full application If the expected discount, accrual, or deduction amount exceeds the remaining limit, the promotion still uses the most customer-favorable option and spends the remaining limit in full. **Example:** a product promotion is running — "Award points equal to 100% of the product price." A customer with a 5,000-point limit and one allowed participation buys jeans for \$60 and socks for \$2. The most beneficial product for the customer is the jeans. Maestra awards the maximum possible number of points for that item — 5,000 points. ## Adding a limit after launching a promotion A limit doesn't account for orders placed before it was set. **Example:** you launched a promotion without a limit. Customers received discounts totaling \$15,000 under it. You then decide to set a limit of \$200,000. Customers will be able to receive discounts totaling \$200,000 from the moment the limit is set (or \$215,000 in total, counting the orders placed before the limit was added). ## Editing a limit Changes to other sections of the promotion don't affect the remaining limit balance. ### General limits A general limit can't be edited after the promotion is launched — only deleted. When you delete it, the usage counter resets. **Example:** you launched a promotion with a deduction limit of 10,000 points per calendar month. After a week, 8,000 points had been deducted, and you decide to raise the limit to 20,000. To do this, delete the existing limit and add a new one. Because deleting the old limit also resets the counter, you'll need to calculate the new limit value yourself: 20,000 − 8,000 = 12,000 Set the new limit to 12,000 points per calendar month. Now, no more than 20,000 points will be deducted for the current calendar month. If the promotion needs to keep running in the next month, you'll need to recreate the limit at the end of the billing period and set it back to 20,000 points per calendar month. ### Personal limits Personal limits can be edited. The counter isn't reset. **Example:** you launched a promotion allowing a customer to participate three times. The promotion applied to one of the customer's orders. You then raised the limit to five. The customer now has a remaining balance of four applications. > [!WARNING] > > Don't confuse editing with recreating a limit. > > Deleting a personal limit and creating a new one of the same type — even within the same draft — resets the counter. ### Per-order limits Per-order limits can also be edited. They don't have a counter. ## Limits after an order is canceled Canceled orders are excluded from the counter. **Example:** a customer has used up their participation limit in a promotion. They then cancel one of their orders — their remaining balance now goes back to one. ## Customer limits after profile merging When customer profiles are merged, their promotion participations are combined. **Example:** a promotion has a limit of no more than 1,000 points awarded to a customer. Customer A has been awarded 100 points under the promotion, and Customer B has been awarded 200 points. The profiles are then merged. That customer can now be awarded no more than 700 points under this promotion. # Maximum Benefit in Promotions Source: https://help.maestra.io/loyalty/maximum-benefit-in-promotions Inside Maestra's promotion arbitration, you can choose how promotions in a group interact with each other: **sequential application**, **incompatibility**, or **maximum benefit**. This article walks through how the maximum benefit logic works, with worked examples. ## How maximum benefit works **1. Top-down evaluation** The system evaluates promotions in the group from top to bottom. **2. Individual calculation** First, it calculates each promotion in the group independently of the others. **3. One promotion per order line** Within a maximum-benefit group, only one promotion can apply to any given order line. **4. Combination check** The system then walks the group again from top to bottom, taking each promotion that was already applied and trying to apply other promotions from the same group to any remaining free order lines. **5. Pick the best in-group discount** It compares the results of promotions applied individually with the results of combined applications, and picks the largest discount available in the group. **6. Inter-group calculation** If the maximum-benefit group contains subgroups, the system runs an inter-group calculation. It takes the winning combination from each group and checks whether it can stack any promotion from groups below it on top. **7. Final winner** From all combinations it has tried, the system selects the one that gives the customer the largest discount. ## Walkthrough with discount promotions Suppose the project has a maximum-benefit group called **"Fall promotions"**. The group contains a promotion **"Seasonal apparel discount"** (1% off all fall apparel and footwear) and two maximum-benefit subgroups: * **"Discounts for expecting moms"** * **"Discounts for loyal customers"** **1. The "Discounts for expecting moms" subgroup contains:** * **"Jumper discounts"** — 20% off all maternity jumpers. * **"Warm clothing discounts"** — 1% off all fall apparel and footwear. **2. The "Discounts for loyal customers" subgroup contains:** * **"Fall apparel discounts"** — 1% off all apparel and footwear. * **"Footwear discounts"** — 20% off all footwear. ### Example 1: Maximum benefit **The customer wants to buy a maternity jumper for $40 and a pair of sneakers for $60.** #### 1) Discounts in the "Discounts for expecting moms" group First, **"Jumper discount"** applies — it sits at the top of the group and applies only to the jumper. It produces a discount of \$8: `0.2 × 40`. Next, **"Warm clothing discount"** applies to both items. It produces a discount of \$1: `0.01 × (40 + 60) = 1`. Then the system builds combinations from top to bottom. It looks at **"Jumper discount"**, notes that this discount only landed on the \$40 jumper, and tries to apply **"Warm clothing discount"** to check whether the second promotion can discount the second order line (the sneakers), since no discount has been applied to that line yet. The combined discount works out to: `0.2 × 40` (first promotion) + `0.01 × 60` (second promotion) = `$8 + $0.60 = $8.60`. The system then tries to combine the warm clothing discount with anything else, but since nothing sits below it in the group, the in-group calculation ends there. The winner inside **"Discounts for expecting moms"** is the combination of the jumper discount and the warm clothing discount — a total discount of **\$8.60**. #### 2) Discounts in the "Discounts for loyal customers" group First, the fall apparel discount applies. It hits both products and produces a discount of \$1: `0.01 × (40 + 60) = 1`. Next, the footwear discount is calculated. It applies only to the sneakers and produces a discount of \$12: `0.2 × 60 = 12`. Then the fall apparel discount tries to combine with anything else in the group, but it can't — it has already applied to every line in the order. The footwear discount sits at the bottom of its group, so it also has nothing to combine with. The winner inside **"Discounts for loyal customers"** is the footwear discount, which gives the largest discount of **\$12**. #### 3) Discount outside the groups The system calculates the **"Seasonal apparel discount"** that lives outside the subgroups and gets a discount of \$1: `0.01 × (40 + 60) = 1`. #### 4) Inter-group calculation The system takes the winning combination from the first group and checks whether it can be combined with anything from the groups below it. But because the winning combination (\$8.60) has already been applied to both lines, there's nothing left to combine with. Next, the system takes the winning footwear discount from the second group (\$12). It only landed on the footwear, so it can be combined with something from the groups below. The system finds the seasonal discount below, applies it to the free line (the jumper), and gets a combined discount of `0.01 × 40 + 0.2 × 60 = $12.40`. The bottom-most promotion outside the groups has nothing to combine with — it's the last one. In total, the candidates are: * **\$8.60** from the first group's discounts (jumper + footwear). * **\$12** from the second group's discount (footwear). * **\$1** from the discount outside the groups (jumper + footwear). * **\$12.40** from the second group's discount combined with the discount outside the groups. The footwear discount combined with the seasonal discount outside the groups remains the best option, so **the customer receives a \$12.40 discount**. ### Example 2: Reordering promotions in a group Now imagine that when configuring the loyalty program, the promotions inside the **"Discounts for loyal customers"** group are swapped — the footwear discount now sits above the fall apparel discount. What discount does the customer get? **The customer wants to buy a maternity jumper for $40 and a pair of sneakers for $60.** #### 1) Discounts in the "Discounts for expecting moms" group The calculation stays exactly the same — the combination with a discount of **\$8.60** wins. #### 2) Discounts in the "Discounts for loyal customers" group First, **"Footwear discounts"** applies to the sneakers and gives a discount of \$12. Next, the fall apparel discount is calculated and produces \$1. After that, the top promotion in the group (the 20% footwear discount) tries to combine with something else in the group, and it combines with the fall apparel discount, which now sits below it. The combined discount works out to `0.2 × 60 + 0.01 × 40 = $12.40`. The winner inside **"Discounts for loyal customers"** is the combination producing **\$12.40**. #### 3) Discount outside the groups The discount outside the groups stays the same — the seasonal promotion gives a discount of \$1. #### 4) Inter-group calculation For **"Discounts for expecting moms"**, everything stays the same: the winning combination can't be grouped with anything else, and the discount stays at \$8.60. In **"Discounts for loyal customers"**, the winning combination also can't be grouped with anything, because every line is taken. The discount outside the groups can't be grouped with anything either, since it sits at the very bottom. That leaves three discounts to choose from: **$8.60**, **$12.40**, and **\$1**. The combination of discounts from **"Discounts for loyal customers"** totaling **\$12.40** wins. ### Example 3: Sequential application Let's also see what happens if the top-level parent group uses **sequential application** instead of maximum benefit. **The customer wants to buy a maternity jumper for $40 and a pair of sneakers for $60.** #### 1) Discounts in the "Discounts for expecting moms" group The calculation inside **"Discounts for expecting moms"** stays exactly the same — the combination with a discount of \$8.60 wins, since it sits at the very top. Because the parent group now uses sequential application, the winning combination from the first, topmost group applies to the order first. So `40 × 0.8 = $32` (20% off via the first promotion) and `60 × 0.99 = $59.40` (1% off via the second promotion). Subsequent calculations operate on these post-discount product prices. #### 2) Discounts in the "Discounts for loyal customers" group The calculation inside **"Discounts for loyal customers"** stays the same — the combination of the footwear discount and the fall apparel discount wins. After they apply, subsequent discounts are calculated from `0.8 × 59.40 = $47.52` for the footwear (20% off via the first promotion) and `0.99 × 32 = $31.68` for the jumper (1% off via the second promotion). #### 3) Discount outside the groups Because this is sequential application, the seasonal discount that sits outside the maximum-benefit subgroups applies to the remaining totals. We apply a 1% discount to the sum of the product prices after the discounts from the two previous groups. The amount due is `(47.52 + 31.68) × 0.99 = $78.41`. > [!NOTE] > > Promotion order inside a group has a direct impact on the final discount a customer receives. When configuring loyalty programs in Maestra, review the order of promotions inside each maximum-benefit group carefully — swapping two promotions can change which combination wins. # What Are External Promotions Source: https://help.maestra.io/loyalty/what-are-external-promotions External promotions are promotions that are created and operate in an external system (your website, point-of-sale terminals, mobile app, and so on), but which Maestra still needs to account for in the overall promotion arbitrage. You can't create or change the logic of an external promotion from the Maestra admin panel. However, when your loyalty program is active in Maestra, you can configure how an external promotion combines with other promotions — up to and including fully cancelling the external promotion (provided the cash register, website, or other channel runs arbitrage on Maestra's side). External promotions can apply a discount either to the entire order or to a specific purchase (a receipt line). The promotion's conditions are configured on the cash register, website, or app side, and are sent to Maestra in the format: promotion ID + discount amount. Because the discount amount on an external promotion can be 0, external promotions are often used as markers during receipt calculation. For example, an external promotion called "cash payment to courier" indicates that the customer chose cash on delivery and therefore shouldn't receive the additional 5% discount that's normally applied for online payment. ## Adding an external promotion to Maestra An external promotion must be sent to Maestra via API in advance so that it appears in the promotion tree. There are two ways to do this: * Import promotions as a list (bulk import). * Add them one at a time through an operation. Once added, the promotion appears in the promotion tree under the "External promotions" group. From there you can move it to any other group in the tree with the application rules you need. If you want to rename a promotion, click its name in the promotion tree, then click the pencil icon on the page that opens. ## Sending external promotions through an order If you don't import an external promotion via API ahead of time and instead pass it directly in the order creation or order calculation operation, the promotion won't be added to the promotion tree. Instead, it will appear on the "External promotions outside processing" page. > [!NOTE] > > External promotions that haven't been added to Maestra in advance still participate in discount calculations and are processed by the arbitrage engine using the application rules of the "External promotions" group. Add an unknown promotion to processing if you need to move it to another group or configure incompatibility with a promotion that was created in Maestra. Once added, the promotion will appear in the tree within a minute. ## Use cases for external promotions Below are typical scenarios where external promotions are a convenient way to control discounts, arbitrage logic, or the behavior of the cash register or website. ### Manual discount applied at the register Example: a customer is buying a product at the register, but the item rings up at a different price because the price tag wasn't updated. The cashier can apply a manual discount on the product so the price matches the tag. When this is transmitted to Maestra, you'll see the product's base price along with the discount the cashier applied. ### Automatic discount driven by register logic Example: at certain hours, a bakery runs a promotion that gives a 50% discount on specific products based on their shelf life. Because the list of eligible products changes every day, it's inconvenient to set up these promotions on the Maestra side. The easiest approach is to pass the discount to Maestra as an external promotion tagged "Automatic discount at register." # What Is a Loyalty Program in Maestra Source: https://help.maestra.io/loyalty/what-is-a-loyalty-program A loyalty program in Maestra lets you personalize discounts, promo codes, and the rules for earning and spending points. Your promotions run at the same time across every channel you sell in, whether that's your website, mobile app, or brick-and-mortar stores. Use the loyalty program to reward repeat customers, bring back inactive ones, and grow average order value, all from one place. ## Why use a loyalty program A loyalty program in Maestra gives you four main advantages. ### Omnichannel reach Maestra unites your online and offline sales into a single customer view. You get cleaner segmentation, and you can identify customers in your physical stores the same way you identify them online. A customer who earns points on your website can spend them at the register, and the other way around. ### Targeted promotions Instead of offering the same discount to everyone, you can tailor offers to specific customer segments. Send a higher discount to customers who haven't ordered in 60 days, or reward your top spenders with bonus points on their next purchase. ### Promotion arbitration When several promotions could apply to the same order, Maestra decides which one wins and in what order they stack. You control the sequence, so your margins stay predictable and customers always get the best valid offer. ### Personalized communications Maestra uses customer data, like first name, birthday, or purchase history, to send messages that feel personal. Pair a promotion with the right email, SMS, or push notification to turn an offer into a brand moment. ## What a loyalty program includes A loyalty program in Maestra is built from two groups of tools: discounts and points. | Category | What it includes | | - | - | | Discounts | Discount promotions and scenarios that hand out promo codes | | Points | Point-earning promotions and scenarios that accrue or deduct points | You can mix and match. For example, give a customer 500 points for signing up, then email a 15% promo code on their birthday. ## Public and personal promotions Every promotion in Maestra is either public or personal. The difference is who sees it. ### Public promotions A public promotion is announced openly. You use it to attract new customers and to get existing ones earning and spending points. Anyone who meets the conditions can use it. **Example.** "30% off at our new downtown store this weekend." You announce it on your website, in email, and on social media. Any customer who shops at that store during the weekend gets the discount. ### Personal promotions A personal promotion isn't announced publicly. You send it directly to a specific segment to influence how often they buy, how much they spend, or whether they come back at all. **Example.** "We haven't seen you in a while — use promo code GGHH123 for 20% off your next order." You send this only to customers who haven't placed an order in the last 90 days. Personal promotions have two key advantages: * You can adjust them quickly. If a code isn't converting, change the offer or the audience and try again. * You can measure results. Because the audience is defined, you can compare it to a control group and see exactly what the promotion drove. > [!TIP] > > Start with one or two personal promotions aimed at clear segments, like lapsed customers or first-time buyers. It's the fastest way to see measurable lift without disrupting your public offers. ## How discounts and points work together Discounts and points solve different problems. * **Discounts** give an immediate price reduction. They're great for driving a purchase right now, like clearing seasonal stock or converting a hesitant shopper. * **Points** create a reason to come back. Customers earn points on every order and redeem them later, which builds repeat purchases over time. Most strong loyalty programs use both. A new customer might get a one-time 10% off code (discount) and start earning points on every order (points). Over time, the points balance becomes a reason to shop with you instead of a competitor. > [!NOTE] > > Points and discounts can apply to the same order. Maestra's arbitration rules decide how they combine so you stay in control of the final price. ## Example: a simple loyalty setup Here's how a basic loyalty program might look in Maestra. **1. Welcome offer** A new customer signs up and receives a one-time 10% off promo code by email. This is a personal promotion targeted at first-time subscribers. **2. Earning points** Every order accrues 1 point per \$1 spent. This is a public, ongoing point-earning promotion that applies to all customers. **3. Spending points** Customers can redeem points at checkout, where 100 points equals \$1 off. This is a public point-spending rule. **4. Win-back** A customer who hasn't ordered in 60 days gets a personal promo code for 20% off, sent by email or SMS. This is a personal promotion aimed at lapsed customers. **5. Birthday reward** On a customer's birthday, Maestra sends 500 bonus points and a personalized message. This is a personal promotion using customer profile data. ## Next steps Once you understand the building blocks, you can start designing your own program. As you plan, think about three things: * **Strategy.** What behavior do you want to reward, and what does it cost you to reward it? * **Measurement.** How will you know the program is working? Define your KPIs before you launch. * **Communications policy.** How often will you message customers, and through which channels? A loyalty program only works if customers hear about it without feeling spammed. > [!WARNING] > > A loyalty program changes how customers think about your brand. Test new promotions on a small segment first, watch the results, and roll out broadly only once the numbers hold up. # Creating an In-app Message Source: https://help.maestra.io/mobile-app-personalization/creating-an-in-app-message > [!WARNING] > > To launch in-app messaging, integrate it with your mobile app. For more information, please refer to [this guide](https://developers.maestra.io/docs/in-app) In-app messages are personalized notifications inside your mobile app. Most templates look like pop-up windows with an image and a URL that redirects to another app section or to an external webpage. You can also build an in-app from your own HTML and CSS — see [Custom layout](#custom-layout-html-and-css) below. Unlike mobile push notifications, in-app messages can be displayed to users that disabled push notifications and only when the user opens the app. ### In-app message examples ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_create_in-app.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=955ae8b17ca2dcecdd9076e30806d25c) ![08\_create\_in-app.jpg](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_create_in-app.jpg?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=9691cf06a19f7e1cb1638db95033f627) # Creating an in-app message To open the in-app page, go to **Campaigns**→ **Campaign manager** → **In-app**. This page lists all the in-app campaigns you have set up and their current statuses. Here, you can filter the campaigns by folder or status. ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_create_in-app.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=087ca563163bbdde991e9ff02f64e318) To create an in-app message, click the green **Create campaign** button in the upper right corner and select "In-app" in the dropdown list. Next, choose the folder where the system will create your in-app message as well as the apps that will have these in-app messages displayed. ![09\_create\_in-app](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_create_in-app.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=a9d1d085419f42a3d2036446c099ed0b) # Setting up an in-app message On the in-app setup page you can add its title and check the current status of the campaign. ![02\_create\_in-app](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_create_in-app.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=cc8054ef3aee85113631ec0fd61aa38f) ## Template design In this block, you can add the following: * A URL to an image; * A URL or a deep link — i.e., a the destination for the user that taps the image; * The payload to send JSON-formatted data to your app (enter this manually and the system will process it when the user clicks the in-app message). Make sure that you select an image with a 3:4 vertical format. Note that the image preview displays the image you uploaded in its original format, whereas the system cuts it to fit a 3:4 formatted image within the app. ![03\_create\_in-app](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_create_in-app.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=ccc2ad636a74274bb3a07cf342c89e99) ## Custom layout (HTML and CSS) If the predefined templates are too restrictive, select the **Custom layout** template when you create the in-app. It renders your own HTML and CSS, so you control the whole layout — several buttons, input fields, custom fonts, animations, and anything else you can build on a web page. > [!WARNING] > > **Custom layout requires SDK version 2.14.1 or higher**, on both iOS and Android. > > In-apps built on this template are rendered in a WebView inside your app, and the code that opens that WebView ships with the SDK. On earlier SDK versions the in-app is not delivered to the device at all: nothing is displayed and no error is shown in the app. > > This cannot be worked around from the Maestra interface. Changing the in-app settings, its targeting, or its display frequency does not lower the requirement — the only fix is to update the SDK in your app. Before you plan a campaign on this template: 1. Find out which SDK version your app is built with. This is not visible in the Maestra interface — ask your mobile development team, or open the customer card of a test device and click **All devices** to see the version that device reports. 2. If the version is below 2.14.1, use a predefined template instead. A modal window with an image is available on all SDK versions, and a snackbar requires 2.8.0 or higher. To get a result close to your mock-up, export the design as an image and use it as the in-app image. > [!NOTE] > > Once your app is updated to SDK 2.14.1 or higher, a Custom layout in-app reaches only the customers who install the new app version. Customers still running an older build will not see it. > [!NOTE] > > If you do not see the **Custom layout** template in the template list, it is not enabled for your project yet — contact your Maestra manager. ## General settings ![04\_create\_in-app](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_create_in-app.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=e305333cd13eaff13477598960f31363) In this section, you can add more mobile apps that will display the in-app message. In its current version, the block shows the launch date and the end date when the in-app campaign was stopped manually. In the next platform update, you will be able to configure specific launch / end dates. ## Targeting In the targeting section, you can select the target audience of your in-app campaign. To set this up, add: * A [Scheduled ](/segments/how-to-filter-customers-into-segments)or [Static](/segments/how-to-create-a-static-customer-segment) customer segment * The geographical location of customers down to a country, region, or city. Their locations are determined by their IP addresses. This feature is available for SDK v. 2.3.0 and later. ![05\_create\_in-app](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_create_in-app.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=c27ddbf9440295af4a8cc07ce1c3d88a) If you leave all the fields blank, the system will display your in-app message to all app users. Once you have set up your in-app campaign, click **Launch** in the upper right corner. The campaign will be launched in your app within 5 minutes. You can also edit in-app messages after they have been launched. # How in-app messages work Every customer will see each particular in-app message only once. If a customer has been filtered into multiple target segments of different in-app campaigns, they will see one in-app message per session. The messages are displayed in a random order as it is not currently possible to prioritize campaigns over one another. **The same in-app message will not be displayed twice to the same customer.** Once you stop your in-app campaign, it will not be shown to users — even those who have not seen the campaign yet. The customer can close an in-app message by tapping the cross or somewhere outside the message. You can find information on displayed in-app messages and whether the customer tapped it in their customer profile. ![06\_create\_in-app](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_create_in-app.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=e5027f150518801a3e7b9ed7bdca0b86) Anonymous views and taps are stored for 30 days. If an in-app message was shown to an anonymous user and this user then logs in, the platform will record this information in the user’s customer profile (both the fact that it was displayed and whether it was clicked or not). However, if the customer logs in in more than 30 days, the system will not record this information in the customer’s profile. # Free In-App to Collect Subscriptions to Push Notifications Source: https://help.maestra.io/mobile-app-personalization/free-in-app-to-collect-subscriptions-to-push-notifications In-apps are notifications sent to users within the app. It is not required that customers subscribe to or allow your notifications for you to display in-apps. Therefore, you can use them to increase the number of subscribers to mobile push notifications: encourage users to allow notifications with a free in-app, and when clicked, show them a system window with a request to allow push notifications. ![00\_freein-app(1)](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_freein-app-281-29.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=bff22715864652c2f5998630f97bdfd7) # Before creating an in-app To use the flow, the following conditions are required: * enabled [mobile push notification](https://developers.maestra.io/docs/mobile-sdk) module; * [integration with the mobile app](https://developers.maestra.io/docs/in-app) to display in-apps * the app with SDK 2.9.0 or higher. There is no limit to the number of free in-apps. ## Subscribing to push notifications and allowing them To receive mobile push notifications, the user must: * fit the filter “Push notifications can be sent — yes”:- allow push notifications;- have an active device token; * subscribe to the mobile push notification channel. ![01\_freein-app](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_freein-app.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=1be7711c5b3a2fa693231a09bf122bf3) In-apps can collect **push notification permissions**. However, for users to subscribe to your marketing campaign, you need to use other mechanics: scenarios, operations, and import. # How to create an in-app to collect subscriptions 1. Go to “**Campaigns**” → “**Campaign Manager**”: ![02\_freein-app](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_freein-app.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=abd7ff1152fe3dfe53fb1f723e1c1483) 2. Click “**Add Campaign**” → “**In-App**”: ![03\_freein-app](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_freein-app.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=ed4a0f2ad4a155e69043f1fc8185a927) 3. Select the folder to save the in-app and the app to display it: ![04\_freein-app](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_freein-app.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=da26d75bc5f568a71b144fdee36e7b32) 4. Select a template type: ![05\_freein-app](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_freein-app.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=eb466d42126435c5b78d3464dc0ed5dc) * **Modal window with a subscription prompt** - Occupies no more than 3/4 of the screen. - Completely blocks the screen and any other activity in the app until the user closes the notification. - Closes by clicking on the cross. ![06\_freein-app](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_freein-app.gif?s=b6078fbfe6bd8fe23062e348bd65be33) * **Snackbar with a subscription prompt** - Occupies no more than 1/3 of the screen. - Appears from the top or bottom. - Looks like a push notification. - Does not block the screen or any activity in the app. - Closes with a swipe or a click on the cross. ![07\_freein-app](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_freein-app.gif?s=99e5258c24430aca80b9cd61cac0f5af) 5. Specify the in-app name: ![08\_freein-app](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_freein-app.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=5516809f128da64bf1924fcfe63a6c90) 6. Set up the in-app appearance. Settings are different for each template. ### The “Modal Window” template ### Appearance:- Link to an image. There is a default image. You can replace it with your own vertical image with an approximate aspect ratio of 4:3. If your image is wider, it will be cropped evenly on the sides to 4:3. * **Behavior after clicking on the in-app**: ​ - Default behavior. The system will automatically open a window or the app settings with the option to allow notifications (depending on whether the system has already shown the system window to the user).- Payload is JSON code to send JSON data to the app. If you specify plain text instead of code, it will be copied to the user’s clipboard when clicked. * **Cross to close the notification**: ​ - You can set the color, size, thickness, and position of the cross. ![09\_freein-app](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_freein-app.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=24f91893421a7ceb81d3519d8810e8c1) ### The “Snackbar” template * **Appearance**: ​- Link to an image. There is a default image.You can replace it with your own horizontal image with an approximate aspect ratio of 1:3. If the image is narrower, it will be cropped evenly at the top and bottom to 1:3.- Position on the screen: top or bottom.- Indents from screen borders: transparent borders approximately 5% of the screen width on each side. * **Behavior after clicking on the in-app**: ​ - Default behavior. The system will automatically open a window or the app settings with the option to allow notifications (depending on whether the system has already shown the system window to the user). - Payload is JSON code to send JSON data to the app. If you specify plain text instead of code, it will be copied to the user’s clipboard when clicked. * **Cross to close the notification**: ​ - You can set the color, size, thickness, and position of the cross.- If you do not want the cross in the snackbar, click on the icon to remove it. ![10\_freein-app](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_freein-app.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=09b67460a55f07bccf41dffa2d720442) 7. You can add more mobile apps to display the in-app in the general settings: ![11\_freein-app](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_freein-app.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=27dc29751a1a73804758395abc1a3add) 8. Target the audience by specifying the following parameters: ​ * [recalculated](/segments/how-to-filter-customers-into-segments) or [static](/segments/how-to-create-a-static-customer-segment) customer segment; * operation that will trigger the in-app when invoked; * number of logins to the application—for example, if the request to allow push notifications appears immediately after the app is installed or during the app onboarding, show the in-app starting with the second login or later to avoid overspamming a new user; * display screen—a category or product page to display; * geographical location of users (country, region, city), based on IP address. Available with SDK 2.3.0 or higher. ![32](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/32.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=0be5bcd213c6cb2691c91acd4882d890) The system will display the in-apps without targeted audience to all users of the selected apps who have prohibited notifications. > [!WARNING] > > Users will not see the same in-app twice on the same device.However, if there are several suitable apps installed, users will see the in-app in all of them. 9. Launch the in-app: ![12\_freein-app](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_freein-app.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=cc0d0e88ff2a0ad0f3d73ada199d1fed) # How to evaluate the in-app efficiency ### Calculate the subscription conversion rate Giving push notification permission does not create any actions in the customer card. Therefore, check if the mechanics worked for the user by adding [tags](/customers-orders-and-products/actions/action-template/how-to-create-an-action-template) from the scenario: ![13\_freein-app](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_freein-app.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=75e1c4fbe15ddf5579a8ecdb53fbbfc4) To do this, add the following [flow](/flows/what-are-flows-and-how-do-you-use-them): 1. Launch—by clicking on the in-app. Select the auto-generated template: ![14\_freein-app](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_freein-app.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=13706123ed5530763c4c91a8306d8a02) 2. Set up the waiting time for the user to perform the target action: ![15\_freein-app](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/15_freein-app.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=b6394a5a37bec7aa7cac2fadb7b26f68) 3. Verify that push notifications can now be sent to the user: ![16\_freein-app](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/16_freein-app.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=d2086a7d38e45dd91fea87c34a6d2538) 4. If “Yes” appears next to the filter, add a tag to the user: ![33\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/33_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=05e038c4261b09d6b9298ebf37ef92b6) The flow is ready to run: ![34\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/34_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=f2d76eb8c22e40b68c5c9e4bcf3ef7ac) To determine the conversion rate related to subscriptions from the in-app, calculate the ratio of the customers who allowed notifications to the total number of times the in-app has been displayed: ![17\_freein-app](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/17_freein-app.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=65161a269d6615a05c2abd534f58ce65) ![18\_freein-app](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/18_freein-app.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=275311bb45e3559a6e188862ab598551) # A/B testing To compare how efficient several campaigns are at attracting subscribers, do the following: 1. Create a static segment to distribute the recipients of each in-app.2. Add users to these segments with a scenario.3. Set up in-apps to test.4. Set up scenarios to track push notification permissions.5. Calculate the conversion rates for each in-app. Let’s take a closer look at these steps: 2. Add a [static segmentation](/segments/how-to-create-a-static-customer-segment) by customer with segments for each in-app to test: ![19\_freein-app](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/19_freein-app.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=9bee7bdd35bb47ba6e1a0ee28ac58ee3) 2. Add a [flow](/flows/what-are-flows-and-how-do-you-use-them) to distribute the recipients among the test segments: 2.1. Launch—once a day for the users who are not subscribed to notifications: ![20\_freein-app](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/20_freein-app.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=924647322dbcf5bc59b537da10323d48) 2.2. Split the flow into two equal parts: ​ ![21\_freein-app](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/21_freein-app.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=f18897e7346911c0e0ab27f60a42aca0) 2.3. Add customers from each branch to the appropriate segment: ![22\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/22_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=90bed08b32c5ae402a759214d3f733c0) ![23\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/23_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=d7d65d2349463965ee89034f88070180) 2.4. Configure the flow to run once for each customer: ![24\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/24_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=1c72e73814cfd515d9e4e3224317fe82) The flow is ready to run. 3. [Add in-apps](/mobile-app-personalization/creating-an-in-app-message) to test and specify the appropriate segment in the targeting settings. The first in-app: ![25\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/25_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=a7b4b841e647d643919806a33cbee889) ![26\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/26_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=cb179ead7b039e815d2aa4a00547a00c) The second in-app: ![27\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/27_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=333b6ac979a8e105aef7d2b66bb6a601) ![28\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/28_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=302706b0f45253c26e9600f0c2f7ffee) 4. Add a scenario to track push notification permissions according to the guide above. The only difference is that the scenario is launched by clicking on each of the two in-apps: ![29\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/29_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=2179370d8b78bbac9f1870cfb167e966) The scenario and in-apps are ready to run. 5. Compare the conversion rates of the two campaigns to determine which in-app is more attractive. To determine the conversion rate related to subscriptions from the in-app, calculate the ratio of the customers who allowed notifications to the total number of times the in-app was displayed.Look at the possible filters for the first in-app: ![30\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/30_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=a3466c7e3dd9029d5fbf92fa152cd9ff) ![31\_freein-app](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/31_freein-app.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=01ce44845c3fdb0ff9a12e00fc55dc46) # How to Display an In-App Message Anywhere in Your App Source: https://help.maestra.io/mobile-app-personalization/how-to-display-an-in-app-anywhere-in-the-app In-app messages don't have to appear only when the app launches. You can show them on any screen of your app, or in response to a customer's action — for example, when they tap a button or navigate to another screen. > [!NOTE] > > This option is available in SDK versions 2.5.0 and later for both iOS and Android. ## How to set up an in-app message to display anywhere in your app **1. Identify where the in-app message should appear** Decide on the screens or moments in your app where the in-app message should be shown. If you have both iOS and Android apps, it's best to pick the same locations in both versions so the experience stays consistent across platforms. **2. Create an operation in Maestra** Create a custom operation in Maestra. * At the integration points, specify the apps the operation applies to. * For the step **Customer — Unauthorized — Find existing**, search by **device**. **3. Set up operation calls in your mobile app** Configure your mobile app to call the operation following the developer integration instructions. **4. Create the in-app message** Create the in-app message. In the **Targeting** block, choose the operation that should trigger the in-app message. > [!NOTE] > > The dropdown only lists operations that are available for every app selected in the general in-app settings. Click **Add filter**, then **Save** in the block. After that, the in-app message is ready to launch. It will be shown to all customers when they start the mobile app, but only after any onboarding screens have finished. # How to Limit How Often In-Apps Show to Customers Source: https://help.maestra.io/mobile-app-personalization/how-to-limit-in-app-frequency In-app messages are a great way to reach customers while they're actively using your mobile app — but showing too many of them at once can quickly become overwhelming and hurt engagement. Maestra lets you control how often in-apps appear to each customer, so you can keep messaging helpful instead of noisy. ## Requirements In-app frequency control requires **SDK version 2.14.0 or higher**. > [!NOTE] > > Customers on earlier SDK versions will only see one in-app per session by default, regardless of the limits you configure. ## Where to find the settings Go to **Settings → Communication Optimization → In-App Frequency Control**. ## Available frequency limits You can configure three types of restrictions per customer. Each limit applies independently — an in-app must satisfy all active limits before it displays. ### 1. Per-session limit The maximum number of in-apps a customer can see within a single app session. ### 2. Daily limit The maximum number of in-apps a customer can see within a 24-hour period. ### 3. Minimum interval between in-apps The minimum amount of time that must pass between two consecutive in-app displays. The interval is measured from the moment a customer closes one in-app to the moment the next one appears. You can set the interval in: * Seconds * Minutes * Hours * Days ## How frequency limits interact with targeting If an in-app can't be shown because of an active frequency limit (for example, the interval hasn't elapsed yet), it won't be queued. Instead, the in-app will only display the next time the customer re-qualifies for it based on its targeting conditions. ## Priority in-apps For critical communications that need to reach customers regardless of frequency limits, you can mark an in-app as **priority** in its general settings. Priority in-apps bypass all active frequency controls and display even if the customer has already hit their session limit, daily limit, or minimum interval. Use this sparingly — reserve it for time-sensitive or business-critical messages where overriding the customer's experience is justified. ## Applying the changes After configuring the limits, click **Save** to apply them. The new settings take effect immediately for customers on supported SDK versions. # How to Target In-Apps by Product or Category Source: https://help.maestra.io/mobile-app-personalization/how-to-target-in-apps-by-product-or-category This article explains how to set up in-app messages that show on specific screens of your mobile app, targeted by product or product category, using Maestra Platform. ## Overview You can target in-app messages to appear when a customer views a particular product or category screen in your mobile app. This lets you deliver highly contextual messages — such as promoting a discount when a shopper opens a specific category, or surfacing a related offer on a particular product page. To make this work, Maestra needs to know which screen the customer is currently viewing. Your mobile app communicates this by calling product-view and category-view operations. Once those operations are wired to your mobile app integration point, you can use screen-based conditions when targeting an in-app. ## Setup steps **1. Check that view operations are configured** Make sure the product and category screens in your mobile app trigger the corresponding view operations. Each view operation must list your mobile app integration point under **For integration points**. Without this, Maestra cannot associate the operation with the mobile app and the operation will not be available for in-app targeting. **2. Connect the operations to your mobile app integration point** Go to **Integrations** and open your mobile app integration point. In the integration point settings, select the product-view operation and the category-view operation from the dropdown lists. Save your changes. Once saved, Maestra knows which operations represent "customer is viewing a product" and "customer is viewing a category" in your app. **3. Create the in-app and pick the target integration point** Create a new in-app message and select your mobile app integration point as the target. If the product-view or category-view operations have not been configured yet for that integration point, you will see a warning. Add the operations following step 2, and the screen targeting option will become available. **4. Configure screen targeting** In the in-app targeting settings, add the **Display screen** condition. You can target by: * **Category** — by category name or by category external ID. * **Product** — by customer segment (for example, customers who viewed a specific product) or by a specific product ID. Once your conditions are set, save the in-app. ## How it works at runtime When a customer opens a product or category screen in your mobile app, the app calls the corresponding view operation. Maestra checks the operation against the conditions on your in-app. If the screen matches the targeted category or product, the in-app is displayed to the customer immediately. > [!NOTE] > > Targeting only works when the view operations are correctly mapped to the mobile app integration point. If in-apps are not showing as expected, start by verifying the operations on the integration point and confirming that the mobile app is sending the view calls with the correct product or category identifiers. ## Targeting options at a glance | Target by | Match on | | - | - | | Category | Category name or category external ID | | Product | Customer segment or specific product ID | # Why an In-App Is Not Showing Source: https://help.maestra.io/mobile-app-personalization/why-an-in-app-is-not-showing Below are the most common reasons an in-app might not display to a customer, along with how to fix each one. ## SDK version is lower than 2.14.0: only one in-app per session Customers running an SDK version below 2.14.0 can see only one in-app per session. Check the SDK version on the customer card by clicking **All devices**. If the version is lower than 2.14.0, check whether the customer was already shown another in-app during the session. An outdated SDK version can occur in the following cases: 1. **Your app uses an old version of the SDK.** This information is not visible in the Maestra interface. To find out which SDK version is used in your app, reach out to your mobile development team. If the version is below 2.14.0, update the SDK in your app. 2. **The customer has an old version of your app installed.** You can launch an "Update the app" campaign to prompt them to update. ## The in-app uses the Custom layout template and the SDK is below 2.14.1 In-apps built on the **Custom layout** template (your own HTML and CSS) are rendered in a WebView inside your app, which requires **SDK version 2.14.1 or higher** on both iOS and Android. On earlier SDK versions such an in-app is not delivered to the device at all — it does not display, and nothing is reported in the app. Predefined templates keep working on the very same device, which is why only the custom one looks broken. **How to check** 1. Open the in-app and look at the template it uses. If it is **Custom layout**, this section applies. 2. Find out the SDK version your app is built with: ask your mobile development team, or open the customer card of a test device and click **All devices**. **How to fix** * Update the SDK in your app to 2.14.1 or higher. After the update the in-app reaches only the customers who install the new app version. * If you need to launch sooner, rebuild the campaign on a predefined template. A modal window with an image is available on all SDK versions, and a snackbar requires 2.8.0 or higher — export your design as an image and use it as the in-app image. > [!WARNING] > > Changing the campaign settings does not help here: the requirement comes from the template, not from the settings. Clearing the **Priority form** checkbox, changing the display frequency, or removing a display delay will not make a Custom layout in-app appear on SDK 2.14.0 or lower. ## Display limit has been reached **In-App frequency control** lets you cap how many in-apps a customer can see per session or per day. 1. Check whether the setting is enabled under **Settings → Communication optimization → In-App frequency control**. 2. If the setting is enabled and the form does not have the **Priority form** checkbox selected, count how many in-apps the customer has been shown during the period. Adjust the settings if needed. ## Minimum interval between in-apps has not passed The minimum interval is counted from the moment the customer closes one in-app until the next one appears on screen. Check whether the setting is enabled under **Settings → Communication optimization → In-App frequency control**. Adjust the settings if needed. ## The customer minimized the app when the in-app should have appeared If the in-app uses a delayed trigger, it will not display to a customer who minimized the app and then reopened it. > [!NOTE] > > **Example** > > The pop-up condition is set to "10 seconds after entering the app." The customer opens the app, leaves after 9 seconds, and reopens it 5 seconds later. In this case, the in-app will not appear. # Custom Colors and Fonts in Pop-ups and Embedded Blocks Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/custom-colors-and-fonts Match your pop-ups and embedded blocks to your brand by setting custom colors and fonts. The form editor accepts the same color values and font families you already use on your website, so the form blends in instead of looking like a third-party widget. ## Pick the right colors You have two reliable ways to find the exact colors your site uses: * **Use a color-picker browser extension** like Eye Dropper. Open your website, click the extension, and hover over the element whose color you want. You'll get the exact HEX value. * **Check your brand book.** If your company has documented brand colors, use the HEX values listed there. Once you have the color values, open the form in the editor and go to **Form colors**. Paste the HEX values into the corresponding fields (background, button, text, border, etc.). The preview updates immediately so you can compare it against your site. > [!TIP] > > Sample a handful of colors from your site at once — primary background, accent, button color, body text color, and border color. That covers almost every field in the form's color settings. ## Use your website's font To make the form's text match your site, copy the exact `font-family` value from your website and paste it into the form's font settings. **1. Inspect a text element on your website** Right-click a text block on your website and choose **Inspect** (in Safari, choose **Inspect Element**). The browser developer tools will open with that element selected. **2. Find the font-family value** In the **Styles** panel, locate the `font-family` property for the element. Copy the entire value, including every fallback font and any quotation marks. For example: `"Helvetica Neue", Helvetica, Arial, sans-serif` **3. Open the form in the editor** Go to the form you want to update and click **Edit**. **4. Enable custom fonts** In **Fonts: general settings**, turn on **Use custom font**. **5. Paste the font-family value** Paste the value you copied into the custom font field and save. > [!NOTE] > > The custom font may not render correctly inside the Maestra editor preview — the editor doesn't always have access to fonts hosted on your domain. To see the real result, open the form's test link on your website. The font will render correctly there because the browser pulls it from the same source your site does. > [!WARNING] > > If your font is loaded from a private CDN or requires authentication, it may not load on the form even though the `font-family` value is correct. In that case, host the font in a publicly accessible location or use a Google Fonts equivalent as a fallback. # Guidelines for Coding Pop-ups and Embedded Forms Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/guidelines-for-coding-pop-ups-and-embedded-forms Each form’s layout depends on the form type, i.e., whether it collects contacts or clicks. In this guide, we’ll go over some common principles for both layouts. ## HTML ### General guidelines * You can start your layout with `
`, with `"popmechanic-reset"` and `id="popmechanic-form"` classes. The `` or `
` tags are not required. * The `"popmechanic-main"` class wraps the main screen of the subscription form. * Any element that is used to close a form should use `"data-popmechanic-close"`. No additional scripts are needed: ``` `
Header
Text
×
` ``` ### Forms that collect contacts As contact collection forms send some customer details to Maestra, they should contain at least one **input field** and one **confirmation button**: ``` `
` ``` More on input and validation fields In your contact collection form, you can add a **Thank You screen** and wrap it in the `"popmechanic-thankyou"` class: ``` `
Thank you!
An email was sent to you
×
` ``` **Ready-to-use example:** ``` `
Header
Text
×
Thank you!
An email was sent to you
×
` ``` ### Data submission forms If you need to count clicks on your embedded form’s URL or button, add `"data-popmechanic-submit"` to this URL/button. ``` `` ``` If you have several buttons with this parameter in your form, all click counts will be aggregated in the report. **Ready-to-use example:** ``` `
Header
Text
×
` ``` ## CSS styles ### Style parameters to fit various screen sizes Avoid using media requests to create a pop-up form. Maestra’s script uses the `"popmechanic-desktop"`, `"popmechanic-tablet"`, and `"popmechanic-mobile"` classes in the pop-up container to adapt it to different devices. Classes reserved for styles: * \#popmechanic-form — all the form screens; * .popmechanic-mobile — the mobile version of a screen; * .popmechanic-tablet — the desktop form version; * .popmechanic-thankyou — the "Thank You For Subscribing" screen. To create custom CSS form styles, place `#popmechanic-form` at the beginning of the selector as shown below: ``` ` #popmechanic-form a { display: block; } #popmechanic-form .popmechanic-close { font-size: 20px; } .popmechanic-mobile #popmechanic-form { width: 300px; } .popmechanic-mobile #popmechanic-form img { width: 200px; }` ``` ### Adding custom fonts to your form Recommended: ``` `@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin"); @import url("https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin-ext");` ``` ### Adding a video to your form Limit your GIF animation by 2 MB. The video can be used as a background for the form: ``` `` ``` For more information on how to handle video in your forms refer to How to Create a Pop-Up with a Video. ### Multiscreen forms When you design a multiscreen form or a form with a Thank You screen, hide all the screens except the first one. ``` ` #popmechanic-form .popmechanic-thankyou { display: none; } .popmechanic-success #popmechanic-form .popmechanic-main { display: none; } .popmechanic-success #popmechanic-form .popmechanic-thankyou { display: block; } ` ``` ``` ` #popmechanic-form .second-screen { display: none; }` ``` **Example:** The form button styles are described below ``` ` #popmechanic-form .popmechanic-button { width: 110px; height: 30px; background: #4fad00; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 30px; cursor: pointer; outline: none; border: none; text-decoration: none; -webkit-transition: all .3s; transition: all .3s; } #popmechanic-form .popmechanic-button:hover { color: #4fad00; background: #fff; } .popmechanic-mobile #popmechanic-form .popmechanic-button { width: 120px; height: 25px; font-size: 12px; line-height: 10px; }` ``` # How to Configure Form Targeting Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/how-to-configure-form-targeting Targeting controls who sees a pop-up or embedded block, where on the site it appears, and under what conditions. Use it to make sure the right offer reaches the right visitor — and never appears for someone it shouldn't. You can combine conditions from several categories. A form only displays when all of its targeting rules are satisfied. ## Audience targeting Show or hide the form based on who the visitor is. * **Customer segment.** Target a specific customer segment — for example, "subscribers who haven't opened an email in 30 days" or "VIP customers." * **A/B test variant.** Show the form to one variant in an experiment, so you can compare conversion against a control group. * **Cart contents.** Trigger based on what's in the visitor's cart — total value, specific products, number of items, or whether the cart is empty. > [!NOTE] > > Segment targeting is evaluated when the page loads. If a visitor's segment changes during the session (for example, they add an item that puts them into a "high-value cart" segment), call `PopMechanic.update()` to re-check segment membership and re-evaluate which forms should show. ## Page targeting Limit the form to specific pages of your site. * **Page type** — homepage, product page, category page, cart, checkout, or any custom type your site reports. * **Specific URL** — show the form only on a single page or set of pages. * **Product or category page** — target by product ID, category ID, or product attribute. * **Element on the page** — require a specific CSS selector to be present, so the form only appears when a particular element exists. > [!TIP] > > When matching by URL, use the **contains** operator rather than **starts with**. The protocol (`http://` vs `https://`) and the `www` prefix can vary between visits, and **contains** matches both. For example, use `contains "/products/sneakers"` instead of `starts with "https://www.example.com/products/sneakers"`. ## Contextual conditions Match the visitor's current context, not their profile. * **Geography (by IP).** Limit the form to visitors in a specific country, state, or city — for example, only show a free-shipping pop-up to visitors in New York and California. * **Time and date.** Show the form only during certain hours, days of the week, or date ranges (useful for flash sales). * **Device type.** Target desktop, tablet, or phone separately. * **Traffic source.** Show the form based on the referrer — for example, only for visitors arriving from a specific ad campaign. * **Visit count.** Trigger based on whether it's the visitor's first session or their N-th return. ## Interaction history Adjust display based on how the visitor has interacted with this or other forms in the past. * When a specific form was last **shown**. * When a specific form was last **closed**. * When a specific form was last **submitted**. Use this to avoid showing the same pop-up twice, or to chain forms — for example, show a follow-up survey only to visitors who submitted the lead-capture form last week. > [!NOTE] > > Form interaction history is stored in the visitor's browser local storage and is tied to a specific site. If the visitor clears their browser data or switches devices, their history resets. ## CSS selectors for embedded blocks Embedded blocks need a CSS selector to know where on the page to render. To find the right selector: **1. Open your site in the browser** Navigate to the page where you want the embedded block to appear. **2. Inspect the target location** Right-click the area where the block should go and choose **Inspect**. **3. Copy the selector** In the developer tools, right-click the element and choose **Copy → Copy selector**. **4. Paste it into the form's targeting settings** Paste the selector into the embedded block's placement field. ## Examples of common targeting setups * **Abandoned cart pop-up.** Cart is non-empty + visitor has been inactive for 30 seconds + form hasn't been shown in the last 7 days. * **Promotion announcement.** Show on the homepage to all visitors, once per session, only during the promotion's date range. * **Product recommendations embedded block.** Product page + visitor is in the "frequent shopper" segment + cart total is under \$50. * **Welcome offer for new visitors.** First-session visitors + on the homepage + exit intent triggered. > [!WARNING] > > Product-based targeting requires that your site sends cart contents and viewed-product data to Maestra. If this integration isn't set up yet, see the website personalization integration guide before configuring product targeting. # How to Create Embedded Form Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/how-to-create-embedded-form > [!NOTE] > > To work with cart data and viewed pages, a full integration is required according to the [setup guide](https://developers.maestra.io/page/website-personalization). # Adding an Embedded Form 1. Go to **Customer Data Platform→ Customers**. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-27--11_58_17.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=d27622b74e3c633a87ed890e6c298e2e) 2. Click “**Create Campaign**” → “**Personalization**” → “**Embedded form**”: ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-27--12_01_44.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=9d92d3e83c8767873cb2f5fabd67e054) 3. Select a folder and click “**Create**”: ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-27--12_03_49.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=0f6d819e5c608152823b8e74b69dfb73) 4. Choose a template: ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-27--12_12_34.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=89a631b2e3d4e6f291eb73422342de0b) 5. Select a website: ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-27--12_15_28.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=a9f7bcd5f0640d791e609922217be246) 6. Enter a name: ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-27--12_20_01.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=2f80712a6aa80d842c033a9c4e71f5fb) ## Form Design In the “Embedded Form” section, click “Edit”, then click “Edit” under “Template design”. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-29--13_35_28.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=3d6c29bf96a3f8f0c7d314d46122b5a2) **Basic Settings** Configure the appearance and placement of the embedded block: ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-29--13_38_45.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=ed2819838b5ced3a2d37497a180453ad) On the template editing page, you can also preview how the embedded form appears on different devices and edit the HTML and CSS code if needed. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-29--13_41_03.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=2400f0d3c3517f9d1355b25f841cbe02) ## New Templates Use the new embedded block templates for more flexible customization. * Choose a template labeled “New”: ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-29--13_43_08.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=87374281c9a4c0fc8a390be181d9aa2f) * Add the required elements to each screen using the “Add element” button (1), reorder them as needed (2), and remove any unnecessary ones (3). ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2026-01-29--13_47_23.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=4189ad65ed7bf70288d667676f62dc70) * To edit an element, click it in the screen element list or directly in the preview: ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--13_51_10.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=a33bf35a87efbb67900b947f948eab7f) > [!NOTE] > > In the new templates, you can configure different settings for each text element on different screens, including font style, size, color, and text alignment. **Device-Specific Design** By default, the design of most elements is automatically synced and optimized for mobile. Disable syncing on the **Desktop** tab. To apply unique settings for your phone, switch to the **Phone** tab. ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--13_55_12.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=5354257ef13b3c4725828acb4b88b88d) * **Go to “General Settings” to update:** * The overall form design (font, width and height, close button, and more) * The form placement on the website * Data submission settings (phone input format, autocomplete, user data storage) ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--14_00_24.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=757db860baa049381514d39035f9a067) > [!NOTE] > > In the new template settings, you can set a unified form height for all screens. This is useful when screens contain different types of content and the height may otherwise change when switching between them. In templates with multiple screens, you can enable saving entered data when the second screen is closed. In this case, all fields on **the second screen become optional**. To do this, go to **General Settings → Data submission → User Data** and enable the option: ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--14_04_06.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=4eb04c76e80ba7c82fdf754f7d80c736) We recommend using this setting only if the first screen includes a required privacy policy, allowing the user to explicitly consent to data sharing and receiving communications. ## Targeting Specify who should see the form and under what conditions. You can limit the audience by segment, traffic source, and more. For example, show the form only to segment of customers whose birthday is in 7 days: ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--14_07_56.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=d04283a99f2442c5a82b6eccebcc4bd8) Learn more about targeting in this article. ## General Settings ## What happens after form was filled ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--14_18_44.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=1d5e64fab7a93701b12025fca254fc00) This section defines what should be done with the data collected in the form: add it to the database, send it to analytics, or trigger a custom method. The available actions depend on the selected template. Learn more in this article. ## How to Add a Form to Your Website **Placement Settings**: * Embed content block into page selector: * Embed form placement: before/after element, at the start/at the end of the block, replace content of the block, replace block * Selector ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--14_20_52.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=70faff22afab90a873677152c24d7bab) * Place content block manually Copy the code and paste it into the appropriate location in your website template. ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--14_22_34.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=5c9ac2ef7c0b8a293eab7f0c9172167f)**How to Choose a Selector** ​A **CSS selector** is the element to which specific CSS properties will be applied. 1. Install the **[Selector Gadget](https://chromewebstore.google.com/detail/selectorgadget/mhjhnkcfbdhnjickkkdbjoemdmbfginb)** extension for Google Chrome. It significantly simplifies finding the correct selector. 2. Go to the website where you want to place the form and choose the location on the page where it should appear. 3. Activate Selector Gadget, hover your cursor over the desired area, and copy the selector.Common selector types: * **`.someClass`** — targets any element with the class `someClass` * **`#someId`** — targets the element with the `someId` ID.You can find a detailed guide on selecting the right selector in the article. ​If you need to use different selectors for desktop and mobile for the same form, use the following in the selector field: ``` `.popmechanic-desktop [selector_for_desktop], .popmechanic-mobile [selector_for_mobile]` ``` where you need to replace `[selector_for_desktop]` and `[selector_for_mobile]` with the corresponding selectors. # Check how the form appears on the website. To preview the form on the website, make sure the Placement section is configured. This means either embedding a div block on the site (Place content block manually) or selecting display by selector and specifying the required selector (Embed content block into page selector). Click “Form Preview” and follow the link under “Your address”: ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--15_22_12.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=d76a1e11b1e224f627071dc3abd27cfa) ​Check the embedded form on your site ​ ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/--2026-01-29--15_22_56.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=9e2f2064afbc2cb6bdb617ba81b1bad2) # Launch If the form meets the requirements, launch it. ![](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/-D0-A1-D0-BD-D0-B8-D0-BC-D0-BE-D0-BA--D1-8D-D0-BA-D1-80-D0-B0-D0-BD-D0-B0-2026-01-29--D0-B2-14_32_32.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=6cee88c5eb16c2c18bdde9cad5de7a1d) # How to Create Pop-ups Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/how-to-create-pop-ups **To Create a pop-up:** 1. Go to **Campaigns Manager→ Create campaign** 2. **Personalization → Pop-up**. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups.png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=f8ca5212b3a45ba0a31367307d73fdda) Choose a folder and click **Create**. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Pop-ups-\(1\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=fda82b14f64303d316bcb824747d9d5e) > [!WARNING] > > **To work with product list data and browsed products, full integration is required.** > > Follow the instructions to configure the settings: [https://developers.maestra.io/page/website-personalization](https://developers.maestra.io/page/website-personalization) ## **Choose a template** Next, choose a template depending on the purpose of the pop-up. You can use it to: * Generate leads * Increase conversion & average order value * Notify visitors * Conduct a survey ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(3\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=51e286b80c2ef29890f35d31046fc2fe) After choosing a template, specify your website and click the **Proceed** button. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups--2819-29.png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=90ae86a100dd379ad1ac88cae150fe03) ## **Edit the template** Once the pop-up is created, click the **Edit** button **.** ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups--2820-29.png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=f3f5d284d57f6bbc605b8b3cfb2acdec) On the Pop-up editing page click the **Edit** button. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Pop-ups-\(21\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=1d6b9a24ddf856aa6213c814adfbced7) The form editing window is displayed below. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Pop-ups-\(22\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=a99a65c0365d0e9302316137f591ba55) **Here you can:** * Adjust the pop-up’s **position** on the website (Form position **button)** * Check how the pop-up **displays on** **different devices (Desktop/Tablet/Phone)**. * Configure **background color, icons, border and field sizes, fonts, privacy policy** and other visual options. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Pop-ups-\(23\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=a1ad410c0c8c617bd34b33dd1cfe1753) * Edit the pop-up directly in HTML code (\<>Code button) * Configure the main screen and the confirmation screen after the customer completes the action. * Preview the form on your website. ​ ## **New pop-up templates** New templates allow you to create forms that are different for each device. They are also easier and more intuitive to configure. You can find them in the gallery, where they are marked with a "New" label. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Pop-ups-\(24\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=c5d300b9d06404db84ca7e7cb5e234db) * ### Pop-up editing pageWhen you open a page, you’ll see a list of elements included in the form. You can move, delete, or add new ones. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Pop-ups-\(25\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=51f80f99a37eb4bcdb56c4094565a7d8) In addition to basic input fields, new templates also support adding: * timer * promo code field * option buttons * close button ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-to-Create-Pop-ups-\(26\).png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=d1e3e36c4fe0869a6a907fccbfbe4ee0) * ### **Editing elements**To edit an element, click it in the list or on the preview. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(27\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=a90c66d8340ba9ea73f7cda0ea39e3e8) > [!NOTE] > > New templates allow you to customize each text element for different screens, including font style, size, color, and alignment. * ### **Device-specific design**By default, most elements automatically sync and adjust to the mobile version.To set custom properties, disable synchronization and configure settings for the specific device. ## ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(28\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=416f6c3d2897a545a5e8696554bd40bc) ### **General form settings**To adjust general form settings (font, close button, layout, etc.), go back to the General settings page. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(29\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=f86b1dd6510000a0bfb58d053279b770) ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(30\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=b47a10b31bc41fe8346dc190e12654ea) > [!NOTE] > > With the new templates, you can set a fixed height for all screens. This is useful when screens contain different content and their heights vary. * ### **Saving data when closing the second screen**For templates with multiple main screens, you can configure the form to save entered data when the second screen is closed.In this case, all fields on the second screen become optional. To enable: open **General settings desktop→ Data transfer → User data** and activate the option. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(31\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=3ed21f563a4ad7c1698b34d5744fdaa2) We only recommend using this option if the first screen **includes a mandatory privacy policy checkbox** to ensure that the user has explicitly consented to data transfer and communications. ## **Targeting** Use filters to define who will see the pop-up and under what conditions.You can preconfigure a customer segment and show (or hide) the form for that segment. > [!NOTE] > > For example, here’s a filter for customers whose birthday is in 7 days (segment created in advance) > > ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/How-2Bto-2BCreate-2BPop-ups-2B-2832-29.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=1540bfaf48baf9209c17794652387ddb) ## General Settings In **General settings**, specify: * Website * Days of the week for display * Frequency of appearance * Whether the form is **priority**. If checked, the pop-up will appear even if frequency limits per visitor are set in the “Pop-up frequency control” section. > [!NOTE] > > For example, these are the settings for a form that will be displayed daily, but will only pop up once for each user during a visit to the site (and form is a priority). > > ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(33\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=56707b3a4ef7b5db3a4d4f2c311ab51d) ## **Display conditions** Next, set the pop-up display conditions: ​1. By set of conditions * After Exit intent (cursor leaves the active page area) - only for desktop campaigns. * After page scrolled for X % * After a certain time spent on the page. * After visiting a defined number of pages. * After being inactive for period of time * On a specific action performed on the website.2. Immidiately after falling into target group 3. After API-request or click on call-to-action button > [!NOTE] > > For example, these are the settings for a form that will be displayed for a customer who has visited two pages of the site in total. > > ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(34\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=36e07b05bb0cc1908aceb335307bad26) > [!WARNING] > > Page views and visits are counted starting from the moment the popup script is installed on the site. If installed yesterday, data is only available from that point. ## **What happens after form was filled & Custom JS-calls** ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(35\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=ab09c12c7284e53b88842725f67db32d) In this section, define what happens with the submitted data: * Create new customer or edit an existing one * Add an action * Transfer events to Google Analytics * Call custom JS code. The available actions depend on the selected template. ## **How to test the pop-up on your website** Click Form preview. Insert your website link and open it. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(36\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=d2eb7ffedc1897b808ebbb50146a4086) You will then see the pop-up live on your site. ![](https://mintcdn.com/maestraio/PP-BodS5bFF14NYd/images/imported/How-to-Create-Pop-ups-\(37\).png?fit=max\&auto=format\&n=PP-BodS5bFF14NYd\&q=85\&s=8c659420327eabb00d0557ff98ee4efc) # How to Pass Form Data to Your Project Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/how-to-pass-form-data-to-your-project When a visitor submits a pop-up or embedded form, the data has to flow into the right places in your Maestra project — customer profile fields, action data, custom fields, and so on. This article explains how to map form fields to Maestra and how to choose between the two transmission methods. ## How form fields work Every input on the form has a **system name** — the key Maestra uses to identify the field when sending data. There are two kinds of fields: * **Standard fields** (email, name, phone) come with built-in system names. You don't have to assign them. * **Custom fields** require you to set the system name yourself. The system name is what links the form input to a custom field on the customer profile or to a parameter on a customer action. Field types you can add to a form: * Text * Date * Number * Dropdown * Toggle buttons (single-select) * Checkboxes (multi-select) Some templates also expose extra fields specific to the template's use case — for example, a "prize selected" field on a giveaway template, or a rating field on a feedback template. ## Two ways to pass data to Maestra You have a choice between a configuration-based approach and a code-based approach. Most teams should start with **Basic steps** and move to **Custom JavaScript** only when they hit a limit. ### Basic steps Use the form's built-in action blocks to send data. No code, no pre-created actions. What you can do with basic steps: * Create a new customer * Update an existing customer * Issue a customer action How it works: in the form settings, you select the action you want and map each form field to the corresponding Maestra field via a dropdown. Maestra handles the data transmission for you. When to use it: * You're capturing standard customer data (email, name, phone, simple custom fields). * You don't need to run any logic on the data before sending it. * You haven't already defined a custom operation that you need to reuse. ### Custom JavaScript Use a pre-created Maestra operation and a JavaScript call to send data. More flexible, but requires more setup. What it adds beyond basic steps: * Send data to any pre-defined operation, including ones that run complex logic. * Reference any field on the form using percent-sign syntax. * Compose data dynamically — concatenate fields, transform values, add conditional payloads. How it works: you reference form fields and contextual values by wrapping their system names in percent signs. Examples: * `%email%` — the email the visitor entered * `%name%` — the name they entered * `%customs.fields_list.fieldname%` — a custom field by its system name * `%utm_source%` — the UTM source from the page URL You compose a JavaScript payload using these placeholders and send it through an `operation` call to Maestra. The operation must already exist in your project. When to use it: * You need to send data to a custom operation that has parameters basic steps don't expose. * You need to transform or combine fields before sending. * You're integrating with downstream systems that expect a specific payload structure. ## Contextual data you can send Beyond what the visitor types, Maestra exposes useful context you can include in either method: * UTM parameters (`%utm_source%`, `%utm_medium%`, `%utm_campaign%`, etc.) * Current page URL * Visitor geolocation (when available) * Form name * Submission timestamp in ISO 8601 format These can be attached to the customer profile, to the action being issued, or passed into a custom operation as parameters. ## Configuration walkthrough ### Basic steps example You have a giveaway form with two fields: email and a "prize selected" dropdown. **1. Assign system names** Email uses the built-in `email` system name. For the dropdown, set the system name to `prize_selected`. **2. Open the post-submission settings** Go to **What happens after the form is submitted** and add an **Issue an action** block. **3. Pick the action** Choose the action defined in your project for giveaway entries — for example, **Entered summer giveaway**. **4. Map the fields** Map the form's `email` to the customer's email and `prize_selected` to the action's prize parameter. Maestra sends the data on submission, no JavaScript required. ### Custom JavaScript example Same form, but you want to send the data to a pre-created operation called `WebsiteGiveawayEntry` that also expects the page URL and UTM source. In the form's **Run custom JavaScript** block, configure the call to your operation with these parameters: * `email` → `%email%` * `prizeSelected` → `%customs.fields_list.prize_selected%` * `pageUrl` → `%page_url%` * `utmSource` → `%utm_source%` The operation receives the full payload and can use any of those values in flows, segments, or reports. > [!NOTE] > > The custom JavaScript approach requires that the operation already exists in your Maestra project before the form can send data to it. Create the operation in **Settings → Operations** first, then reference it from the form. > [!WARNING] > > System names must match exactly between the form and the destination. A typo in a custom field's system name will cause the data to be silently dropped — Maestra won't know which field to write to. After configuring the form, submit a test entry and verify the data lands where you expect. # How to Set Up a Pop-up Trigger Button Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/how-to-set-up-a-pop-up-trigger-button A pop-up trigger button is a small, persistent element fixed to the side of your site that opens a pop-up when a visitor clicks it. It's useful when you want the form available on demand — for example, a "Get 10% off" tab that floats on every page, or a "Contact us" button that opens a feedback form. ## When to use a trigger button Use a button instead of (or in addition to) automatic display when: * The offer should always be reachable, not just triggered once per session. * You don't want to interrupt the visitor with an unsolicited pop-up. * The pop-up should reopen after being closed, so visitors can return to it. ## Open the button settings Open your pop-up in the editor. In the form settings, enable **Show trigger button**. A new configuration section appears with the button's options. ## Configure the button Setting up the trigger button takes six steps. **1. Choose a template** Pick one of the preset button templates. Each one gives you a different default layout — text-only, icon-only, or icon plus label. **2. Customize the appearance** Adjust the button to match your brand: * Upload a custom icon or image * Set the button size * Choose the background and text color * Set the font and font size **3. Choose the position** Place the button where you want it on the screen — left edge, right edge, bottom-left, bottom-right, and so on. You can set a different position for desktop, tablet, and phone using the device-preview icons at the top of the editor. **4. Set display conditions (behavior settings)** Decide when the button is visible: * **Always show to all visitors.** The button appears on every page where the form's targeting matches. * **Show after the pop-up is closed.** The button only appears once the visitor dismisses the pop-up — useful as a way to reopen it. * **Show only when targeting conditions match.** The button respects the same targeting rules as the pop-up itself. **5. Set the pop-up to open on click** In **Trigger conditions**, choose the option that opens the pop-up when the button is clicked. Without this, the button will display but won't do anything. **6. Preview on your site** Use **Preview on site** to test the button. Preview mode ignores targeting and trigger conditions, so you can verify the button's position and appearance even on pages where it normally wouldn't show. > [!TIP] > > For a button that should always be available — like a permanent "Subscribe" tab — pair **Always show to all visitors** with a pop-up that has no automatic trigger condition. The pop-up only opens when the button is clicked, never on its own. > [!NOTE] > > Device-specific positioning matters more than it looks. A button anchored to the bottom-right of a desktop screen often overlaps a chat widget or a mobile bottom navigation bar. Always preview on every device before publishing. # Actions After a Form Is Submitted Source: https://help.maestra.io/personalization/pop-up-forms-and-embedded-blocks/post-submission-actions When a visitor submits a pop-up or embedded form, Maestra can do a lot more than just store the data. You can create or update a customer profile, issue an action, subscribe the visitor to web push, send the event to analytics, or run custom JavaScript. Most forms combine several of these. You configure post-submission behavior in the form's **What happens after the form is submitted** section. ## Create a new customer When a new visitor submits the form, Maestra creates a customer profile from the data they entered. Common fields: * Name * Email * Phone * Gender * Date of birth * Subscription preferences (channel and mailing topic) > [!WARNING] > > At least one contact identifier (email or phone) and at least one subscription must be selected for customer creation to work. Without an identifier, Maestra has no way to recognize the customer in future sessions. ## Edit an existing customer When the visitor is already known (for example, they're logged in or were identified by a previous form submission), Maestra updates their profile instead of creating a duplicate. You have two update modes: * **Fill empty fields only.** Maestra adds the submitted values to fields that are currently blank, but does not overwrite existing data. Use this when you don't want to risk replacing accurate customer data with whatever was typed into the form. * **Update specific fields.** Maestra overwrites the selected fields (such as gender or any public custom field) with the form's values. Use this for fields the customer is explicitly correcting, like updating their birthday or preferred name. ## Issue an action You can attach a predefined customer action — for example, "Submitted newsletter form" or "Entered giveaway" — whenever the form is completed. The action can carry data values from the form, which become available in flows, segments, and reports. This is the right tool when: * You want to trigger a flow off the form submission. * You want to count submissions in a segment ("customers who entered the giveaway in the last 30 days"). * You want to track form-specific metadata that doesn't belong on the customer profile. ## Subscribe to web push A form can trigger the browser's native permission request for web push notifications. When the visitor clicks **Allow**, Maestra registers the subscription against their profile and can send web push campaigns to them going forward. > [!TIP] > > Don't pair the web push permission with a form that already asks for an email. The double request feels heavy. Use a dedicated, lightweight pop-up whose only job is the push opt-in. ## Send events to analytics Maestra can transmit form events to your analytics tools so you can track conversions in the same place as the rest of your site metrics: * **Google Analytics** events * Other analytics platforms via custom JavaScript Configure the event name and category in the form settings. The event fires when the form is submitted. ## Run custom JavaScript For anything the built-in actions don't cover, you can run custom JavaScript at four moments in the form's lifecycle: * **On render** — when the form is added to the DOM but not yet visible. * **On display** — when the form becomes visible to the visitor. * **On submit** — when the visitor submits the form. * **On close** — when the visitor dismisses the form without submitting. Typical uses: * Fire a custom event into a third-party tag manager. * Apply a promo code to the cart automatically after submission. * Redirect the visitor to a thank-you page. * Trigger animations or other on-page changes. ## Data sent with every submission In addition to the fields the visitor fills in, Maestra automatically attaches contextual data to each submission: * UTM parameters from the page URL * Referrer URL * Visitor geolocation (when available) * Custom data the form is configured to collect This data is associated with the customer profile, so it's available later in segments, flows, and reports — for example, you can build a segment of "customers who first subscribed via the `summer-sale` UTM campaign." > [!NOTE] > > The available post-submission actions depend on the form template you chose. Lead-capture templates expose the full set; survey templates may not include web push or customer-creation options because those don't fit the use case. # How to Create an Operation to Send Recommendations to a Site Source: https://help.maestra.io/personalization/product-recommendation/how-to-create-an-operation-to-send-recommendations-to-a-site To show personalized recommendations on your website — in a widget, a banner, or any custom block — your site needs a way to request them from Maestra Platform. That's what an **operation** does: it exposes a recommendation algorithm as an integration point your front end can call. This page walks through creating that operation step by step. ## Step 1: Add an operation Open the campaign where the operation should live and choose **Add → Operation**. ## Step 2: Fill in the operation's main parameters In the operation editor, set: * **Name** — a human-readable name for the operation. * **System name** — keep the auto-generated value or set your own. This is the identifier your front end will reference. * **For service** — choose **Operation V3**. * **For integration points** — pick the integration point your site uses. * Enable the **Operation requires deviceUUID** checkbox. The recommendations engine needs the device identifier to match the customer to their browsing history. ## Step 3: Configure the operation steps The operation runs as an ordered sequence of steps. For a site-recommendation operation you need two. ### Step 1 — Customer Choose **Anonymous → Get existing**, with lookup by device. This tells Maestra Platform to find the customer record tied to the current `deviceUUID`, falling back to an anonymous profile if no identified customer exists. ### Step 2 — Recommendations Choose **Get personal recommendations by algorithm** and pick the algorithm type that fits your placement. If your widget needs extra product fields beyond the defaults (for example, a custom badge or an inventory flag), enable the **Receive additional product fields** option. ## Available recommendation types When you configure the recommendation step, Maestra Platform groups the available algorithms into three families: > [accordion] Get personal recommendations > > Ten algorithm variations that personalize results to the individual customer — including personal recommendations, event-based personal recommendations, popular products in viewed categories, recently viewed products, related products to the last order, similar products to those viewed, and manual category mappings. > [accordion] Get popular by category > > Returns the bestsellers list for a specified category. Use this on category pages, where the placement context tells you which category to show. > [accordion] Get recommendations for products > > Three algorithms that recommend products in relation to a given product or list of products — useful for product detail pages and "frequently bought together" widgets. ## Step 4: Save the operation Click **Add** to save. Your front end can now call the operation through the integration point you selected, passing the `deviceUUID` and any product or category context the chosen algorithm requires. > [!NOTE] > > The operation runs on every request, so make sure your front end calls it only where it actually needs recommendations — page load for a widget, for example, not on every interaction. # How to Insert Recommendations Into an Email Source: https://help.maestra.io/personalization/product-recommendation/how-to-insert-recommendations-into-an-email Once you've built a recommendation algorithm in Maestra Platform, you can drop its output into any email template using the algorithm's templater parameter. The parameter returns a collection of product objects, which you iterate over to render names, prices, images, and links. > [!TIP] > > If you use Maestra's drag-and-drop email builder, you can add a recommendation block visually — no template code required. The steps below cover the case where you're writing the template by hand. ## Find the templater parameter **1. Open the algorithm** Go to **Personalization → Product recommendations** and open the algorithm you want to use in the email. **2. Copy the templater parameter** On the algorithm page, find the **Templater parameter** field. This is the variable name you'll reference in the email template. **3. Open the email template** Open the email where you want the recommendations to appear and paste the parameter into the template where the recommendation block should render. > [!NOTE] > > The recommendation parameter is a **collection**. You always access individual products through a `for ... endfor` loop — there's no direct way to address a single item without iterating. ## Example: list eight recommended products The simplest case — print the name and price of every recommended product in a vertical list. Replace `recommendations` with your algorithm's templater parameter. ```liquid theme={null} {% for item in recommendations %}

{{ item.Name }} — {{ item.Price }}

{% endfor %} ``` Inside the loop, each `item` exposes the product's fields — name, price, URL, image, and any custom fields included in the algorithm output. ## Example: lay out products in a grid (two per row) To render the same eight products in a two-column table instead of a flat list, use the `tableRows()` helper to chunk the collection into rows. ```liquid theme={null} {% for row in recommendations | tableRows(2) %} {% for item in row %} {% endfor %} {% endfor %}

{{ item.Name }}

{{ item.Price }}

``` `tableRows(2)` groups the products into rows of two. Change the number to control how many products appear per row. ## Check whether recommendations exist For some customers — typically those without enough behavior history — an algorithm may return an empty collection. Use the `IsEmpty` function to detect this case and fall back to alternative content, such as a popular-products block. ```liquid theme={null} {% if recommendations | IsEmpty %} {% for item in popularProducts %}

{{ item.Name }} — {{ item.Price }}

{% endfor %} {% else %} {% for item in recommendations %}

{{ item.Name }} — {{ item.Price }}

{% endfor %} {% endif %} ``` > [!TIP] > > The fallback pattern is the most reliable way to guarantee an email never goes out with an empty recommendation block. Pair a personalized algorithm (which can return empty) with a popular-products algorithm (which almost always returns results) and you're covered. # How to Create a Custom Recommendation Preset Source: https://help.maestra.io/personalization/product-recommendation/recommendation-presets/how-to-create-a-manual-mapping-algorithm Custom Recommendation Presets let you define complementary products through category pairs instead of leaning on statistical models. Once you say Category A should recommend items from Category B, every product in Category A gets paired with the item from Category B most often purchased alongside it. You can also layer on similarity parameters — price, manufacturer, or any other product attribute. Maestra Platform offers two variations, both created the same way. > [card] Custom Recommendation Preset > > Category-based pairings for a specific product. > [card] Custom Post-purchase Recommendation Preset > > Category-based pairings applied to each item in a customer's most recent order. ## Custom Recommendation Preset Lets you set complementary products based on category relationships, for a specific item. Once you specify that Category A should recommend items from Category B, each product in Category A gets paired with the item from Category B most often purchased alongside it. Higher-priced items get more recommendations; lower-priced items get fewer. * Best used on product detail pages. * Works for identified and anonymous customers. * Available through the API (recommendation widget) and email. **Good to know:** * **Refresh:** once a day. * **Limit:** up to 5 instances per project. * **Segment:** can be limited to a product segment. * **Auto-filters:** checks the product's area; product external systems match by default. ## Custom Post-purchase Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. The Custom Recommendation Preset applied to each product in the customer's most recently updated order, with recommendation volume proportional to price. Recalculates in real time based on the customer's orders. * Best used for "Thanks for your order" and "Next purchase suggestion" flows. * Identified customers only. * Available through the API (recommendation widget) and email. **Good to know:** * **Refresh:** real time. * **Limit:** up to 1 instance per project. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. ## How to set it up **1. Open Product recommendations** Go to **Content → Product recommendations** and click **Add mechanic**. **2. Choose the preset** Pick **Custom Recommendation Preset** or **Custom Post-purchase Recommendation Preset**. **3. Name the preset** Enter a name and click **Continue**. **4. Configure general settings** * **Recommend for products** — the scheduled segment recommendations are built for (optional). * **Recommend from** — the scheduled segment recommendations are drawn from (optional). * **Recommend only from the same external system** — enabled by default; can be turned off. You can also configure **Manufacturer exclusions** in the corresponding block. **5. Set up category mapping** Select the category to map, then configure pairs and the number of recommended products per pair. When you specify that products from Category B should be recommended for Category A, each product in Category A is matched with the product from Category B that's most often purchased together with it. **6. Specify mapping settings** Mapping settings define how recommendations are sorted in the output. If **Price** is listed first and **Manufacturer** second, products matching both rank higher — and then are sorted by popularity in orders and views. Select the checkbox in the **Exact match** block to require an exact match on a field. For example, tick "Color" and only blue products will be recommended for blue products. > [!NOTE] > > The more fields you select, the fewer recommendations you'll get. Too many constraints can leave you with none at all. * **Primary category** — the category closest to the product. **7. Launch the preset** Activate it. The Product recommendations page shows the preset's status and the timestamp of its last update. # How to Create a Personal Recommendation Preset Source: https://help.maestra.io/personalization/product-recommendation/recommendation-presets/how-to-create-a-personal-recommendations-algorithm The Personal Recommendation Preset is a machine-learning preset that predicts which product a customer is most likely to buy next. It leans on each customer's own behavior, the behavior of similar shoppers, and the catalog itself to surface the most relevant items for every person. Maestra Platform offers two variations — a standard version that refreshes once a day, and an event-based version that recalculates in real time. Pick the one that matches the placement. > [card] Personal Recommendation Preset > > Refreshes once a day. Best for email placements. > [card] Event-based Personal Recommendation Preset > > Refreshes in real time as customers browse. Best for on-site placements. ## Personal Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see either recommendations calculated earlier (if the preset is more than 90 days old) or a fallback to the Bestsellers preset. Predicts which product a customer is most likely to buy next. * Best used for "Next order suggestion" flows and win-back mechanics — placements that don't need an in-session reaction. * Identified customers only. * Available through the API (recommendation widget) and email. **Good to know:** * **Signals used:** the customer's views, orders, and list activity, plus behavior from similar customers (Look-A-Like). * **Refresh:** once a day. * **Limit:** up to 5 instances per project. * **Segment:** can be limited to a product segment. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. ## Event-based Personal Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see either recommendations calculated earlier (if the preset is more than 90 days old) or a fallback to the Bestsellers preset. Works just like the standard Personal Recommendation Preset, but recalculates in real time as customers browse, add to cart, or take other actions on your site. Also supports anonymous customers. * Best used for the homepage, account page, 404 pages, and search results. * Works for identified and anonymous customers. * Available through the API (recommendation widget) and email. **Good to know:** * **Refresh:** real time. * **Limit:** up to 1 instance per project. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. ## How to set it up **1. Open Product recommendations** Go to **Content → Product recommendations** and click **Add mechanic**. **2. Choose the preset** Pick **Personal Recommendation Preset** or **Event-based Personal Recommendation Preset**, depending on the placement. **3. Name the preset** Give it a clear name so you can find it later in widgets, emails, and reports. Click **Continue**. **4. Configure general settings** To draw recommendations from a specific slice of your catalog, choose a scheduled segment of products. Leave it empty to recommend from the full catalog. **5. Launch the preset** Activate it. The Product recommendations page shows the preset's status and the timestamp of its last update. > [!TIP] > > Pair the Personal Recommendation Preset with a fallback (like the Bestsellers preset) so customers with too little behavioral data still see a relevant set of products. # How to Create a Bestsellers Preset Source: https://help.maestra.io/personalization/product-recommendation/recommendation-presets/how-to-create-a-popular-products-algorithm Bestsellers presets surface your top-selling products to every kind of shopper — identified or anonymous, in email, on-site widgets, or personalized blocks. Popularity is scored first by order volume, then by view count as a tiebreaker, so items customers actually buy float to the top. There are three presets to pick from, each tuned for a different placement. > [card] [Bestsellers](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets#bestsellers) > > Site-wide top sellers across your full catalog. > [card] [Category bestsellers](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets#category-bestsellers) > > Top sellers calculated separately for each category. > [card] [Bestsellers from previously viewed categories](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets#bestsellers-from-previously-viewed-categories) > > Top sellers from the categories a customer browsed in their last session. See [Types of recommendation presets](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets) for the details on each preset — refresh cadence, limits, and how they pick products. ## How to set it up **1. Open Product Recommendations** Go to **Content → Product Recommendations → Create recommendations preset**.\\ ![Unknown 2 1](https://mintcdn.com/maestraio/SPXzgnlryp-yVCRk/images/Unknown-2-1.png?fit=max\&auto=format\&n=SPXzgnlryp-yVCRk\&q=85\&s=33fde58307481c6145a2092f805bb11d) **2. Choose the preset and Click Create** Pick **Bestsellers**, **Category bestsellers**, or **Bestsellers from previously viewed categories** depending on where you'll show recommendations.\\ ![Screenshot 2026 08 04 At 16 13 04](https://mintcdn.com/maestraio/SPXzgnlryp-yVCRk/images/Screenshot-2026-08-04-at-16.13.04.png?fit=max\&auto=format\&n=SPXzgnlryp-yVCRk\&q=85\&s=34c4fb1518a5d101888371c65d5ebfe8) \*\*3. Name the preset and Click Create \*\* Give it a descriptive name (for example, `Homepage bestsellers`) so you can find it later, then continue.\\ ![Screenshot 2026 08 04 At 16 15 03 1](https://mintcdn.com/maestraio/SPXzgnlryp-yVCRk/images/Screenshot-2026-08-04-at-16.15.03-1.png?fit=max\&auto=format\&n=SPXzgnlryp-yVCRk\&q=85\&s=6f11d0976a17536436c26db20acb8263) **4. Configure settings for your chosen preset** Settings vary slightly by preset. **Bestsellers** * **Recommend from** — optionally restrict the source pool to a product segment. Leave empty to draw from your full catalog. * **Consider product actions for the past** — the time window used to score popularity, between **1 and 180 days**. Shorter windows react to current trends; longer windows produce more stable results. **Category bestsellers** * **Recommend from** — optionally restrict the source pool to a product segment. To get recommendations for categories, process `Product.Categories.Take().Recommendations` as a collection. **Bestsellers from previously viewed categories**\ \ Recommend from — optionally restrict the source pool to a product segment. Leave empty to draw from your full catalog. * **Recommend from** — optionally restrict the source pool to a product segment. Leave empty to draw from your full catalog. * \*\*Consider product actions for the past \*\*— the time window used to score popularity, between 1 and 180 days. Shorter windows react to current trends; longer windows produce more stable results. **5. Start the preset** Click **Start**. The preset appears in your list with its current status and the timestamp of its last update.\\ ![Screenshot 2026 08 04 At 16 49 46](https://mintcdn.com/maestraio/ddQJAX_rfabd1Efs/images/Screenshot-2026-08-04-at-16.49.46.png?fit=max\&auto=format\&n=ddQJAX_rfabd1Efs\&q=85\&s=cf6f88e6d3d85e6ea7326403c4186d7f) # How to Create a Related Products Recommendation Preset Source: https://help.maestra.io/personalization/product-recommendation/recommendation-presets/how-to-create-a-related-products-algorithm Related Products presets surface complementary items — the things customers buy together with what they're already looking at. Maestra Platform offers three variations, each tuned for a different placement. > [card] Related Products Recommendation Preset > > Complements to a single product. > [card] Often Purchased With Items in Product List Recommendation Preset > > Complements to each item on a customer's product list. > [card] Post-purchase Cross-sell Recommendation Preset > > Complements to each item in the customer's most recent order. Related Products recommendations are built from customer actions with products. The target product needs **at least 100 actions** for the preset to produce personalized recommendations — otherwise it falls back to bestsellers. The preset counts actions with products from the segments in **Recommend for products** and **Recommend from**, over the window set in **Take into account actions with products for**. If none of the products in those segments have enough actions, the preset stops and a warning appears on the project. To fix it, widen the time window or switch to a different preset that fits the campaign. ## Related Products Recommendation Preset Surfaces complementary products and builds recommendations for a specific item. Higher-priced items get more recommendations; lower-priced items get fewer. * Best used for "Frequently bought together" and "Customers also bought" modules. * Works for identified and anonymous customers. * Available through the API (recommendation widget) and email. **Good to know:** * **Signals used:** same-order co-occurrence, plus category and attribute co-purchase patterns. The ML model can predict recommendations even for products with no order history yet. * **Refresh:** once a day. * **Limit:** up to 5 instances per project. * **Segment:** can be limited to a product segment. * **Auto-filters:** checks the product's area; product external systems match by default. ## Often Purchased With Items in Product List Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. The Related Products preset applied to each item on a customer's product list. The number of recommendations scales with product price — more for expensive items, fewer for cheaper ones. Recalculates in real time based on the customer's orders. * Best used for abandoned Cart, Favorites recommendations, and on-site Cart modules. * Works for identified and anonymous customers. * Available through the API (recommendation widget) and email. **Good to know:** * **Refresh:** real time. * **Limit:** up to 3 instances per project. * **Auto-filters:** checks the product's area and brand (multi-brand projects). ## Post-purchase Cross-sell Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. The Related Products preset applied to each item in the customer's most recently updated order, with recommendation volume proportional to price. Recalculates in real time. * Best used for "Thanks for your order" and "Next order suggestion" flows. * Identified customers only. * Available through the API (recommendation widget) and email. **Good to know:** * **Refresh:** real time. * **Limit:** up to 1 instance per project. * **Auto-filters:** checks the product's area and brand (multi-brand projects). ## How to set it up **1. Open Product recommendations** Go to **Content → Product recommendations** and click **Add mechanic**. **2. Choose the preset** Pick the variation that matches your placement. **3. Name the preset** Enter a name and click **Continue**. **4. Configure general settings** * **Take into account actions with products for** — the window for counting order signals, from 1 to 180 days. * **Recommend for products** — the scheduled segment recommendations are built for (optional). * **Recommend from** — the scheduled segment recommendations are drawn from (optional). * **Brand** (for multi-brand projects) and **Product list** — used for the Often Purchased With Items in Product List Recommendation Preset. * **Recommend only from the same external system** — enabled by default; can be turned off. You can also configure **Manufacturer exclusions** in the corresponding block. For the Often Purchased With Items in Product List Recommendation Preset, select a product list as well. **5. Launch the preset** Activate it. The Product recommendations page shows the preset's status and the timestamp of its last update. ## Usage example Say you want to surface related products from the "Scarves" segment for the "Coats" segment (system name `Coats`). 1. Create a recommendation using the **Related Products Recommendation Preset**: * Select the segments in the settings. * Launch it. * You'll get the parameter `Product.Recommendations.Soputstvuyuschieprodukti`. 2. Insert the parameter into your email. Use `Take()` to limit the segment size so the email can render even when the segment is large. Sample markup for this example, which outputs the name of the recommended product: ``` @{for prod in Products.GetBySegment("Coats").Take(5)} @{for item in prod.Product.Recommendations.Soputstvuyuschieprodukti.Take(2)} ...${item.Name}... @{end for} @{end for} ``` # How to Create a Similar Products Preset Source: https://help.maestra.io/personalization/product-recommendation/recommendation-presets/how-to-create-a-similar-products-algorithm Similar Products presets surface items that closely match a specific product — or the products a customer's been looking at lately. You can prioritize attributes like price or manufacturer and require exact matches on the fields that matter, so what you recommend actually feels like a swap. There are three presets to pick from, each tuned for a different placement. > [card] [Similar products](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets#similar-products) > > Items similar to a single product. > [card] [Similar to product list](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets#similar-products-to-product-list-recommendations) > > Items similar to each product on a customer's list. > [card] [Similar to recently browsed](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets#products-similar-to-recently-browsed-products) > > Items similar to what a customer viewed in their last session. See [Types of recommendation presets](/personalization/product-recommendation/recommendation-presets/types-of-product-recommendation-presets) for the details on each preset — refresh cadence, limits, and how they pick products. ## How to set it up **1. Open Product Recommendations** Go to **Content → Product Recommendations → Create recommendations preset**.\\ ![Open Product Recommendations](https://mintcdn.com/maestraio/-QthrjH1T20fLuj_/images/recommendation-presets/bestsellers/step-1-open.png?fit=max\&auto=format\&n=-QthrjH1T20fLuj_\&q=85\&s=d50416a59d23823b070f0c7348b9c34a) **2. Choose the preset and Click Create** Pick **Similar products**, **Similar to product list**, or **Similar to recently browsed** depending on where you'll show recommendations. **3. Name the preset and Click Create** Give it a descriptive name (for example, `PDP similar products`) so you can find it later, then continue.\\ ![Name the preset](https://mintcdn.com/maestraio/-QthrjH1T20fLuj_/images/recommendation-presets/bestsellers/step-3-name-preset.png?fit=max\&auto=format\&n=-QthrjH1T20fLuj_\&q=85\&s=0889205f8cce61b0320bda8cba287b42) **4. Configure General settings for your chosen preset** Settings vary slightly by preset. **Similar products** * **Recommend for products** — the target segment the preset applies to (optional). * **Recommend from** — the source segment recommendations are drawn from (optional). * **Suggest by price** — recommend all products, only cheaper ones, or only more expensive ones (optional). * **External product systems match** — checked by default; uncheck to also recommend products from other external systems. **Similar to product list** * **Recommend for products** — the target segment the preset applies to (optional). * **Recommend from** — the source segment recommendations are drawn from (optional). * **Brand** (for multi-brand projects) and **Product list** — pick the list to build recommendations for. * **Suggest by price** — recommend all products, only cheaper ones, or only more expensive ones (optional). * **External product systems match** — checked by default; uncheck to also recommend products from other external systems. **Similar to recently browsed** * **Recommend for products** — the target segment the preset applies to (optional). * **Recommend from** — the source segment recommendations are drawn from (optional). * **Suggest by price** — recommend all products, only cheaper ones, or only more expensive ones (optional). * **External product systems match** — checked by default; uncheck to also recommend products from other external systems. **5. Configure similarity settings** Similarity parameters set the sort order for recommendations. Maestra Platform first keeps only candidates that pass the parameters you mark as **Exact match**, then ranks the rest by similarity. See [Similarity logic](#similarity-logic) below for the ranking rules. > [!NOTE] > > The more fields you select, the fewer recommendations you'll get. Too many constraints can leave you with none at all. **6. Set vendor restrictions (optional)** Add a restriction if you want to keep specific vendors out of another vendor's recommendations — for example, never recommend Vendor B's items alongside Vendor A's products. Restrictions are one-way. Set two rules if you want the block to work both ways. **7. Start the preset** Click **Start**. The preset appears in your list with its current status and the timestamp of its last update.\\ ![Start the preset](https://mintcdn.com/maestraio/-QthrjH1T20fLuj_/images/recommendation-presets/bestsellers/step-5-start-preset.png?fit=max\&auto=format\&n=-QthrjH1T20fLuj_\&q=85\&s=d32a31f3d0deb4594ab3938a1aa13167) ## Similarity logic Similarity settings drive both filtering and ranking. When any parameters are ticked as **Exact match**, Maestra Platform first picks products that match the source product on all the ticked parameters, then ranks the filtered result by similarity. When nothing is ticked, it goes straight to similarity ranking. ### Exact match filtering For every parameter you tick as **Exact match**, candidates must match the source product on that parameter. What counts as a match depends on the parameter type: * **Price / old price** — only items within ±30% of the source product's price are kept. * **Manufacturer and other single-value parameters** — values must match exactly. * **Multi-value parameters and categories** — the candidate's value set must overlap with or be contained in the source product's value set. The remaining candidates then move into similarity ranking. ### Similarity ranking After exact match filtering (if applied), remaining candidates are sorted by similarity in the order you list the parameters. Products that match more parameters — starting from the top of the list — rank higher. 1. **Price and old price** * Products within ±33% of the source price rank higher than products farther out. * If the source product has no price, candidates without a price rank higher than those with one. * Products with similar prices are shuffled randomly within the algorithm's output. 2. **Manufacturer or another single-value parameter** * Products with matching values rank higher than products with mismatched values. * If the source product's value is empty, candidates with an empty value rank higher than candidates with a filled value. 3. **Multi-value parameters and category levels 1, 2, 3** * Products are ranked by how many values they share with the source product. > [!NOTE] > > **Example:** If you list **Price** first and **Manufacturer** second (without ticking either as **Exact match**), products matching both rank at the top, then products matching only Price, then products matching only Manufacturer. > [!TIP] > > Once the preset is live, the recommendations page will display its status and last updated time. > > ![Recommendations page showing preset status](https://mintcdn.com/maestraio/-QthrjH1T20fLuj_/images/recommendation-presets/preset-live-status.png?fit=max\&auto=format\&n=-QthrjH1T20fLuj_\&q=85\&s=ed1dfb4cc7310e86b50160ebe77a8d20) # Tips for Using Recommendation Algorithms Source: https://help.maestra.io/personalization/product-recommendation/tips-for-using-recommendation-algorithms A few practical answers to the most common questions about how recommendation algorithms behave in real campaigns — what to show inactive customers, how to keep products from repeating, and how to make sure an algorithm doesn't quietly stop refreshing. ## Which recommendations to send to inactive customers Maestra Platform only calculates recommendations for customers who have been active in the last 90 days. For customers who fall outside that window, the behavior depends on the algorithm: **Algorithms that fall back to popular products** These algorithms keep working for inactive customers by surfacing generally popular items: * Personal recommendations * Popular products * Event-based personal recommendations **Algorithms that return previously generated or empty results** These algorithms rely on recent customer behavior, so for inactive customers they either return the last result they generated or nothing at all: * Popular products in viewed categories from the last session * Related products to the last order * Similar products to those viewed in the last session * Manual category mapping * Recently viewed products > [!TIP] > > For win-back and reactivation campaigns, use **personal recommendations** or **event-based personal recommendations**. They guarantee that the email never lands in an inactive customer's inbox with an empty or stale recommendation block. ## How to avoid duplicate products ### Within a single recommendation widget If you use Maestra's embedded recommendation widget, deduplication happens automatically — the widget filters duplicates for you. If you build the widget yourself through the API, you need to handle deduplication on the front end. ### Across multiple widgets on the same page Turn on **Filter by other recommendations on the page** in the widget's main settings. Maestra Platform will make sure no product appears in more than one widget on that page. ### Within a single campaign Maestra Platform can't automatically deduplicate across recommendation blocks inside the same email. To prevent overlap, configure the algorithms to draw from **non-overlapping product segments** — for example, one block from "New arrivals" and another from "Discounted items." ## An algorithm stopped after 20 days of inactivity If an algorithm isn't called for 20 days in a row, Maestra Platform stops recalculating it. The recommendations it returns become stale, and eventually the algorithm goes idle. To keep an algorithm warm even when you're not actively using it: **1. Create a test flow** Build a flow that sends a test email to an internal service address. **2. Call the algorithm on a schedule** Use an operation inside that flow to call the algorithm periodically. As long as it's called at least once every 20 days, Maestra Platform keeps it on the recalculation schedule. > [!NOTE] > > You only need to make sure the algorithm is requested — the test email doesn't have to be sent to real customers. A daily or weekly test send to your own team address is enough. # Types of recommendation presets Source: https://help.maestra.io/personalization/product-recommendation/types-of-product-recommendation-presets Before you build a preset, take a look at the visual map — it'll help you pick the right recommendation type for the channel and customer segment you're working with. ## Which preset to choose ### Site recommendations ![Site recommendations for the homepage](https://mintcdn.com/maestraio/VCCkFXLsRzEZ7wti/images/recommendation-algorithms/recommendations-site-homepage.svg?fit=max\&auto=format\&n=VCCkFXLsRzEZ7wti\&q=85\&s=75640b885eaa962b3565908b8626cd6b) ![Site recommendations for category, product, cart, and 404 pages](https://mintcdn.com/maestraio/VCCkFXLsRzEZ7wti/images/recommendation-algorithms/recommendations-site-pages.svg?fit=max\&auto=format\&n=VCCkFXLsRzEZ7wti\&q=85\&s=21e6381b0575935ae23046f79baa007f) ### Checkout (POS) recommendations ![Checkout recommendations by customer type](https://mintcdn.com/maestraio/VCCkFXLsRzEZ7wti/images/recommendation-algorithms/recommendations-pos.svg?fit=max\&auto=format\&n=VCCkFXLsRzEZ7wti\&q=85\&s=e9b51d27a6b5ec3fba05dde284ddec7d) ### Call center recommendations ![Call center recommendations by customer type](https://mintcdn.com/maestraio/VCCkFXLsRzEZ7wti/images/recommendation-algorithms/recommendations-call-center.svg?fit=max\&auto=format\&n=VCCkFXLsRzEZ7wti\&q=85\&s=5523d25cfc1608515c46d7e341f46b06) ### Campaign recommendations ![Campaign recommendations by customer type](https://mintcdn.com/maestraio/VCCkFXLsRzEZ7wti/images/recommendation-algorithms/recommendations-campaigns.svg?fit=max\&auto=format\&n=VCCkFXLsRzEZ7wti\&q=85\&s=337e7d6655d85921f761f7969d0eecae) ## How to add a recommendation preset To create a preset, head to **Content** → **Product Recommendations** → **Create recommendations preset**. ![Unknown 2](https://mintcdn.com/maestraio/mjURxyq2x-c2o5d8/images/Unknown-2.png?fit=max\&auto=format\&n=mjURxyq2x-c2o5d8\&q=85\&s=78cd48a021b6c1368a45184215c2449c) > [!NOTE] > > Real-time presets recalculate on top of the model trained during the preset's last full refresh. That model is trained on whatever products were available when the refresh kicked off. ## How recommendations are picked A few rules apply to every preset, so you don't have to think about them per placement: * **Already-purchased items are filtered out.** If a customer has bought a product, Maestra Platform won't recommend it back to them. * **Area and brand restrictions are respected.** Recommendations only include products that match the customer's area and the brand context of the channel. * **Stock and availability are checked.** Out-of-stock items are excluded automatically. * **Per-project limits.** Each preset has a cap on how many active instances you can run per project — see the catalog below. * **Refresh cadence.** Some presets recalculate once a day (stable signals like overall popularity or co-purchase). Others run in real time (in-session behavior). ## Types of recommendations Here's a closer look at each preset and what makes it tick. ### Bestsellers Recommendation Preset Ranks top-performing products over a time window you choose. Popularity is scored first by order volume per product within a category, then by view count as a tiebreaker. **Good to know:** * **Best for:** homepage, "Bestsellers" blocks, cold-start visitors with no personal history. * **Signals used:** order count, view count. * **Refresh:** once a day. * **Limit:** up to 40 instances per project. * **Segment:** can be limited to a segment. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. Ready to build one? See [how to create a Bestsellers Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-popular-products-algorithm#bestsellers-recommendation-preset). ### Category Bestsellers Recommendation Preset The Bestsellers preset, scoped to a single category. **Good to know:** * **Best for:** category pages. * **Limit:** up to 20 instances per project. Ready to build one? See [how to create a Category Bestsellers Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-popular-products-algorithm#category-bestsellers-recommendation-preset). ### Bestsellers from Previously Viewed Categories Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. Shows popular products from every category the customer viewed in their most recent session, spread evenly across those categories. Updates in real time as the customer keeps browsing. Popularity is scored by order volume, then by view count as a tiebreaker. **On multi-brand projects**, the preset stays within one brand — it builds recommendations from the customer's most recent session on that brand only. > [!NOTE] > > **Example:** A customer browses Brand A and views categories A1, A2, and A3, then switches to Brand B and views B1, B2, and B3. You'll get one set of recommendations for Brand A (bestsellers from A1, A2, A3) and a separate set for Brand B (bestsellers from B1, B2, B3). To run the preset across all brands, remove the product segment restriction in the preset settings, or use a segment that covers products from every brand. If similarity rules differ by brand, set up a separate preset for each. > [!WARNING] > > One brand's recommendations can't include products from another brand. **Good to know:** * **Best for:** "Category browse abandonment" flows. * **Refresh:** real time. * **Limit:** up to 1 instance per project. Ready to build one? See [how to create a Bestsellers from Previously Viewed Categories Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-popular-products-algorithm#bestsellers-from-previously-viewed-categories-recommendation-preset). ### Similar Products Recommendation Preset Surfaces similar products for a specific item. Higher-priced items get more recommendations; lower-priced items get fewer. You can prioritize product attributes (like price or manufacturer) and even require exact matches on specific attributes — for example, size. **Good to know:** * **Best for:** product detail pages. * **Refresh:** once a day. * **Limit:** up to 5 instances per project. * **Segment:** can be limited to a segment. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. Ready to build one? See [how to create a Similar Products Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-similar-products-algorithm#similar-products-recommendation-preset). ### Products Similar to Recently Browsed Products Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. The Similar Products preset applied to every item the customer browsed on-site during their last session. **Good to know:** * **Best for:** "Product browse abandonment" flows. * **Refresh:** real time. * **Limit:** up to 2 instances per project. Ready to build one? See [how to create a Products Similar to Recently Browsed Products Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-similar-products-algorithm#products-similar-to-recently-browsed-products-recommendation-preset). ### Similar Products to Product List Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. The Similar Products preset applied to each item on a customer's product list. **Good to know:** * **Best for:** "Back in stock" and Favorites flows. * **Refresh:** real time. * **Limit:** up to 3 instances per project. Ready to build one? See [how to create a Similar Products to Product List Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-similar-products-algorithm#similar-products-to-product-list-recommendation-preset). ### Related Products Recommendation Preset Surfaces complementary products and builds recommendations for a specific item. Higher-priced items get more recommendations; lower-priced items get fewer. Works even for products with no order history yet. **Good to know:** * **Best for:** "Frequently bought together" and "Customers also bought" modules. * **Signals used:** same-order co-occurrence, plus category and attribute co-purchase patterns. * **Refresh:** once a day. * **Limit:** up to 5 instances per project. * **Segment:** can be limited to a segment. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. Product external systems match by default. Ready to build one? See [how to create a Related Products Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-related-products-algorithm#related-products-recommendation-preset). ### Post-purchase Cross-sell Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. The Related Products preset applied to each item in the customer's most recently updated order. **Good to know:** * **Best for:** "Thanks for your order" and "Next order suggestion" flows. * **Refresh:** real time. * **Limit:** up to 1 instance per project. Ready to build one? See [how to create a Post-purchase Cross-sell Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-related-products-algorithm#post-purchase-cross-sell-recommendation-preset). ### Often Purchased With Items in Product List Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. The Related Products preset applied to each item on a selected customer product list. **Good to know:** * **Best for:** abandoned Cart, Favorites recommendations, on-site Cart modules. * **Refresh:** real time. * **Limit:** up to 3 instances per project. Ready to build one? See [how to create an Often Purchased With Items in Product List Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-related-products-algorithm#often-purchased-with-items-in-product-list-recommendation-preset). ### Custom Recommendation Preset Lets you set complementary products based on category relationships, for a specific item. Once you specify that Category A should recommend items from Category B, each product in Category A gets paired with the item from Category B most often purchased alongside it. You can also layer on similarity parameters — price, manufacturer, or any other product attribute. Higher-priced items get more recommendations; lower-priced items get fewer. **Good to know:** * **Best for:** product detail pages. * **Refresh:** once a day. * **Limit:** up to 5 instances per project. * **Segment:** can be limited to a segment. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. Product external systems match by default. Ready to build one? See [how to create a Custom Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-manual-mapping-algorithm#custom-recommendation-preset). ### Custom Post-purchase Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see either recommendations calculated earlier (if the preset is more than 90 days old) or a fallback to the Bestsellers preset. The Custom Recommendation Preset applied to each product in the customer's most recently updated order, with recommendation volume proportional to price. Once you specify that Category A should recommend items from Category B, each product in Category A gets paired with the item from Category B most often purchased alongside it. You can also layer on similarity parameters — price, manufacturer, or any other product attribute. **Good to know:** * **Best for:** "Thanks for your order" and "Next purchase suggestion" flows. * **Refresh:** real time, based on the customer's orders. * **Limit:** up to 1 instance per project. Ready to build one? See [how to create a Custom Post-purchase Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-manual-mapping-algorithm#custom-post-purchase-recommendation-preset). ### Personal Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see either recommendations calculated earlier (if the preset is more than 90 days old) or a fallback to the Bestsellers preset. Predicts which product a customer is most likely to buy next. **Good to know:** * **Best for:** "Next order suggestion" flows and win-back mechanics. * **Signals used:** the customer's views, orders, and list activity, plus behavior from similar customers. * **Refresh:** once a day. * **Limit:** up to 5 instances per project. * **Segment:** can be limited to a segment. * **Auto-filters:** checks the product's area and brand (multi-brand projects); excludes items the customer has already bought. Ready to build one? See [how to create a Personal Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-personal-recommendations-algorithm#personal-recommendation-preset). ### Event-based Personal Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see either recommendations calculated earlier (if the preset is more than 90 days old) or a fallback to the Bestsellers preset. Works just like the standard Personal Recommendation Preset, but calculates in real time and also supports anonymous customers. **Good to know:** * **Best for:** homepage, account page, 404 page, search results. * **Refresh:** real time. * **Limit:** up to 1 instance per project. Ready to build one? See [how to create an Event-based Personal Recommendation Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-personal-recommendations-algorithm#event-based-personal-recommendation-preset). ### Recently Browsed Products Recommendation Preset > [!NOTE] > > This preset only generates recommendations for customers with activity in the last 90 days. Everyone else will see recommendations calculated earlier (if the preset is more than 90 days old) — or no recommendations at all. Recommends products the customer viewed in-session over the last 14 days. Max 1 instance per project.\ > [!TIP] > > Once the algorithm is live, the recommendations page will display its status and last updated time.\\ > > ![Screenshot 2026 08 04 At 17 02 14](https://mintcdn.com/maestraio/spo9cloFUs0d-Ajy/images/Screenshot-2026-08-04-at-17.02.14.png?fit=max\&auto=format\&n=spo9cloFUs0d-Ajy\&q=85\&s=92fd97dda3b427b3f533f74f6ad0f64b) # What Are Product Recommendations Source: https://help.maestra.io/personalization/product-recommendation/what-are-product-recommendations Product recommendations are a tool that automatically matches relevant products to different situations. You can use them to build personalized collections for returning customers, surface bestsellers for new visitors, or display complementary products next to a specific item on your website. ## Where you can use recommendations You can deploy recommendations in three primary contexts: * **Email campaigns and newsletters** — embed personalized product blocks in any email. * **Recommendation widgets on your website** — show dynamic product collections directly on storefront pages. * **API operations** — pull recommendation output through the API for further processing in any channel. ## How to create a recommendation algorithm Setting up a new algorithm takes four steps: **1. Open the recommendations section** Go to **Content → Product Recommendations → Create recommendations preset**.\\ ![Screenshot 2026 07 27 At 15 11 17](https://mintcdn.com/maestraio/AYkuElHj0MUNct90/images/Screenshot-2026-07-27-at-15.11.17.png?fit=max\&auto=format\&n=AYkuElHj0MUNct90\&q=85\&s=28a6b6959ce4b60b460b9353e3eb43d0) **2. Select an algorithm** Choose the algorithm type that matches your objective (bestsellers, similar products, related products, and so on).\\ ![Screenshot 2026 07 27 At 15 14 10](https://mintcdn.com/maestraio/AYkuElHj0MUNct90/images/Screenshot-2026-07-27-at-15.14.10.png?fit=max\&auto=format\&n=AYkuElHj0MUNct90\&q=85\&s=573b6ebf5b72497a9b745ace4d451445) **3. Configure the settings** Fill in the settings specific to the algorithm type you selected. The screenshot below uses Custom recommendations settings as an example. > [!TIP] > > If the algorithm builds recommendations from a scheduled product segment, refresh that segment before launching the algorithm. That way, the algorithm will use the current segment contents when generating recommendations. ![Screenshot 2026 07 27 At 15 18 09](https://mintcdn.com/maestraio/AYkuElHj0MUNct90/images/Screenshot-2026-07-27-at-15.18.09.png?fit=max\&auto=format\&n=AYkuElHj0MUNct90\&q=85\&s=a93a60a2146e3db8824c06355fd7d21e) **4. Launch and wait for recalculation** Start the algorithm and wait for its first recalculation to finish.\\ ![Screenshot 2026 07 27 At 17 11 03](https://mintcdn.com/maestraio/Ur5sbpLPgDQSVnZg/images/Screenshot-2026-07-27-at-17.11.03.png?fit=max\&auto=format\&n=Ur5sbpLPgDQSVnZg\&q=85\&s=3b431ab51da6815cd2f43f5d86b79484) > [!TIP] > > If the algorithm builds recommendations from a scheduled product segment, refresh that segment before launching the algorithm. That way, the algorithm will use the current segment contents when generating recommendations. Algorithms **are not available** for selection in campaigns or widgets **until their initial recalculation finishes**. Algorithms left in **draft** status also remain unavailable. ## How recommendations work in multi-brand projects In multi-brand projects, recommendation algorithms are available across all brands. However, when recommendations are generated for a campaign, only products from the brand where the recommendation preset was created are taken into account. Cross-brand recommendations are not allowed. The brand used for recommendation output depends on the channel: | Context | How the brand is determined | | - | - | | Email campaigns | Uses the brand selected when the campaign was created. | | Website recommendation widgets | Determined by the selected website: the website is tied to an integration endpoint, whose settings specify the brand. | | API operations | Uses the brand configured on the integration point | ## How regional data is handled If your catalog includes regional data, recommendations are generated in two steps: 1. **During recalculation** — regional availability and pricing are considered. All other regional attributes fall back to the master feed values. 2. **At output time** — regional product data matching the customer's zone is inserted into the final recommendation. This means a customer in one region can see prices and stock relevant to their location, while the underlying algorithm still operates on a consistent catalog. > [!TIP] > > **Example** > > The **Products similar to recently browsed products** algorithm is running. In the similarity settings, the custom product field **Company** is selected — and its value can differ from zone to zone. Similarity is calculated from the master feed value, while the email displays the value from the customer's zone. > > 1. The customer views Product 1. In the master feed, its company is **A**; in the customer's zone, it's **B**. > 2. The algorithm looks for similar products using the master feed value, so it selects products where the company is **A**. > 3. Product 2 makes it into the selection: its master feed company is also **A**, but in the customer's zone it's **C**. > 4. In the campaign, Product 2 appears with the value from the customer's zone — company **C**. > > **Result:** the customer sees a recommendation labeled company **C**, even though the matching was done on company **A**. This is expected: similarity is calculated from the master feed, and display values come from the zone. ## **Recommendations and product groups** Use **product groups** to combine variants of the same product. If you sell one shirt in five colors, group those five items together — otherwise recommendations can show the same shirt five times in a row. During calculation, grouped products are treated as a single unit and their interactions are summed. At output, the algorithm displays the most popular product from that group, so customers never see two near-identical items side by side. > [!TIP] > > **Example** > > A group contains two products: > > * Sneakers in size 8 — 5 views, 2 orders. > * Sneakers in size 9 — 1 view, 1 order. > > When calculating recommendations, the algorithm treats these as a single product: sneakers with 6 views and 3 orders. The recommendation then shows the size 8 pair, since it's the more popular of the two. ## Real-time algorithms Some algorithms update dynamically within seconds based on customer behavior on your site. > [!WARNING] > > Avoid real-time algorithms in triggered flows that send immediately after an on-site action. The data they rely on may not be ready yet, so recommendations can come through empty or off-target. #### Types of real-time recommendations: **1. Based on a product list** * Often Purchased With Items in Product List * Similar products to product list recommendations Recalculated when products are added to or removed from the list. Changing an item's quantity does not trigger a recalculation. **2. Based on products and categories viewed in the last session** * Bestsellers from previously viewed categories * Products similar to recently browsed products Recalculated whenever the customer views a product or category. **3. Based on recent orders** * Custom post-purchase recommendations * Post-purchase cross-sell Recalculated whenever an order changes. The customer's last order is the most recently *modified* order — not necessarily the most recently placed one. # Why Recommendations Aren't Showing or Are Wrong Source: https://help.maestra.io/personalization/product-recommendation/why-recommendations-are-not-showing When a recommendation block comes back empty — or shows products that don't make sense — the cause is almost always one of a small set of things: a product is out of stock, the customer's zone is missing items, a segment is empty, or the customer doesn't have the behavior the algorithm needs. This page walks through each algorithm and lists every reason it might return no products, plus what to check. ## How to read this page Algorithms fall into two groups: * **Event-based algorithms** depend on something the customer did — a view, a session, an order. If the customer has no relevant events, the algorithm has nothing to work with. * **Non-event algorithms** rank products against the whole catalog (or a category). They don't need customer behavior, so the troubleshooting usually points at the product feed or a segment. For every algorithm below, work through the listed reasons in order. The first three — out of stock, zone mismatch, empty segment — cover most cases. ## Event-based algorithms ### Event-based personal recommendations **Why no products appear** * No products in stock anywhere in the project. * No products available in the customer's zone. * The source segment is empty. * Products exist in the segment, but none are available in the customer's zone. **What to check** * Whether the chosen segment actually contains products. * The YML feed for stock status. * Regional availability settings. ### Popular products in viewed categories (last session) **Why no products appear** * No products in stock in the project. * No products available in the customer's zone. * The source segment is empty. * Products are in the segment but not available in the customer's zone. * Products exist in the viewed categories but not in the customer's zone. * The customer didn't view any categories. **What to check** * Whether the customer has category-view events. * Whether those views happened inside the session window (a session is 2 hours). ### Recently viewed products **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The source segment is empty. * Products are in the segment but not in the customer's zone. * The customer has no view history. * All views are older than 14 days. **What to check** * Whether view actions exist for the customer. * Whether the views fall within the 14-day window. ### Related products to the last order **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The target segment is empty. * The target segment has products, but none are available in the customer's zone. * The customer has no order history. * None of the customer's ordered products belong to the target segment. * No orders fall inside the configured time window. **What to check** * The customer's order history. * Whether ordered products belong to the target segment. ### Manual category mapping to the last order **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The target segment is empty. * The target segment has products, but none are available in the customer's zone. * The customer has no order history. * None of the customer's ordered products belong to the target segment. * The recommended category is empty in the customer's zone. * No exact field match exists between source and target products. **What to check** * The customer's order history. * Product availability in the recommended category. * Whether the similarity fields match exactly. ### Similar products to those viewed in the last session **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The source segment is empty. * Products are in the segment but not in the customer's zone. * No exact field match between viewed and candidate products. * The customer has no view history. * The viewed products aren't part of the target segment. **What to check** * Views during the customer's session. * Whether the similarity fields match across the two segments. ### Related products to a product list **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The source segment is empty. * The source segment has products, but none are available in the customer's zone. * The customer's product list is empty. * No orders fall within the configured time window. * Products in the list don't belong to the target segment. **What to check** * The products in the customer's list. * Their availability in the customer's zone. * Order statistics across the period. ### Similar products to a product list **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The target segment is empty. * The target segment has products, but none are available in the customer's zone. * No exact field match between list products and candidates. * The customer's product list is empty. * The list's products aren't available in the customer's zone. **What to check** * That the customer's product list isn't empty. * That similarity fields match. * Availability in the customer's zone. ## Non-event algorithms ### Personal recommendations **Why no products appear** * No products in stock anywhere in the project. * No products available in the customer's zone. * The source segment is empty. * Products are in the segment but not in the customer's zone. **What to check** * The segment for product availability. * YML feeds. * Regional availability. ### Manual category mapping **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The target segment is empty. * The target segment has products, but none are available in the customer's zone. * The customer has no order history. * The target segment is empty for this customer. * The recommended category is empty in the customer's zone. * No exact field match exists. **What to check** * Availability in the target segment. * Whether the recommended category has products in the zone. * That similarity fields match. ### Related products **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The source segment is empty in the customer's zone. * The target segment is empty in the customer's zone. * No orders fall within the configured time window. **What to check** * Availability in both segments inside the customer's zone. * Order statistics for the period. ### Similar products **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The target segment is empty in the customer's zone. * No exact field match between source and target products. **What to check** * Whether similarity fields match across both segments. * Availability in the customer's zone. ### Popular products by category **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The source segment is empty. * Products exist in the segment but not in the customer's zone. * The category is empty in the customer's zone. **What to check** * The source segment. * Category-level availability in the customer's zone. ### Popular products **Why no products appear** * Products are out of stock. * Products aren't available in the customer's zone. * The source segment is empty. * Products exist in the segment but not in the customer's zone. **What to check** * The segment. * YML feeds. * The popularity window (30 days by default). > [!NOTE] > > If an algorithm returns nothing across the whole project — not just for one customer — start with the YML feed and the segment definition. Those two settings explain almost every project-wide empty result. # How to Create a Recommendation Widget Source: https://help.maestra.io/personalization/recommendation-widgets/how-to-create-a-recommendation-widget A recommendation widget shows personalized product blocks on your website — bestsellers on the homepage, related items on a product page, "you might also like" on the cart, and so on. The widget engine (PopMechanic) renders the block, while Maestra Platform supplies the recommendation algorithm and the product data behind it. This guide walks through creating a recommendation widget from scratch, choosing a template, configuring targeting and algorithms, and launching it on your site. > [!NOTE] > > Before you start, make sure the integrations required for recommendation widgets are in place — the Maestra tracker on every page, product feed synchronization, and real-time event tracking. See [Required Integrations for Recommendation Widgets](/personalization/recommendation-widgets/required-integrations-for-recommendation-widgets) for the full checklist. ## Step 1. Create a new widget In Maestra Platform, go to **Campaigns** and click **Create campaign**. Choose **Personalization → Recommendation widget**. ## Step 2. Pick a template You have three templates to start from. Pick the one that matches what you're building — you can edit the markup and styling afterward. > [card] Basic template > > A clean product card with product name, current price, old price, and discount badge. The fastest way to get a working widget on the page. > [card] Extended template > > Adds extra product fields and JavaScript handlers — useful when you need things like add-to-cart buttons, favorite toggles, or color swatches inside the card. > [card] Pop-up with recommendations > > A modal pop-up that uses a recommendation algorithm for its content. Use it for exit-intent offers or "complete the look" overlays. ## Step 3. Configure widget settings Once you've chosen a template, the widget editor opens. Fill in the following: * **Widget name** — used internally to find the widget later. Be specific (for example, `Homepage bestsellers — desktop`). * **Appearance** — edit the product card and widget container markup, and tweak the CSS. See [How to Style a Recommendation Widget](/personalization/recommendation-widgets/how-to-style-a-recommendation-widget) for the details. * **Display settings** — number of visible product cards per screen size (desktop, tablet, mobile), spacing, autoplay, navigation arrows, and pagination dots. * **Additional parameters** — autoplay interval, transition speed, and any custom slider options. > [!TIP] > > Set up the desktop layout first, then verify mobile separately. A widget that looks great at 1440 px often needs different padding and slide counts at 375 px. ## Step 4. Set targeting Targeting controls who sees the widget and when. You can limit display by: * **Customer segment** — for example, only show the widget to subscribed customers or to first-time visitors. * **Page URL** — restrict the widget to specific pages (homepage, product pages, category pages). * **Day of week and time of day** — useful for weekend-only promotions or flash blocks. * **Traffic source** — show different recommendations to paid-search visitors vs. email click-throughs. * **Device type** — desktop only, mobile only, or both. * **Number of visits** — first-time visitors vs. returning customers. Leave the conditions empty if you want the widget to display to everyone on every page where the container is present. ## Step 5. Choose general settings Set the external systems the widget integrates with: * **Website** — pick the site this widget belongs to (relevant for multi-site projects). * **Product system** — the catalog source the algorithm will draw from. ## Step 6. Pick a recommendation algorithm Select the algorithm that supplies the products. Each widget supports up to **three algorithms**, which are evaluated in order: if the first algorithm returns fewer products than the widget needs, the second one fills the gap, and so on. Common combinations: * **Product page:** Similar products → Related products → Popular products in category. * **Cart page:** Related products to cart items → Frequently bought together → Bestsellers. * **Homepage:** Personal recommendations → Popular products in viewed categories → Popular products. > [!NOTE] > > If you haven't created the algorithm yet, set it up first in **Personalization → Product recommendations**. See [How to Create a Bestsellers Preset](/personalization/product-recommendation/recommendation-presets/how-to-create-a-popular-products-algorithm) for an example. ## Step 7. Set the display location Decide where on the page the widget renders. Two options: ### Option A — Embed via CSS selector Maestra Platform inserts the widget into the element you specify. Provide a CSS selector that points to a stable container on the page — for example, `.homepage-recommendations` or `#cart-cross-sell`. > [!TIP] > > If you're not sure which selector to use, install the **SelectorGadget** Chrome extension. Click the target spot on your site, and the extension generates a working selector like `.someClass` or `#someid`. ### Option B — Place the code manually Copy the container code from the widget editor and paste it directly into your site template at the exact spot you want the widget to appear. Use this option when you need pixel-level control or when the surrounding markup is dynamic. ## Step 8. Test the widget Before going live, open the **Test link** the editor provides. It loads your site with the widget forced on, regardless of targeting rules, so you can verify: * The widget renders in the expected spot. * Product cards show the right fields (image, name, price). * Navigation, autoplay, and responsive breakpoints work. * Clicks track correctly (open browser dev tools and confirm the event fires). If something looks off, jump back into the editor — changes take effect immediately on the test link. ## Step 9. Launch When the test link looks right, click **Launch**. The widget goes live for all visitors that match your targeting. After launch, you can: * **Pause** the widget at any time without losing the configuration. * **Edit** appearance, targeting, or algorithm — edits take effect the next time the page loads. * **Duplicate** the widget to spin up a variant for A/B testing. * **Monitor** clicks and conversions in the widget's stats panel. > [!WARNING] > > Edits to a live widget propagate to all visitors on the next page load. If you're making a major change (new template, different algorithm), pause the widget first, finish the edits, retest on the test link, then relaunch. ## Next steps * [How to Style a Recommendation Widget](/personalization/recommendation-widgets/how-to-style-a-recommendation-widget) — edit the product card template, container CSS, and slider behavior. * [Product Grouping in a Recommendation Widget](/personalization/recommendation-widgets/product-grouping-in-a-widget) — split widget content into tabs by category or other attributes. * [Required Integrations for Recommendation Widgets](/personalization/recommendation-widgets/required-integrations-for-recommendation-widgets) — full integration checklist. # How to Style a Recommendation Widget Source: https://help.maestra.io/personalization/recommendation-widgets/how-to-style-a-recommendation-widget A recommendation widget in Maestra Platform is rendered by the PopMechanic engine and is fully customizable — you control the product card markup, the container layout, the CSS, and the slider behavior. This guide walks through editing both templates, writing CSS that won't collide with your site styles, and configuring responsive and autoplay behavior. ## Open the widget editor Go to **Personalization → Recommendation widgets**, find the widget you want to edit, and click **Modify → Edit**. The editor exposes the markup and styles for the widget. ## The two templates Widget styling is built from two templates: * **Product card template** — the markup for a single product card. This is what's repeated for each recommended product. * **Widget template** — the container that wraps all the cards, including the header, navigation arrows, and pagination dots. You edit each template independently. Card-level styles (image size, badge position) live in the product card template; layout-level styles (slider width, arrow placement) live in the widget template. ## Product card HTML The card template is HTML with template variables that pull product data from the algorithm. The most commonly used variables: | Variable | What it returns | | - | - | | `{{ product.url }}` | The product page URL. | | `{{ product.displayName }}` | The product's display name. | | `{{ product.price }}` | Current price. | | `{{ product.oldPrice }}` | Price before discount (if any). | | `{{ product.pictureUrl }}` | Main product image URL. | | `{{ product.customFields.[name] }}` | Any custom product field by its system name (for example, `{{ product.customFields.color }}`). | A minimal product card might look like this: ```html theme={null} {{ product.displayName }}
{{ product.displayName }}
${{ product.price }}
``` ### Conditional rendering Use conditional blocks to show or hide elements based on product data. For example, show the discount badge only when an old price exists: ```html theme={null} {{#if product.oldPrice}}
Sale
${{ product.oldPrice }}
{{/if}} ``` You can chain conditions for things like "in stock" indicators, brand tags, or custom labels. ## Widget container HTML The widget template wraps the repeated cards. It typically includes: * A header (`

` or similar). * The slider wrapper. * Navigation arrows (previous/next). * Pagination dots. ```html theme={null}

You might also like

{{#each products}} {{> productCard }} {{/each}}
``` ## CSS guidelines ### Scope all selectors Always prefix CSS rules with `#popmechanic-form` so that widget styles don't bleed into the rest of your site — and vice versa. ```css theme={null} #popmechanic-form .popmechanic-card { border: 1px solid #eaeaea; border-radius: 8px; padding: 16px; } ``` ### Use flexbox for the slide row Apply `display: flex` to the slide container so cards line up horizontally: ```css theme={null} #popmechanic-form .popmechanic-slider { display: flex; } ``` ### Use padding for spacing, not margin Spacing between slides should be set with `padding` on each slide, not `margin`. Margins interact poorly with the slider's transform calculations and cause cards to jump. ```css theme={null} #popmechanic-form .popmechanic-slide { padding: 0 8px; box-sizing: border-box; } ``` ### Smooth the slider transition Add a `transition` on the slider track for smooth carousel movement: ```css theme={null} #popmechanic-form .popmechanic-slider { transition: transform 0.3s ease; } ``` ## Navigation arrows Arrows are generated automatically. Style them by targeting the arrow elements and replacing the default icon with a base64-encoded SVG background: ```css theme={null} #popmechanic-form .popmechanic-arrow-next { background-image: url("data:image/svg+xml;base64,PHN2ZyB..."); background-repeat: no-repeat; background-position: center; width: 32px; height: 32px; } ``` Encode your SVG to base64 and paste the result into the `url(...)`. This keeps the arrow self-contained, so no external image request is needed. ## Responsive configuration Set the number of visible cards and the spacing for each breakpoint in the widget's **Display settings**. Typical setup: | Breakpoint | Visible cards | Slide padding | | - | - | - | | Desktop (≥ 1200 px) | 4 | 12 px | | Tablet (768–1199 px) | 3 | 10 px | | Mobile (\< 768 px) | 1.5 | 8 px | > [!TIP] > > On mobile, set the visible cards to a non-integer value like **1.5** or **2.2** so the next card peeks in from the edge of the screen. The peek tells visitors there's more to swipe. You can also configure a minimum slide threshold — if the algorithm returns fewer products than the threshold, the widget hides itself instead of rendering an awkwardly empty row. ## Autoplay Enable autoplay by passing custom parameters to the underlying tiny-slider (TNS) instance. In the widget's **Additional parameters**, add: ```json theme={null} { "autoplay": true, "autoplayTimeout": 4000, "autoplayHoverPause": true, "autoplayButtonOutput": false } ``` * `autoplayTimeout` — milliseconds between slide changes. * `autoplayHoverPause` — pauses when the customer hovers a card. * `autoplayButtonOutput` — set to `false` to hide the default stop/start button. > [!WARNING] > > Autoplay can make widgets feel busy on the homepage. Use a 4–6 second interval, and always enable `autoplayHoverPause` so visitors don't lose their place while reading a card. ## Test your styling The editor includes a live preview, but always also open the **Test link** to see the widget render on your real site with your real product data. Pay attention to: * How cards align next to existing site elements. * Whether your global CSS is leaking into the widget (look for unexpected fonts, colors, or margins). * Mobile behavior — open the test link on a phone or use device emulation. ## Next steps * [How to Create a Recommendation Widget](/personalization/recommendation-widgets/how-to-create-a-recommendation-widget) — full setup walkthrough. * [Product Grouping in a Recommendation Widget](/personalization/recommendation-widgets/product-grouping-in-a-widget) — add category tabs inside the widget. # Product Grouping in a Recommendation Widget Source: https://help.maestra.io/personalization/recommendation-widgets/product-grouping-in-a-widget Product grouping splits a single recommendation widget into tabs — one tab per category, brand, or any other product attribute. It's the right pattern for a homepage block where you want to show bestsellers across several departments without taking up six separate widget slots. This guide walks through enabling grouping, picking a grouping attribute, configuring the visible tabs, and styling the tab bar for desktop and mobile. ## When to use grouping Grouping makes sense when: * You want to surface recommendations across multiple categories from a single widget (for example, a homepage "Top picks" block with tabs for Women, Men, Kids). * You're using a category-aware algorithm like Popular Products by Category and want all categories to render at once. * You want visitors to self-select what they're interested in without scrolling through unrelated cards. It's less useful for product pages or cart widgets, where the customer's context already points at a specific kind of product. ## Enable grouping **1. Open the widget** Go to **Personalization → Recommendation widgets** and open the widget you want to edit. **2. Find the grouping setting** In the widget's appearance settings, locate the **Recommendations grouping** option. **3. Turn grouping on** Toggle the option on. New configuration fields appear below it. ## Choose the grouping attribute You can group products by any of these attributes: * **Product name** — useful for showing variants grouped together. * **Price** — splits products into price tiers (rarely useful for a tab UI, more common for filters). * **Manufacturer / brand name** — one tab per brand. * **Discount** — separates discounted and full-price items. * **Primary category** — the most common choice for a homepage block. * **Custom field** — any custom product field, referenced by its system name (for example, `gender`, `season`, `collection`). For a homepage bestsellers block, primary category is almost always the right pick. ## Specify which values to show as tabs By default, the widget creates a tab for every distinct value of the chosen attribute that appears in the algorithm's output. To control the order and limit which tabs appear, list the values explicitly as a comma-separated list: ``` women, men, kids, accessories ``` A few things to know: * The list is **case-insensitive** — `Women`, `women`, and `WOMEN` all match the same value. * The order in the list is the order tabs appear in the widget. * Values not on the list are excluded from the widget (unless you enable "Other" — see below). > [!NOTE] > > If none of the products returned by the algorithm match the values you listed, the widget falls back to showing all available categories. This prevents the widget from rendering empty — better to show something than nothing. ## The "Other" group Enable the **"Other" group** option when you want products that don't match any of the listed values to still appear — bundled into a single catch-all tab. You can set the display name (for example, `More`, `Everything else`, or `Other`). Use cases: * You list the top three categories explicitly and let everything else fall into "More". * You're running a seasonal block (`summer`, `fall`) and want non-seasonal items grouped together. ## Style the tab bar Tab bar styling is configured separately for mobile and desktop, so you can tune sizes for each viewport. Adjustable properties include: * **Tab font size** and **font weight**. * **Tab padding** and **gap** between tabs. * **Active tab indicator** — underline color, thickness, and offset. * **Tab text color** — separate values for inactive and active states. * **Background** — fill behind the tab bar. > [!TIP] > > On mobile, set the tab bar to scroll horizontally rather than wrapping. Wrapped tabs eat vertical space above the fold; a horizontal scroll keeps the bar compact and lets visitors see all categories with a swipe. ## Finish the setup Once grouping is configured: **1. Pick the website** Choose the site this widget belongs to (for multi-site projects). **2. Pick the product system** The catalog source the algorithm draws from. **3. Pick the algorithm** A category-aware algorithm like **Popular Products by Category** pairs naturally with category grouping. **4. Set the display location** Either embed via CSS selector or paste the container code into your site template. **5. Test on the test link** Open the widget's test link and verify each tab loads its own products, the tab styling looks right on both desktop and mobile, and switching tabs is smooth. **6. Launch** Activate the widget once everything checks out. ## Common pitfalls > [accordion] Tabs show but they're empty > > The algorithm isn't returning products for that category. Confirm the category has in-stock products and that the algorithm's source segment (if any) doesn't exclude them. > [accordion] Tab order is wrong > > The comma-separated value list controls order. Re-order the list and save. > [accordion] A tab is missing > > Either the value isn't in the list, or no products in the algorithm output have that value. Check both. > [accordion] The widget shows all categories instead of just my list > > None of the products in the algorithm output match your listed values, so the widget fell back to "show everything" to avoid rendering empty. Either broaden your list or check that the algorithm is returning the categories you expect. ## Next steps * [How to Create a Recommendation Widget](/personalization/recommendation-widgets/how-to-create-a-recommendation-widget) — full widget setup walkthrough. * [How to Style a Recommendation Widget](/personalization/recommendation-widgets/how-to-style-a-recommendation-widget) — product card markup and CSS guidelines. # Required Integrations for Recommendation Widgets Source: https://help.maestra.io/personalization/recommendation-widgets/required-integrations-for-recommendation-widgets Before you launch a recommendation widget on your site, six integrations need to be in place. The widget itself is just the rendering layer — what makes recommendations relevant is the data flowing into Maestra Platform from your site, your catalog, and your customers. Use this checklist to confirm everything is wired up. ## 1. Tracker on every page The Maestra tracker script must load on every page where a recommendation widget will appear. The tracker is what: * Identifies the visitor (anonymous or known). * Reports page views to Maestra Platform. * Loads the widget engine itself. If the tracker isn't present on a page, the widget won't render there — even if the targeting rules match. > [!TIP] > > The cleanest setup is to include the tracker in your global site template (header or footer partial) so it loads on every URL automatically. That way you never have to remember to add it to a new page. ## 2. Product catalog synchronization Maestra Platform needs an up-to-date copy of your catalog to recommend from. Set up a regular product feed that delivers: * **Product ID** — must match the ID your site uses, so the widget can link back to the right product page. * **Product URL** — the canonical link to the product page. * **Display name** — the product name as shown on the site. * **Price** and **old price** — current selling price plus the pre-discount price, if any. * **Image URL** — main product image (and additional images if your card template uses them). * **Categories** — primary category and any secondary categories the product belongs to. * **Availability** — in stock, out of stock, low stock. * **Brand / manufacturer** — for multi-brand catalogs and brand-aware algorithms. * **Custom fields** — any extra attributes you want available in the card template (color, size, material, rating, etc.). The feed should refresh frequently enough that price and stock changes don't lag the storefront. For most catalogs, hourly is a safe baseline; for fast-moving inventory, every 15 minutes. > [!WARNING] > > If product IDs in the feed don't match the IDs your site emits in browsing and order events, the algorithm can't correlate behavior with products. Sync IDs first — without that, no recommendation will work correctly. ## 3. Regional data (if you sell across zones) If you operate in multiple zones — different countries, regions, or warehouses with different pricing and stock — you also need: * **Regional feed** — per-zone prices and stock for each product. * **Zone attribute on the customer** — every event from the customer must include their current zone so the algorithm knows which regional data to apply. Without zone data, customers in California might see prices and availability meant for New York shoppers. ## 4. Real-time event tracking The algorithm relies on live customer behavior. Configure the following events to flow to Maestra Platform in real time: * **Product views** — fired when a customer opens a product page. * **Category views** — fired on category and listing pages. * **Add to cart** — every time a product is added. * **Remove from cart** — every removal. * **Add to favorites / wishlist** — wishlist toggles in both directions. * **Search** — search queries entered on the site. * **Order placed** — completed purchases with line items. Each event needs to carry the product ID (matching the catalog), the customer identifier, and a timestamp. These events feed personalization, browse-abandonment, and cart-abandonment algorithms. > [!NOTE] > > Events should be sent server-side wherever possible. Client-side-only tracking is fine for views but loses data on cart and order events when customers have ad-blockers or unstable connections. ## 5. Site personalization code Site personalization is a separate JavaScript snippet that turns the page into a surface Maestra Platform can personalize. It: * Loads in the page head, ideally synchronously, so it can intercept render before content paints. * Reads targeting rules from Maestra Platform and decides which widgets, pop-ups, and embedded blocks apply to the current visitor. * Triggers the widget engine to render whatever is approved. If site personalization isn't loaded, recommendation widgets won't appear even if the tracker and catalog are fully set up. ## 6. Widget container markup For each widget, you need a `
` container placed where the widget should render — or a CSS selector pointing to an existing element on the page. Two patterns: ### Manual container Paste the container HTML directly into your site template at the exact spot you want the widget. Use this for pixel-level control: ```html theme={null}
``` Then, in the widget's display settings, point it at `#recommendations-homepage`. ### Selector-based insertion Pick an existing element on the page and let Maestra Platform inject the widget into it. Pass the CSS selector in the widget's display settings, and the engine handles insertion at runtime. This is the easier option when you don't want to edit site templates. > [!TIP] > > Even when using selector-based insertion, choose a stable selector — a class or ID that won't change on the next site redesign. Avoid auto-generated class names from CSS-in-JS frameworks. ## Putting it together A working recommendation widget setup looks like this: **1. Tracker installed on every page** Global include in your site template. **2. Product feed running** Hourly or faster, with matching IDs. **3. Regional feed (if applicable)** Plus zone attribute on every customer event. **4. Behavior events streaming** Views, cart, favorites, search, orders — all real-time. **5. Site personalization snippet loaded** In the page head, on every page that needs widgets. **6. Widget containers in place** Either embedded div blocks or stable CSS selectors. With all six in place, you can [create a recommendation widget](/personalization/recommendation-widgets/how-to-create-a-recommendation-widget) and it will work on the first try. # How Maestra affects website loading speed? Source: https://help.maestra.io/personalization/site-integration/how-maestra-affects-website-loading-speed Learn how Maestra's on-site JavaScript works, how it affects your page speed, and what you can do to minimize the impact. Site speed and SEO are important to our customers, and Maestra is committed to minimizing the footprint of our on-site code. ## How Maestra's JavaScript works Maestra's on-site SDK is the script installed on your website that powers pop-ups, embedded blocks, product recommendations, and visitor tracking. It needs to be present on your site for any Maestra personalization campaigns to display. The SDK loads **asynchronously**. This means it does not block your page from rendering — your content, images, and layout load as normal while Maestra's script loads in the background. Here's what happens on each page load: 1. Your page begins loading its own HTML, CSS, images, and fonts as usual. 2. Maestra's SDK loads in parallel. It does not delay the first paint of your page. 3. The SDK checks which campaigns apply to the current visitor and page based on targeting conditions. 4. Only campaigns that match are rendered. If nothing matches, no additional content is loaded. > [!NOTE] > > Because the script loads asynchronously, it does not affect when visitors first see your page. It can affect when the page becomes fully interactive (Time-to-Interactive), since the browser needs to finish executing all JavaScript — including Maestra's — before the page is fully responsive. ## What affects the size of Maestra's footprint **Base SDK size:** Under 100 KB. This is the core script loaded on every page. **Campaign payloads load conditionally.** The SDK evaluates targeting conditions first and only fetches HTML and assets for campaigns that match. Pages with no matching campaigns load only the base SDK. **The main cost driver is custom HTML markup — not campaign count.** Maestra loads the standard template once. Each campaign carries only its own configuration (content, targeting, timing). This is lightweight. However, when campaigns use fully customized HTML overrides instead of style changes to the standard template, each one ships its own HTML payload. Across many campaigns, this adds up. What we've seen in our benchmarks: * A site with **68 campaigns on standard templates** added \~5–7% to mobile TTI — about the same as a site with only 21 campaigns. * A site with **71 campaigns using custom HTML** added \~24% to mobile TTI, driven by the cumulative weight of per-campaign markup. ## How Maestra compares to other platform combinations Most merchants don't use a single marketing tool — they combine separate platforms for email, reviews, recommendations, and forms. We benchmarked Maestra against real sites running common multi-platform stacks using Lighthouse v12 under identical conditions: | Setup | Total script weight | Mobile TTI impact | | - | - | - | | Maestra, standard templates | \~200–300 KB | \~5–7% | | Maestra, heavy customization | \~1 MB+ | \~20–24% | | Email platform + reviews/recs tool (typical) | \~500–750 KB | \~18% | | Lean two-platform setup | \~115 KB | \<1% | Maestra Platform replaces several separate tools with a single platform. With standard templates, it performs in the same range or better than the multi-tool stacks it replaces. ## Troubleshoot site speed performance If you notice a change in your site speed after enabling Maestra or updating your campaigns, try the following: 1. **Switch to standard templates**\ This is the single most effective change. Custom HTML overrides are the largest contributor to payload size. When a campaign needs a custom look, prefer adjusting the standard template's styles and content over rebuilding the markup. The standard template loads once; custom HTML loads per campaign.\\ 2. **Clean up unused campaigns**\ Pause campaigns you no longer run. \\ 3. **Reserve space for above-the-fold widgets**\ If a Maestra widget or banner appears in the first viewport and shows to all visitors, add a fixed-height placeholder to prevent content shifts that hurt your CLS score. Skip the placeholder if the widget only shows to a subset of your audience — an empty reserved space will hurt your CLS more than the shift itself.\\ 4. **Optimize campaign assets**\ Lightweight image formats (WebP, optimized PNG) load near-instantly inside Maestra widgets. Large videos, GIFs, or uncompressed images cause noticeable delays, especially on mobile. Compress images, use WebP where possible, and avoid auto-playing video in pop-ups unless you've tested the impact.\\ 5. **Remove unused third-party scripts.** Sites accumulate scripts over time — and not all of them are still needed. Unused scripts slow down your site and clutter your console. Do a quick audit and remove anything you're no longer actively using.\\ 6. **Check your real-world performance**\ Lighthouse and PageSpeed Insights are synthetic benchmarks — they simulate constrained devices. What matters for your visitors (and for Google's rankings) is real-user data. To check your Core Web Vitals: 1. Go to [PageSpeed Insights](https://pagespeed.web.dev/) and enter your domain. 2. Look at **"Discover what your real users are experiencing"** — this is CrUX data from real visitors over the past 28 days. 3. Monitor **LCP** (Largest Contentful Paint), **INP** (Interaction to Next Paint), and **CLS** (Cumulative Layout Shift). You can also see this data in **Google Search Console → Core Web Vitals**. Track the trend over time. If numbers change after updating your Maestra configuration or storefront, investigate. ## About our benchmarks The numbers in this article come from Lighthouse v12 measurements on 6 real merchant sites under controlled conditions: * **Mobile:** 4× CPU throttle, 1.6 Mbps, 150 ms RTT. * **Desktop:** No CPU throttle, 10 Mbps, 40 ms RTT. * 10 runs per condition (platform enabled vs. fully blocked), interleaved, fresh browser profile each run. * Statistical significance: Welch's t-test, p \< 0.05. Lighthouse simulates constrained hardware. Real users on modern devices will typically see less impact. Every site is different — your results will vary depending on your existing code, hosting, and configuration. # Maestra and SEO Source: https://help.maestra.io/personalization/site-integration/maestra-and-seo Learn how Maestra's on-site JavaScript interacts with search engine crawlers, what Google sees on pages with Maestra installed, and how to keep your Core Web Vitals healthy. Maestra does not modify or replace the content that search engines index on your pages. ## Before you begin This article assumes Maestra's SDK is already installed on your site. If you're also looking for information on page speed impact, see [How Maestra affects website loading speed?](/personalization/site-integration/how-maestra-affects-website-loading-speed). For details on integration modes (injector, manual div, API), see [Site Integration Modes](/personalization/site-integration/site-integration-modes). ## How Maestra interacts with search crawlers Maestra's SDK loads asynchronously and does not alter your page's HTML, headings, product descriptions, structured data, or internal links. Crawlers see your original page content exactly as your platform (Shopify, your CMS, etc.) serves it. **Pop-ups and overlays.** These are rendered client-side and triggered by visitor behavior (scroll depth, time on page, exit intent). Crawlers don't replicate these behaviors, so pop-ups don't appear during crawling. Your underlying content remains fully visible. **Inline widgets and recommendations.** These render client-side into designated containers. Google renders JavaScript and can see this content, but it is purely additive — Maestra adds content to your page, it does not replace or hide existing content. > [!NOTE] > > **Key distinction:** Client-side rendering of individual widgets (a recommendation carousel, a promo banner, an embedded form) is not an SEO concern. What *would* be an SEO problem is rendering your entire product catalog or core page content client-side — because that makes your content dependent on JavaScript for crawlers to see it. Maestra does not do this. It adds localized personalization widgets to pages whose core content is served as HTML by your platform. For sites where long-tail SEO is critical, Maestra's API-only (headless) mode lets your team include personalization data in the initial HTML response — making it visible to crawlers without relying on client-side rendering. This requires more dev effort and is less common. For details, see [Site Integration Modes](https://help.maestra.io/personalization/site-integration/site-integration-modes). ## Core Web Vitals and Maestra Maestra's impact on page speed can indirectly affect your Core Web Vitals scores, which Google uses as a ranking signal. Here's how each metric is affected: | Metric | What it measures | How Maestra affects it | | - | - | - | | **LCP** (Largest Contentful Paint) | When the main visual element loads | Generally not affected. Maestra loads asynchronously; LCP is typically driven by your own hero image or content. | | **INP** (Interaction to Next Paint) | Page responsiveness to interaction | Can be affected by JavaScript execution time. Base SDK is under 100 KB; campaigns load conditionally. Heavy custom markup increases blocking time. | | **CLS** (Cumulative Layout Shift) | Unexpected layout shifts | Affected if a Maestra widget appears above the fold without a reserved space — but only if it shows to all (or nearly all) visitors. Fix: add a fixed-height placeholder in your layout. If the widget only shows to a subset of your audience, skip the placeholder. | For detailed best practices on minimizing speed impact, see [How Maestra affects website loading speed?](/personalization/site-integration/how-maestra-affects-website-loading-speed) ## Monitor your SEO-relevant metrics **Google Search Console → Core Web Vitals report.** Shows which pages pass or fail based on real user experience data (CrUX). This is the same data Google uses for ranking decisions. **PageSpeed Insights** ([pagespeed.web.dev](https://pagespeed.web.dev/)). Enter your domain and check the "Discover what your real users are experiencing" section for 28-day field data. **Google Search Console → URL Inspection Tool.** Enter any URL to see how Google rendered it. Confirm your content is visible and Maestra's widgets haven't interfered with crawlable elements. Track trends over time. If Core Web Vitals scores change after modifying your Maestra configuration, investigate. ## Quick reference | Question | Answer | | - | - | | Does Maestra modify my crawlable HTML? | No. HTML, headings, structured data, and links are untouched. | | Can Google see Maestra's widgets? | Yes — Google renders JavaScript. Widgets are additive; they don't replace your content. | | Is widget-level client-side rendering an SEO risk? | No. Full-page client-side rendering of core content is risky. Maestra only renders widgets client-side. | | Is there a server-side rendering option? | Yes — Maestra's API approach renders personalization data in the initial HTML. | | Does Maestra affect Core Web Vitals? | It can affect CLS (if no space is reserved for an above-the-fold widget) and INP (via JS execution). See the page speed article for optimization tips. | # Site Integration Modes: Injector, Manual Div, and API Source: https://help.maestra.io/personalization/site-integration/site-integration-modes Learn about the three ways Maestra can deliver personalized content on your site, how each mode works, and which is right for your setup. You can mix modes across campaigns — you don't have to choose one for everything. ## Before you begin This article covers how Maestra places content on your pages. For information on page speed impact, see [How Maestra affects website loading speed?](/personalization/site-integration/how-maestra-affects-website-loading-speed). For SEO, see [Maestra's and SEO](/personalization/site-integration/maestra-and-seo). ## Integration modes at a glance | | Injector (default) | Manual div (show to all visitors) | API-only (headless) | | - | - | - | - | | Dev effort | None beyond SDK install | Low — place a `
` in your template | High — build rendering logic | | Content appearance speed | Fast; brief flash possible on inline content | Fastest; no flash | Depends on your implementation | | DOM impact | Replaces/populates selectors | Populates a pre-placed container | None from Maestra | | SPA compatible | Yes | Yes | Yes | | A/B testing | Managed by Maestra | Managed by Maestra | Your dev team manages | | SEO impact on original content | None | None | None; personalized content in initial HTML | ## Injector mode (default) Maestra's SDK targets a CSS selector on your page and renders campaign content (pop-up, embedded block, recommendation widget) directly into it. **How it works:** * Pop-ups and overlays render in an isolated container at the end of the ``, completely outside your application's component tree. * Inline content (embedded blocks, recommendations) replaces or populates the specified selector. * No dev work required beyond installing the SDK. > [!NOTE] > > For inline content, the original element is briefly visible before Maestra's content swaps in. See [Troubleshoot flickering](#troubleshoot-flickering) below. ## Manual div placement Your developers place a dedicated `
` in the site template. Maestra populates it; the surrounding DOM stays under your team's control. **How it works:** * The container is already in the page, so there's no element to find and swap — content appears faster than with injection. * Works best when the widget shows to all (or nearly all) visitors — if it only shows to a subset of your audience, an empty container may hurt your CLS more than help it. * No flash or flicker, because there's no original element to display before Maestra's content loads. * Your framework (Vue.js, React, etc.) can be told to ignore the container entirely. ## API-only (headless) Maestra returns product recommendations, ranking data, or customer's segments data. Your front-end team handles all rendering. **How it works:** * Zero DOM impact from Maestra — you control every pixel. * Personalization data can be fetched server-side and included in the initial HTML response, making it visible to search crawlers without JavaScript. * A/B testing requires your dev team to implement test branching logic. * This approach requires significant development effort on your end — plan for ongoing dev involvement to build, maintain, and extend the integration. ## SPA and framework compatibility If your site runs on React, Vue.js, Next.js, Nuxt, or another SPA framework, Maestra is designed to avoid DOM conflicts. **Pop-ups and overlays** render in a separate container at the end of the ``, outside your framework's component tree. No risk of race conditions. **Inline widgets** use a dedicated `
` that your framework ignores: * In Vue.js, the container is excluded from reactive updates. * In React, the container sits outside the React root. This prevents both Maestra and your framework from attempting to modify the same elements simultaneously. Maestra has been integrated with React and Vue.js SPA architectures across multiple production sites without race conditions or rendering conflicts. ## Troubleshoot flickering When Maestra's injector mode replaces an existing element after the page renders, the original element may be briefly visible before the swap. This is most noticeable with A/B tests on visible elements or injection into navigation bars and banners. **To eliminate flickering entirely:** use manual div placement — but **only if the widget shows to all (or nearly all) visitors**. Since the placeholder is already in your template, there's nothing to flash. **To minimize flickering in injector mode:** * **Reserve layout space.** Add a placeholder `
` with a fixed height where Maestra content will appear. The layout stays stable; Maestra fills the space when ready. * **Keep injected tests below the fold.** Content loads before the visitor scrolls to it. * **Use the API approach for above-the-fold personalization.** Fetch data server-side or during your framework's initial render cycle to avoid any client-side swap. > [!NOTE] > > In some cases, a brief flash is an acceptable trade-off — for example, temporarily changing a nav bar label for a sale may be preferable to a dev change that could outlast the campaign. The visibility of the flash depends on your site architecture and connection speed. Pop-ups and overlays are not affected — they appear as an intentional overlay and don't replace existing content. # Attribution model Source: https://help.maestra.io/reports/attribution-model > [!NOTE] > > **Key features of the attribution model** > > * Email revenue can be attributed on **opens as well as clicks**. Opens are off for existing accounts until you turn them on. > * Each interaction type — email opens, email clicks, SMS clicks, SMS deliveries — has **its own attribution window**. All other channels share one window. > * You can set windows in **days or hours**, up to 30 days (720 hours). > * You can exclude one or more campaigns from attribution. > * Channels are split into three groups — campaigns, website, and in-app — and each group is attributed separately. Within a group, an order is attributed only once. > * Deleting customer data doesn't affect revenue metrics. > * Lead generation forms are excluded from attribution — orders are never attributed to them. ## What is attribution * **Attribution** is a set of rules that decides whether a target action happened because of your marketing campaigns — and if so, which ones. * A [goal](/reports/goals) is the customer action you want more of. You launch campaigns to move this metric. Use attribution to see how well each channel and campaign contributes to your goals, so you can decide how to split your marketing budget across them. ## How the attribution model works Maestra Platform uses the **last-non-direct-touch** model. Channels are split into three groups, and orders are attributed in each group separately: * **Campaigns** — email, SMS, web push, and other messaging channels * **Website** — forms and pop-ups * **In-app** **Within a group, only one interaction gets the order** — the last non-direct one, following the rules below. Say a customer clicks a web push, then clicks an email, then places an order. Both are campaigns, so only the email gets the order. **Across groups, the same order can be attributed more than once.** Say a customer fills out a website pop-up, then clicks an email, then places an order. The pop-up and the email are in different groups, so each of them gets the order. That way, reports show how much each group earned. > [!NOTE] > > Because one order can count in several channel groups, the attributed revenue of all groups added together can be higher than your actual revenue. ### Which interactions count Not every interaction can anchor attribution — it depends on the channel: | Channel | Interactions that can anchor attribution | | - | - | | Email | **Opens** and/or **clicks**. You can turn each one on or off in the settings; at least one must stay on. | | SMS and other SMS-like channels (e.g., MMS) | **Clicks** and/or **deliveries**. You can turn each one on or off; at least one must stay on. | | Web push, mobile push, Viber, website pop-ups and forms, in-app | **Clicks** only | ### When an order is attributed to a campaign An order is attributed to a campaign when all of these are true: * The order matches the goal's settings — status and first-action touchpoint. * The interaction happened **within the attribution window** for that interaction type. The window is counted back from the order to the interaction (see below). * There were no other website visits between the campaign interaction and the order's first action. Direct visits (typing the URL into the address bar or using a bookmark) and visits with `utm_source=maestra` don't break the chain. Orders are never attributed to: * Campaigns excluded in the attribution settings * Lead generation forms and pop-ups > [!TIP] > > **Deleted data** doesn't affect revenue metrics or conversion. ### How the attribution window works The window is always counted **back from the order to the interaction itself** — not from the moment the message was sent. The question the model asks is: "Did the customer open or click this message (or, for SMS, receive it) within the last X days before the order?" Each interaction type has its own window. Say you set 5 days for opens and 10 days for clicks. An order is attributed to an email if the customer **opened it within 5 days** before the order **or clicked it within 10 days** before the order. **There's no precedence between an open and a click.** An open counts exactly like a click: * Same last-non-direct-touch model * Same rule about visits from other sources in between * Same list of excluded campaigns * Same goals Every interaction is checked against its own window. Among all the interactions that qualify, **the most recent one gets the order** — a click 6 days before the order doesn't beat an open 1 day before it. > [!NOTE] > > Because the window starts at the interaction, not the send, there's no limit on how old the message itself can be. If a customer opens a two-month-old newsletter and orders the next day, that newsletter gets the order — as long as nothing more recent qualifies. ### Comparing channels Different interaction types can have different windows — for example, 5 days for email opens, 10 days for email clicks, and 5 days for SMS deliveries. A channel with a wider window collects more orders for structural reasons, not because it performs better. Keep this in mind when you read channel rows side by side in the **Revenue & Drivers** report: **attributed revenue isn't comparable across channels like-for-like** unless you've set identical windows. ## Attribution settings Go to **Settings** → **System** → **Goals and Attribution** and open the **Attribution** tab. ![Settings → System → Goals and Attribution](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/goals-and-attribution-menu.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=76147ceeb68fe1713c94cacd37f8273f) ![Attribution tab](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/attribution-tab.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=3deba555a0a8b7133c09eb4ca65681e4) The page has four blocks: **Settings**, **Email**, **SMS**, and **Other channels**. ### Excluded campaigns In the **Settings** block, use **Excluded campaigns** to list transactional and other campaigns that don't affect conversion and shouldn't take revenue away from your marketing campaigns — for example, an SMS with an authorization code at checkout or a double opt-in email. > [!NOTE] > > Excluded campaigns never anchor attribution, in any channel. You can exclude specific campaigns, or a set of campaigns by filter (tag, channel, type, and so on). New campaigns that match a filter are excluded automatically. You can exclude up to 100 campaigns and up to 100 filters. ### Email * **Clicks** — counts an order if the customer clicked a link in the email within the window before the order. * **Opens** — counts an order if the customer opened the email within the window before the order. Each row has its own toggle and window. At least one of the two must stay on. > [!NOTE] > > Turning on opens raises attributed revenue — usually noticeably, because opens catch customers who read the email and then go to your website directly without clicking. That's expected, not a bug. #### Excluding opens Under the **Opens** row, two toggles decide which opens get thrown out of attribution: * **Exclude Apple MPP opens from attribution** — removes every open that came through Apple's Mail Privacy Protection (MPP) proxy. Apple pre-loads email images for its Mail users, so some MPP opens are machine-generated. But real customers who read the email in Apple Mail come through the same proxy with the same signature, and there's no way to tell them apart. So turning on this toggle drops real readers too: their orders only get attributed if they also clicked. **Expect attributed revenue to go down** when you enable it. * **Exclude bot opens from attribution** — removes opens generated by security scanners and corporate mail filters. Both toggles are **off by default**, so bot opens and Apple MPP opens are counted. Both affect attributed revenue only — the open rate in reports doesn't change. ### SMS * **Clicks** — counts an order if the customer clicked a link in the SMS within the window before the order. Requires [link shortening and click tracking](/campaigns/sms-campaigns/how-to-shorten-links-in-sms-mms-and-other-channels). * **Deliveries** — counts an order if the SMS was delivered within the window before the order. Use this if you send SMS without links or don't track clicks — customers can act on the text of an SMS without clicking anything. You can turn on both at the same time; at least one must stay on. SMS has no open event, so delivery is the closest engagement signal — windows here are usually shorter than for email. ### Other channels Web push, mobile push, Viber, website pop-ups and forms, and in-app are attributed on **clicks**, with one shared **Attribution window**. > [!NOTE] > > Once you click **Save**, changes **apply from the next attribution calculation** (see the [update schedule](#update-schedule) below). Every change is recorded in the account event log. ### Goal settings **Goal** settings live on the next tab: ![Goals tab](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/goals-tab.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=b077dff50488924a33093224b1a23d0b) Every account has a default goal, **Orders**, created automatically. It includes orders in the **Placed**, **Paid**, and **Delivered** status categories across all touchpoints. You can create up to 10 goals. **Update schedule:** * Last 30 days of data — daily, by 09:00. * Last 2 years of data — every Monday by 09:00, if you've created a new goal or edited the attribution settings. ## Where to find attributed revenue > [!NOTE] > > Attributed revenue shows up as **one number** — it isn't split into open-attributed and click-attributed revenue. ### Reports Use these reports to see how channels and individual campaigns contribute to your goals. * [**Revenue & Drivers** report](/reports/revenue-drivers-report) — track your goals and how each channel affects them. Add a target to see attributed revenue for every channel. ![Revenue & Drivers report](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/revenue-and-drivers-report.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=61d9b006d005dff0cd0f2a23bb8be4e6) * [**Campaigns report**](/reports/campaigns-report) — see how each campaign affected the goal you've chosen. ![Campaigns report](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/campaigns-report.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=38fcbafba32741fbb4407e8d9e9002e6) * [**Website personalization report**](/reports/site-personalization-report) — see how each personalization campaign affected the goal you've chosen. ![Website personalization report](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/website-personalization-report.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=26394ea70aa4505c5789531adfaa48c0) ### Filters Use filters to select specific orders attributed to campaigns. * **Attributed to campaign** filter: ![Attributed to campaign filter](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/attributed-to-campaign-filter.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=fe8fc25c4eb3392e2fe085abe7898b06) * **Attributed to flow** filter: ![Attributed to flow filter](https://mintcdn.com/maestraio/nRoRDpuTttEaGOOm/images/attribution/attributed-to-flow-filter.webp?fit=max\&auto=format\&n=nRoRDpuTttEaGOOm\&q=85\&s=21582691893f21069fd4da7bedfa98e1) ### Export Add the attribution flag to your export settings, and the file will include the campaigns that drove each conversion. ![07\_Attribution](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_Attribution.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=465bd60745d5a765e618d514b719d50d) ## Why data from an external analytics system might not match Maestra Platform reports 1. External analytics tools may not account for canceled and returned orders — their stats use the order value right after the order is placed. In Maestra Platform, you can exclude these orders by setting up [goals](/reports/goals). Excluded orders don't appear in reports and don't count toward final revenue. 2. If you have a loyalty program connected, compare the amounts sent to Maestra Platform and to your external analytics tool. Maestra Platform receives the order value after promotions; other systems may be set up differently. 3. If the gap is large, check your integration — the tracker may not be installed correctly, or there may be fake orders (an order far above your average order value). Make sure the Maestra tracker is installed on your website. 4. If Maestra Platform shows fewer orders than your site database or GA, check your account's integration: order data you send to GA should also reach Maestra Platform, and vice versa. Make sure no orders are placed without Maestra Platform knowing about them — that is, the order create and update operations are called for every order. For example, an order placed through a pop-up sends data to GA, but the operation that passes it to Maestra Platform isn't set up. 5. Attribution windows and interaction types differ between systems. Maestra Platform lets you choose which interactions count (opens, clicks, deliveries) and set a separate window for each interaction type, up to 30 days. Another system may count from the send date, use different windows, or filter Apple MPP and bot opens differently. Compare the settings before you compare the numbers. ## FAQ > [accordion] I turned on opens and attributed revenue jumped. Is that a bug? > > No. Opens catch the large group of customers who read an email and then go to your website directly without clicking a link. Until now, those orders weren't attributed to email at all. > > How much revenue shifts depends on your audience. Accounts with lots of Apple Mail readers see a bigger uplift, because Apple MPP opens are counted by default. > [accordion] Why did an old campaign suddenly get orders attributed to it? > > The window is counted from the interaction, not from the send date. If a customer opened an old email (or Apple Mail pre-loaded it) shortly before ordering, and nothing more recent qualified, that old email gets the order. This affects the per-campaign breakdown more than the total. > [accordion] Should I exclude Apple MPP opens? > > Only if you're fine with real Apple Mail readers no longer counting either — there's no way to tell them apart from Apple's pre-load. Most platforms that offer this setting also keep it off by default. If you need parity with another tool, match its setting. > [accordion] Is my 5-day window the same as a 5-day window in another platform? > > Not necessarily. Some platforms count the window from the moment the message is received; Maestra Platform counts it from the interaction. A window counted from the interaction is slightly looser, so the same number of days gives slightly higher attributed revenue. > [accordion] Does changing the settings recalculate the past? > > Settings apply from the next attribution calculation. Attributed revenue for earlier periods is recalculated during the regular 2-year update — but **email opens are only collected for attribution from the moment you turn them on**. Orders from before that date can't be re-attributed to opens, so expect a step in your charts from the day you switch opens on. > [accordion] Will SMS clicks still be collected if I attribute SMS on deliveries only? > > Yes. Clicks are still tracked and shown in reports — they just don't anchor attribution. > [accordion] Does the open rate change when I exclude bot or MPP opens? > > No. These toggles affect attributed revenue only. Open and click metrics in reports stay the same. # Business Metrics Report Source: https://help.maestra.io/reports/business-metrics-report The Business Metrics report gives you a single view of how your business and marketing are performing, what's driving changes in your key numbers, and where your next growth opportunities are. You'll find it in **Analytics → Business Metrics**. The report always covers the last two years, even if your project has older data. By default it shows the last 12 months with a monthly breakdown, all metrics calculated against the **Orders** target action, and a year-over-year comparison. ## What you can do with this report * Assess the current state of your business and marketing. * Track what's causing changes in your target metrics. * Spot growth opportunities across segments and channels. > [!NOTE] > > **How often the data updates.** Metrics for the last 4 months (including the current, incomplete month) refresh every Sunday. A full recalculation runs the following Sunday whenever attribution settings, target actions, or the brand's industry change. ## Set up the report ### 1. Pick a period Choose the reporting window. Data is broken down by month, and the right boundary date is included in the calculation. ### 2. Configure your metrics Default metrics are filled in automatically based on the data available in your project. You can add up to **4 target metrics**. Your selections are saved per brand. You can: * Add metrics with the **Add metric** button (up to 4 total). * Pick the target action used to calculate each metric. * For campaigns, filter by channel (SMS, email, web push, mobile push) and by type (bulk, automated, transactional). * For personalization, filter by form type (popup, embedded block, recommendation widget). * Apply a lifecycle segment or a custom segment. ### 3. Configure the chart You have three display modes: * Year-over-year comparison for a single metric. * Two-metric comparison (toggle from the chart icon). * Additional settings for data points and growth display. ### 4. See how segments influence your metrics The report distributes customers across lifecycle stage segments and shows how each stage contributes to the selected metric. By default it shows **Customer count**. > [!NOTE] > > Segments without orders — **New without order**, **Pre-churn**, **Churn**, and **No order** — won't show data for sales-related metrics. ### 5. Add segments to analyze You can select up to **30 segments** for analysis, including static, recalculated, and RFM-based customer segments. **How metrics are calculated for added segments:** * Only events that happened while a customer was in the selected segment are counted. * The moment a customer enters a segment is shifted back to **00:00 of the previous calendar day** for the calculation. This keeps the analysis consistent and accounts for delays in segment recalculation. **Exceptions.** The following metrics don't take added segments into account: * Revenue share from campaigns * First order conversion * Repeat order conversion * First order conversion from campaigns * Repeat order conversion from campaigns **Data availability.** Subscriber metrics are only available for the last month. Segment data is available from the segment's creation date and is recalculated the Monday following the weekly report update. ### 6. Find your most effective campaigns This section reports on scenarios and bulk campaigns using three metrics: * **Revenue from conversion** — total revenue from orders attributed to a campaign within the target action, where the campaign was sent during the selected period. * **Recipients** — average monthly number of customers who received at least one delivery from the campaign during the period. * **Revenue per recipient** — revenue from attributed orders divided by recipients. Only calculated for months in which the campaign actually sent messages. You can: * Set the target action. * Choose a lifecycle segment. * Toggle between the **Scenarios** and **Bulk** tabs. * Filter to active campaigns only. When this is on, completed scenarios appear in gray. ## Metric reference ### Business metrics | Metric | Definition | | - | - | | **Revenue** | Total revenue from all orders within the target action. | | **Orders** | Number of orders for the period. | | **Average order value** | Revenue divided by the number of orders within the target action. | | **First order conversion** | Share of registered customers who placed their first order within the target action, out of all customers registered in the period. | | **Repeat order conversion** | Share of customers who placed a repeat order within the target action, out of customers with at least one order (excluding churn). | | **Orders per buyer per month** | Average number of orders per customer per month. | | **Customer count** | Number of registered customers in the brand as of the last report update. | | **New customer registrations** | Customers registered during the period. | ### Maestra metrics | Metric | Definition | | - | - | | **Total CRM revenue** | Revenue from unique orders attributed to at least one channel (campaigns, personalization, in-app). | | **CRM share of revenue** | Share of revenue from unique orders attributed to at least one channel, out of total revenue within the goal. | | **CRM orders** | Number of unique orders attributed to at least one channel. | | **Average CRM order value** | Revenue from unique attributed orders divided by the number of orders. | ### Campaign metrics | Metric | Definition | | - | - | | **Revenue from campaigns** | Revenue from orders attributed to campaigns within the target action. | | **Campaign revenue share** | Share of attributed campaign revenue out of total revenue within the target action. | | **Orders from campaigns** | Number of attributed orders within the target action. | | **Average campaign order value** | Revenue from attributed orders divided by the number of orders. | | **First order conversion from campaigns** | Registered customers who placed their first attributed order, out of all customers registered in the period. | | **Repeat order conversion from campaigns** | Customers who placed a repeat attributed order, out of customers with at least one order (excluding churn). | | **Goal conversion from campaigns** | Attributed orders divided by deliveries in the period (excludes deleted customers). | | **Campaign revenue per recipient** | Revenue from attributed orders divided by reach. | | **Subscribers** | Customers with a valid contact who are subscribed to at least one topic in a single channel, as of the last report update. | | **Recipients** | Customers who received at least one non-excluded delivery in the last month of the period. | | **Delivered messages per recipient** | Average number of communications per recipient per month (only deliveries not excluded from attribution). | ### Personalization metrics | Metric | Definition | | - | - | | **Revenue from personalization** | Revenue from orders attributed to personalization within the target action. | | **Personalization revenue share** | Share of attributed personalization revenue out of total revenue within the target action. | | **Orders from personalization** | Number of attributed orders within the target action. | | **Average personalization order value** | Revenue from attributed orders divided by the number of orders. | ### In-app metrics | Metric | Definition | | - | - | | **Revenue from in-app** | Revenue from orders attributed to in-app within the target action. | | **In-app revenue share** | Share of attributed in-app revenue out of total revenue within the target action. | | **Orders from in-app** | Number of attributed orders within the target action. | | **Average in-app order value** | Revenue from attributed orders divided by the number of orders. | ### Loyalty metrics | Metric | Definition | | - | - | | **Loyalty program participants** | Customers in the loyalty participant segment (defined under **Settings → Loyalty**). | | **Revenue** | Revenue from the participant or non-participant segment. | | **Revenue share** | Share of participant revenue out of total revenue. | | **Orders** | Orders from the participant or non-participant segment. | | **Average order value** | Average order value in the participant or non-participant segment. | | **Average order value uplift** | Difference between participant and non-participant average order values. | | **Points accrued** | Points accrued to loyalty participants. | | **Points redeemed** | Points redeemed by loyalty participants. | | **Points redemption rate** | Share of redeemed points out of accrued points (excludes expired points). | | **Total discount amount** | Total discount given to the participant segment. | | **Discount share** | Share of participant discounts out of total revenue. | ## Goals A **goal** is a target value for a business metric that you want to hit in a given timeframe through your marketing. Setting goals helps you: * Make results and the path to reach them explicit. * Track your current progress at a glance. You can set up to **4 goals per brand**. For each goal, you configure: * **Metric** — the performance indicator you're targeting. * **Target action** — for metrics where it applies. * **Customer segment**. * **Goal period** — the timeframe to reach the target. * **Target value** — what you want to hit. * **Hypotheses** — how you plan to get there. You can set multiple goals on the same metric. That's useful when you want to track a long-term strategy alongside short-term priorities — for example, a six-month strategic revenue goal plus a monthly tactical goal on the same number. ## How data deletion affects the report * **Automatic customer deletion** affects only customer and subscriber counts. Orders from deleted customers stay in all other metrics. * **Automatic deletion of customer actions** has no impact on the report. The action data is retained in metrics. * **Manual deletion of customers or actions in the last 4 months** is reflected in the metrics. Older manual deletions don't affect the report. When you change attribution settings or target actions, an automatic two-year recalculation runs the following Sunday and accounts for all deleted orders and customers within the recalculation window. ## FAQ > [accordion] Why do metrics in this report differ from other Maestra reports? > > Three things typically cause the difference: > > 1. **Data grouping.** Business Metrics groups by month; other reports use specific dates. > 2. **Update frequency.** Business Metrics updates weekly; other reports update daily. > 3. **Recalculation window.** Business Metrics recalculates 60 days every week; the Campaigns report recalculates 90 days. > [accordion] How do order status changes affect what I see? > > Orders with **Canceled** or **Returned** status are excluded from the report and from all metric calculations. Only the statuses specified in your target action settings appear in the report. # Campaigns Report Source: https://help.maestra.io/reports/campaigns-report Campaign reports allow you to: * View a performance funnel for campaigns over a selected period: sends, delivery rate, open rate, click rate, unsubscribe rate, and conversion rate. * Compare campaigns with each other. * Group campaigns by folders, channels, or categories, and drill down into metrics of specific campaigns. * Track campaign performance daily, weekly, or monthly. ​ > [!NOTE] > > Campaign statistics are updated in real time, while [attribution](/reports/attribution-model) data is recalculated once a day. You can find this report under **Analytics → Campaigns**. ![](https://mintcdn.com/maestraio/05-EV9YqA_RINTJ8/images/imported/Campaigns-report.png?fit=max\&auto=format\&n=05-EV9YqA_RINTJ8\&q=85\&s=be3b26cecf3154c73ef390538be80f5c) ## **Report settings** By default, the report shows all campaigns for the last three months, grouped by month, with the goal set to **Orders**. * **Time period:** Set the range manually or use date presets (last week, last month, last six months). The end date is inclusive. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(1\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=2dbeff53679f60cb0e9334db755baced) * **Campaign selection:** Choose specific campaigns or group them by channel (Email, SMS, Viber, Mobile Push, Web Push), type (bulk, automated, transactional), folder, tags, or brand. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(3\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=844b79a371f6a7114c05fc0849b89b79) * Select a [goal](/reports/goals): which order categories and statuses to include in the revenue report. The default goal “Orders” covers statuses such as *Created*, *Paid*, and *Delivered*. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(4\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=84ba5027182b9aaf76273ca32eef5266) There are two types of Dashboard mode: 1. **Summary** — general statistics for the selected period. 2. **Detailed** — performance trends over time, broken down by day, week, or month. ## Summary mode ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(5\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=2ef74c4a6abaefc21c0ae993ba6c4fa7) ## **Metrics description** * **Sent** — number of messages actually sent during the selected period. * **Out of X messages** — number of messages queued for sending. Some may not be sent if a contact or subscription is missing. * **Delivery rate** — percentage of delivered messages out of total sent during the selected period. * **Delivered** — number of messages successfully delivered (calculated as sent minus undelivered). * **Open rate** — percentage of opened messages out of delivered during the selected period. * **Opened** — number of messages opened. * **Click rate** — percentage of messages with at least one click out of delivered during the selected period. * **Clicked** — number of messages with at least one click. * **Unsubscribe rate** — percentage of messages where a recipient unsubscribed out of delivered during the selected period. * **Unsubscribed** — number of messages where recipients unsubscribed. * **Spam rate** — the percentage of delivered messages where the recipient marked the message as spam and unsubscribed during the selected period. * **Spam complaints** — number of messages marked as spam. * **Bounce rate** — percentage of undelivered messages due to invalid or inactive email addresses, out of total sent during the selected period. * **Bounced messages** — number of undelivered messages due to invalid or inactive addresses. * **Conversion rate** — percentage of conversions toward the selected goal, out of delivered messages. * **Conversions** — number of attributed orders for the selected goal. * **Revenue (First touch in range)** — total revenue from orders attributed to delivered messages during the period. * **Average order value** — revenue from conversions divided by the number of conversions.The table below shows these metrics for each campaign and also includes: * **Campaign content details:** subject, template, heatmap; * **Technical information:** start date, campaign folder, type, tag, brand; * **Revenue per recipient:** total campaign revenue divided by the number of delivered messages. ## **Detailed mode** ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(6\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=f13c48e2b64553006febd13b5380f8c7) At the top of this report, you’ll see performance metrics over the selected period: * **Revenue** — total revenue for the goal from [attributed](/reports/attribution-model) orders completed during the selected period. * **Number of orders** — number of attributed orders for the goal completed during the selected period. > [!NOTE] > > These metrics are based on orders placed during the selected period. Note that an order attributed to a campaign may be linked to a campaign sent before this period. Other metrics follow the same logic as in the [Summary report](#h_54be88c441). * **Campaign actions:** sends, deliveries, opens, clicks, unsubscribes, including spam rate and bounce rate. * **Goal conversions:** number of [attributed](/reports/attribution-model) orders, their share of delivered campaigns, total revenue, and average order value. ## **Charts** To customize a chart: 1. Click on a metric at the top of the report. 2. Select how to group results: daily, weekly, or monthly. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(7\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=f144c4fbac909b14b93ec15bcc339e07) Absolute values are shown as bar charts on the right side. Percentages are shown as line graphs on the left side. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(8\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=6c523914ca4aa9dbd8f4236f0dfeb437) Hover over a point to see detailed results for that interval. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(9\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=ea6f22ca4cd64903b8a5d4d5cb02c9ff) Below the chart, you can find a breakdown of all metrics by the selected interval. You can also expand rows to view results for specific campaigns. To group by folders, use the toggle switch. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(11\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=a4e593b180c78a3b1952841427ad3eb8) ## **Data deletion and reports** * Automatic deletion of events and customers does not affect reports — data remains available. * Deleting campaigns also does not remove them from reports; they stay visible but are marked as deleted. * Manual deletion of customers or events **within the last three months** will affect reports (e.g., sends and other metrics will decrease). Deleting events older than three months does not affect reports. ## **Exporting reports** **Export to CSV from the interface** 1. Select the report type, time period, campaigns, and goal. For detailed dashboard mode, also select the time grouping. ​ 2. Click **Export to .csv**. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(12\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=0a6e1220e6aaef9e7ff3c285e98fccec) Summary report example: ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(13\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=389e91373a1f853728ee170965b8f33b) Detailed report example: ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Campaigns-report-\(14\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=d31637d5935106ae69dfa92480df2d9e) # Customer Lifecycle Segmentation & Smart Engagement Strategies Source: https://help.maestra.io/reports/customer-lifecycle-segmentation-smart-engagement-strategies ## Define Who to Welcome, Re-Engage, or Suppress Understanding where your customers are in their journey is key to effective communication. **Customer lifecycle segmentation** lets you group customers based on their engagement stage — and send the right message at the right time. Unlike [RFM models](https://maestra.io/blog/marketing/rfm-analysis/), this approach provides an easy-to-use, streamlined 8-segment framework. Every customer moves through a journey: 1. **Sign-up** – initial brand discovery 2. **First purchase** – testing the waters 3. **Repeat purchases** – building trust 4. **Decreasing activity** – early signs of churn 5. **Churn** – no longer buying By identifying each customer’s stage, you can enable personalized marketing strategies designed to improve engagement and conversion rates. Here's how to put lifecycle segmentation to work for your business. ## How Segmentation Works Segments are defined using just three simple metrics: * Time since registration * Time since last purchase * Total number of purchases Based on these, customers fall into one of eight lifecycle segments: * New – 1 order * New – 2+ orders * New – no orders * Promising * Active * Loyal * At-risk * Churned * Inactive (No Orders) > [!TIP] > > Segment thresholds are automatically calculated based on your brand's industry, considering the average number of orders and time passed between those orders. > > If an industry isn’t specified in the brand settings, default thresholds are used, derived from cross-industry performance benchmarks. Let's use the apparel store customers as an example to understand how segment thresholds are defined: ### **Example: Fashion Industry (Apparel, Shoes & Accessories)** * * * * * * * * * * * * * * * * * * * * * * * * * | **Segment** | **Description** | **Thresholds (Fashion Industry)** | | - | - | - | | **New – no orders ​** | Recently signed up but never purchased | **Registered** ≤ 30 days ago **No orders** | | **New – 1 order** | Just made their first purchase | **Registered** ≤ 30 days ago **1 order**Last order ≤ 30 days ago | | **New – 2+ orders** | Quickly converted and repurchased | **Registered** ≤ 30 days **2+ orders\*\*\*\*Last order** ≤ 30 days | | **Promising** | Long-time users with low purchase frequency, recent order | **Registered** > 30 days **1 order\*\*\*\*Last order** ≤ 120 days | | **Active** | Steady buyers with moderate frequency | **Registered** > 30 days **2 orders\*\*\*\*Last order** ≤ 120 days | | **Loyal** | Top-performing, highly engaged customers | **Registered** > 30 days **3+ orders\*\*\*\*Last order** ≤ 120 days | | **At-risk** | Starting to slip away | **Registered** > 30 days **1+ orders\*\*\*\*Last order** 120–255 days ago | | **Churned** | Unlikely to return | **Registered** > 30 days **1+ orders\*\*\*\*Last order** > 255 days | | **Inactive (no orders)** ​ ​ | Signed up long ago, never made a purchase | **Registered** > 30 days **0 orders** | You can find the actual segment thresholds for the brand in the Business Metrics report. 1. **Business Metrics → Customer Segments** Hover over a segment name to see a tooltip with exact thresholds. Click the link to view the filter conditions. ## ![](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/img-557dece0.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=f0eb54652d0e6a509462c0beabaf5a37) ## 1. **Business Metrics → Customer Segments → Segments Report** * On the Business Metrics page, find the "Customer Segments" section and click "Segments Report". * The “Segments Report” opens. * Hover over a segment name to see a tooltip with exact thresholds. Click the link to view the filter setup. ​ ![](https://mintcdn.com/maestraio/Itk5DZRmZl9Vbe7N/images/imported/img-d28dd9fc.png?fit=max\&auto=format\&n=Itk5DZRmZl9Vbe7N\&q=85\&s=8078c62d772ed5b79f8c8f6837500f14) ## Segment-Based Engagement Strategies Set up personalized campaigns for each segment to increase retention and drive lifetime value. ​ Let’s explore strategies for lifecycle segments and the key business metrics to track when evaluating campaign performance. ### **Segment 1: New Users** * **Goal:** To capture attention and encourage the first purchase. * **Who:** Recently registered, no purchases yet * **Key Metric:** First purchase conversion rate **What to Do:** * Create a welcome series of 3–5 campaigns to encourage customers to place their first order. Use a cascade (e.g. first send email, if unopened → web push, if still unopened → mobile push, then SMS) to maximize reach and minimize cost. * Offer exclusive first-purchase discounts or bonus points; * Highlight brand benefits and social proof; * Use limited-time offers to create urgency. ### **Segment 2: Active Customers** * **Goal:** Improve customer retention, encourage repeat purchases and boost AOV (Average Order Value) * **Who:** Recently made a purchase * **Key Metrics:** Repeat purchase rate, AOV (Average Order Value), purchase frequency **What to Do:** * Set up flows based on abandoned sessions with increasing discounts; * Send personalized product recommendations 7–14 days post-purchase; * Use **personalized content**: celebrate birthdays, use names, and offer product recommendations; * Show appreciation for your customers' engagement and ask for feedback via surveys **Success Stories:** * [**Blossom Flower Delivery Sees 5x Revenue Boost with Maestra’s Advanced Abandonment Journey**](https://maestra.io/blog/cases/blossom-flower-abandonment-journey/) ### **Segment 3: At-Risk** * **Goal:** Understand why customers are becoming less active and Re-engage them before they churn * **Who:** Recent buyers who are no longer active * **Key Metrics:** Open/click rates, size of At-Risk \*\*\*\* segment **What to Do:** * Launch reactivation campaigns with personalized discounts after 90 days of inactivity * Recommend new arrivals the customer may be interested in. * Collect feedback on why activity dropped * Escalate offers over time (new products → discounts → exclusive offers)**Success Stories:** * [**JOLYN Drives 7% of Sales with Assistance from Product Recommendations**](https://maestra.io/blog/cases/jolyn-product-recommendations/) * [**JOLYN Achieved 9x Winback Flow Conversion Growth with AI-Powered Automation**](https://maestra.io/blog/cases/jolyn-winback/) ### **Segment 4: Churned** * **Goal:** Attempt win-back or, if there's no interest, end communication on a respectful note. * **Who:** Customers whose last purchase was a long time ago * **Key Metrics:** Open/click rates, Churned \*\*\*\* segment size **What to Do:** * Send [**winback offers**](https://maestra.io/blog/marketing/win-back-email/) with deep discounts (up to 30%) after 180 days of inactivity * After 6+ months of non-engagement, **reconfirm subscription status** * Delete unengaged contacts to protect sender reputation **Success Stories:** * [**Blossom Flower Launched 38 Automated Campaigns over the Course of a Month and Received a ROI of 426% On Marketing Automation**](https://maestra.io/blog/cases/blossom-flower-delivery/) ### **Segment 5: Inactive (No Orders)** * **Goal:** Convert to first purchase or gracefully end communication * **Who:** Signed up but never purchased * **Key Metrics:** Open/click rates, Inactive (No Orders) \*\*\*\* segment size **What to Do:** * Launch re-engagement campaigns for recently registered or recently active customers. * Delete inactive customers to maintain sender reputation.**Suggested flows:** * Winback ### **Anonymous Visitors** * **Goal:** Turn unknowns into subscribers * **Who:** Site/app visitors with no profile * **Key Metric:** Contact collection rate, notification subscriptions **What to Do:** * Set up exit-intent popups (triggered when visitors attempt to leave) with lead magnets to capture abandoning visitor contacts * Use web push for direct browser communication * Capture contacts via signup forms, popups, and web push notifications **Success Stories:** * [**Enlightened Equipment Achieves 20x Growth in New Subscribers**](https://maestra.io/blog/cases/enlightened-equipment-leads/) * \*\*[JOLYN Increases Email Capture by 21% with AI-Optimized Popups](https://maestra.io/blog/cases/jolyn-email-capture/)\*\*Measuring Campaign Effectiveness * Monitor KPIs in **Business Metrics Dashboard** * Set up A/B tests *Disclaimer: This guide is based on real-world client cases across various industries. The results you get may depend on the business model and how well the campaign is executed.* # Customer Segments Comparison Report Source: https://help.maestra.io/reports/customer-segments-comparison-report The Customer Segments Comparison report lets you analyze every customer segment side by side using key performance indicators. Use it to spot patterns across audiences, see which groups behave differently from each other, and figure out which engagement strategies work best for which customers. You can find this report under **Analytics → Core → Customer Segments Comparison**. ## What the report compares The report compares the composition of selected segments across the following parameters: * **Age** * **Number of purchases** * **Total purchase amount** * **Gender** * **Average order value (AOV)** Each parameter is visualized as a distribution across the segments you choose, so you can see at a glance how one audience differs from another on a given dimension. ## How to read the report **1. Select a parameter** Pick the metric you want to analyze — for example, gender distribution, AOV, or total purchase amount. The report will redraw the comparison around this dimension. **2. Select the segments to compare** Choose which customer segments you want to put side by side. You can compare two segments or several at once. **3. Check statistical significance** Validate whether the differences you see between segments are statistically significant or could just be noise. Only act on differences that pass the significance check. **4. Review the metric definitions** Use the glossary below to confirm exactly how each metric is calculated before drawing conclusions. ## Practical use cases > [accordion] Tailor product recommendations by device > > Segments like **iOS users** and **Android users** often have different average order value distributions. Once you see the AOV gap, you can target each group with product recommendations at the price point they actually buy at — premium picks for one audience, value picks for the other. > [accordion] Sharpen personalization for browsers vs. buyers > > A "browsed category X" segment and a "purchased category X" segment usually differ noticeably in age, gender, and AOV. Comparing them tells you who is window-shopping vs. converting, so you can adjust email copy, creative, and paid media targeting accordingly. > [accordion] Evaluate your loyalty program > > Compare loyalty program members against non-members on purchase frequency and total purchase amount. If members aren't outperforming non-members among your high-value customers, the program isn't pulling its weight — and the report shows you that gap directly. > [accordion] Validate A/B test groups > > Before you trust the results of a test, use the report to confirm that the control and test groups are evenly distributed across age, gender, and purchase behavior. If the groups are skewed at baseline, your test results will be skewed too. ## Metric glossary * **Age** — the distribution of customers in each segment across age brackets, based on the date of birth stored in the customer profile. * **Number of purchases** — how many completed orders each customer in the segment has placed. The report shows the distribution of customers by purchase count. * **Total purchase amount** — the lifetime sum of all orders per customer, in dollars (\$). The report shows how customers in each segment are distributed across spend tiers. * **Gender** — the share of male, female, and unknown-gender customers in each segment. * **Average order value (AOV)** — total purchase amount divided by number of purchases, per customer. The report shows the distribution of customers across AOV buckets. > [!NOTE] > > Customers with missing data on a given parameter (for example, no date of birth or no gender on file) are grouped into an "unknown" bucket so the totals across segments stay consistent. > [!TIP] > > Always confirm statistical significance before you act on a difference between segments. A visible gap on the chart doesn't automatically mean the segments behave differently — small segments in particular can show large swings that aren't meaningful. # Goals Source: https://help.maestra.io/reports/goals # What Are Goals and Why Use Them? **A goal** is a specific customer action that your marketing campaigns aim to drive. It reflects the outcome your business wants — and is used to evaluate performance and growth. A goal might be, for example, orders that contain order lines in selected status or order status categories, across any channel or touchpoint — such as paid and delivered online orders. ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-281-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=9617a59682a4c8dcb403d008df0a2868) You can track how campaigns contribute to goals in: * Business Metrics Report * Campaigns report * Campaign overview ![2025-07-21\_12-24-28.png](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-07-21_12-24-28.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=b45636b6282367ef84f017f704530055) All goals are tracked using a [last-non-direct-touch attribution model](/reports/attribution-model) — the attribution window and exclusion settings are consistent across all reports. ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-282-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=e578a2ae090b704be831161144c5da72) ## Default Goal: “Orders” Every project comes with a built-in default goal called Orders. It includes all orders across all touchpoints that are marked as: * Placed * Paid * Delivered ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-283-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=f09c45ac6c3621e8d89b198beef40c79) This default goal is used for attribution in filters, data exports, and website personalization reports. # How to Add a Goal > [!TIP] > > You can create up to five goals, including the default one. 1. To create a new goal: Go to **Settings** → **System Settings** → **Goals and Attribution**. Click "Create Goal" ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-284-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=d281244aedd1c8d2256f4d9bb6361e90) 2. Fill in the goal details: * Name * Select the relevant order categories and statuses. Revenue will be calculated based on the total value of all qualifying orders. ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-285-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=8817a1231aede18e9f6788f51dd28727) Specify the channel or first-touchpoint the order must come from. Or choose to include orders from any touchpoint. **Click on the goal name to view example actions that will count toward this goal.** ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-286-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=7d8bf5225f419c89388606f25d5ab30d) Save the goal. > [!NOTE] > > Once a goal is saved, its settings cannot be changed. You can, however, delete it. ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-287-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=90909ce147888670d545bef912ef8452) Goal added. ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-288-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=cfd5285481a62422289ae035c6689c70) ![image.png](https://mintcdn.com/maestraio/cuhKh1pU0z-oNWv0/images/imported/image-289-29.png?fit=max\&auto=format\&n=cuhKh1pU0z-oNWv0\&q=85\&s=7e7ca24d0aedd15324b1d359277ff7a9) * Data from the past 30 days will appear in reports by 9:00 AM the next day. * Data from the past 365 days will be available by the following Monday. After that, updates follow this schedule: * Last 30 days → updated daily at 9:00 AM * Last 2 years → updated every Monday at 9:00 AM (if a new goal is created or attribution settings are changed). # Where to View Goal Performance 1. Business Metrics Report Analyze goal-related KPIs — see how lifecycle segments and campaigns impact performance. ![2025-07-21\_12-28-09.png](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-07-21_12-28-09.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=f28f45e5fa9dd84cde3d0bb22bd1c67d) 2. Campaign Report See which campaigns contributed to goal completion and in what volume. ![2025-07-21\_12-33-30.png](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-07-21_12-33-30.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=6549639b51f8651648890ba6c2ff2e9c) # How to Find Business Growth Opportunities Source: https://help.maestra.io/reports/how-to-find-business-growth-opportunities Use the **Business Metrics** report together with the **Segment Report** in Maestra to pinpoint what's driving changes in your key metrics — and uncover concrete growth opportunities for your business. We'll walk through the process using the **Newcomers** segment as an example. ## Step 1: Review revenue trends Open the report and look at the revenue chart. In this example, **revenue is down 25% year over year**, and the chart shows that **growth has been slowing for the past six months**. ## Step 2: Figure out why revenue growth has slowed **Hypothesis:** the drop in revenue is tied to either a decline in orders or a lower average order value. To test this, add the **Number of Orders** and **Average Order Value** metrics to the dashboard and compare them against revenue. Start by comparing revenue and orders. Add both metrics to the chart. You'll see that **the drop in revenue is proportional to the drop in order volume**, which points to a direct relationship between the two. Average order value, meanwhile, has held steady. ## Step 3: Look at how customers are converting into orders Add the **First Order Conversion** and **Repeat Order Conversion** metrics to the dashboard. In this example, **first-order conversion is down 26.66% year over year**, with the decline starting in the last six months. Repeat-order conversion, on the other hand, is unchanged. That tells us the business is doing a worse job of motivating new customers to place their first purchase. ## Step 4: Check whether email campaigns are driving purchases Add the **New Customer Sign-ups** and **First Order Conversion from Email** metrics to the chart. Here's where a growth opportunity surfaces — over the past five months, **a lot of new customers have come in**, but **email campaigns haven't motivated them to place a first order**. At the same time, the subscriber base keeps growing. ## Step 5: Dig into the Newcomers segment Now break down your business metrics by newcomer segments. In the **Segment Impact on Metrics** section, click **Segment Report** to open the detailed view. In the report, you can see that the number of new customers with one order has dropped, while the number of newcomers with no orders has grown compared to the same period last year. At the same time, the **Communication Performance** table shows that new customers are receiving fewer email campaigns than they did a year ago. Over the last month, only **28% of newcomers with an order** (2,509 out of 9,025) and **30% of newcomers without an order** (2,659 out of 8,838) received any emails at all. Meanwhile, plenty of newcomers are opting in to SMS. To reach more of them and boost the share of newcomers who place a first order, consider adding SMS to your welcome campaign. ## Step 6: Audit the campaigns running on newcomers In the **Top Performing Campaigns** section, switch to **Scenarios** mode and filter by **Newcomers Without an Order**. This shows you which campaigns are currently being sent to that segment to drive first-order conversion. At the top of the list — ranked by recipient volume — you'll see that the leading campaign is a browse-abandonment scenario, not the welcome series. That's a clear signal: the welcome series needs to be improved and expanded to cover the full newcomer segment. # In-App Messages Report Source: https://help.maestra.io/reports/in-app-report The In-App Messages report tracks revenue generated by in-app forms and measures how those forms influence push notification opt-ins. Use it to understand which forms drive orders, which ones drive subscriptions, and how each form performs across impressions, clicks, and conversions. You'll find the report in **Analytics → In-App**. > [!NOTE] > > All data in the report is current as of the previous day. The report is recalculated once per day, overnight. ## Report types The In-App section contains two separate reports: * **Information forms** — revenue, orders, and engagement for in-app forms that aren't tied to push opt-in. * **Push subscription forms** — opt-in performance for forms that ask customers to allow push notifications. Each report can be viewed as a **summary** (totals per form across the selected period) or as **dynamics** (a time-series chart with the date axis). > [!NOTE] > > Forms with zero values across every metric are hidden from the summary view. They still appear in the dynamics view if you select them explicitly. ## Filters and configuration Both reports share the same configuration controls: * **Date range** — pick a custom range or use a preset (last week, last month, last six months). * **Form status** — Active, Draft, Stopped, or Deleted. * **Folders** — restrict the report to forms inside specific folders. * **Mobile applications** — restrict the report to specific apps. * **Goal** — choose the revenue category and order statuses that count toward attributed revenue (information forms only). The push subscription report is automatically limited to push opt-in forms. ## Information forms report This report shows revenue and engagement for in-app forms. Use it to evaluate how each form contributes to orders and which forms see the most engagement. ### Metrics | Metric | Definition | | - | - | | **Revenue** | Total revenue from completed orders attributed to clicks on the selected forms, within the project's attribution window. | | **Orders** | Number of orders attributed to clicks on the selected forms. | | **Average order value** | Average order value across the selected forms. | | **Targeting hits** | Number of non-unique customers who matched the form's targeting conditions during the selected period. | | **Impressions** | Number of times the form was shown. | | **Share of impressions** | Impressions divided by targeting hits over the selected period. | | **Clicks** | Number of clicks on the form. | | **CTR** | Clicks divided by impressions over the selected period. | | **Conversion orders** | Orders attributed to clicks on the form within the project's attribution window. | | **Conversion revenue** | Total revenue across all orders attributed to clicks made during the selected period. | | **Conversion average order value** | Average order value calculated from conversion orders. | | **Order conversion** | Orders attributed to the form divided by impressions over the selected period. | > [!NOTE] > > Anonymous impressions and clicks are counted in the report even if your project doesn't send anonymous customers to Maestra. ## Push subscription forms report This report shows how push opt-in forms perform. Use it to see which forms get the most permissions granted and how impressions convert into opt-ins. ### Metrics | Metric | Definition | | - | - | | **Targeting hits** | Number of non-unique customers who matched the form's targeting conditions during the selected period. | | **Impressions** | Number of times the form was shown. | | **Share of impressions** | Impressions divided by targeting hits over the selected period. | | **Clicks** | Number of clicks on the form. | | **CTR** | Clicks divided by impressions over the selected period. | | **Push permissions granted** | Number of non-unique push opt-ins attributed to clicks on the form within the project's attribution window. | | **Share of push permitters** | Non-unique push opt-ins divided by clicks on the form over the selected period. | > [!WARNING] > > Permissions granted by anonymous customers are not counted in the **Push permissions granted** metric. > [!NOTE] > > If your apps use separate contact points, a push opt-in granted in one app won't be attributed to an in-app click that happened in a different app. ## How attribution works Orders and push opt-ins are attributed to a form using your project's attribution window. A click on the form starts the attribution clock — any order placed (or push permission granted) by that customer within the window is counted toward the form. Revenue, orders, and conversion metrics all rely on this attribution window. Targeting hits, impressions, clicks, and CTR don't — they reflect raw activity during the selected date range. ## Data persistence Automatic and manual deletion of customer actions or customers themselves does not affect the report — historical data is preserved. > [!NOTE] > > After deletions, results returned by filters elsewhere in Maestra may diverge from the totals shown in this report. The report keeps the original numbers. ## CSV export You can export either report to CSV. The export includes the following fields: | Field | Description | | - | - | | `date` | Start date of the time slice (dynamics export only). | | `campaignName` | Form name. | | `campaignLink` | Link to the form in Maestra. | | `campaignID` | Form identifier. | | `category` | Form type — Modal Standard, Snackbar Standard, Snackbar Subscribe to push, or Modal Subscribe to push. | | `status` | Form status — Active, Draft, Stopped, or Deleted. | | `applications` | Mobile applications the form belongs to. | | `folder` | Folder the form is stored in. | | `startDate` | Form start date. | | `endDate` | Form end date. | | `targeting` | Number of targeting hits. | | `shows` | Number of impressions. | | `showsRate` | Share of impressions. | | `clicks` | Number of clicks. | | `CTR` | Clicks-to-impressions ratio. | | `orders` | Number of orders. | | `revenue` | Revenue (in \$). | | `averageOrderValue` | Average order value (in \$). | | `orderConversion` | Order conversion rate. | | `conversionOrders` | Orders attributed to clicks. | | `conversionRevenue` | Revenue from attributed orders (in \$). | | `conversionAverageOrderValue` | Average order value from attributed orders (in \$). | | `pushSubscriptions` | Push permissions granted (push subscription report only). | | `pushSubscriptionsRate` | Share of push permitters (push subscription report only). | # Loyalty Program Report Source: https://help.maestra.io/reports/loyalty-program-report The Loyalty Program report gives you a single view of how your loyalty program is performing — how much of your business runs through it, how generous your discounts are, how engaged your members are with points, and how members compare to non-members on key purchasing behavior. ## Before you start All metrics in this report are calculated against the segment of customers you designate as loyalty program participants. You need to choose this segment before the report will return data. **1. Open settings** Go to **Settings** → **Loyalty** → **Loyalty program participants**. **2. Select the participant segment** Pick the customer segment that represents members of your loyalty program. **3. Configure multi-brand setups (optional)** If you run more than one brand from the same Maestra account, you can assign a separate participant segment for each brand. > [!NOTE] > > All data in the report is recalculated once per day overnight and is current as of the previous day. You can choose any custom date range, and break the charts down by day, week, or month. Hover over any point on a chart to see the value for that specific period. ## Available metrics ### Loyalty program coverage Shows the share of orders and revenue generated by loyalty program participants compared with all customers. Use the toggle to switch between a revenue-based view and an order-count view. This is the single fastest way to gauge how central the loyalty program is to your business — and whether that share is growing over time. ### Average discount Shows the ratio of discounts issued (in points, in dollars, or combined) to total revenue from participants. It lets you watch how the size of personal discounts moves in relation to revenue. Use this to spot whether you are giving away more margin than revenue is growing, or whether a campaign pushed discounts up without a matching lift in sales. ### Share of points spent Shows the percentage of accrued points that members actually redeemed. This is a direct measure of engagement: if customers earn points but never spend them, the program isn't driving repeat behavior the way it should. ### Average order value Compares the average order value across three groups: * Loyalty program participants * Non-participants * All customers in your database Putting the three side by side isolates the impact of the loyalty mechanics themselves — you can see whether members actually spend more per order than everyone else. ### Loyalty program participants Tracks the total number of active participants over time. Use it to monitor both acquisition (new sign-ups) and attrition (members leaving the program or going inactive). ### Purchase rate Shows the share of loyalty program members who placed at least one order during the selected period. A high participant count means little if most of those members never come back to buy — this metric tells you how many are actually active buyers. ## How the data is calculated * All metrics are scoped to the participant segment you configured in **Settings** → **Loyalty** → **Loyalty program participants**. * The report shows data for customers who were members of the program on the selected date. * Calculations exclude canceled and returned items. * Anonymous orders are included where applicable. * Data refreshes once per day and is current as of the previous day. ## Tips for reading the report * **Watch coverage and average discount together.** If coverage is flat but the average discount is climbing, you are paying more to hold the same share of the business. * **Pair share of points spent with purchase rate.** Both should trend up together. Points sitting unredeemed and a low purchase rate are signs that members aren't seeing enough reason to come back. * **Use the participant vs. non-participant average order value gap as your headline KPI.** A widening gap means the program is doing its job; a shrinking one means the mechanics need a refresh. # Promotions Report Source: https://help.maestra.io/reports/promotions-report The report is located in the **Reports** → **Promotion Report** section. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-12-08--1_48_46PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=dffd7f8d0d375ab3aa9ddea7c4688576) On this page, you’ll find two powerful reports designed to help you optimize your promotion strategy: **"Promotion dynamics"** Use this report to: * Track how your promotion performs over time and measure progress against your key business KPIs. * Spot trends by viewing metric changes daily, weekly, monthly, or yearly. * Quickly identify underperforming channels or touchpoints and take action to boost results. **"Promotion comparison"** This report helps you: * Pinpoint your top-performing promotions within any selected timeframe. * Understand how your promotions influence core KPIs compared to previous periods. * Determine which promotions work best for each location by comparing performance across all touchpoints. > [!NOTE] > > All report data is updated nightly and reflects metrics as of the previous day. # Promotion dynamics This report shows performance metrics for the discount promotion you’ve chosen. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-12-08--1_50_08PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=a9e746e9247098ab1896faad62953c83) ## Report setup By default, the report is generated using the most recently launched promotion, and its active period is applied as the reporting timeframe. If the promotion is still running, the date selector on the right will display yesterday’s date. ​ Steps to View Promotion Data: 1. **Select a promotion.** ​Start typing part of the promotion name in the search field (as shown in the screenshot), or pick a promotion from the dropdown. Promotions not applied to any orders won’t appear in the list. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-08--2_05_14PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=65141a2815877461ad098026cb2efbdb) ​ 2. **Set the reporting period** Enter a custom period or choose a preset range (Last Week, Last Month, or Promotion Period). The **start date is inclusive**, and the **current day cannot be selected**, as all data is updated nightly and reflects metrics **as of yesterday**. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-08--2_21_21PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=874563cd193dd00c277d535f1b921dd3) 3. **Choose locations**Only touchpoints with promotion orders appear in the list. All locations are selected by default — adjust the selection if needed. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-08--2_39_31PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=068641a8980f9af937ebe95e8ae143e8) 4. **Filter Orders & Configure Metrics** ​ Click **“More conditions”** to specify which orders should be included. You can filter by order status categories and include/exclude anonymous orders. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-08--2_49_03PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=e9970a770a81001877df119a3774d02f) You can also choose which metrics to display in the report. To remove a metric, simply uncheck it. This is helpful if you frequently use a specific set of data. Drag metrics to reorder them, move the most important to the top, and hide the ones you don’t need. These display settings are **saved for all users in the project**. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-08--3_04_51PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=d17a868e5d7785b1c6bd2b06ba6a9cc7) > [!NOTE] > > Metric selection and order filters affect exports. The resulting file will include only the metrics you’ve chosen in this menu. **5. Add a comparison period (optional)** Add a custom comparison period or use preset dates to analyze your promotion’s performance over time. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-09--1_34_11PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=11d1bf337f11ff082e7df01a44658fe9) ## > [accordion] Metric Description > > * **Revenue** > * **By promotion** — the total value of all units that had a promotion applied during the selected period. > * **Total** — the total value of all units sold during the selected period in locations where promotional sales took place. > * **Order Revenue** > * **By promotion** — the total value of all orders where a promotion was applied during the selected period. This includes both promotional and non-promotional units within those orders. > * **Total** — the total value of all orders during the selected period in locations where promotional sales occurred. > * **Units** > * **By promotion** — the number of units sold with a promotion applied during the selected period. > * **Total** — the total number of units sold during the selected period in locations where promotional sales occurred. > * **Orders** > * **By promotion** — the number of orders where a promotion was applied during the selected period. > * **Total** — the total number of orders during the selected period in locations where promotional sales occurred. > * **Average Order value** > * **By promotion** — the average order value for orders where a promotion was applied during the selected period. Calculated as: **Order Revenue / Orders by promotion**. > * **Total** — the average order value for all orders during the selected period. Calculated as: **Total Order Revenue / Total Orders**. > * **Total discount amount** — the total discount amount for the selected promotion within the chosen period. ​ > * **Average percentage of discount** calculated as: ​**Total discount amount/ Pre-discount value of orders with the promotion applied × 100%**. ​ > * **Average discount amount** calculated as: ​**Total discount amount** **/ Orders by Promotion**. ## Metric Performance Charts Bar charts are available for each metric, with breakdowns by calendar days, weeks, months, or years. To adjust the chart: 1. Click the desired metric in the report header. 2. Choose how to group the data — by day, week, month, or year. The list of available groupings may vary depending on the selected date range. 3. Hover over any segment of the chart to view the data for that specific period. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-09--4_09_28PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=d047f7d74b5095bb30aa144384784533) If a comparison period is selected in the report settings, you will see two bars showing performance for both the current period and the comparison period. General metrics (revenue, order revenue, units, orders, average order value) help you evaluate your promotion’s performance relative to the comparison period. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-09--4_48_58PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=4fe00639f34d95c5665993aa31f2028d) When you hover over the comparison period’s bar, the general metrics will display performance for the locations selected in the report header. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-09--4_34_02PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=06a3bf473b3bda9ef5d3637c9a172d57) If the promotion was not running during the comparison period, only the values for the general metrics will be displayed in the bars. ​ ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-09--5_11_25PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=cb17d56566428a2092a81123d8cfe19e) ## Report table Below the chart, you’ll find a table that breaks down your promotion performance by touchpoint. This view makes it easy to spot touchpoints with low promotional efficiency so you can dig deeper and optimize. Clicking on any channel will reveal its associated touchpoints.Right below the date range, the table shows your metric value for the selected period. Underneath, you’ll see how that number changed from the previous period — both in absolute terms and as a percentage. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-10--2_26_01PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=f0f075469669d6603c6ece1609193535) # Promotion comparison. This feature helps you compare the effectiveness of the selected discount promotions. ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-10--3_18_42PM.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=c3a9461e1b147f89de6ba8bfed551711) ## Report setup By default, the report is built using the five most recently launched promotions from the past month. To configure this report, follow [the same steps](#h_c1ef7d02fe) as in the **Promotion Dynamics** report setup. Promotions that weren’t applied to any orders won’t be available for selection and will not appear in the drop-down menu. > [accordion] Metric description > > * **Avg Daily Revenue for Promotion-Applied Units** — calculated as: "Total Revenue from Promoted Units" / "Active Promo Days". Only the promotion’s active days that fall within the selected period are included. ​ > > * **Avg Daily Promotion-Applied Orders** — calculated as: "Promo-Applied Orders"/"Active Promo Days". ​ > > * **Avg Daily Promoted Units Sold** — calculated as: "Promo-Applied Units"/"Active Promo Days". > > > [!NOTE] > > > > For promotions that were active for different numbers of days within the selected reporting period, we recommend comparing them using average daily performance metrics. > > * **Total Revenue from Promoted Units** — the final cost of all the units the promotion was applied to within the selected period. ​ > * **Promo-Applied Units** — the number of Units sold with the promotion applied during the selected period. ​ > * **Promo-Applied Orders** — the number of orders the promotion was applied to within the selected period. ​ > * **Avg Order Value** — the average order value for orders with the promotion applied during the selected period. Calculated as: "Total Revenue from Promotion-Applied Orders"/"Promo-Applied Orders". ​ > * **Units per Promo Order** — the number of units sold in orders that include at least one promoted item during the selected period. ​ > * **Total Revenue from Promotion-Applied Orders** — the total value of all orders to which the promotion was applied during the selected period. Both promoted and non-promoted units are included. ​ > * **Revenue from Promo Units %** — calculated as: Total Revenue from Promoted Units/Total revenue for the selected period during the Active Promo Days. ​ > * **Promo Order %** — calculated as: Promo-Applied Orders/Total amount of orders for the selected period during the Active Promo Days. ​ > * **Revenue from Promo Orders %** — calculated as: Total Revenue from Promotion-Applied Orders/Total revenue for the selected period during the Active Promo Days. ​ > * **Promo Units %** — calculated as: Promo-Applied Units/ total number of Units sold during the Active Promo Days. ​ > * **Total Promo Discount** — the total discount amount from the promotion during the selected period. ​ > * **Avg Promo Discount %** — calculated as: Total Promo Discount/The value of promotion-applied orders during the Active Promo Days before discounts × 100%. ​ > * **Avg Discount per Order** — calculated as: Total Promo Discount/Promo-Applied Orders.If a comparison period is selected, growth metrics become available in the report: > * **Revenue growth** — this metric shows how your revenue has changed over a selected period compared to the selected comparison period. It includes only touchpoints where promo-related sales occurred. ​ Calculated as: “Total Revenue from Promoted Units” – “Total Revenue from Promoted Units within the comparison period)”. > * **Order Count Growth** — this metric shows how the number of orders changed during the selected period related to the comparison period. It includes only touchpoints where promo-related orders occurred. Calculated as: “Promo-Applied Orders” – “Promo-Applied Orders within the comparison period)”. > * **Average Order Value Growth** — this metric shows how the average order value changed during the selected period related to the comparison period. It includes only touchpoints where promo-related orders occurred. Calculated as: "Avg Order Value" − "Avg Order Value within the comparison period". > * **Promo Units Sold Growth** — this metric shows how the number of promo units sold changed during the selected period in relation to the comparison period. Data is calculated only for touchpoints that had promo orders. Calculated as: "Average order value by promotion" − "Average order value by promotion within the comparison period". ## Report table Below the report settings, you'll find a table where all metrics are grouped by the selected promotions. The table also displays promotion statuses, the number of Active Promo Days, and each promotion’s period. > [!NOTE] > > * **Active Promo Days** — the number of days the promotion held the **“Launched”** status within the selected report period. > * **Promotion Period** — the span between the promotion’s first launch date and the last date it held the **“Launched”** status before being finished or paused. The end date is not shown if the promotion is currently active. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-17--15_32_40.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=c9145ffb69a5c6fe9888bae664fb850a) ## Filters Using these filters, you can identify the orders used to calculate the metric values. You can also export these orders to validate the results of other metrics. ​\*\*"Total amount of orders":\*\* * Select the date that corresponds to the period chosen in the report. * Under **Order Item - Line Status**, choose the order categories that are included in the report’s More conditions filter. * Select the touchpoints chosen in the report. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-16--15_30_33.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=7be3e8a39837cb3a0b30474a21d9e3da) **"Promo-Applied Orders":** * Use the same conditions as in the *Total Orders* filter, and additionally require that the promotion selected in the report is applied to the orders. ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-16--15_35_46.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=0c291d8cacaa7da2049dec555841a3e4) If the numbers don’t match, make sure that: * The filter uses the same date range as the report. Note that report data is updated through the previous day, and the current day cannot be selected. * The same order status categories are selected in both the filter and the report. * In the report settings, anonymous orders are excluded. If anonymous orders are included, discrepancies are expected, since anonymous orders are not added to the project. * No orders or customers with orders were deleted on that day. After deletions, the report is not updated immediately and is refreshed during the overnight recalculation. ## How data deletion affects reports Changes to or deletions of orders from the past three months, as well as deletions of customers with orders during that period, affect the report and reduce metric values accordingly. These changes will be reflected in the report the day after the overnight recalculation.Deleting or modifying orders older than three months does not affect the report data. ​ ## Report export Select the report type and configure the required settings. The file content and structure depend on the selected report settings. If certain metrics are not needed in the export, disable their checkboxes in the report settings. Click **Export**: ​ ![](https://mintcdn.com/maestraio/8PhODeBuBM8nSWYH/images/imported/--2025-12-16--15_45_53.png?fit=max\&auto=format\&n=8PhODeBuBM8nSWYH\&q=85\&s=875deadcbdce0861eb5df4f018bf8eb5) > [!WARNING] > > **Exporting the promotion report via the API is not supported.** ## "Promotion Dynamics" Report Export If no comparison period is specified in the report settings, metric values in the file are displayed with a daily breakdown.When a comparison period is selected, metric values are grouped by the selected touchpoints, and metrics for the comparison period are also included. > [accordion] Column Description > > *If all metrics are selected in the report settings, the following fields are included in the CSV file:* > > * **promotionName** — promotion name. > * **promotionId** — promotion ID. > * **channelName** — channel. > * **pointOfContactName** — touchpoint name. > * **pointOfContactID** — touchpoint external ID. > * **startReportDate** — the start date of the report period. > * **endReportDate** — the end date of the report period. > * **date** — date. This column is included if no comparison period is selected. > * **promoItemsRevenue** — Total Revenue from Promoted Units. > * **promoReceiptsRevenue** — Total Revenue from Promotion-Applied Orders. > * **totalRevenueForSelectedPeriod** — total revenue for selected period. > * **promoItemsSold** — Promo-Applied Units. > * **totalItemsSoldForSelectedPeriod** — total number of units sold for the selected period. > * **promoReceipts** — Promo-Applied Orders. > * **totalReceiptsForSelectedPeriod** — total orders for the selected period. > * **averagePromoReceipt** — Avg Promo Order Value. > * **averageReceipt** — Avg Order Value. > * **promotionDiscountAmount** — Total Promo Discount. > * **averagePromoDiscountPercentage** — Avg Discount per Order %. > * **averagePromoDiscountAmount** — Avg Discount per Order \$. > * **promoRevenueCoverage** — Revenue from Promo Units %. Calculated as: "Total Revenue from Promoted Units"/"Total revenue" \* 100%. > * **promoReceiptsCoverage** — Promo Order %. Calculated as: "Promo-Applied Orders"/"Total orders" \* 100%. > * **promoReceiptsRevenueCoverage** — Revenue from Promo Orders %. Calculated as: "Total Revenue from Promotion-Applied Orders"/"Total revenue" \* 100%. > * **promoItemsCoverage** — Promo Units %. Calculated as: "Total Revenue from Promoted Units"/"Total number of units" \* 100%. > * **totalRevenueOnPromotionActiveDays** — total revenue on promotion days. > * **totalItemsSoldOnPromotionActiveDays** — total number of units sold on promotion days. > * **totalReceiptsOnPromotionActiveDays** — total orders on promotion days. > * **averagePromoItemsPerPromoReceipt** — average number of Promo-Applied Units in promo orders. Calculated as: "Promo-Applied Units"/ "Promo-Applied Orders". > * **averageItemsPerReceipt**—average number of units in order. Calculated as: "Total units"/"Total orders".*The following fields will be included in your CSV file automatically if a comparison period is selected:* > * **startComparisonDate** — the start of the comparison period. > * **endComparisonDate** — the end of the comparison period. > * **promoItemsRevenueForComparisonPeriod** — Total Revenue from Promoted Units for the comparison period. > * **promoReceiptsRevenueForComparisonPeriod** — Total Revenue from Promotion-Applied Orders for the comparison period. > * **totalRevenueForComparisonPeriod** — total revenue for the comparison period. > * **promoItemsSoldForComparisonPeriod** — products by promotion for the comparison period. > * **totalItemsSoldForComparisonPeriod** — Promo-Applied Units for the comparison period. > * **promoReceiptsForComparisonPeriod**— Promo-Applied Orders for the comparison period. > * **totalReceiptsForComparisonPeriod** — total orders for the comparison period. > * **averagePromoReceiptForComparisonPeriod** — Avg promo Order Value for the comparison period. > * **averageReceiptForComparisonPeriod** — Avg total order value for the comparison period. > * **promotionDiscountAmountForComparisonPeriod** —Total Promo Discount for the comparison period. > * **averagePromoDiscountPercentageForComparisonPeriod** — average percentage of promotion discount for the comparison period (Avg Discount per Order %). > * **averagePromoDiscountAmountForComparisonPeriod** — average promotion discount for the comparison period (Avg Discount per Order \$). > * **promoRevenueCoverageForComparisonPeriod** — Revenue from Promo Units %. Calculated as: "Total Revenue from Promoted Units for the comparison period"/"Total revenue for the comparison period" \* 100%. > * **promoReceiptsCoverageForComparisonPeriod** — Promo Order % for the comparison period. Calculated as: "Promo-Applied Orders for the comparison period"/"Total orders for the comparison period" \* 100%. > * **promoReceiptsRevenueCoverageForComparisonPeriod** — Revenue from Promo Units % for the comparison period. Calculated as: "Total Revenue from Promotion-Applied Orders for the comparison period"/"Total revenue for the comparison period" \* 100%. > * **promoItemsCoverageForComparisonPeriod** — Promo Units % for the comparison period. Calculated as: "Promo-Applied Units"/"Total units sold for the comparison period" \* 100%. > * **totalRevenueOnPromotionActiveDaysForComparisonPeriod** — total revenue on Active Promo Days for the comparison period. > * **totalItemsSoldOnPromotionActiveDaysForComparisonPeriod**—total number of units sold on Active Promo Days for the comparison period. > * **totalReceiptsOnPromotionActiveDaysForComparisonPeriod** — total orders on Active Promo Days for the comparison period. > * **averagePromoItemsPerPromoReceiptForComparisonPeriod** — average number of Promo-Applied Units in Promo-Applied Orders for the comparison period. Calculated as: "Promo-Applied Units for the comparison period"/"Promo-Applied Orders for the comparison period". > * **averageItemsPerReceiptForComparisonPeriod** — average number of units in order for the comparison period. Calculated as: "Average number of units"/"Total orders". ## "Promotion Comparison" Report Export > [accordion] Column Description > > *The following fields are included in the CSV file if all metrics are selected and no comparison period is specified in the report settings:* > > * **promotionName** — promotion name. > * **promotionId** — promotion ID. > * **channelName** — channel. > * **pointOfContactId** — touchpoint external ID. > * **pointOfContactName** — touchpoint name. > * **promotionState** — promotion status: > * **execution**—launched. > * **paused** — on pause. > * **ended** — ended. > * **archived** — in an archive. > * **startReportDate**—starting date of the reporting period. > * **endReportDate**—ending date of the reporting period. > * **activeDays** — the number of days the promotion was active within the selected period (Active Promo Days). > * **averageDailyPromoItemsRevenue** — Avg Daily Revenue for Promotion-Applied Units. > * **averageDailyPromoReceiptsCount** — Avg Daily Promotion-Applied Orders. > * **averageDailyPromoItemsSoldQuantity** — Avg Daily Promoted Units Sold. > * **promoItemsRevenue** — Total Revenue from Promoted Units. > * **promoItemsSold** — Promo-Applied Units. > * **promoReceipts** — Promo-Applied Orders. > * **averagePromoReceipt** — Avg Promo Order Value. > * **totalItemsInPromoReceipts** — the number of units in orders containing at least one promotional unit. > * **promoReceiptsRevenue** — Total Revenue from Promotion-Applied Orders. > * **promoRevenueCoverage** — Revenue from Promo Units %. > * **promoReceiptsCoverage** — Revenue from promo orders %. > * **promoItemsSoldCoverage** — Promo Units %. > * **promoReceiptsRevenueCoverage** — Revenue from Promo Orders %. > * **promotionDiscountAmount** —Total Promo Discount. > * **averagePromoDiscountPercentage** — average percentage of promotion discount. > * **averagePromoDiscountAmount** — average promotion discount (\$). > * **totalRevenueForSelectedPeriod** — total revenue. > * **totalSoldItemsQuantityForSelectedPeriod** — total quantity of units sold. > * **totalReceiptsCountForSelectedPeriod** — total number of orders for selected period. > * **averageReceipt** — total average order value.*The following fields will be uploaded into your CSV file automatically if a comparison period is selected:* > * **startComparisonDate** — the start of the comparison period. > * **endComparisonDate** — the end of the comparison period. > * **averageDailyPromoItemsRevenueForComparisonPeriod** — Avg Daily Revenue for Promotion-Applied Units for the comparison period. > * **averageDailyPromoReceiptsCountForComparisonPeriod** — Avg Daily Promotion-Applied Orders for the comparison period. > * **averageDailyPromoItemsSoldQuantityForComparisonPeriod** — Avg Daily Promoted Units Sold for the comparison period. > * **promoItemsRevenueForComparisonPeriod** — Revenue from Promoted Units for the comparison period. > * **promoItemsSoldForComparisonPeriod** — Promo-Applied Unitssold for the comparison period. > * **promoReceiptsForComparisonPeriod** — Promo-Applied Orders for the comparison period. > * **averagePromoReceiptForComparisonPeriod** — Avg Promo Order Value for the comparison period. > * **totalItemsInPromoReceiptsForComparisonPeriod** — the number of units in orders containing at least one promotional unit for the comparison period. > * **promoReceiptsRevenueForComparisonPeriod** — Total Revenue from Promotion-Applied Orders for the comparison period. > * **promoRevenueCoverageForComparisonPeriod** — Revenue from Promo Units % for the comparison period. > * **promoReceiptsCoverageForComparisonPeriod** — Revenue from promo orders % for the comparison period. > * **promoItemsSoldCoverageForComparisonPeriod** — Promo Units % for the comparison period. > * **promoReceiptsRevenueCoverageForComparisonPeriod** — Revenue from Promo Orders % for the comparison period. > * **promotionDiscountAmountForComparisonPeriod** — Total Promo Discount for the comparison period. > * **averagePromoDiscountPercentageForComparisonPeriod** — average percentage of promotion discount for the comparison period. > * **averagePromoDiscountAmountForComparisonPeriod** — average promotion discount (\$) for the comparison period. > * **totalRevenueForComparisonPeriod** — revenue for the comparison period. > * **totalItemsSoldForComparisonPeriod** — number of units sold for the comparison period. > * **totalReceiptsForComparisonPeriod** — number of orders for the comparison period. > * **averageReceiptForComparisonPeriod** — average order value for the comparison period. Growth metrics are not included in the export. If needed, you can view their values in the report interface or calculate them independently. # Revenue & Drivers Report Source: https://help.maestra.io/reports/revenue-drivers-report > [!NOTE] > > **Revenue & Drivers Report is generated for the past two years, even if the project contains data from earlier periods.** The report is available on your project's home page, or you can navigate to **Reports → Revenue & Drivers**. This report will help you to: * **Assess the state** of your business and marketing; * **Track the reasons for changes** in target metrics; * Find growth opportunities. By default, the report covers the last 12 months, with data grouped by month. All metrics are displayed for the "Orders" target and compared year-over-year. The data in the report for the last 4 months (including the current incomplete month) are updated every Sunday. When changing attribution settings and creating a new project goal or the brand industry is updated the data in the report are recalculated for the last 2 years. These updates occur on the nearest Sunday. ## Report Setup ### 1.Select period Select the reporting period. The data in the report are formed for a 1-month period. The data in the report will include the starting month of the selected period. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--2_36_48PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=559a207e0fe79fbf1d8ec7baacdfcbd3) ### 2.Set up metrics By default, the report displays a set of metrics automatically determined based on the available data on the project. For example, if there are no orders or email sends, but there is data on customers, subscriptions, and registrations, the report will show the following metrics: **"Subscribers"**, **"Recipients"**, and **"New Customer Registrations"**. To add additional metrics, click **"Add metric"**, select the required metric from the list, and confirm your choice. In the list, you can choose both overall business metrics and channel-specific metrics (for campaigns, website personalization, and In-app metrics). ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--2_39_14PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=014b36986f43fa499b1d871f4fae0e36) > [!NOTE] > > You can select up to 4 target metrics in the report. > > The set of brand metrics is saved individually for each user. To modify a metric, click the **"Settings"** icon in the upper right corner of its section. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--2_43_39PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=3d2d50fa6162a9a2e386b071ad4406bf) You can select a goal for any metric of the node—specifying which order statuses or categories of statuses you want the metric to include. By default the "Orders" goal includes the following statuses: "Formed," "Paid," and "Delivered." You can also track point metrics and split campaigns into channels (SMS, email, web push, and mobile push) and types (manual and automated). For website personalization, you can categorize them by form type (pop-up, embedded form, or recommendation widget). Most metrics support filtering by customer lifecycle — from new users to churned ones. By default, the filter includes all segments. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--2_50_17PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=781e59edca96ea9c311abd213dc12944) ### 3. Set up the graph The graph displays metric dynamics in two modes: * **Comparing one metric annually**. To view data in this mode, simply click on the desired metric on the dashboard. ​ ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--2_53_45PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=d4a115243707da2e2a4a1904d9132e0c) * **Comparing two metrics**. To add a new metric for comparison or to remove an existing one, click the "Diagram" icon in the respective metric's node. ​ ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--2_55_13PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=7ac7399aa1ff1323cb34a3b227ff56fd) ### 4. Metric values by customer segments The report distributes customers across lifecycle segments and calculates their impact on the selected metric. By default, the section displays the "Total Customers" metric. To change the metric or adjust its settings, click on the metric field. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--2_58_39PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=9a1ae3848567611bf2b4bc3ccc8c52ea) By clicking the "Segment Report" button, you can access the customer lifecycle segments report. The report displays data for all metrics broken down by lifecycle segments, compared to the previous year. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-08-08--3_02_11PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=421aa1d4d11ecbb407ba7019c61589b1) Since customers from the segment “**New customers without Order**” do not have any orders, there will be no data for this segment in order-related metrics. > [!NOTE] > > Since customers from the segment “New customers without Order” do not have any orders, there will be no data for this segment in order-related metrics. ## Campaign Performance The **Campaign performance report** collects data on flows and campaigns across three metrics: Revenue from Conversions, Recipients, and Revenue per Recipient. These metrics help evaluate campaign effectiveness by goal and customer lifecycle segment. * **Campaign revenue** — the total revenue from orders attributed to the campaign within the selected goal, sent during the chosen period. Orders may be placed outside of the selected period. * **Recipients** — the average monthly number of customers who received at least one campaign during the selected period. This metric is calculated only for months when the campaigns were sent and considers recipients who were in the selected segment at the time of sending. * **Average Revenue per Recipient** — the ratio of revenue from orders attributed to the campaign within the goal to the number of campaign recipients. This metric is calculated only for months with campaign sends.Specify the goal and customer segment for which the data should be displayed. Then select the campaign type by switching between the Flows or Bulk tabs For more detailed data, click on any campaign to access the campaign report or the flows report. ## Metrics In the report, metrics are categorized into groups: "Business metrics", "Campaign metrics", "Website Personalization metrics", and "In-App metrics". You can view the list and the description in the corresponding tab of the table below or in the report interface. > [accordion] Business Metrics > > | Metric | Description | > | - | - | > | Total Revenue | Total revenue from orders within the goal | > | Orders | Total order number within the goal | > | Average order value | Revenue to orders ratio within the goal per period | > | First Purchase Rate | The ratio of registered customers who made their first order within the goal for the period to the total number of registered customers for the same period | > | Repeat Purchase Rate | The ratio of people who made a repeated order within the goal per period to people who made at least one order (excluding the system segment "Subscriber activity in the email channel—Churn in Email") | > | Purchase Frequency | Average number of orders per customer per month | > | Total Customers | Registered Customers (as of last report update) | > | New customer registrations | The number of new customer registrations per period | > [accordion] Campaign Metrics > > | Metric | Description | > | - | - | > | Campaign revenue | Total revenue from orders attributed to campaigns within the goal | > | Revenue Share From Campaigns | Ratio of attributed revenue from campaigns to total revenue within the goal | > | Orders from Campaigns | Number of orders attributed to campaigns within the goal | > | Average order value from Campaigns | Ratio of revenue from orders attributed to campaigns within the goal to the number of these orders | > | Campaigns First Purchase Rate | Ratio of the number of registered customers who made their first order within the goal during the period attributed to campaigns to the total number of registered customers during that period Ratio of registered customers who placed their first order (attributed to campaigns within the selected goal and period) to the total number of registered customers during the same period. | > | Campaigns Repeat Purchase Rate | Ratio of the number of people who made a repeat order within the goal during the period attributed to campaigns to the number of people who made at least one order (excluding the system segment "Subscriber activity in the Email channel - Churn in Email") The ratio of customers who placed a repeat order (attributed to campaigns within the selected goal and period) to the total number of customers who placed at least one order — excluding those in the system segment “Email Channel Engagement — Churned.” | > | Campaigns Conversion Rate | Ratio of the number of orders within the goal attributed to campaigns during the period to deliveries Ratio of orders from campaigns to total deliveries during the period. Deleted customers are excluded. ​ | > | Average Revenue per Recipient | Ratio of revenue from orders attributed within the goal to campaigns to to deliveries Revenue per recipient from goal-attributed orders | > | Subscribers | Number of customers with a valid contact who are subscribed to at least one topic and one channel as of the latest report update | > | Recipients | Number of customers with at least one delivery of a campaign during the period (except for campaigns excluded from attribution) | > | Average Delivered campaigns per recipient | Average number of campaigns per person per month (except for campaigns excluded from attribution) | > [accordion] Website Personalization metrics > > | Metric | Description | > | - | - | > | Website Personalization Revenue | Total revenue from orders attributed to personalization within the goal | > | Revenue Share from Website Personalization | Ratio of attributed revenue from personalization to total revenue within the goal | > | Orders from Website personalization | Number of orders attributed to personalization within the goal | > | Average order value from Website personalization | Ratio of revenue from orders attributed to personalization within the goal to the number of these orders | > [accordion] In-App metrics > > | Metric | Description | > | - | - | > | In-App Revenue | Total revenue from orders attributed to In-App purchases within the goal | > | Revenue Share from In-App | Ratio of attributed revenue from In-App purchases to total revenue within the goal | > | Orders from In-App | Number of orders attributed to In-App purchases within the goal | > | Average order value from In-App | Ratio of revenue from orders attributed to In-App purchases within the goal to the number of these orders | ## How Data Deletion Affects Reports * **Automatic customer deletion**. Affects only the number of customers and subscribers reported. However, the orders from deleted customers will still be included in other metrics. As a result, the data on orders and the average order value may differ from the data based on applied filters . * **Automatic deletion of customer actions** does not impact the report—action data are saved and counted in the metrics. * **Manual deletion of customer or actions**. Deleting customers or actions from the last four months will be reflected in the report metrics. Conversely, deleting actions older than four months will not affect the report data.When adjustments are made to Goal and attribution settings, the report for the past 2 years will be automatically recalculated on the next Sunday. As a result, all data related to deleted orders and customers during the recalculation period will be included. ## FAQ 1. Why Does the "Business Metrics" Report Differ from the Same Metric in Other Maestra Reports (Campaign, Flow, or Personalization Reports)? ​ * **Reason 1: The data in the reports are grouped differently.** In the "Business metrics" report, the data are grouped by month, while in other Maestra reports, they are grouped by specific dates.As a result, the data for the current month in the "Business Metrics" report will always be incomplete. ​ * **Reason 2: Different frequency of report updates.** The "Business metrics" report is updated once a week, while the campaigns report, for instance, is updated daily. ​ * **Reason 3: The recalculation periods for the report data differ.** In the "Business metrics" report, the data are recalculated weekly for the last 60 days, while in the campaign report, the data are recalculated for the last 90 days. This is why data import and deletion can be counted differently in the reports. ​ 2. How does an order status change (for example, cancellation) affect its display in the report? In which cases the order will disappear from the report and in which cases will it remain? The orders with "Cancelled" and "Returned" statuses are removed from the report and not included in metric calculations. Additionally, the report includes only orders in the statuses indicated in the goal settings. # Segments Dashboard Source: https://help.maestra.io/reports/segments-dashboard The Segments Dashboard helps you analyze metrics across customer segments and communication channels. Use this report to: * Measure the value of a segment — both over a customer's entire time in your database (LTV, order frequency, customer lifetime, and more) and over the period you select in the report. * Spot growth opportunities: identify segments that generate more revenue, and segments that aren't worth additional budget. * Compare how segments perform year over year or month over month. * Understand which campaigns work for each segment and assess each channel's contribution to revenue. ## When data refreshes * Data for the last 3 months refreshes daily. * Data for the last 2 years refreshes weekly on Sundays. Recalculated data is available starting Monday. * When you add a new segment, change the attribution window, or configure a new target action, the past 2 years of data are recalculated the next day. * Data for newly added segments appears the next day by 9:00 AM. Metrics are only available from the segment's creation date. > [!TIP] > > If your segments were created recently, use the cumulative metrics in the **Audience Metrics** section for comparison — they are calculated over each customer's entire lifetime in the database. ## Report modes The dashboard has two modes: | Mode | Purpose | When to use it | | - | - | - | | **Comparison** | Compare segments across a list of metrics against the prior year, and analyze performance by communication channel. | Identify which segments are growing and which are declining, surface growth opportunities, and measure the contribution of each communication channel. | | **Dynamics** | Month-over-month trends for selected segments within a single metric. | Detect seasonality or the impact of long-term changes. | ### Charts In both modes, a chart at the top of the report compares **up to 6 segments** at once. To choose which segments appear: 1. Open the **Segments** control in the top panel. 2. Click the chart icon next to each segment you want to plot. The **All Customers** segment is hidden from charts by default — you can still view its metrics in the table below the chart. ### Comparison mode Comparison mode lets you compare metrics across segments and against the prior year, and evaluate segment performance by communication channel. * The chart can show 1 metric year over year, or 2 metrics for the current period side by side. * Below the chart you'll see: * The **Metrics** table, with the metrics you selected and a year-over-year comparison. Click a segment row to expand a breakdown by communication channel (Email, Mobile Push, SMS, Viber, Web Push, and others). * The **Top Campaigns** table — the top 10 campaigns by performance across the selected segments. Each campaign initially shows the top 5 segments. Click **Load more** to expand the rest. ### Dynamics mode Dynamics mode shows how segments change for a single metric **by month**. * The chart plots up to 6 segments simultaneously for one selected metric. * Below the chart you'll see: * A table of the selected metrics. Unlike Comparison mode, segment rows are **not** expandable by channel. * A **Top Campaigns** section, which works the same way as in Comparison mode. ## Configuring the report The top panel exposes the core settings: * **Period** — the range of months to analyze. * **Brand** — available for multi-brand projects. * **Target action** — defaults to **Orders**. See the target actions documentation for details on creating and configuring them. * **Segments** — which segments appear in the report. * **Metrics** — which metrics appear in the report. ## Metrics The report has two metric types: * **For the period** — calculated within the selected date range, for customers who were in the segment during that period. Answers: *"What did this segment generate this month/quarter/year?"* * **All-time (Audience Metrics)** — calculated on the segment's membership **at the end of the selected period**, using each customer's full history in the database. Answers: *"How valuable are the customers currently in this segment?"* To add metrics: 1. Click **Metrics** in the settings panel. 2. Pick metrics from the list: * In **Comparison** mode you can pick multiple metrics. * In **Dynamics** mode you can pick one metric. 3. If needed, add additional metrics with filters via **Add metric**. For example, revenue from popups only. ### Metric definitions #### Business metrics | Metric | Description | | - | - | | Revenue | Total revenue from all orders within the target action. | | Orders | Number of orders during the period. | | Average Order Value | Revenue divided by orders within the target action, for the period. | | Orders per Buyer per Month | Average number of orders per buyer per month. | | Customers | Number of customers registered with the brand as of the report's last refresh date. | | New Customer Registrations | Number of customers who registered during the period. | #### Maestra metrics | Metric | Description | | - | - | | Total CRM Revenue | Total revenue from unique orders attributed to at least one channel (campaigns, personalization, In-App). | | CRM Share of Revenue | Revenue from unique orders attributed to at least one channel (campaigns, personalization, In-App) as a percentage of total revenue within the target action. | | CRM Orders | Number of unique orders attributed to at least one channel (campaigns, personalization, In-App). | | CRM Average Order Value | Revenue from unique orders attributed to at least one channel (campaigns, personalization, In-App) divided by the count of those orders. | #### Campaign metrics | Metric | Description | | - | - | | Revenue from Campaigns | Total revenue from orders attributed to campaigns within the target action. | | Share of Revenue from Campaigns | Revenue attributed to campaigns as a percentage of total revenue within the target action. | | Orders from Campaigns | Number of orders attributed to campaigns within the target action. | | Average Order Value from Campaigns | Revenue from orders attributed to campaigns within the target action, divided by the count of those orders. | | Campaign Conversion to Goal | Orders from campaigns divided by deliveries in the period. Excludes deleted customers. | | Revenue per Recipient from Campaigns | Revenue from orders attributed to campaigns within the target action, divided by reach. | | Subscribers | Number of customers with a valid contact who are subscribed to at least one topic in at least one channel as of the report's last refresh date. | | Recipients | Number of customers with at least one campaign delivery in the last month of the period that wasn't excluded from attribution. | | Delivered Campaigns per Recipient | Average number of communications per recipient per month, excluding those removed from attribution. | #### Personalization metrics | Metric | Description | | - | - | | Revenue from Personalization | Total revenue from orders attributed to personalization within the target action. | | Share of Revenue from Personalization | Revenue attributed to personalization as a percentage of total revenue within the target action. | | Orders from Personalization | Number of orders attributed to personalization within the target action. | | Average Order Value from Personalization | Revenue from orders attributed to personalization divided by the count of those orders. | #### In-App metrics | Metric | Description | | - | - | | Revenue from In-App | Total revenue from orders attributed to In-App within the target action. | | Share of Revenue from In-App | Revenue attributed to In-App as a percentage of total revenue within the target action. | | Orders from In-App | Number of orders attributed to In-App within the target action. | | Average Order Value from In-App | Revenue from orders attributed to In-App divided by the count of those orders. | #### Loyalty metrics | Metric | Description | | - | - | | Loyalty Program Members | Number of customers in the loyalty program member segment defined in **Settings → Loyalty → Loyalty Program Settings**. | | Revenue | Total revenue from the loyalty members or non-members segment. | | Share of Revenue | Revenue from loyalty members as a percentage of total revenue. | | Orders | Number of orders from the loyalty members or non-members segment. | | Average Order Value | Average order value in the loyalty members or non-members segment. | | Average Order Value Uplift | Difference between the average order value of members and non-members. | | Points Awarded | Points awarded to loyalty members. | | Points Redeemed | Points redeemed by loyalty members. | | Redemption Rate | Share of redeemed points out of awarded points. Expired points are **not** counted as redeemed. | | Total Discount Amount | Total discount amount for the loyalty members segment. | | Discount Share | Discount amount for the loyalty members segment as a percentage of total revenue. | > [!NOTE] > > Metrics in the **Loyalty metrics** section are calculated only for the **Orders** target action. #### Audience metrics | Metric | Description | | - | - | | Customer Share | Customers in the segment at the end of the period as a percentage of the entire customer base. | | Revenue (all time) | All orders that customers in the segment placed since joining the database. | | Share of Revenue (all time) | Revenue from segment customers since joining the database, as a percentage of total revenue across the entire base. | | Orders (all time) | All orders that segment customers placed since joining the database. | | Share of Orders (all time) | Orders from segment customers since joining the database, as a percentage of all orders in the database. | | Average Order Value (all time) | Revenue divided by the number of orders. Includes orders that segment customers placed since joining the database. | | Orders per Customer (all time) | Average number of orders per segment customer. Includes orders placed since joining the database. Includes customers with no orders. | | Orders per Buyer (all time) | Average number of orders per buyer (a customer with at least one order) in the segment. Includes orders placed since joining the database. | | Revenue per Customer (all time) | Average revenue generated by one segment customer since joining the database. Includes customers with no orders. | | Revenue per Buyer (90 days) | Average revenue generated by one buyer (a customer with at least one order) in the segment during their first 90 days in the database. | | First-Order Conversion (all time) | Share of segment customers who placed at least one order since joining the database. | | Time to First Order | Average number of days between joining the database and the first order. | | Repeat-Order Conversion (all time) | Share of segment customers who placed two or more orders since joining the database. | | Share of Repeat Orders (all time) | Repeat orders (second or later) as a percentage of all orders placed by segment customers since joining the database. | | Returning Customer Rate (last month) | Share of customers who made a repeat purchase in the last month of the selected period and had purchased before that month. | | Time Between Orders | Average number of days between orders for segment customers. Includes orders placed since joining the database. | | Days Since Last Order | Average number of days since the most recent order for segment customers. | | Missed Purchase Cycles | Number of typical purchase intervals a customer has skipped. Above 1 means the cadence is broken. Calculated as Days Since Last Order divided by Time Between Orders. | | Customer Lifetime | Average number of days between the first and most recent order for segment customers. | ## Segments The report includes built-in lifecycle segments by default. You can also add any customer segment — recalculated, static, or RFM. 1. Click the `+` icon next to the **Segments** block. 2. Pick up to **30 segments**. 3. Save your selection. Added segments will appear in the report's table after the next recalculation. ### How metrics are calculated for added segments * The report only includes events that happened while the customer was a member of the chosen segment. * The moment a customer enters a segment is shifted to **00:00 of the previous calendar day** for the purposes of metric calculation. This approach preserves consistent analytical logic while accounting for the delay before customers actually appear in a segment (for example, scheduled recalculations or waiting for a static-segment import). > [accordion] Example 1. A customer's first order > > A customer places their first order on December 3 at 4:00 PM, but doesn't enter the **Customers with Orders** segment until the next recalculation on December 4 at 8:00 AM. The report counts their data inside the **Customers with Orders** segment starting from December 3 at 00:00. > [accordion] Example 2. Reactivating customers via orders > > The project has two manually created scheduled segments added to the report: **Churned** and **Active Customers**. > > **How the reactivation unfolds:** > > * December 9, 00:00 — the customer is in the recalculated **Churned** segment. > * December 10, 12:00 — a reactivation campaign is sent to the customer. > * December 15, 10:00 — the customer clicks through to the site from the email and places an order. > * December 16, 03:00 — the segments are recalculated: the customer leaves **Churned** and moves into the recalculated **Active Customers** segment. > > **How this shows up in the reports:** > > * **Segment Impact**: after the metrics are recalculated, the customer's entry into **Active Customers** shifts to December 15 at 00:00, so the order's revenue is attributed to **Active Customers**. > * **Top Campaigns**: the same shift applies, but metrics here are calculated **from the campaign send date**. The order's revenue is therefore attributed to the segment the customer belonged to as of December 9 at 00:00 — **Churned**. > > When measuring reactivation effectiveness, keep these recalculation differences across reports in mind and lean on the campaigns report for the final read. ## Exporting the report 1. Choose the report type, period, target action, metrics, and segments. 2. Click **Export .csv**. ### Export column reference * `PeriodStart` — start of the selected comparison period. * `PeriodEnd` — end of the selected comparison period. * `Date` — date from the selected dynamics period. * `Brand` — selected brand. * `TargetAction` — selected target action. * `SegmentName` — segment name. * `Channel` — campaign channel. * `MailingType` — campaign type (automated, transactional, bulk). * `FormType` — form type (popup, embedded block, recommendation widget). * `TotalRevenue` — **Revenue** metric. * `Orders` — **Orders** metric. * `AverageOrderValue` — **Average Order Value** metric. * `AverageOrdersPerCustomerPerMonth` — **Orders per Buyer per Month** metric. * `RevenueAllTime` — **Revenue (all time)** metric. * `RevenueShareAllTime` — **Share of Revenue (all time)** metric. * `OrdersAllTime` — **Orders (all time)** metric. * `OrdersShareAllTime` — **Share of Orders (all time)** metric. * `AverageOrderValueAllTime` — **Average Order Value (all time)** metric. * `AverageOrdersPerCustomerAllTime` — **Orders per Customer (all time)** metric. * `AverageOrdersPerBuyerAllTime` — **Orders per Buyer (all time)** metric. * `AverageRevenuePerCustomerAllTime` — **Revenue per Customer (all time)** metric. * `AverageRevenuePerBuyer90d` — **Revenue per Buyer (90 days)** metric. * `FirstOrderConversionAllTime` — **First-Order Conversion (all time)** metric. * `AverageRegistrationToFirstOrderDaysAllTime` — **Time to First Order** metric. * `RepeatOrderConversionAllTime` — **Repeat-Order Conversion (all time)** metric. * `RepeatOrdersShareAllTime` — **Share of Repeat Orders (all time)** metric. * `ReturningCustomersRateLastMonth` — **Returning Customer Rate (last month)** metric. * `AverageTimeBetweenOrdersAllTime` — **Time Between Orders** metric. * `AverageDaysSinceLastOrderAllTime` — **Days Since Last Order** metric. * `MissedPurchaseCyclesAllTime` — **Missed Purchase Cycles** metric. * `AverageCustomerLifetimeDaysAllTime` — **Customer Lifetime** metric. * `CrmRevenue` — **Total CRM Revenue** metric. * `CrmRevenueShare` — **CRM Share of Revenue** metric. * `CrmOrders` — **CRM Orders** metric. * `CrmAverageOrderValue` — **CRM Average Order Value** metric. * `InAppRevenue` — **Revenue from In-App** metric. * `RevenueShareFromInApp` — **Share of Revenue from In-App** metric. * `OrdersFromInApp` — **Orders from In-App** metric. * `AverageOrderValueFromInApp` — **Average Order Value from In-App** metric. * `TotalCustomers` — **Customers** metric. * `CustomersShare` — **Customer Share** metric. * `CampaignsRevenue` — **Revenue from Campaigns** metric. * `CampaignsRevenueShare` — **Share of Revenue from Campaigns** metric. * `OrdersFromCampaigns` — **Orders from Campaigns** metric. * `AverageOrderValueFromCampaigns` — **Average Order Value from Campaigns** metric. * `CampaignsConversionRate` — **Campaign Conversion to Goal** metric. * `AverageRevenuePerRecipient` — **Revenue per Recipient from Campaigns** metric. * `Subscribers` — **Subscribers** metric. * `Recipients` — **Recipients** metric. * `AverageDeliveredCampaignsPerRecipient` — **Delivered Campaigns per Recipient** metric. * `WebsitePersonalizationRevenue` — **Revenue from Personalization** metric. * `RevenueShareFromWebsitePersonalization` — **Share of Revenue from Personalization** metric. * `OrdersFromWebsitePersonalization` — **Orders from Personalization** metric. * `AverageOrderValueFromWebsitePersonalization` — **Average Order Value from Personalization** metric. ## How editing a segment affects the report * **Changing segment conditions** * Historical data isn't deleted. * New data starts accruing from the edit date. At the boundary between periods, the chart shows a tooltip: *"Conditions for segments changed during this period. Check the event log before comparing."* * **Stopping segment recalculation** * Once a period metric reaches zero it **stops appearing** on the chart. * Cumulative (all-time) metrics are calculated using the segment's membership as of the most recent recalculation. ## How data deletion affects the report Data deletion impacts this report the same way it impacts the **Business Metrics** report. See the Business Metrics documentation for details. # Site Personalization Report Source: https://help.maestra.io/reports/site-personalization-report The Site Personalization report lets you track the revenue generated by the forms you've deployed on your website and evaluate how personalization is contributing to the growth of your contact database. The report lives in **Analytics → Site Personalization**. The report is split into two main sections, each with its own set of metrics and charts: * **Information forms** — pop-ups, embedded forms, and recommendation widgets whose goal is to influence purchasing behavior and drive revenue. * **Contact collection forms** — forms whose goal is to collect customer contact details and grow your subscriber base. ## Configuring the report When you open the report, the default view shows data for the last month, broken down by day. You can change the view at any time using the controls at the top. ### Date range * Pick a date range manually, or use one of the presets: last week, last month, or last six months. * The right-hand date boundary is **inclusive** — data for the selected end date is included in the report. ### Filters You can narrow the report down by: * **Form type** — pop-ups, embedded forms, or recommendation widgets. * **Folder** — the folder a form is stored in. * **Site** — the website the form is deployed on (useful if you operate more than one site). ### Grouping Charts can be grouped by **day**, **week**, or **month** depending on the granularity you need. ## Information forms This section shows how much revenue your information forms have generated and how they're performing across the funnel — from targeting to impression to click to order. ### Metrics > [accordion] Revenue > > Total revenue attributed to information forms over the selected period. Canceled orders and returned items are excluded from the calculation. > [accordion] Orders > > The number of orders attributed to information forms over the selected period. > [accordion] Average order value > > Revenue divided by the number of orders attributed to information forms. > [accordion] Customers in targeting > > The number of **non-unique** customers who matched the form's targeting conditions during the selected period. A customer who matched the conditions multiple times is counted multiple times. > [accordion] Impression share > > The ratio of impressions to customers in targeting. > > `Impression share = Impressions / Customers in targeting` > > This shows how often a customer who qualified for the form actually saw it. The share can be lower than 100% when frequency caps, A/B test holdouts, or other display rules prevent the form from being shown to every eligible customer. > [accordion] CTR > > Click-through rate — the ratio of clicks to impressions. > > `CTR = Clicks / Impressions` > [accordion] Order conversion rate > > The ratio of attributed orders to clicks. > > `Order conversion rate = Orders / Clicks` > [accordion] Conversion revenue and average order value > > Revenue and average order value calculated from the orders attributed to the form's clicks. ### Displays The information forms section gives you several ways to look at the data: * **Dynamic charts** showing how metrics change over time, grouped by day, week, or month. * **Granular time-period metrics**, broken out for each interval in the selected range. * **Form-level tables** that show every metric per individual form. * **Summary metrics** rolled up across all forms that match the current filters. ## Contact collection forms This section measures how effective your subscription forms are at growing your contact database. ### Metrics > [accordion] Contacts submitted > > The number of **non-unique** customers who completed the form during the selected period. If the same customer submitted the form more than once, every submission is counted. > [accordion] Customers in targeting > > The number of non-unique customers who matched the form's targeting conditions during the selected period. > [accordion] Impression share > > The ratio of impressions to customers in targeting. > > `Impression share = Impressions / Customers in targeting` > [accordion] Contact submission rate > > The ratio of contact submissions to impressions. > > `Contact submission rate = Contacts submitted / Impressions` ### Displays The same set of views is available as for information forms: * Dynamic charts grouped by day, week, or month. * Per-interval metric breakdowns. * Form-level data tables. * Summary metrics across all forms in the current filter set. ## Revenue attribution Revenue and order metrics in the report are attributed to a form when the order can be linked back to a click on that form. Canceled orders and returned items are excluded from revenue, average order value, and order count. Revenue is shown in your account's base currency (for example, \$). ## Exporting the report You can export the data to a CSV file for offline analysis or reporting. The export includes the following fields: * Date * Campaign name * Campaign link * Revenue * Orders * Average order value * Customers in targeting * Impressions * Impression share * Clicks * CTR * Order conversion rate * Conversion revenue * Conversion average order value * Contacts submitted * Contact submission rate * Form type * Status * Site * Folder * Campaign ID > [!TIP] > > Export the CSV after applying your filters — the file will contain only the rows that match the current filter set. ## Tips for reading the report * A low **impression share** usually means a form is being held back by frequency caps, A/B test rules, or other display constraints — not by targeting itself. * A high **CTR** combined with a low **order conversion rate** is a signal to look at the landing experience after the click rather than the form itself. * **Customers in targeting** is non-unique on purpose. It reflects how many opportunities to display a form occurred, which is what you want when calculating impression share and overall reach. * Compare contact collection forms by **contact submission rate** rather than raw submissions — the rate normalizes for traffic differences between forms. # Subscribers Report Source: https://help.maestra.io/reports/subscribers-report The Subscribers report shows how your subscriber base is growing across channels and topics, how many people are opting in and out, and how many contacts are unreachable. Use it to track list health, plan acquisition campaigns, and export raw data for deeper analysis. You can find this report under **Analytics → Subscribers**. > [!NOTE] > > Data is refreshed daily by 8:00 a.m. and reflects the previous day. ## Data availability by channel Historical data depth depends on the channel: * **SMS and Viber** — data is available from late 2019. * **Email** — data is accurate from 2026 onward. * **Mobile Push and Web Push** — data is tracked starting from early 2023. ## Report settings By default, the report opens for the last three months, broken down by week. * **Time period:** Set dates manually or use presets (last week, last month, or last six months). The end date of the interval is inclusive. * **Audience selection:** Choose which subscribers to analyze: * Customers subscribed to any channel * Customers subscribed to at least one topic within a selected channel * Customers subscribed to a channel regardless of topic * Customers subscribed to a specific topic within a channel * **Granularity:** Group data by day, week, or month. ## Report metrics ### Subscribers *Customers with a valid contact and an active subscription within the selected audience.* The report displays: * The number of subscribers * Their share of the total customer base on the project (%) * The change over the period, shown in both absolute values and percentages > [!NOTE] > > For the Mobile Push channel, "valid contact" means the customer has granted push permission in at least one app. ### Requires confirmation *Customers with a valid contact who are waiting to confirm their subscription within the selected audience.* The report displays: * The number of customers * The change over the period, shown in both absolute values and percentages This metric is only available if double opt-in is currently enabled on the project, or was enabled in the past. ### Unreachable Customers who cannot receive campaigns in the selected audience: * With an invalid contact * Without a contact * Without subscription data * Unsubscribed If a specific channel is selected, the report also shows the number of customers without a contact for that channel. ## Charts ### Growth chart The top chart shows **subscriber growth**. **Formula:** `Growth = Subscribers at the end of the period − Subscribers at the start of the period` **Example:** The chart is built for the month of March 1–31: * March 1 — 10,000 subscribers * March 31 — 10,500 subscribers * Growth = 10,500 − 10,000 = **500 subscribers** ### Subscriptions and unsubscribes chart This chart shows the volume and dynamics of new subscribers and unsubscribes. **New subscribers** are customers who, during the period: * Subscribed to a channel * Provided a contact * Had their contact become reachable **Unsubscribes** are customers who, during the period: * Moved to the "Unsubscribed" status or "Subscription pending confirmation" * Lost a valid contact * Were merged with another customer * Were deleted from the database > [!WARNING] > > If a customer subscribes and unsubscribes on the same day, they are not counted in the subscriptions or unsubscribes for that day. ## What the report is useful for In addition to tracking subscription and unsubscribe dynamics on your project, you can: * Export the report for internal analytics * Decide whether to invest in acquiring new subscribers if unsubscribes are outpacing opt-ins * Set up pop-ups to collect contacts if a large share of customers have no contact on file ## How to export the report To export, click the **Export to .csv** button in the top-right corner of the report page. ### Export column reference | Column | Description | | - | - | | `date` | The selected period | | `brand` | The selected brand | | `channel` | The selected channel | | `topic` | The selected topic | | `subscribers` | Total number of subscribers on the last day of each period | | `subscribed` | Number of customers who subscribed during the period | | `unsubscribed` | Number of customers who unsubscribed during the period | | `requireConfirmation` | Number of customers whose subscription is awaiting confirmation | | `others` | Number of customers without a subscription/contact, without subscription data, or who have unsubscribed | | `noContact` | Number of customers without a contact | | `customersTotal` | Total number of customers | ## Frequently asked questions ### Why is there a sharp spike in subscriptions on the chart? Possible causes: * A customer import into the project * A bulk edit of customers (via import or in a workflow) * Acquisition campaigns aimed at growing the subscriber list ### Why did unsubscribes spike suddenly? Check the following: * Manual customer deletions on the project * Automatic customer deletion settings * Customer merges * Bulk customer edits — verify that no incorrect subscription status was passed ### How do customer deletions affect the report? **Manual deletion** — the report is recalculated weekly, on the Saturday following the deletion. The drop will appear on the chart for the preceding Friday. > [!NOTE] > > **Example:** Customers are deleted on Wednesday. The data is recalculated on Saturday, but the decrease in the number of subscribers shows up on the chart for **Friday**, not Wednesday. **Automatic deletion** — customers are added to the unsubscribed count during the daily recalculation of the report. ### Why do the Mobile Push and Web Push charts show a spike in early 2023? Data for the **Mobile Push** and **Web Push** channels has only been tracked since early 2023. As a result, the report may show an apparent jump in subscribers at that point. # Advanced security Source: https://help.maestra.io/security/advanced-security The **Advanced Security** provides extra security features for large businesses with special security requirements. ## **What is included** ## Masking personal data for specific users This feature allows you to hide personal data from selected staff members. ![](https://mintcdn.com/maestraio/PtiXTG1opYow5MNd/images/imported/Advanced-security.png?fit=max\&auto=format\&n=PtiXTG1opYow5MNd\&q=85\&s=3280641760f7303f7ca31145592138ea) Personal data includes: full name, email, and phone number. ​ How to set up: 1. Go to the **Settings tab → Security → Security Policy** and enable **Hide customer personal data**. ![](https://mintcdn.com/maestraio/UotOaR5FKMl5Tz3c/images/imported/Advanced-2Bsecurity-2B-281-29.png?fit=max\&auto=format\&n=UotOaR5FKMl5Tz3c\&q=85\&s=4f6a9d753e0dd158f09e74cccbcc385d) 2. Control data visibility by granting or removing the **View and edit personal data** permission for the relevant staff or security groups. ![](https://mintcdn.com/maestraio/UotOaR5FKMl5Tz3c/images/imported/Advanced-security--282-29.png?fit=max\&auto=format\&n=UotOaR5FKMl5Tz3c\&q=85\&s=3bde3d5c323a9fbe5e7aa65938aabe82) For more flexible control, assign the ***Unmask personal data*** permission to a user. This allows them to view customer data on the customer’s page. ![](https://mintcdn.com/maestraio/UotOaR5FKMl5Tz3c/images/imported/Advanced-security--283-29.png?fit=max\&auto=format\&n=UotOaR5FKMl5Tz3c\&q=85\&s=85325eef25a1fdc58ec6e77c7d82c68f) Every use of this feature is recorded in the event log. ![](https://mintcdn.com/maestraio/PtiXTG1opYow5MNd/images/imported/Advanced-security--285-29.png?fit=max\&auto=format\&n=PtiXTG1opYow5MNd\&q=85\&s=d7d7c9067838ef1521ec195274a69f46) > [!NOTE] > > Note: **Export restrictions** can be set without Advanced Security. Simply remove the **Export personal data** permission from staff or security groups. ## **Restricted access by IP** This feature allows staff to log in to the platform only from specific IP addresses. To enable it, provide your Mindbox manager with a list of trusted IP addresses. Once added to the platform’s web server, access to the project will be allowed only from these addresses. ## **Exporting events to SIEM (Security Information and Event Management)** This allows you to **regularly export logs** from the event log, which records: * Project logins with IP addresses * Creation, editing, and deletion of campaigns, segments, customers, and other entities * Export and import bulk tasks * Changes to staff and permissions, and more. ![](https://mintcdn.com/maestraio/PtiXTG1opYow5MNd/images/imported/Advanced-security--286-29.png?fit=max\&auto=format\&n=PtiXTG1opYow5MNd\&q=85\&s=b6838c58f5a78970a6fb2ba44d59b32f) ## **SSO — Single Sign-On** This feature lets you manage staff access centrally. Learn more about SSO [here](/security/single-sign-on-sso). ## **How to enable** The Advanced Security is enabled by default and does not require an extra fee. # How Two-Factor Authentication Works Source: https://help.maestra.io/security/how-two-factor-authentication-works > [!NOTE] > > Two-factor authentication (2FA) **is not available** for projects using [Single Sign-On (SSO)](/security/single-sign-on-sso) or access via [passkeys](/security/passkeys/what-are-passkeys). 2FA adds an extra layer of security by sending a short-term, updated password to each staff member when they try to log in. To set up two-factor authentication, go to the **Settings** tab **→ Security → Security Policy.** ![](https://mintcdn.com/maestraio/PtiXTG1opYow5MNd/images/imported/How-Two-Factor-Authentication-Works.png?fit=max\&auto=format\&n=PtiXTG1opYow5MNd\&q=85\&s=c247b1add8389eba553eeaa2c1e05d34) > [!NOTE] > > To access the page, staff members need one of the following permissions: > > * **View security settings** > * **Manage security policy: full access** **Authentication settings** * Password expiration — the period during which the account password can be used for login. You can choose a duration starting from **1 day**. * Two-factor authentication — choose SMS or Email. > [!NOTE] > > **Note: SMS authentication is not supported for phone numbers from the following countries:** > > Vietnam (+84), Haiti (+509), Democratic Republic of the Congo (+243), Egypt (+20), Indonesia (+62), Iraq (+964), Iran (+98), Qatar (+974), China (+86), Cuba (+53), Kuwait (+965), Laos (+856), Lebanon (+961), Madagascar (+261), Morocco (+212), Niger (+227), United Arab Emirates (+971), Oman (+968), Pakistan (+92), Saudi Arabia (+966), Thailand (+66), Tanzania (+255), Uganda (+256), Chad (+235) ***Two-factor authentication applies to all staff on the project.*** \* It cannot be set up per user.\* ​ The options **Hide customer personal data** and **Maestra staff access** can only be edited if the **Advanced security** mode is enabled. # Passkey FAQ Source: https://help.maestra.io/security/passkeys/passkey-faq # Common issues and how to solve them ## **Lost access** If you lose access to your password manager or device, contact the project owner. They can revoke the old keys and generate a new one. You’ll receive an email with instructions to set up your new passkey. ## **Password recovery issues** If your project uses passkey login, password recovery isn’t possible — passwords are no longer used in the system. Contact the project owner to issue a new passkey. ## **Windows computer asks to insert a security key into a USB Port and doesn’t offer other storage options** Make sure that: * Your computer supports Bluetooth. Turn Bluetooth on both your computer and phone, refresh the page, and start the setup again. After that, the system should offer the option “Use a phone or tablet” to save your passkey. You’ll be able to scan a QR code to save it on your phone. * You have set up a PIN or fingerprint login on your computer. If password login is currently enabled, go to your system settings and change it to a PIN or fingerprint login. After making these changes and refreshing the page, the system should offer to store your passkey using Windows Hello. You can read more about initial passkey setup in \[this article]. If the steps above don’t resolve the issue, please contact Maestra Support. # Frequently Asked Questions ## **Can I set up multiple passkeys?** Yes. Each team member can have up to three passkeys. You might need an additional passkey if you access Maestra from different devices that can’t share one passkey — for example, when one is stored locally in Windows Hello or in Google Password Manager on a corporate account. In this case, contact the project owner to generate an additional key. ## **What if I use both Mac and Windows?** You can set up a passkey for each device. There are two convenient options: 1. Store your passkey in a password manager (such as 1Password, Bitwarden, etc.) — it will sync across all your devices. 2. Set up a passkey via your phone (Apple or Android)**.** During setup, select “Use a phone, tablet, or passkey.” A QR code will appear — scan it with your phone and confirm saving the key in your keychain. After setup, you can log in by scanning a QR code and confirming access through your phone. ## **What happens to old passwords?** They remain in the system for now but are no longer used and will be deleted in the future. ## **Does passkey login work in incognito mode?** Yes, but you’ll need to confirm access to your saved passkeys each time you use incognito mode. ## **What if I use a corporate computer without permission to install software?** Use the built-in browser options or ask your IT department to install a supported password manager. # Passkey login administration and setup Source: https://help.maestra.io/security/passkeys/passkey-login-administration-and-setup > [!NOTE] > > Passkey login is enabled by default for all projects. If you experience any issues, please contact Maestra Support. If you use [SSO (Single Sign-On)](/security/single-sign-on-sso) and enforced login is enabled, passkey authentication is not required. # Managing Passkeys: Owner/Admin Guide To manage passkeys, you need the **View user settings** and **Edit users** permissions. By default, these permissions are granted to project owners and administrators. If needed, you can assign them to other team members. > [!TIP] > > We recommend granting passkey management access to at least two staff members in case one of them loses access to their passkey. Owners, administrators, and any staff members with the above permissions can: * View which users have passkeys set up. * Send an email to create a new passkey for users who’ve lost access or need an additional passkey for another device. * Reset existing passkeys. ## **How to send a setup email to a new user** You can add new users manually or via import. After adding them, go to the staff editing page and click **Send new passkey.** The user will receive an email with a link to set up their passkey. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(13\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=dcff11c4ab0f1862139211dcd8968385) ## **How to set up an additional passkey for a user** > [!TIP] > > Each employee can have up to three passkeys. A user may need an additional passkey if they access Maestra from multiple devices that cannot share the same passkey. For example, when one is stored locally in Windows Hello or Google Password Manager under a corporate account. To set up an additional passkey: 1. Go to **Settings → Security → Users.** 2. Open the user’s profile. 3. Click **Send new passkey.** ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(13\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=dcff11c4ab0f1862139211dcd8968385) ## **Helping users with passkey issues** If a user reports that: * Their password manager has changed, but the passkeys weren’t transferred. * They lost the device on which their passkey was set up. * A passkey has been compromised. follow these steps: 1. Go to **Settings → Security → Users.** 2. Open the user’s profile. 3. Click **Reset keys.** 4. Send a new key. > [!WARNING] > > When passkeys are reset, all existing passkeys are permanently deleted and cannot be recovered. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(14\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=af07a9027331a9cdfcf3b46dfd528735) # Passkey Setup: From Email Invitation to Sign-In ## **New users** Once the project owner creates your profile, you’ll receive an email with a link to set up your access. > [!WARNING] > > * The link is one-time use and valid for a limited period: 24 hours for regular users; 72 hours for project owners. > * The expiration time is shown in the email. > * The link cannot be reused after setup. > * If the link expires before you complete setup, contact the project owner to issue a new one. 1. Follow the link from the email. ​ ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(12\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=3f601b4e00920788ff2702f2f4dc2a32) 2. In the window that opens, click **Set up.** ​*​* ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=140052d00c6dedfe0606e241ef9f55a2) 3. Choose where to store your passkey: > [!NOTE] > > The options available in the system window depend on your browser, device operating system, and installed password managers. > [accordion] Using iCloud Keychain > > > [!NOTE] > > > > It is available for selection in the system window when setting up the passkey on Apple devices. > > Once configured, you can access the project from any Apple device that is logged into your iCloud account. > > 1. In the system window, select "iCloud Keychain." > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(4\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=1b0ab7232951fad3b9ccbcb771046e2e) > > 2\. Confirm saving the passkey in the keychain. > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(3\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=cb75e287ae14d5efd52ef2126c80a346) > [accordion] Using Apple or Android mobile phone > > > [!NOTE] > > > > This option is available in the system window of your browser if it supports passkeys and your device supports Bluetooth. > > After setting up your passkey, access the project by scanning the QR code and confirming your login with the passkey on your phone. Use your mobile phone camera (Apple or Android) to scan the QR code. > **To set up the access key on a Macbook, follow these steps:** > > 1. In the system window, select "Use a phone, tablet, or security key." > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(5\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=5abd1f2f49ece75d8684a02a6235e847) > > 2\. Use your device's camera to scan the QR code and save the security key for logging in. > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(15\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=2cd5a5bc30a29000e7050416a3dc2506) > > If your phone cannot read the QR code, use authentication apps to save the passkey. For example, Google Authenticator or Microsoft Authenticator. > 3\. Follow the instructions on your phone after scanning the QR code. > **To set up the passkey on a Windows computer, follow these steps:** > > 1. In the system window, select "Iphone, Ipad or Android device". ​ > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-02_18-33-36.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=4b9e5285164334a3dc84e6c788ef93b5) > 2. Use your device's camera to scan the QR code and save the passkey for logging in. > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-02_18-35-24.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=baf5b0d8ee525f22a9a7c176c6601ca4) > > If your phone cannot read the QR code, use authentication apps to save the access key. For example, Google Authenticator or Microsoft Authenticator. > 3\. Follow the instructions on your phone after scanning the QR code. > > > [!WARNING] > > > > If the system prompts you to insert a security key into the USB port but does not show you how to save the key using your phone, follow these steps: > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-11-25_16-50-15.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=2f9cacee537876e54d68b46c584c073d) > > 1. Make sure your device supports Bluetooth, and that it is turned on on both your phone and computer during setup. > > 2. If Bluetooth was turned off, turn it on and refresh the page to start setting up the keys again. When the system window appears asking if you want to continue with USB port, click "Cancel". ​ > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-02_19-12-06.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=5b6054f719d1597bff937f925dfe9fa1) 3. After that, the system may offer other ways to save the security key. Select "Iphone, Ipad or Android device". ​ > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-02_18-33-36.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=4b9e5285164334a3dc84e6c788ef93b5) > > > [!NOTE] > > > > If the above method does not work and the system does not offer any options except for a USB key, please contact Maestra Support. > [accordion] Using Google Password Manager > > > [!NOTE] > > > > It is available for selection in the system window of the Chrome browser. To save the passkey, you need to be authorized in your Google account. > > Once configured, you can access the project from any device logged into your Google account. > If you need to access the project from a device that does not have access to your Google account, you can use QR login with your phone, which must be logged into your Google account. When logging in, select the "Use a phone, tablet, or security key" option, scan the QR code, and confirm the use of the key saved in Google Password Manager. This method is available only if your device supports Bluetooth. > > 1. In the system window, select "Google Password Manager" > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(7\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=2e27000c1eb1447871c8a987d978ea96) > 2. Save the passkey in your Google account. > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(16\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=7f2169ec5a056d6e0c54739ab1b1097d) > [accordion] Using Chrome profile > > > [!NOTE] > > > > This option is available for selection in the system window of the Chrome browser. > > The passkey is stored locally in the current Chrome profile on the device and is not synchronized. Therefore, logging into the project with this key will not be possible from other devices or browsers. > > 1. In the system window, select "Your Chrome profile" > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(8\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=86d1026cf7ea2d3532d5d12b86577409) > 2. Save the access key in your profile. > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(17\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=3a8f28303283a08bc6e92b970d2f8f5f) > > 3\. To complete saving your passkey, confirm your identity with your PIN, fingerprint, or Face ID. > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login--2818-29.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=0006310cf7689ca8259d276422d2f5e9) > [accordion] Using Windows Hello > > > [!NOTE] > > > > Available for selection in the system window on Windows computers that have PIN or fingerprint sign-in enabled. > > The passkey will be stored locally on your Windows device. If you use multiple devices under the same Microsoft account, the passkey will sync across them. > > 1. In the system window, select “Windows Hello or external security key.” ​ > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-11-25_16-54-06.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=fbb83d040c0f041d3b1078703d5be25c) > 2. Verify your identity by entering your PIN or scanning your fingerprint. > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-11-25_16-52-50.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=9d430bf3a92a7b52fca92717f0ea1ab3)If the system asks you to insert a security key into a USB port and doesn’t display the option to store the passkey using Windows Hello: ​ > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-11-25_16-50-15.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=2f9cacee537876e54d68b46c584c073d) > > 1. Make sure your computer has PIN or fingerprint sign-in enabled. If not, change your sign-in method accordingly. > > 2. After enabling PIN or fingerprint login, refresh the page and start the passkey setup process again. When prompted to insert a USB security key, click “Cancel”**.** ​ > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-11-26-16_27_06.jpg?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=e0b83eca36cabe529124f5b682f06117)After that, the system should offer alternative storage options. Select “Windows Hello or external security key”. ​ > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-11-25_16-54-06.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=fbb83d040c0f041d3b1078703d5be25c) > > > [!NOTE] > > > > If the steps above don’t resolve the issue and the system still only offers a USB key option, please contact Maestra Support. > [accordion] Using Bitwarden Password Manager > > In this section, we’ll look at how to store your passkey in the Bitwarden password manager. You can also use other password managers, such as 1Password, Dashlane and others. > > 1. Register an account on the [Bitwarden website](https://bitwarden.com/). > > 2. Sign in to your Bitwarden account and install the browser extension. ​ > > ![](https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-11-25_17-07-53.png?fit=max\&auto=format\&n=m5TAkUWmgaRT4x96\&q=85\&s=114d871d28e9f6e98cafab8371fe9a0a) > > 3. Complete the extension setup following Bitwarden’s [instructions](https://bitwarden.com/browser-start/#browser-start-instruction). > > 4. Go to the Maestra passkey setup page and click “Set up”. ​ > > ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=140052d00c6dedfe0606e241ef9f55a2) > > 5. The Bitwarden extension will automatically prompt you to save your passkey. Click “Save passkey as new login”. ​ > ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-02-at-4_19_23PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=2876c60959f406ce3dfbccc284d62c40)To sign in using the passkey stored in Bitwarden: > > * Enter your username or email. > * Confirm authentication by selecting the appropriate passkey. ​ > > ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-02-at-4_21_21PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=3357e40db7842c7073a7b04e6d182a8f) 4. That’s it — passkey saved. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(20\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=5c6e6022b40423ac7ee6360af31d60d8) ## Existing users The system will prompt existing users to set up a passkey during their next login to Maestra. Follow the same setup steps described above, starting from step 2. If needed, you can postpone the setup and return to it later. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login.png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=140052d00c6dedfe0606e241ef9f55a2) ## How to set up passkeys on a new device * **If your passkey is stored in a password manager or iCloud Keychain:** Log in to your account on the a device — the passkey will sync automatically. * **If your passkey is linked to a specific device:** Contact the project owner or administrator to generate an additional passkey for a new device. # How to log into Maestra using a passkey 1. Enter your email or username on the login page. ![](https://mintcdn.com/maestraio/8VE_QojSxRA8jQ0B/images/imported/Administration-and-setup-of-passkey-login-\(21\).png?fit=max\&auto=format\&n=8VE_QojSxRA8jQ0B\&q=85\&s=0e6d0cca22560fc8825b1b81d0bc93f1) 2\. Confirm your identity using your passkey. ​ ![](https://mintcdn.com/maestraio/wm8oEjg6bFaQwCHC/images/imported/Screenshot-2025-12-01-at-2_43_57PM.png?fit=max\&auto=format\&n=wm8oEjg6bFaQwCHC\&q=85\&s=aa7db7951b0132bb3acc8f4f5115e565) # What are passkeys? Source: https://help.maestra.io/security/passkeys/what-are-passkeys Passkey login is a modern authentication technology that completely replaces passwords and two-factor authentication (2FA). Instead of entering passwords or verification codes, your identity is confirmed using a fingerprint, Face ID, or your device’s PIN code. Passkeys are supported on: * iPhone/iPad (iOS 16+) * Mac (macOS Ventura 13+) * Android (version 9+) * Windows 10/11 with Chrome and Edge browsers * Password managers: 1Password 8+, Bitwarden, Dashlane ​ ## **Benefits of using passkeys** #### **Solving common password problems** * **Weak passwords:** You no longer need to create or remember complex passwords. Passkeys eliminate them entirely. * **Phishing:** Fake websites can’t steal your login credentials, because passkeys only work with the legitimate Maestra website. * **Email compromise:** Even if someone gains access to your email where authorization codes are sent, they still won’t be able to sign in without your device. * **Data leaks:** Even if a database is compromised, your passkeys remain safe — they’re stored only on your devices. #### **Security for your business** * Protect customer data from leaks caused by compromised accounts. * Reduce the risk of fines related to personal data leaks. * Safeguard your company’s reputation. * Maintain control over account access. ​ ## **How it works** > [!WARNING] > > Passkey login doesn’t work if single [sign-on (SSO)](https://sos) enforcement is enabled. When you set up passkey authentication, a pair of keys is created: * **Private key** — stored securely on your device. * **Public key** — stored on Maestra’s server.When you log in, your device “signs” a request using its private key. The server verifies this signature using the public key. The private key is not transferred over the Internet and does not leave your device. Even if someone intercepts the data or compromises the server, they won’t be able to access your account. * Each website receives a unique key, so compromising one doesn’t affect others. * Passkeys are tied to the **maestra.io** domain and won’t work on fraudulent websites. * The private key is encrypted on your device and protected by your biometric data. * Even if the public key stored on the server is compromised, attackers still can’t access your account. ## **Where can a passkey be stored?** * **In the Keychain (for Mac/iPhone):** Automatically syncs across all your Apple devices linked to the same account. * **On your phone (Apple/Android):** Stored locally on your phone. You can sign in by scanning a QR code and confirming access with the passkey saved on your phone. On Apple devices, the QR code is scanned with the camera; on Android, with the Google Authenticator app (install it in advance). * **In Google Password Manager:** Works across all devices where you’re signed into your Google account. If your current device isn’t logged into your account, you can still sign in using your phone. Choose “Use a phone, tablet, or passkey”, scan the QR code, and confirm access using the passkey stored in Google Password Manager. * **In your Chrome profile:** The passkey is stored on a single device within the Google Chrome browser. * **In Windows Hello:** Works across all devices connected to your Microsoft account, or can be stored locally on one device. * **In password managers:** 1Password, Dashlane, Bitwarden, and others — allowing you to use passkeys across any of your devices.[Learn more](/security/passkeys/passkey-login-administration-and-setup) > [!WARNING] > > If a team member loses access to all devices where their passkeys are stored, the project owner, administrator, or another user with the appropriate permissions can restore their access. # Single Sign-On (SSO) Source: https://help.maestra.io/security/single-sign-on-sso # What is SSO? Single Sign-On (SSO) is an authentication method that allows users to use one set of login credentials to access multiple applications. This solution helps centrally manage employee access and ensure data security. Maestra SSO is based on SAML 2.0 and uses an Identity Provider (IdP) managed by your company’s IT team. > [!NOTE] > > **SAML (Security Assertion Markup Language) 2.0** is a protocol for exchanging authentication information between a service and an identity provider. > > An **Identity Provider (IdP)** is a system that creates, stores, and manages digital identification data. The IdP can either authenticate the user directly or provide authentication services to third-party providers (applications, websites, or other digital services). > > Examples of IdPs include Google, Azure AD, Okta, OneLogin. # Advantages of SSO * Helps manage employee access to applications. It can be easily revoked if a user leaves the organization. * Eliminates the need for employees to remember a large number of passwords for each service. * Allows to change the password once to restore access to all applications if a user’s data has been compromised. # Log in with SSO > [!NOTE] > > Users can be restricted to log in with SSO only or have the option to sign in with a Maestra username and password. ![Снимок экрана 2023-04-14 в 15.17.34.png](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/-D0-A1-D0-BD-D0-B8-D0-BC-D0-BE-D0-BA-20-D1-8D-D0-BA-D1-80-D0-B0-D0-BD-D0-B0-202023-04-14-20-D0-B2-2015_17_34.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=be548ffc27a26c0506dd58b5d92c6d89) When logging in with SSO: 1. The user clicks "Log in with SSO." 2. Maestra redirects them to your IdP. 3. They enter login credentials in the IdP. 4. The IdP redirects them back to Maestra. 5. Maestra authenticates the user. If the user is already logged in to the IdP, there is no need to enter the password again. They will be automatically authorized in Maestra via the IdP. > [!NOTE] > > Users added to the project before SSO is enabled will also need to enter their Maestra password once to confirm their identity. # User Creation If SSO is enabled when adding users to the project, they will be able to use it for authentication immediately. In this case, users will not receive an email with a password. # Blocking users To block access to the platform: 1. Block the user in your IdP. 2. Block the user in Maestra. The latter is especially important on projects where, in addition to SSO, users can log in using a Maestra login and password. Blocking staff in the IdP will take effect after the current session ends. Blocking the user in Maestra will not allow them to perform any action on the page or navigate to another section. # Disabling SSO When SSO is disabled, access to the project will be available to any staff member who has not been blocked in Maestra. Users without a password will need to use the password recovery feature. # Technical requirements for SSO implementation To use Maestra SSO, you need the following: * An enabled Enterprise-security module; * An Identity Provider that supports the SAML 2.0 protocol. # Setting up SSO > [!NOTE] > > Please note that SSO can only be configured and enabled by the project Owner. 1. Go to **Administrative settings** → **Platform** → **SSO Settings**: ![Снимок экрана 2023-04-14 в 15.48.17.png](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/-D0-A1-D0-BD-D0-B8-D0-BC-D0-BE-D0-BA-20-D1-8D-D0-BA-D1-80-D0-B0-D0-BD-D0-B0-202023-04-14-20-D0-B2-2015_48_17.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=f1aba1d38d475ca44c071476839e25d2) 2. Copy the ACS (Access Control Server) and Entity ID and paste them into the corresponding fields in your IdP settings. The Entity ID may also be called Entity ID, SP Entity ID, Audience URL, or SP Audience URL depending on the IdP you are using. 3. Select the user identification (Name ID) method: email address or login. For this, specify the identifier used in your IdP. It’s usually Email, but Maestra also supports authentication by login. Name ID may also be called Name ID format, Unique user identifier, or Name identifier format depending on the IdP used. 4. Copy your IdP metadata and paste it into the corresponding block. Metadata can be in the format of: * Metadata URL * Metadata XML If Metadata XML is provided as a file, download it, copy the contents, and paste the code into the field. 5. Enable SSO — the button is located in the upper right corner of the screen. Wait for the system to check the data provided. If the required information is not detected in the metadata, you will see a notification about the problem. In this case, you need to correct the indicated errors, re-paste the data, and try to enable the feature again. Upon successful activation, you will see a message confirming this. 6. Check that the setting works correctly. Log out of your Maestra profile or use Incognito mode and try to log in with SSO. 7. Once you've ensured that everything works, you can enable SSO-only login. You will need to confirm that SSO is working. After you enable this feature, users will only be able to log in to Maestra using SSO. # Edit SSO settings When SSO is enabled, its basic settings cannot be edited. Therefore you need to disable the feature, edit the settings and re-enable SSO. You can edit the “Enable SSO-only login” mode without disabling the feature. # Staff session duration Source: https://help.maestra.io/security/staff-session-duration You can set the duration of a staff session before it ends automatically due to inactivity. Set the desired session duration in: **Settings → Security → Security Policy** ![](https://mintcdn.com/maestraio/PtiXTG1opYow5MNd/images/imported/Advanced-security--287-29.png?fit=max\&auto=format\&n=PtiXTG1opYow5MNd\&q=85\&s=50733e53b508ef533d60b8e864a1c5c3) You can choose a duration from 1 to 24 hours. ## **How it works** When a staff member logs in, a session timer starts. If the user interacts with the interface only during the first half of the session, the session will end after the time set in the settings. If the user is active during the second half of the session, the timer resets and starts again. > [!NOTE] > > **Example:** > > Session duration is set to 1 hour. > > A staff member logs in at 9:00 AM and performs actions on the platform until 9:29 AM. If the user does not return by 10:00 AM, their session will end. > > If the user continues working until 9:31 AM, the session timer resets and starts counting again from 9:31 AM. # How Does RFM Segmentation Work? Source: https://help.maestra.io/segments/how-does-rfm-segmentation-work RFM segmentation is an algorithm used to segment a database using RFM analysis. RFM analysis filters customers into segments according to their purchases using the following three factors: * Recency (the time since a customer last made a purchase); * Frequency (how often the customer made purchases); * Monetary value (the total amount of money the customer has spent). > [!NOTE] > > RFM segmentation requires data on orders and personal actions over the period of at least one year. ## The Logic Behind Maestra’s RFM Segmentation Once the algorithm is launched, **Maestra automatically assigns users to one of 13 RFM segments**. Each user is scored from **1 to 5** for three key metrics, based on their order history: * **Recency (R):** How recently the customer made a purchase * **Frequency (F):** How often they purchase * **Monetary (M):** How much they spend These scores are combined into an RFM index for each customer — for example: * **555** means the customer is in the top 20% for all three metrics: they purchase often, spend a lot, and bought recently. * **111** represents the least engaged customers—those who made a single purchase a long time ago and haven’t returned. > [!NOTE] > > **Important** > > RFM segments are updated daily at 12:00 a.m. > You can update these manually if necessary. > > The algorithm scores customers on each of the factors and calculates the segments’ boundaries every day. Each index (group) of customers refers to one of the 13 segments: | Segment | Groups | Description | | - | - | - | | Champions | 555, 554, 544, 545, 454, 455, 445 | Customers who have made a purchase recently, order frequently, and spend the biggest amounts. Strategy:When communicating with these customers, focus on highlighting exclusive and unique products, as well as new releases. There is no need to communicate often or incite them with discounts. Send messages inciting them to buy more often or more expensive products. | | Loyal | 543, 444, 435, 355, 354, 345, 344, 335 | Customers who make purchases consistently; some of them may become champions. Strategy:1) Do not let the frequency of their purchases fall; use standard campaigns to maintain loyalty. 2) Grow new champions: Gradually increase the average order value with slightly more expensive items. 3) For the customers who respond well to the first two strategies: promote what is popular with the champions. | | Potential loyal | 553, 551, 552, 541, 542, 533, 532, 531, 452, 451, 442, 441, 431, 453, 433, 432, 423, 353, 352, 351, 342, 341, 333, 323 | Customers who purchase a little less frequently or have spent a smaller total than required to be considered loyal customers. Strategy:Promote the most popular products to these customers — your main objective is to increase their loyalty by offering special loyalty program terms, etc. | | New customers | 512, 511, 422, 421 412, 411, 311 | Customers who have bought something for the first time or for the first time in a long while. Strategy: In your messages, focus on your popular products to incite this category of customers to purchase again. | | New customers (no orders) | Took their first action over the last 60 days, have bought nothing yet | Customers who have not yet made a purchase. Strategy: Encourage them to buy something and focus on popular items when recommending products. | | Promising | 525, 524, 523, 522, 521, 515, 514, 513, 425 424, 413 414 415, 315, 314, 313 | Strategy: Offer membership in the loyalty program and personal recommendations. | | Need attention | 535, 534, 443, 434, 343, 334, 325, 324 | Strategy: Provide time-bound offers and personal recommendations. | | Almost dormant | 331, 321, 312, 221, 213, 231, 241, 251 | Customers in this segment have not made purchases for a relatively long time, but not so long that you would consider them a part of your customer churn. Strategy: Try to work with their interests and incite them to make another purchase by offering discounts. | | Too valuable to lose | 155, 154, 144, 214 215 115, 114, 113 | Customers who used to buy a lot and often, but have stopped doing so. Strategy: Interest them with updates or new products; talk to them, if necessary. Spend time on personalizing your messages as much as possible. | | Churn risk | 255, 254, 245, 244, 253, 252, 243, 242, 235, 234, 225, 224, 153, 152, 145, 143, 142, 135, 134, 133, 125, 124 | This group is very similar to High-value customers, but its members have recently made a purchase. Strategy: Use the same approach when working with this group as with Too valuable to lose segment. | | Dormant | 332, 322, 233, 232, 223, 222, 132, 123, 122, 212, 211 | Strategy: Include these customers in your standard email campaign, but check regularly to see if they mark your messages as spam. Do not interact with them through paid channels. | | Churned | 111, 112, 121, 131 141 151 | Strategy: Send thank-you emails with recommendations. | | Churned (no recent orders) | Took their first action more than 60 days ago, have bought nothing over the reporting period | This segment has the lowest priority. Do not waste resources on this segment as these customers are unlikely to return or they will do it with a small purchase. | ## How to create RFM segmentation Go to **Customer Data Platform** → **Segments** → **Create Segmentation** → **RFM**: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--6_23_37PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=0a94cd711557398a896f4c523f2e6008) 2. Set up a filter or leave it empty (this way the segmentation will cover the entire database), specify a name. If you have a multi-brand project, select a brand: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--6_26_48PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=b35255b3b25c04389e2b212497e52692) > [!NOTE] > > When you select a brand, the segmentation will include only the customers who have taken actions with the brand specified. ​3. Click **Save**. ## How to view RFM segmentations Go to **Customer Data Platform** → **Segmentations**. The RFM segmentations stand out from other segmentations since you can view them as dropdown lists. ​ ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--6_35_06PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=346f72dbd517a6a3ea52be506d4fa48e) Also you can use filters to find RFM segments ​ ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--6_37_18PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=5e3318586289963b2c05b118d602bba2) ## How to delete an RFM segmentation Delete an RFM segment the way you would delete a segment using filter conditions. ## How to edit an RFM segmentation 1. Go to **Customer Data Platform** → **Segments** → click the name of the segmentation. 2. You can change the filter, name, or brand in the window. 3. Tick **Update segment** and **Save**. # How to Add Customers into a Static Segment using UI Source: https://help.maestra.io/segments/how-to-add-customers-into-a-static-segment-using-ui Follow the guidelines to filter customers into a Static segment. Refer to *How to Import Customers into a Static Segment* to learn how to upload customers into a segment from a file. *** ## Steps 1. Check if the segmentation is active: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_22_30PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=84b4d436ac4ba951b6c3bf39558e211e) Refer to [How to create a static segment](/segments/how-to-create-a-static-customer-segment). 2. Build your filter in the **Customers** section and click **Apply**: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_26_39PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=67a6ce9b2b3d52b8463cd26d0b4657c3) 3. Open the drop-down menu and select the relevant customers or check the boxes manually: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_29_42PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=b843cb8e6256fe9ad1db8d120b5ebcf8) You can click **Select** all or **Random selection**. Example: 500 customers or 20% of all the customers found. 4. Click **Selected** -> **Add to segment**: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_32_45PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=07dd0378e375c16de6068718832b981d) 5. Select the **Segmentation** and the **Segment.** You will have the segmentation as the only option if it contains just one segment. Click **Add**: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_35_36PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=3703fa301e6acbb1eef8d6d1c522f5cd) 6. A link to the task appears: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_38_39PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=8478066580c9a24d3954dd1174b805c0) 7. Please wait until this task is completed: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_41_11PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=02e69992a909966b8522de3ec19af01c) 8. Your segment will appear in the customer profile on the **Segments** tab: ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--4_43_00PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=d6711fd5871c9692102700d57e940d1b) # How to Create a Product Segment From a Filter Source: https://help.maestra.io/segments/how-to-create-a-product-segment-from-a-filter Product segments in Maestra let you group products that share the same characteristics — for example, all items from a specific category, products on sale, or items currently out of stock. Once a product segment exists, you can reuse it anywhere filters are available: inside other product filters, in campaign content, in flows, and in analytics. The fastest way to build a product segment is to start from a filter you have already configured on the product list. Maestra will turn that filter into a real-time segment that recalculates automatically as your catalog changes. ## Steps **1. Open the product list** In your Maestra account, go to **Data → Products**. **2. Build and apply a filter** Add the filter conditions that describe the products you want to group together, then click **Apply**. Take a moment to confirm that the products shown in the list match what you expect — the segment will include exactly the set of products that this filter returns. **3. Create a segment from the filter** Click **Create segment**. **4. Fill in the segment details** Provide the following information: * **Name** (required) — the human-readable name shown throughout Maestra. Pick something descriptive, such as "Out of stock — men's sneakers" or "Discounted summer collection." * **System name** — generated automatically from the name, but you can edit it. The system name is used in integrations and API calls. * **Type** (required) — choose **Real-time**. Real-time segments are recalculated continuously, so a product enters or leaves the segment the moment it starts or stops matching the filter. * **Description** (optional) — a short note explaining what the segment is for and who should use it. * **External ID** (optional) — useful if you need to reference the segment from an external system. **5. Save the segment** Click **Create**. The segment is saved and becomes immediately available across Maestra. ## What happens next The new segment is a real-time product segment built from a filter. You can: * Use it as a condition inside other product filters to narrow results further. * Reference it when configuring product recommendations, campaigns, and flows. * Use it as a building block for more complex segmentation logic — for example, combining several filter-based product segments together. > [!NOTE] > > Because the segment is real-time, you do not need to refresh or recalculate it manually. As soon as a product's data changes and it begins to match (or no longer matches) the underlying filter, the segment membership updates automatically. # How to Create a Scheduled Product Segment Source: https://help.maestra.io/segments/how-to-create-a-scheduled-product-segment A scheduled product segment is a saved group of products that Maestra refreshes on a schedule (or in response to events) instead of recomputing every time you open it. Scheduled segments are the right choice when a filter is heavy, when you need stable membership for reporting, or when you want to reuse the same product group across campaigns, flows, and recommendations without paying the query cost each time. This guide walks through creating one end to end: building the source filter, saving it as a scheduled segment, configuring the schedule, enabling event-based recalculation, and triggering a manual refresh when you can't wait for the next run. ## Build the source filter 1. Go to **Data** → **Products**. 2. Build a filter that returns the products you want in the segment. You can combine any of the product attributes and behavioral conditions available in the product catalog — category, price, stock status, custom fields, sales velocity, and so on. 3. Click **Apply** to confirm that the filter returns the products you expect. > [!TIP] > > Sanity-check the result count before saving. A scheduled segment locks in whatever the filter returns at recalculation time, so it's worth confirming the filter behaves as intended before you put it on a schedule. ## Save the segment 1. With the filter applied, click **Create segment**. 2. Fill in the segment details: * **Name** — what teammates will see in pickers across the platform. * **System name** — auto-generated from the name, but you can edit it. This is the stable identifier used in integrations and exports, so pick something you won't want to rename later. * **Type** — select **Recalculated**. * **Description** *(optional)* — a short note on what the segment is for and who owns it. * **External identifier** *(optional)* — set this if you need to reference the segment from an external system. ## Configure the recalculation schedule Turn on scheduled recalculation and pick one of the following cadences: * **Daily**, at a specific time of day. * **On specific weekdays**, at a specific hour. * **On specific days of the month**, at a specific hour. > [!TIP] > > Schedule recalculations for off-peak hours — typically overnight — when database load is lower. Heavy product segments that run during the day can slow down other queries. You can also configure an **auto-stop period** if the segment should stop recalculating after a certain date — useful for seasonal segments tied to a campaign window. ## Enable recalculation by events In addition to the schedule, you can enable **Recalculation by events**. When this is on, Maestra re-checks segment membership whenever a specified event fires (for example, a product update or a stock change), so the segment reflects relevant changes between scheduled runs instead of waiting for the next nightly job. Use this when downstream campaigns or recommendations need the segment to react quickly to product-level changes, not just refresh once a day. ## Create the segment Click **Create**. The segment now appears under **Data** → **Segmentations** and is available everywhere segments can be referenced — filters, campaign audiences, flow conditions, and recommendation sources. ## Recalculate before the next scheduled run If you need fresh membership before the next scheduled recalculation, you have two options: * **From a filter.** Add the segment to a filter, enter edit mode, and click **Save and recalculate**. * **From the Segmentations list.** Go to **Data** → **Segmentations**, find the segment, open its actions menu, and choose **Recalculate with priority**. The "with priority" option pushes the job to the front of the recalculation queue. > [!NOTE] > > Manual recalculation runs the same job as the scheduled one — it just runs now instead of at the configured time. The next scheduled run still happens as planned. ## Use the segment Once the segment exists, you can: * Reference it as a condition inside other product filters (for example, "products that are in segment X and have stock above 10"). * Use it as the product source for recommendation blocks. * Target it in campaigns and flows that send product-specific messages — back-in-stock alerts, price-drop notifications, restock reminders, and so on. Because the segment is recalculated rather than live, every consumer sees the same product list until the next recalculation, which makes results predictable across reports and message variants. # How to Create a Static Customer Segment Source: https://help.maestra.io/segments/how-to-create-a-static-customer-segment To create a static customer segment: 1. Go to **Customer Data Platform** → **Segments**: ![00\_stsegment\_new](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_stsegment_new.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=dd35e21074a8812a9e429750915daaed) 2. Click **Create segmentation** → For **customers**: ![01\_stsegment\_new](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_stsegment_new.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=8d4025e0c6bcc402b7d748a315a14e33) 3. Enter the name and description of the segmentation. The system will automatically generate the system name and external ID. However, you can also enter your own values. * The **segmentation name** will be used in the project interface. * The **segmentation system name** will be used to filter customers in the [Template Engine.](/campaigns/message-template-engine/what-is-the-message-template-engine) * The **segmentation external ID** will be used in API methods. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--3_53_33PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=c4d3768e5832584176a5724ecf9c68e0) 4. **Add** relevant segments: ![03\_stsegment\_new](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_stsegment_new.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=bd3480a8c0bb3ff824df0dc67719ff46) ![07\_stcustsegment](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_stcustsegment.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=ca4e68c6ae9087ff5fd5e5aab2eb67c0) > [!NOTE] > > Segmentation cannot be launched without at least one created segment. 5. Click **Launch**: ![04\_stsegment\_new(1)](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_stsegment_new-281-29.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=ea9ed0a6d3c08690c0cb5701a6fe5834) > [!NOTE] > > Once you’ve launched a segmentation, you’ll no longer be able to edit the system name or external ID. Please note that you can only use segmentations that have been launched. Drafts cannot be used in filters, promotions, messages, etc. Click **Save and exit** to exit without launching the segmentation. *** You can add customers into segmentation * [Using filters](/segments/how-to-add-customers-into-a-static-segment-using-ui) * By importing files (this applies to customers who are already in the database) * Through flows (Use the *"Include customer in segment"* step within your automated flows) ​ *** > [!NOTE] > > A customer **cannot belong to multiple segments** within the same segmentation. When added to Segment B, they are automatically removed from Segment A. # How to Create a Static Product Segment Source: https://help.maestra.io/segments/how-to-create-a-static-product-segment One of the possible product segment types in Maestra is a **static segment**. With a static product segment, you manually decide which products belong to the segment, and the segment only changes when you add or remove products yourself. It's the right choice when you have a fixed list of products that you want to reuse across campaigns, flows, filters, and personalization. First you create a segmentation, and then you create one or more segments inside it. ## Step-by-step **1. Open Segmentations** Go to **Data** → **Segmentations**. **2. Add a new segmentation** Click **Add** → **Static by products**. **3. Name and describe the segmentation** Fill in the name and description. You can also change the auto-generated **system name** and **external ID** of the segmentation if you need to — they may come in handy later when you reference the segmentation in mechanics (flows, campaigns, personalization, etc.). **4. Add segments** Add one or more segments to the segmentation. Fill in the segment name. The **system name** is filled in automatically when you click on the row, and the **external ID** is generated when the segment is saved. > [!NOTE] > > You can only launch a segmentation that contains at least one segment. **5. Activate the segmentation** For the segmentation to appear in filters and be usable in mechanics, you need to activate it. Click **Launch**. The status of the segmentation changes to active. > [!WARNING] > > In an active segmentation you can only edit the names of existing segments and add new ones. You cannot delete saved segments. ## Next step Once the segmentation is active, populate each segment with the products that should belong to it. See [How to add products to a static segment](#) for the available methods (manual selection, file upload, and API). # How to Filter Customers into Segments Source: https://help.maestra.io/segments/how-to-filter-customers-into-segments Build a customer filter, save it as a segment, and choose how it refreshes. Segments are saved filters you can target in campaigns, flows, and reports. Build the filter once in **Customers**, then save it as a real-time or scheduled segment. ## Create a segment from a filter **1. Open the customer list** Go to **Customer Data Platform → Customers**. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--3_28_53PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=d6ac93b0f21bb5bf7f6b44465c389f41) **2. Build your filter** Add conditions to narrow the list to the customers you want in the segment, then click **Apply**. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--3_35_44PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=2aad9fc30975f30d96478051344c67ca) > [!TIP] > > Use **Add condition** for AND logic and **Add OR condition** when a customer should match any of several criteria. Learn more about building filters in [How to create filters](/filters/how-to-create-filters). **3. Click Create segment** With the filter applied, click **Create segment** in the top right to open the segment panel. ![](https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--3_33_17PM.png?fit=max\&auto=format\&n=XseF7kA9tGTdWWlF\&q=85\&s=ad1d644c9a9554117937d746a16dd0ed) ## Configure the segment The segment panel opens with everything on one screen. Set the fields below, then click **Save and update** at the bottom to create the segment and run the first calculation.\\ ![Screenshot 2026 06 09 At 16 42 17](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.42.17.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=93a5502ddbdb0be8f075e6775b0402c4) ### Name and system name Type the segment name in the header at the top of the panel. ![Screenshot 2026 06 09 At 16 44 06](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.44.06.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=63511a0f8ccd06d7d2ae32c5b261e1ee) The **System name** is generated automatically. Leave it as is, or edit it if you need a stable identifier for API calls or integrations. ### Type Choose how the segment is built and refreshed. ![Screenshot 2026 06 09 At 16 46 28](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.46.28.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=4f4c5b4c40d2ed26e7ca6b6870ddc273) > [!TIP] > > Saving a filter you just built on the Customers page? Pick **Real-time** or **Scheduled** — those are the filter-based types. **Static** segments don't use a filter at all and are set up through a separate flow ([How to Create a Static Customer Segment](/segments/how-to-create-a-static-customer-segment)). | Type | Based on | How it refreshes | Best for | | - | - | - | - | | **Real-time** | Filter conditions | The moment a customer's data changes | Saving a frequently used filter as a reusable audience | | **Scheduled** | Filter conditions | On a schedule you set, or on events you specify | Large or complex segments where real-time updates aren't necessary | | **Static** | Manual selection (no filter) or a flow | Only when you add or remove members manually, via import, or from a flow | Hand-picked lists, one-off campaign audiences, or segments managed entirely by automations | > [!WARNING] > > **Type cannot be changed after creation.** If you need a different type later, create a new segment. Not sure which to pick? See [Types of customer segments](/segments/types-of-customer-segments) for a deeper comparison. ### More (External ID and Description) Expand **More** under Main data to set two optional fields: * **External ID** — your own identifier for the segment, useful when referencing it from an API or external system. Leave it blank and Maestra Platform will generate one after creation. * **Description** — a short note (up to 300 characters) explaining who's in the segment and what it's for. Helpful for teammates picking the segment from a list later. ![Screenshot 2026 06 09 At 16 51 39](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.51.39.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=5b41b76737c501afbd3c9eecb8fc4ea0) ### Filter Review the conditions you brought in from the customer list. You can keep editing them here — your changes are saved with the segment once you click **Save and update**. ![Screenshot 2026 06 09 At 16 54 20](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.54.20.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=8e8c6f7b590ba21902b92bc7f2f3c877) Two buttons sit below the filter conditions: * **Go to customers** — opens the customer list with this filter applied to preview who currently matches. * **Reset filter** — clears all conditions so you can start over. ### Update schedule (Scheduled segments only) If you picked **Scheduled**, configure how and when the segment refreshes. ![Screenshot 2026 06 09 At 16 58 04](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.58.04.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=89676b5055f3c234d99fc0c88760f3d4) ***Schedule*** Cadence of the refresh: * **Every day** — once a day at the time you choose. * **By days of week** — one or more weekdays at the hour you choose. * **By days of month** — a specific day of the month at the hour you choose. ***Start time*** The time of day the refresh kicks off, in the time zone you select. > [!TIP] > > Schedule recalculations at night, when database load is lower. ***Disable schedule if segment is not used*** This checkbox is enabled by default. If the segment sits unused for the number of days you set (60 by default), Maestra Platform automatically switches it to manual recalculation. Too many segments recalculating at once can slow each other down and add load across your project — auto-stop helps you avoid spending resources on segments no one is actively using. You can uncheck it if you need the schedule to keep running no matter what, but we don't recommend it. ### Update on Events (Scheduled segments only) Turn on **Update on Events** to recalculate the segment whenever specific customer events occur — on top of the scheduled refresh. Useful when you need the segment to react to key actions (a purchase, a subscription change, a custom event) without waiting for the next scheduled run. ![Screenshot 2026 06 09 At 16 59 45](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.59.45.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=c53e6cb1a7e09993fd2aebc6a96518ea) How to set it up: 1. Toggle **Update on Events** on. An empty **Event 1** card appears. 2. Open the **Event** dropdown and pick the event that should trigger a refresh. 3. Click **+ Add event** to add more triggers. Each one is listed as its own card. 4. To remove a trigger, click the trash icon on the event card. > [!TIP] > > Only add events when your use case truly calls for them. The more events a segment listens to, the more recalculations it triggers — and the more load it puts on your database. ### Manual update (Scheduled segments only) Always available for scheduled segments. ### Save Click **Save and update**. ![Screenshot 2026 06 09 At 17 04 10](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-17.04.10.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=084ae45997f0a753feeea75abbbc8ecd) You can open the segments list straight from the success popup (your new segment shows up at the top), or find it later under **Customer Data Platform → Segments**. ![Screenshot 2026 06 09 At 17 05 25](https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-17.05.25.png?fit=max\&auto=format\&n=oJJ56WfgDznsSgld\&q=85\&s=1aa410dccb603c0698024659abc14ea5) > [!NOTE] > > **Real-time segments** are ready to target right away. **Scheduled segments** need to finish their first recalculation first — you can watch the status on the segment page. # Types of Customer Segments Source: https://help.maestra.io/segments/types-of-customer-segments You can create the following three types of customer segments: * Scheduled segments (Filter-based) * Realtime segments (Filter-based) * Static segments ## 1. Scheduled segment (Filter-based) > [!TIP] > > **Key points:** > > * You can see a full history of when customers were added to the segment or removed from it. > * An event when a customer is added to / removed from a segment can be used to launch automations. > * This segment can be used in promotions. > * It can be used for a dynamic overview in reports like Revenue & Drivers, Segmants and A/B test reports. > * These segments provide data that is relevant as of the latest update (i.e., not in real time) ### How to create a Scheduled segment Please refer to this guide for a detailed breakdown — [How to Filter Customers into Segments](/segments/how-to-filter-customers-into-segments) > [!WARNING] > > Once you've created a Scheduled segment, you can’t switch it to Real-time. You’ll need to create a new one instead. ### Adding customers to a Scheduled segment A customer must match the filter conditions you applied to create the segment. Once a customer meets these conditions, they will be added into the segment the next time the segment is updated. If a customer already meets your segment's conditions but hasn't been included yet because the segment hasn't refreshed, you can trigger a manual update right away. \ \ In the left navigation, go to **Customer Data Platform → Segments**. Use the search bar to find your segment by name and click **Apply**. Once your segment appears in the list, click the **three-dot menu** (⋯) to the right of the segment name and select **Force Update**. The estimated update time will be shown next to the **Force Update** option. ![Screenshot 2026 06 12 At 16 56 52](https://mintcdn.com/maestraio/tj7u4RL9SMIFkPXp/images/Screenshot-2026-06-12-at-16.56.52.png?fit=max\&auto=format\&n=tj7u4RL9SMIFkPXp\&q=85\&s=060160ab381bd21502996c8b4ee85a89) ### Removing customers from a Scheduled segment A customer should no longer meet the filter conditions of the segment group. In this case, the customer will be removed next time the segment is updated. If a customer no longer meets the segment’s filter conditions but is still included because the segment hasn’t updated yet, go to **Customer Data Platform → Segments**. Use the search bar to find your segment by name and click **Apply**. Once your segment appears in the list, click the **three-dot menu** (⋯) to the right of the segment name and select **Force Update**. The estimated update time will be shown next to the **Force Update** option. ### How a Scheduled segment is displayed in a customer’s profile Go to **Customer Data Platform**→ **Customers**, select the relevant customer and go to the **Segments** tab, then click **Current segments**: ![04\_segments](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_segments.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=e29e05f32b64d0be91d4fcbf7ef586a2) In the **Segment history**, you will find the date the customer was added to the segment group: ![13\_segments](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/13_segments.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=bf824e833944d930bd3b88a4a382aa44) If the customer has been removed from the segment, you will see the date they were removed as well. ### How to filter customers that belong to a Scheduled segment Select **Segment** in the filter and then search for your segment name in the drop-down list. The data displayed is correct as of the time of the last update: ![06\_segments](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_segments.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=abee99751bb98b5bc318ec8c691fbd0f) If a segment uses other scheduled segments, the last update will be taken from the segment with the "oldest" recalculation. Use the drop-down list to filter the customers who: * don’t belong to this segment; * belonged to this segment on a certain date in the past; * were added to this segment during a specific period; * have never belonged to this segment. ![07\_segments](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_segments.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=1524556580b5eb0922d8061746f8c7de) ## 2. Real-time segment (Filter-based) > [!TIP] > > **Key points:** > > * They keep data updated; > * Segment history is not available; > * Segment may take a while to load if it is based on complex filters. The system may suggest creating a Scheduled segment instead. ### How to create a Real-time segment group Please refer to this guide for a detailed breakdown — [How to Filter Customers into Segments](/segments/how-to-filter-customers-into-segments) > [!WARNING] > > Once you've created a Real-time segment, you can’t switch it to Scheduled. You’ll need to create a new one instead. ### Adding customers to a Realtime segment A customer must match the filter conditions applied to this segment group. ### Removing customers from a Realtime segment group Once a customer no longer matches the filter conditions applied to the segment, they will be removed from it automatically. ### How a Realtime segment group is displayed in a customer’s profile The realtime segment does not display in a customer’s profile. The segment history does not display whether a customer has been added to a segment or removed from it. Use filters to check belonging to a realtime segment. ### How to filter customers that belong to a Realtime segment Simply create a filter in the **Customers tab**. Select **Segment** and search for the segment name in the drop-down list: ![00\_segments](https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_segments.png?fit=max\&auto=format\&n=8PKiDbR3rMJsCzSE\&q=85\&s=6944577e8dcad1d32ed1183fc1489b78) ### How to filter customers that do not belong to a Realtime segment Here you’ll also need to create a filter in the Customers tab. Select **Segment** → **Segment not** and search for the segment name in the drop-down list: ![01\_segments](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_segments.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=e7a97224d475e8598214b82ef5b1fbd6) ## 3. Static segments This segment **will not** support filters and **can only be updated manually, through flows or methods** . > [!TIP] > > **Key points:** > > * You can see a full history of when customers were added to the segment or removed from it. > * Events where a customer is added or removed from the segment can be used to **launch automations**. > * Events where a customer is added or removed from the segment can be an **automation step**. > * Events where a customer is added or removed from the segment can be an API method step. > * These segments can be used in promotions. > * It can be used for a dynamic overview in reports like Revenue & Drivers, Segmants and A/B test reports. ### How to create a Static segment Unlike filter-based segments, you need to manually create a segmentation first and then build segments from there. This means your segments and segmentation may have different names and one segmentation may have multiple segments. For more details, please refer to this article — [How to Create a Static Customer Segment.](/segments/how-to-create-a-static-customer-segment) ### Adding customers to a Static segment Please refer to the following guide: [How to Add Customers into a Static Segment using the UI](/segments/how-to-add-customers-into-a-static-segment-using-ui) ### How a Static segment is displayed in a customer’s profile Go to **Customer Data Platform** → **Customers**, choose a relevant customer and click the **Segments tab** → **Current segments**: ![08\_segments](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_segments.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=19f4c788fb1a13653297b53c3334e41c) In the segment history, you will find the date the customer was added to the segment: ![14\_segments(1)](https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_segments-281-29.png?fit=max\&auto=format\&n=EeW0Po78IZGyB5gF\&q=85\&s=ed4ea3a0aabb8664e171e3e3eacd87cb) If a customer has been removed from the segment, you will see when this occurred. ### How to filter customers belonging to a Static segment Create a filter on the **Customers** page: **Segment** → **Segment (select Segmentation name)**→ Select **segment** from the drop-down list: ![10\_segments](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_segments.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=79b7e97b721d2825827e8be5b426df9d) > [!NOTE] > > If the Segmentation includes only one segment, select only this segmentation name in the filter. ### Use the drop-down list to filter the customers who: * don’t belong to the segment; * belonged to this segment on a certain date in the past; * were added to the segment during a specific period; * have never been in this segment. ![11\_segments](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_segments.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=a9ab22e04fb9e81379eeb8587b5d2e1e) # Types of Product Segments Source: https://help.maestra.io/segments/types-of-product-segments In Maestra, you can create three types of product segments: * real-time filter segment * scheduled filter segment * static segment ## Real-time filter segment **What problem it solves:** save a filter that you use often. ### How to create a segment See "How to create a product segment from a filter." Once saved, this segment cannot be converted into a scheduled segment. ### How to add a product to the segment The product must match the conditions of the filter the segment is based on. ### How to remove a product from the segment The product must stop matching the conditions of the filter the segment is based on. ### How the segment appears on the product card A real-time segment does not appear on the product card. To check whether a product belongs to the segment, use the filter. ### How to find products that belong to the segment Build a filter on the products tab of the form **Segment — "Segment name"**. ### How to find products that do not belong to the segment Build a filter on the products tab of the form **Segment not — "Segment name"**. ### Key characteristics * Returns live, up-to-the-moment data. * Does not store historical data. * Cannot be used in promotions or recommendations. * Has no templater parameter, so it cannot be referenced in campaigns. ## Scheduled filter segment **What problem it solves:** save a filter that you use often, with periodic recalculation. Create a segment for use in recommendations, promotions, or campaign sends. ### How to create a scheduled segment See "How to create a scheduled product segment." Once saved, this segment cannot be converted into a real-time segment. ### How to add a product to a scheduled segment The product must match the conditions of the filter the segment is based on. Once it matches, the product enters the segment on the next recalculation. If you need the product to enter the segment before the scheduled recalculation, recalculate the segment manually. ### How to remove a product from a scheduled segment The product must stop matching the conditions of the filter the segment is based on. On the next recalculation, the product will drop out of the segment. If you need the product to leave the segment before the scheduled recalculation, recalculate the segment manually. ### How the scheduled segment appears on the product card On the **Segments** tab, under **Current**. Under **History**, you'll also see the date and reason the product entered the segment. If the product later drops out, you'll see the exit date and reason as well. ### How to find products that belong to a scheduled segment Build a product filter of the form **Segment — segment — "Segment name"**. The data is accurate as of the last recalculation. If the segment depends on other scheduled segments, the as-of date is taken from the segment with the oldest recalculation. ### Key characteristics * Returns data that is accurate as of the last recalculation, not the current moment. * Stores history: on the product card you can see when the product entered the segment and when it left. * Can be used in promotions, recommendations, and the templater. ## Static segment **What problem it solves:** create a segment that does not depend on filters and only changes through manual edits by staff or through campaign mechanics. ### How to create a static segment Unlike filter-based segments, you first create a segmentation manually, then create a segment inside it. The segmentation and the segment can have different names, and a single segmentation can contain multiple segments. See "How to create a static product segment" for details. ### How to add products to a static segment See "How to add products to a static segment." ### How to remove products from a static segment See "How to remove products from a static segment." ### How the static segment appears on the product card On the **Segments** tab, under **Current**. Under **History**, you'll also see the date and reason the product entered the segment. If the product later drops out, you'll see the exit date and reason as well. ### How to find products that belong to a static segment Build a product filter of the form **Segment — "Segmentation name" — "Segment name"**. If the segmentation contains only one segment, select just the segmentation name in the filter. ### Key characteristics * Returns data that is accurate as of the last recalculation, not the current moment. * Stores history: on the product card you can see when the product entered the segment and when it left. * Can be used in promotions, recommendations, and the templater. ## Segmentation and segment Every segment is part of a segmentation-segment pair. When you create a filter-based segment, the segmentation is created automatically and shares the same name and system name as the segment. For static segments, the segmentation is created in the system first, and then the segments belonging to it are created inside it. # What to Do If You Cannot Update a Segment Source: https://help.maestra.io/segments/what-to-do-if-you-cannot-update-a-segment Scheduled segments are used in campaigns and flows or to collect filter results with multiple complex conditions. However, some conditions are so complex that the system cannot calculate a segment. ## Issues and troubleshooting 1. If complex conditions have been applied to a Scheduled segment and it takes over 24 hours to calculate the data, the platform will pause the calculation for 24 hours and add an issue on the Campaign & Data monitoring page: > [!WARNING] > > Please try simplifying the segment filter or contact your support manager for assistance. There are two ways to help resolve this: * Simplify the segment filters (refer to [this guide](/filters/how-to-simplify-a-filter) for more info); * Split your filter conditions into multiple Scheduled segments. ![](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/00_update_a_segment.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=ca71928da77d38cb42e226fae58aa393) ![](https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_update_a_segment.png?fit=max\&auto=format\&n=-w5Ud9QNiG7Y4nor\&q=85\&s=f6e8c66e76dd0a18ecb5e1e036b2680c) | Before | After | | - | - | | | | Here, we combined conditions of the same type into a Scheduled segment. We then created another Scheduled segment containing the first segment. *** 2. If you’re using multiple real-time events in your Scheduled segment for recalculation or it contains a lot of complex conditions, it may take more time than usual to update. In this case, an issue will be added on the Campaign & Data monitoring page: > [!WARNING] > > Use scheduled segments or select a less frequent event to check customers’ inclusion in the segment. To fix this, you can try: * Simplifying the segment filter (refer to [this guide](/filters/how-to-simplify-a-filter) for more info). * Consider splitting conditions into multiple Scheduled segments. For example: ![](https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_update_a_segment.png?fit=max\&auto=format\&n=59KyfifOW7tLz5QR\&q=85\&s=94a7ef630d89e0d49c1b41349444d4b2) ![](https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/03_update_a_segment.png?fit=max\&auto=format\&n=nXS6QsINTx63g9ke\&q=85\&s=63009fdb757325cfcb986de67780cd2b) | Before | After | | - | - | | | | Here, we split the scheduled segment’s complex filter into two separate conditions. The first one contains the order condition, the second one — the action. Then, we created a Scheduled segment for every condition. *** You can also select a smaller action template category while choosing "action issued" as an event to update a segment. #### Example 1 ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_update_a_segment.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=f1f5d20cd6267e2175d7ee863b08a74d) ![](https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_update_a_segment.png?fit=max\&auto=format\&n=hDwb_Ye73XB_-pfV\&q=85\&s=2e9e34f4c2484b8db314ba6d5ccd1f1a) | Before: 26 action templates | After: 7 action templates | | - | - | | | | Checking email opens requires going through lots of action templates. You can significantly reduce the number of templates checked by using a specific campaign to limit the number of templates. #### Example 2 ![](https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_update_a_segment.png?fit=max\&auto=format\&n=5322-upQA3cGdluA\&q=85\&s=8365f2ecb8b24d60eb2c32f44f26fd5f) ![](https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_update_a_segment.png?fit=max\&auto=format\&n=2_WUUqtXTQTrF_2i\&q=85\&s=aeb397f7245f849f814bb7fe980f7026) | Before: lots of events | After: one event left | | - | - | | | | The "before" segment had to check if customers met its conditions each time a customer was added to the database, changed their subscription or email. The selected events made it difficult to update. In the "after" segment we reduced the number of events, where possible. If necessary, you can create individual Scheduled segments for each event.