↑↓ selectEnter openEsc close

    1. Elbuz
    2. Autonomous support
    3. Order actions

    How AI changes the Nova Poshta branch in an order

    3 min readUpdated

    Elbuz changes the Nova Poshta branch in an order from the customer's message: the system finds the branch, the customer replies “Yes”, and the order (and waybill) is updated without an employee.

    When you need this:

    • “Deliver to branch 15 in Kyiv”: the branch is found in the Nova Poshta directory; the customer confirms in one word.
    • Several branches match: the customer picks one of up to three by number.
    • The waybill exists, the parcel isn't shipped: a new waybill replaces the old one.
    • Delivery to the new city costs more: an employee approves it.

    Where to start: “Autonomous support” → “Policy” → “Action types” → “Nova Poshta branch change”.

    What AI branch change can do

    The “Yes/No” confirmation, the code and the limits are shared by all actions — see How AI handles customer order requests on its own.

    Which orders AI changes on its own

    Only an order that Nova Poshta delivers to a branch or parcel locker, and only before it ships.

    When AI makes the change and when it hands over to a person
    SituationWhat happens
    No yetthe branch in the order changes
    The waybill has the “created” status, “May recreate the waybill” is ona new waybill replaces the old one
    There is a waybill, “May recreate the waybill” is offto an employee: “has a waybill — handed to the carrier”
    The parcel has already been handed overto an employee: “the parcel is already with the carrier”
    Courier delivery to an addressto an employee: “courier delivery, not to a branch”
    Another carrierto an employee: “not delivered by Nova Poshta”
    The customer named the same branchAI replies that it's already in the order

    A branch change doesn't move money, so the “Live” mode doesn't need a run on past tickets.

    How the system finds the branch

    The branch is parsed by the system, not by AI: AI only passes on the customer's words.

    • Number: after “№”, “#” or “branch”, after the Ukrainian «відділення» (branch) or «поштомат» (parcel locker), or before the word «відділення». If the text has only one number, that's it.
    • City: words matching a city name in the Nova Poshta directory, in Ukrainian or Russian. If the text has no city, the city from the order is used.
    • Only operating branches are taken.

    The system doesn't recognize an inflected city name («у Києві», «в Одесі»: “in Kyiv”, “in Odesa”) and looks for the number in the order's city. If found, the question shows the branch city and address, and the customer replies “No” if it's wrong. If nothing is found or there's no number, AI asks for the city and branch number.

    What the customer gets

    One branch: the question “Change the delivery branch for order #… to: Kyiv, Branch #15 (…)? Reply “Yes” or “No”.”

    Several branches, for example cities with the same name in different regions: a numbered list of up to three options. The customer replies with a number: “2”, “option 2”. For the chosen option, the usual “Yes/No” question follows. The system doesn't accept “Yes” instead of a number and asks again.

    Chat ticket where the AI assistant lists several matching Nova Poshta branches and waits for the customer's choice
    1List of branch options
    2AI assistant signature
    3Action state
    1. List of branch options — the same city name in different regions, numbered so the customer can reply with a number.
    2. AI assistant signature — the message is marked as sent by the store's AI assistant.
    3. Action state in the AI actions block — shows the action is waiting for the customer's “Yes” until the deadline.

    When it's done, the customer gets “Done: order #… will be delivered to branch …”, plus “New waybill: …” if the waybill was re-created.

    The risk here is someone redirecting another person's parcel to their own branch. That's why chats and messengers by default require a code sent to the contact from the order. If the customer writes an email from the order's address, the confirmation link is enough.

    How AI re-creates the waybill

    Turn on “May recreate the waybill”. Then, if the waybill has the “created” status and the parcel hasn't been handed over yet, after “Yes”:

    1. The order gets the new city, branch, branch number and address, and the recipient in the saved waybill settings changes too.
    2. A new waybill is created with the same settings.
    3. The old waybill is deleted in Nova Poshta.

    If the new waybill isn't created, the order is reverted and an employee gets the ticket: “Nova Poshta did not create the new waybill — the order is unchanged”. If the old one can't be deleted, the ticket shows “The old waybill of order #… could not be deleted in Nova Poshta — delete it manually”.

    What if delivery to the new branch costs more

    The system calculates delivery at Nova Poshta rates to the old and the new city. Within one city, the difference is zero. If the new delivery costs more than “Extra delivery cost up to, UAH” (0 by default, up to 1000) allows, an employee approves the change. If the cost can't be calculated, an employee does too.

    Settings in “Nova Poshta branch change”

    Action type fields
    FieldDefault
    “Per day, at most”20
    “May recreate the waybill”off
    “Extra delivery cost up to, UAH”0
    “Identity check”“L2: one-time code” (L1 for an email from the order's address)
    “Order sources”Elbuz, chat, website

    How to restore the previous branch

    “Undo action” in the “AI actions” block puts the previous branch back in the order if the waybill wasn't re-created and nobody changed the branch after AI.

    After the waybill is re-created, the button replies “AI re-created the waybill — only an employee can restore the branch”: the old waybill is already deleted, and the new one has to be changed manually.

    Scenarios

    The order is still in the warehouse

    What you get. The customer emails from the order's address: «змініть на відділення 15, Київ» (“change it to branch 15, Kyiv”). They get a question with a link, click the button, and the warehouse prints the waybill for the new branch.

    Waybills are created right after payment

    What to do. Turn on “May recreate the waybill”.

    What you get. Until the parcel is handed over, AI replaces the waybill on its own. The warehouse sticks the new waybill on the parcel; the number is shown in the order.

    The customer moved to another city

    What to do. Set “Extra delivery cost up to, UAH” to 30.

    What you get. AI handles a move within that limit on its own; a more expensive one goes to an employee to agree on the extra payment.

    FAQ

    Will AI change the branch if the parcel is already on its way?

    No. A parcel handed to the carrier can only be redirected by an employee in the Nova Poshta account (conditions).

    The customer wrote “in Kyiv, 15”, but AI offered a branch in another city. Why?

    The system doesn't recognize a city in an inflected form and looks for the number in the order's city. The customer replies “No” and writes «Київ, відділення 15» (“Kyiv, branch 15”) (search).

    Can delivery be changed to a courier?

    No, AI only changes the Nova Poshta branch or parcel locker. Delivery to an address is changed by an employee.

    Does this work with Ukrposhta?

    No, only with Nova Poshta. Orders with other carriers go to an employee with the reason “not delivered by Nova Poshta”.

    Why a code if the customer already wrote in Telegram?

    Telegram doesn't confirm that the person writing owns the order. A code sent to the phone or email from the order protects the parcel from being redirected by someone else (identity check).

    Where it is and who has access

    Menu
    Tickets → gear icon → “Autonomous support” → “Policy” → “Nova Poshta branch change”
    Result
    the ticket card, “AI actions” block; delivery in the order card
    Access right
    the “Autonomous support” window
    Prepare
    a connected Nova Poshta account with an key and a loaded branch directory

    Related topics

    Was this article helpful?

    Missing a feature? Tell us.

    We will add it for free if other users need it too.

    If only you need it, we will agree on it separately.

    Article contents

    Suggest an improvement

    Try Elbuz free