Nice, here’s your Replit Agent prompt for the 6-month journey (NEW + USED + nudges + advisor bridge). Copy everything in the grey block into the Replit Agent: ⸻ Please update the file: app/lia_rules.py with the following 6-month end-of-term (EOT) journey structures. Do not change any existing logic or functions – only: • add or replace: • LIA_EOT_6_OUTBOUND • LIA_EOT_6_INTROS • LIA_EOT_6_NUDGES Make sure there is only one definition of each in the file when you’re done. ⸻ 1. Add / replace LIA_EOT_6_OUTBOUND # 6-MONTH OUTBOUND MESSAGES (NEW + USED) LIA_EOT_6_OUTBOUND = { "NEW": ( "Hi [customer_name], it’s Lia from Lincoln Audi.\n\n" "You’re now around 6 months from the end of your agreement, which means this is the last window to secure a factory " "order and make sure your next car arrives before your current term finishes.\n\n" "Your current Audi is still performing strongly in the market, so it’s a great moment to look at your options. Audi " "has also released early loyalty contributions exclusively for existing customers, which could help you move into the " "best value version of your next car.\n\n" "Would you like me to put together an early upgrade option for you?" ), "USED": ( "Hi [customer_name], it’s Lia from Lincoln Audi.\n\n" "You’re now around 6 months from the end of your agreement, so this is a good point to start planning your next steps.\n\n" "If you’re thinking of changing, we can still secure a factory order before the cut-off or look at some of our best " "value Approved Used options.\n\n" "Audi has also allocated exclusive loyalty support to your account if you choose to upgrade.\n\n" "Would you like me to explore some options for you?" ), } ⸻ 2. Add / replace LIA_EOT_6_INTROS # 6-MONTH FIRST-REPLY INTROS (NEW + USED) LIA_EOT_6_INTROS = { "NEW": ( "Thanks for getting back to me, [customer_name].\n\n" "With around 6 months left, this is the ideal time to look properly at what works best for you – especially as your " "current Audi still holds strong value and factory order slots are starting to close.\n\n" "The easiest way to make sure you don’t miss any opportunities is a quick visit to the showroom so we can run through " "the numbers and choices together.\n" "When suits you best?" ), "USED": ( "Thanks for getting back to me, [customer_name].\n\n" "At this stage of your agreement, we can help you compare Approved Used, new, or even keeping the car – depending on " "what gives you the best value overall.\n\n" "A quick visit to the showroom will let us confirm your part-exchange value and show you the options clearly so you " "can decide in your own time.\n" "When’s good for you to pop in?" ), } ⸻ 3. Add / replace LIA_EOT_6_NUDGES # 6-MONTH NUDGE SEQUENCE (NEW + USED) LIA_EOT_6_NUDGES = { # NEW – 6 months "NUDGE_1_6_NEW": ( "Hi [customer_name], just checking in – factory order slots are getting tighter now we’re around 6 months from the end " "of your agreement.\n" "If you’d like, I can pull together some options to make sure your next car arrives in time." ), "NUDGE_2_6_NEW": ( "Hi [customer_name], I’ve had another look at your details – your current Audi is still in a strong position in the " "market, which can really help with the figures.\n" "If you want, I can show you the best value options that keep things comfortable on the monthly payment." ), "NUDGE_3_6_NEW": ( "Hi [customer_name], I don’t want you to miss the factory order cut-off.\n" "If now isn’t a great time to message back, I can ask one of our specialists to give you a quick call and talk you " "through your options – no pressure, just a clear view of what’s possible.\n" "Would you prefer a call?" ), # USED – 6 months "NUDGE_1_6_USED": ( "Hi [customer_name], just a quick check-in – now we’re about 6 months from the end of your agreement, it’s a good " "time to look ahead without any last-minute rush.\n" "If you’ve got an idea of what you’d like next, I can start lining up some suitable options for you." ), "NUDGE_2_6_USED": ( "Hi [customer_name], I’ve rechecked your profile and there may be loyalty support available that we can use – either " "towards another Approved Used Audi or to see how a new model compares.\n" "Would you like me to put together a couple of examples?" ), "NUDGE_3_6_USED": ( "Hi [customer_name], happy to help whenever it suits you.\n" "If you’d rather talk it through, I can arrange for one of our advisors to give you a quick call and go over your " "early upgrade options and what might fit best.\n" "Would you like me to organise that?" ), } ⸻ Important: 1. Remove or replace any existing LIA_EOT_6_OUTBOUND, LIA_EOT_6_INTROS, and LIA_EOT_6_NUDGES so there is only one definition of each. 2. Keep all other dictionaries and functions in lia_rules.py unchanged. 3. Ensure the file still has valid Python syntax and that the dashboard server starts without errors. ⸻ Once the agent has applied this, we can: • Add the 3-month journey next, • Or build the mapping logic so the right templates are picked automatically based on payments_remaining and product_type (NEW / USED).