{"p":"retail","persona":["retail","Retail & franchise expansion","Expansion, real estate and network planning teams deciding where the next store or franchise goes."],"industry":{"slug":"retail","name":"Retail & franchise"},"templates":{"vacant_units":{"name":"Shops that just closed: units to rent","desc":"Every Monday: the shops of your city, and the ones that closed since last week, each a unit that may soon be free, scored by xMap AI as a place for your next store, emailed and mapped.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Europe/Madrid"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Barcelona","label":"Barcelona","lat":41.3874,"lng":2.1686}]}],["nearby","Shops in the city",{"types":["Clothing store","Shoe store","Cosmetics store"],"where":"Area of interest","open":false,"cover":true,"max":"100"}],["changes","Closed since last week",{"watch":["Closed"]}],["llm","Score each unit with xMap AI",{"task":"Score & rank","prompt":"Score each closed shop from 0 to 100 as a unit for our next store, from its address, the kind of shop it was and how well customers rated it (a well-rated shop usually means a busy street). Explain in one sentence.","out":"fit_score, reason"}],["email","Email me the units",{"kind":"One email per run","subj":"Shops that closed this week"}],["map","Closed shops map",{"name":"Closed shops","color":"Fit score"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"nearstores":{"name":"What opens near my stores","desc":"Every week: new places opening within 1 km of each of your stores (a table in My data), only the new ones, by email.","n":[["sched","Every week",{"freq":"Every week"}],["mydata","My stores"],["gscan","Places near each store",{"cats":["Caf\u00e9s","Restaurants"],"area":"Around each incoming place","radius":"1000","opened":"Any time"}],["onlynew","Only new ones"],["nearest","Nearest store",{"from":"A table in My data","pre":"store"}],["email","Email the store managers",{"kind":"One email per run","subj":"Opened near your stores this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5]]},"sitescout":{"name":"Where to open next","desc":"Every week: score areas of your city for a new branch from ratings, reviews and competition, on a map.","n":[["sched","Every week",{"freq":"Every week"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Mexico City","label":"Mexico City","lat":19.4326,"lng":-99.1332}]}],["gscan","Places in the city",{"cats":["Caf\u00e9s"],"area":"Area of interest","opened":"Any time","max":"50"}],["llm","Score each area",{"task":"Score & rank","prompt":"Score each place\u2019s surroundings from 0 to 100 as a location for a new branch, using its rating, its number of reviews and the competition nearby. Explain in one sentence.","out":"fit_score, reason"}],["map","Site map",{"name":"Sites","color":"Fit score"}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[3,4],[3,5]]},"housing_gaps":{"name":"New homes with no supermarket yet","desc":"Every month: apartment buildings that opened in your city in the last year, how many supermarkets and grocery stores are within 1 km of each and who lives around it, the ones with the fewest shops first, scored by xMap AI as a place for a new store and mapped.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"America/Toronto"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Toronto","label":"Toronto","lat":43.6532,"lng":-79.3832}]}],["nearby","New apartment buildings",{"types":["Apartment building","Apartment complex","Housing development"],"where":"Area of interest","since":"Last 12 months","cover":true,"max":"200"}],["nearby","Supermarkets around each",{"types":["Supermarket","Grocery store"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["sort","The fewest shops first",{"by":"Another field","fname":"nearby_count","dir":"Lowest first (A to Z)","keep":"The first 20"}],["demog","Who lives around",{"where":"Each incoming place","radius":"1 km"}],["llm","Score each spot with xMap AI",{"task":"Score & rank","prompt":"Score each new building from 0 to 100 as a spot for a new supermarket nearby, from the people living within 1 km and how few shops already serve them. Explain in one sentence.","out":"fit_score, reason"}],["map","New homes to serve",{"name":"New homes with no supermarket","color":"Fit score"}],["email","Email me the spots",{"kind":"One email per run","subj":"New homes with no supermarket yet"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[6,8]]},"retail_district_score":{"name":"Score every neighbourhood for a new branch","desc":"Every month: who lives in every block of your city, how many supermarkets serve them, people per shop worked out, the 20 most underserved spots checked by an AI agent (anchors and roads around each) and ranked by xMap AI on a map.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Toronto","label":"Toronto","lat":43.6532,"lng":-79.3832}]}],["demog","People in every block of the city",{"where":"Area of interest","out":"Every hexagon (about 0.1 km\u00b2)"}],["nearby","Supermarkets around each block",{"types":["Supermarket","Grocery store"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["calc","People per shop",{"lines":"people_per_shop = round({{population}} / ({{nearby_count}} + 1))"}],["sort","Best 20 first",{"by":"Another field","fname":"people_per_shop","dir":"Highest first (Z to A)","keep":"The first 20"}],["agent","Check each spot with the AI agent",{"goal":"You scout sites for a supermarket chain. For each spot, use your tools to count the schools, mosques and malls around it (they bring footfall) and any road works nearby, then write two lines on whether it is a good site and why.","msg":"Check the spot at {{lat}}, {{lng}}.","memory":"None","steps":"6","out":"site_notes"}],["nearby","Anchors around it",{"types":["School","Mosque","Shopping mall"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["incidents","Road incidents around it",{"where":"Around each incoming place","radius":"2000"}],["llm","Rank the spots with xMap AI",{"task":"Score & rank","prompt":"Score each spot from 0 to 100 as a place for a new supermarket, from how many people live there, how many shops already serve them and the site notes. Explain in one sentence.","out":"fit_score, reason"}],["map","Show them on a map",{"name":"Best spots for a new branch","color":"Fit score"}],["email","Email me the list",{"kind":"One email per run","subj":"Best spots for your next branch"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,9],[9,10],[9,11],[6,7,"tool"],[6,8,"tool"]]},"retail_rival_gaps":{"name":"Where my rival is and I am not","desc":"Every month: every branch of a rival brand in your city, how far each is from your nearest store, the ones with none of yours within 2 km, checked by an AI agent (who lives around, what else is there) and ranked on a map.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Montreal","label":"Montreal","lat":45.5019,"lng":-73.5674}]}],["nearby","Rival branches",{"types":["Coffee shop"],"where":"Area of interest","order":"Nearest first","max":"300","brand":"Starbucks","cover":true}],["nearest","My nearest store",{"from":"A table in My data","pre":"mystore"}],["filter","No store of mine within 2 km",{"field":"A number field","fname":"mystore_km","op":"\u2265","val":"2"}],["agent","Size each gap with the AI agent",{"goal":"You plan coffee shop openings. For each rival branch with none of ours nearby, use your tools to see who lives around it and what other cafes are there, then write two lines on the opportunity.","msg":"Size the gap around {{name}}.","memory":"None","steps":"6","out":"gap_notes"}],["demog","Who lives around it",{"where":"Each incoming place","radius":"1 km"}],["nearby","Other cafes around it",{"types":["Coffee shop","Cafe"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["llm","Rank the gaps with xMap AI",{"task":"Score & rank","prompt":"Score each gap from 0 to 100 as a place for one of our stores, from the gap notes and how far our nearest store is. Explain in one sentence.","out":"fit_score, reason"}],["map","Show them on a map",{"name":"Rival gaps","color":"Fit score"}],["email","Email me the list",{"kind":"One email per run","subj":"Where your rival is and you are not"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,8],[8,9],[8,10],[5,6,"tool"],[5,7,"tool"]]},"retail_tokyo_station_shops":{"name":"Shop space for rent near stations in Tokyo","desc":"Every Monday: shop and restaurant space for rent within 500 m of the best-rated train and subway stations in Tokyo, only the new listings, with the rent, size, rent per m2 and the walk to the station, the best value first, emailed and on a map.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Asia/Tokyo"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Tokyo","label":"Tokyo","lat":35.6762,"lng":139.6503}]}],["nearby","Train and subway stations",{"types":["Train station","Subway station"],"where":"Area of interest","order":"Best rated first","max":"20"}],["regional","Shop space for rent within 500 m",{"country":"Japan","dataset":"jp-property-listings","where":"Each incoming place","types":["Retail","Restaurant"],"deal":"Rent","radius":"500 m","give":"The listings found","walk":"10 minutes","max":"200"}],["onlynew","Only new listings",null],["sort","Best value first (rent per m2)",{"by":"Another field","fname":"price_per_sqm","dir":"Lowest first (A to Z)","keep":"The first 50"}],["email","Email me the list",{"kind":"One email per run","subj":"Shop space for rent near Tokyo stations"}],["map","Show them on a map",{"name":"Shop space for rent","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[5,7]]},"retail_station_stores":{"name":"Busy stations with no convenience store","desc":"Every month: the train and metro stations of your city, how many convenience and grocery stores are within 250 m of each, the 15 with the fewest, who lives within 500 m, scored by xMap AI as spots for a small store, mapped and emailed.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Paris"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Paris","label":"Paris","lat":48.8566,"lng":2.3522}]}],["nearby","Stations in the city",{"types":["Train station","Subway station"],"where":"Area of interest","order":"Best rated first","max":"40","cover":true}],["nearby","Shops around each station",{"types":["Convenience store","Grocery store"],"where":"Each incoming place","radius":"250 m","give":"Each incoming place, with counts"}],["sort","The fewest nearby first",{"by":"Another field","fname":"nearby_count","dir":"Lowest first (A to Z)","keep":"A number I choose","n":"15"}],["demog","Who lives around",{"where":"Each incoming place","radius":"500 m"}],["llm","Score each station with xMap AI",{"task":"Score & rank","prompt":"Score each station from 0 to 100 as a spot for a small convenience store, from the people living within 500 m and how few shops already serve it. Explain in one sentence.","out":"fit_score, reason"}],["map","Show them on a map",{"name":"Stations to open at","color":"Fit score"}],["email","Email me the list",{"kind":"One email per run","subj":"Stations with no convenience store"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[6,8]]},"retail_cannibalisation":{"name":"Stores competing with each other","desc":"Every month: your stores that have another of your stores within 1 km, with how many people live around each, and how much they overlap from xMap AI, so you can see where branches split the same customers.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00"}],["mydata","My stores",null],["nearest","My other stores nearby",{"from":"A table in My data","k":"2","pre":"store"}],["filter","Another store within 1 km",{"field":"A number field","fname":"store_2_km","op":"\u2264","val":"1"}],["demog","Who lives around",{"where":"Each incoming place","radius":"1 km"}],["calc","People per store",{"lines":"people_per_store = round({{population}} / 2)"}],["llm","Rate the overlap with xMap AI",{"task":"Score & rank","prompt":"Score from 0 to 100 how much this store and its nearest sister store likely take customers from each other, from the distance and the people around them. Say which one you would keep if one had to close.","out":"overlap_score, advice"}],["email","Email me the list",{"kind":"One email per run","subj":"Stores close to each other"}],["map","Show them on a map",{"name":"Overlapping stores","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[6,8]]},"retail_franchise_territories":{"name":"Fair franchise territories for a city","desc":"Every month: who lives in every block of your city, the 120 busiest blocks shared out into six compact franchise territories of about the same size, with a plan for each by xMap AI, emailed with a map.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Australia/Sydney"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Sydney","label":"Sydney","lat":-33.8688,"lng":151.2093}]}],["demog","People in every block of the city",{"where":"Area of interest","out":"Every hexagon (about 0.1 km\u00b2)"}],["sort","Best 120 first",{"by":"Another field","fname":"population","dir":"Highest first (Z to A)","keep":"A number I choose","n":"120"}],["territory","Six franchise territories",{"how":"A number of reps","n":"6"}],["llm","Write the territory plan",{"scope":"The whole list","task":"Write summary","prompt":"For the franchise development team, in about 200 words: one short line per territory (territory) with how many people live in it, its main age group, and the kind of franchisee and store that would suit it.","out":"report"}],["map","Show them on a map",{"name":"Franchise territories","color":"Category"}],["email","Email me the list",{"kind":"One email per run","subj":"Franchise territories for your city"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[5,7]]},"retail_mall_tenants":{"name":"New tenants in the malls I care about","desc":"Every Monday: shops that opened in the last six months within 300 m of the malls in your city, only the new ones, emailed and mapped.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Dubai","label":"Dubai","lat":25.2048,"lng":55.2708}]}],["nearby","Malls in the city",{"types":["Shopping mall"],"where":"Area of interest","order":"Best rated first","max":"30"}],["nearby","New shops in each mall",{"types":["Clothing store","Shoe store","Cosmetics store","Jewelry store"],"where":"Each incoming place","radius":"250 m","give":"The places found","since":"Last 6 months"}],["onlynew","Only new ones",null],["classify","Sort them by kind",{"tax":"Custom list","labels":"Fashion, Shoes, Beauty, Jewelry, Other"}],["email","Email me the list",{"kind":"One email per run","subj":"New tenants in your malls"}],["map","Show them on a map",{"name":"New mall tenants","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[5,7]]},"retail_rival_moves":{"name":"Rival openings and closures every month","desc":"Every month: every branch of a rival brand across your cities, with what changed since last month (new branches, closed branches), emailed and mapped.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"London","label":"London","lat":51.5074,"lng":-0.1278},{"kind":"city","name":"Manchester","label":"Manchester","lat":53.4808,"lng":-2.2426},{"kind":"city","name":"Birmingham","label":"Birmingham","lat":52.4862,"lng":-1.8904}]}],["nearby","Rival branches",{"types":["Supermarket","Hypermarket"],"where":"Area of interest","order":"Nearest first","max":"300","brand":"Carrefour","cover":true}],["changes","New and closed branches",{"watch":["Closed","Name or address"],"newToo":true}],["llm","Write the monthly note",{"scope":"The whole list","task":"Write summary","prompt":"Write a short note for the expansion team: how many rival branches opened and closed this month, in which cities and areas, and what it suggests.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Rival moves this month"}],["map","Show them on a map",{"name":"Rival branches","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"retail_weather_promos":{"name":"Weather-driven promotions per store","desc":"Every morning: the 3-day forecast at each of your stores, the ones facing heat or rain, a promotion idea for each from xMap AI, posted to the store channel and emailed.","n":[["sched","Every morning",{"time":"06:00"}],["mydata","My stores",null],["weather","Forecast for 3 days",{"where":"Each incoming place","days":"3","what":["Temperature","Rain","Wind"]}],["filter","Hot or rainy days",{"field":"A number field","fname":"temp_max","op":"\u2265","val":"40"}],["llm","A promotion for each store",{"task":"Write summary","prompt":"Suggest one promotion for this store for the next three days from its forecast (heat, rain or wind): what to push at the entrance and on the shelves, in one sentence.","out":"promo"}],["ap_slack","Post to the store channel",{"action":"send_channel_message","per":"Once per run","inputs":{"channel":"","text":""}}],["email","Email me the list",{"kind":"One email per run","subj":"Promotions for the weather"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"retail_site_chat":{"name":"Site advisor chat for the expansion team","desc":"A chat for your expansion team: they name any address, an AI agent counts the people and the competitors around it live and answers with a verdict.","n":[["chat","Chat",{"title":"Site advisor","welcome":"Name an address or area and what you want to open there, and I will tell you who lives around it and what competes nearby."}],["agent","Site advisor",{"goal":"You advise an expansion team on store sites. When they name a place, use Who lives around it and Competitors around it, then answer in 4 short lines: people within 1 km, main age group, competitors nearby, and your verdict (good, maybe, poor) with one reason."}],["demog","Who lives around it",{"where":"A point","center":"{{agent: the place to look at}}","radius":"1 km"}],["nearby","Competitors around it",{"where":"A point","center":"{{agent: where to look, as the place the person named}}","types":["Supermarket","Clothing store"],"radius":"2 km","order":"Best rated first","max":"20"}],["reply","Reply",{"text":"{{reply}}","give":"The answer and the items"}]],"e":[[0,1],[1,2,"tool"],[1,3,"tool"],[1,4]]},"retail_expansion_committee":{"name":"Expansion committee pack, every month","desc":"Every month: every block of your cities scored for a new store (people, competition, anchors, roads), the best 20 investigated by an AI agent, ranked by xMap AI, approved by your admins, then saved to a sheet, emailed as a committee pack and mapped.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"Sydney","label":"Sydney","lat":-33.8688,"lng":151.2093},{"kind":"city","name":"Melbourne","label":"Melbourne","lat":-37.8136,"lng":144.9631}]}],["demog","People in every block of the city",{"where":"Area of interest","out":"Every hexagon (about 0.1 km\u00b2)"}],["filter","Blocks where people live",{"field":"A number field","fname":"population","op":"\u2265","val":"400"}],["nearby","Competitors around each block",{"types":["Supermarket","Hypermarket","Grocery store"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["calc","People per competitor",{"lines":"people_per_store = round({{population}} / ({{nearby_count}} + 1))"}],["sort","Best 20 first",{"by":"Another field","fname":"people_per_store","dir":"Highest first (Z to A)","keep":"The first 20"}],["agent","Investigate each spot with the AI agent",{"goal":"You prepare an expansion committee. For each spot, use your tools: who lives around it, the anchors that bring footfall (schools, mosques, malls) and road works nearby. Write four lines: the catchment, the anchors, access, and your recommendation.","msg":"Investigate the spot at {{lat}}, {{lng}}.","memory":"None","steps":"6","out":"site_case"}],["demog","Who lives around it",{"where":"Each incoming place","radius":"2 km"}],["nearby","Anchors around it",{"types":["School","Mosque","Shopping mall"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["incidents","Road incidents around it",{"where":"Around each incoming place","radius":"2000"}],["llm","Rank the spots with xMap AI",{"task":"Score & rank","prompt":"Score each spot from 0 to 100 for a new supermarket from the site case and the people per competitor. Explain in two sentences.","out":"fit_score, reason"}],["llm","Write the committee pack",{"scope":"The whole list","task":"Write summary","prompt":"Write a one-page committee pack: the top five spots with why, the risks, and what to visit first.","out":"report"}],["approve","Committee approval",{"who":"Organization admins","msg":"Review the pack and the map before it goes to the expansion team.","within":"7 days"}],["ap_google-sheets","Save the shortlist",{"action":"insert_row","per":"Once per item","inputs":{"spreadsheetId":"","sheetId":"","first_row_headers":true,"values":{}}}],["email","Email me the list",{"kind":"One email per run","subj":"Expansion committee pack"}],["map","Show them on a map",{"name":"Expansion shortlist","color":"Fit score"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,11],[11,12],[12,13],[13,14],[13,15],[13,16],[7,8,"tool"],[7,9,"tool"],[7,10,"tool"]]},"ret_popup_spots":{"name":"Where to put a pop-up shop this month","desc":"Every month: the busiest malls, markets and shopping streets in your city, each with how many people live around it, scored by xMap AI for a one-month pop-up, with the best five sent to the brand manager.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Amsterdam"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Amsterdam","label":"Amsterdam","lat":52.3676,"lng":4.9041}]}],["nearby","Busy shopping spots",{"types":["Shopping mall","Market","Outlet mall"],"where":"Area of interest","order":"Best rated first","max":"60"}],["demog","Who lives around",{"where":"Each incoming place","radius":"1 km"}],["llm","Score each spot with xMap AI",{"task":"Score & rank","prompt":"Score each spot from 0 to 100 for a one-month pop-up shop of a young fashion brand: how many people live around it, how busy and well rated it is. Explain in one sentence.","out":"fit_score, reason"}],["sort","Best 5 first",{"by":"Fit score","dir":"Highest first (Z to A)","keep":"The first 5"}],["email","Email me the list",{"kind":"One email per run","subj":"Pop-up spots this month"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6]]},"ret_store_staffing_rain":{"name":"Rainy weekend: staff the right stores","desc":"Every Thursday: the weekend forecast at each of your stores, and a staffing note by xMap AI (more staff in malls when it rains, fewer in street shops), sent to the store managers on Slack.","n":[["sched","Every Thursday",{"freq":"Every week","weekday":"Thursday","time":"10:00","tz":"Europe/London"}],["mydata","Our stores",null],["weather","Forecast for 4 days",{"where":"Each incoming place","days":"4","what":["Temperature","Rain","Wind"]}],["llm","Write the staffing note with xMap AI",{"task":"Write summary","prompt":"One line for this store\u2019s manager: how busy this weekend will be given the rain and heat, and whether to add or move staff.","out":"staffing"}],["ap_slack","Post it to the store managers",{"action":"send_channel_message","per":"Once per run","inputs":{"channel":"","text":"Weekend staffing: {{items_md}}"}}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[3,4],[3,5]]},"ret_mall_vacancies":{"name":"Malls where my category is missing","desc":"Every quarter: shopping malls in your country with how many stores of your category are inside or next to them, the ones with the fewest first, as a list for the leasing team.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Asia/Seoul"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"Seoul","label":"Seoul","lat":37.5665,"lng":126.978},{"kind":"city","name":"Busan","label":"Busan","lat":35.1796,"lng":129.0756},{"kind":"city","name":"Incheon","label":"Incheon","lat":37.4563,"lng":126.7052},{"kind":"city","name":"Daegu","label":"Daegu","lat":35.8714,"lng":128.6014}]}],["nearby","Shopping malls",{"types":["Shopping mall"],"where":"Area of interest","order":"Best rated first","max":"80"}],["nearby","Shoe stores inside or next door",{"types":["Shoe store"],"where":"Each incoming place","radius":"250 m","give":"Each incoming place, with counts"}],["sort","The fewest nearby first",{"by":"Another field","fname":"nearby_count","dir":"Lowest first (A to Z)","keep":"The first 20"}],["ap_google-sheets","Update the leasing list",{"action":"insert_row","per":"Once per item","inputs":{"spreadsheetId":"","sheetId":"","first_row_headers":true,"values":{}}}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"ret_network_brief":{"name":"A monthly brief on your store network","desc":"On the first of every month: a Market analyst reads what your other AI employees found in the last 30 days (rivals opening near your stores, openings and closures by city, strong fits) and writes one brief with the figures, as a PDF by email and in your Team inbox.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Paris"}],["teamdata","What the team found this month",{"since":"Last 30 days","max":"20"}],["llm","Word the brief",{"scope":"The whole list","task":"Write summary","prompt":"Write the monthly brief for the retail network director from these findings: rivals near our stores first, then openings and closures by city, then anything else. Use only the figures given; never add a number.","out":"report"}],["pdfreport","The brief as a PDF",{"kind":"A report (A4)","title":"Monthly network brief"}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[2,4]]},"ret_click_collect_lockers":{"name":"Where to put click and collect lockers","desc":"Every quarter: blocks of your city with the most residents and no store of yours within 2 km, ranked, as sites for parcel lockers, with a note by xMap AI.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Warsaw"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Warsaw","label":"Warsaw","lat":52.2297,"lng":21.0122}]}],["demog","People in every block of the city",{"where":"Area of interest","out":"Every hexagon (about 0.1 km\u00b2)"}],["nearby","Our stores nearby",{"types":["Department store","Clothing store"],"where":"Each incoming place","radius":"2 km","give":"Each incoming place, with counts"}],["calc","People per store",{"lines":"per_store = population / (nearby_count + 1)"}],["sort","Best 20 first",{"by":"Another field","fname":"per_store","dir":"Highest first (Z to A)","keep":"The first 20"}],["llm","Write the locker note",{"scope":"The whole list","task":"Write summary","prompt":"For the e-commerce manager: the ten blocks that need a locker most and why.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Locker sites"}],["map","Show them on a map",{"name":"Where lockers would help","color":"One color"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[5,8]]},"ret_tourist_stores":{"name":"Tourist hotspots for a souvenir shop","desc":"When choosing a souvenir shop site: attractions and museums in your city, each with how many hotels are within 500 m, scored by xMap AI for a gift shop.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Rome"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Rome","label":"Rome","lat":41.9028,"lng":12.4964}]}],["nearby","Attractions",{"types":["Tourist attraction","Museum","Historical landmark"],"where":"Area of interest","order":"Best rated first","max":"60"}],["nearby","Hotels within 500 m",{"types":["Hotel"],"where":"Each incoming place","radius":"500 m","give":"Each incoming place, with counts"}],["llm","Score each spot with xMap AI",{"task":"Score & rank","prompt":"Score each spot from 0 to 100 for a souvenir and gift shop: how well rated the attraction is and how many hotels are close. Explain in one sentence.","out":"fit_score, reason"}],["sort","Best 10 first",{"by":"Fit score","dir":"Highest first (Z to A)","keep":"The first 10"}],["email","Email me the list",{"kind":"One email per run","subj":"Souvenir shop sites"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6]]},"ret_store_manager_hiring":{"name":"Rivals hiring store managers: where they will open","desc":"Every week: job postings for store managers in your cities, one per company, with a note by xMap AI on whether it means a new store, for the expansion team.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Australia/Sydney"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"Sydney","label":"Sydney","lat":-33.8688,"lng":151.2093},{"kind":"city","name":"Melbourne","label":"Melbourne","lat":-37.8136,"lng":144.9631}]}],["jobs","Store manager postings",{"kw":"store manager","where":"Area of interest","posted":"Last 7 days","limit":"50","details":true}],["dedupe","One posting per company",{"by":"Another field","fname":"company"}],["llm","Read each posting with xMap AI",{"task":"Write summary","prompt":"One line: does this posting suggest a new store, and where?","out":"signal"}],["email","Email me the list",{"kind":"One email per run","subj":"Rivals hiring store managers"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5]]},"ret_franchise_prospects":{"name":"Business owners to sell my franchise to","desc":"Every month: well-rated independent shops and cafes in your target cities, with the owner from Apollo, scored by xMap AI as franchisees, approved by the franchise manager, into HubSpot.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Asia/Kolkata"}],["aoi","Target cities",{"mode":"Cities","cities":[{"kind":"city","name":"Pune","label":"Pune","lat":18.5204,"lng":73.8567},{"kind":"city","name":"Ahmedabad","label":"Ahmedabad","lat":23.0225,"lng":72.5714}]}],["nearby","Independent businesses",{"types":["Cafe","Clothing store","Gift shop"],"where":"Area of interest","order":"Best rated first","max":"120","chain":"Only independents","contact":true}],["apollo","Owner from Apollo",{"task":"Contacts at each company","titles":["Owner","Founder"],"per":"1"}],["llm","Score each owner with xMap AI",{"task":"Score & rank","prompt":"Score each business from 0 to 100 as a future franchisee: how well run it looks from its rating and reviews. Explain in one sentence.","out":"fit_score, reason"}],["filter","Fit score \u2265 65",{"field":"Fit score","op":"\u2265","val":"65"}],["approve","Approve the prospects",{"who":"The flow\u2019s owner","msg":"Tick the owners to approach.","within":"3 days"}],["ap_hubspot","Add them to HubSpot",{"action":"create-contact","per":"Once per item","inputs":{"objectProperties":{"firstname":"{{contact_name}}","jobtitle":"{{contact_title}}","email":"{{contact_email}}","company":"{{name}}"}}}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[6,8]]},"ret_drive_rivals":{"name":"Rivals within 10 minutes\u2019 drive of each store","desc":"Every Monday: the clothing and shoe shops customers can reach within 10 minutes by car of each of your stores (your stores from My data, the areas drawn on the roads), only the new ones, each named after the store area it is in, emailed to the area managers.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Europe/London"}],["mydata","Our stores",null],["travel","10 minutes by car of each store",{"by":"A travel time","min":"10","mode":"Car","from":"Each incoming place"}],["nearby","Rival shops in each area",{"types":["Clothing store","Shoe store"],"where":"Area of interest","order":"Best rated first","max":"150"}],["onlynew","Only new ones",null],["email","Email me the list",{"kind":"One email per run","subj":"New rivals near our stores this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5]]},"ret_store_locator_chat":{"name":"Store locator chat","desc":"A chat for your website: an AI agent finds the nearest stores to any address someone gives and answers with their address and rating.","n":[["chat","Chat",{"title":"Find a store","welcome":"Tell me where you are and I will find the nearest store."}],["agent","Store finder",{"goal":"You help shoppers find the nearest store to a place they name. Use Stores nearby to find the nearest to that place. Answer with the two nearest, their address and how far they are, in two lines."}],["nearby","Stores nearby",{"where":"A point","center":"{{agent: where to look, as the place the person named}}","types":["Department store","Clothing store"],"radius":"5 km","order":"Best rated first","max":"20"}],["reply","Reply",{"text":"{{reply}}","give":"The answer only"}]],"e":[[0,1],[1,2,"tool"],[1,3]]}},"info":{"vacant_units":{"p":"retail","ind":["Retail","Real estate"],"goals":["sites"],"promise":"Shops that closed this week, each a unit that may soon be free for your next store.","why":"The best units go before they reach a broker's list. A shop that closes on a busy street is the first sign a unit is coming free, and this flow tells you the week it happens.","uses":["A fashion chain looking for high street units","A franchise team hunting for small shops","A landlord's agent finding tenants for empty units"],"gets":["A score and reason for each closed shop","An email of the week's closures","A map of the units"],"min":60},"nearstores":{"p":"retail","ind":["Retail","Food and drink"],"goals":["competitors","data"],"promise":"New places opening within 1 km of each of your stores, every week.","why":"A new competitor next door changes a store's numbers. Store managers hear about it the same week instead of the next quarter.","uses":["A retail chain protecting its stores","A pharmacy group watching new pharmacies","A franchise watching each franchisee's area"],"gets":["An email to store managers"],"min":45},"sitescout":{"p":"retail","ind":["Retail","Real estate","Food and drink"],"goals":["sites"],"promise":"Areas of your city scored for a new branch, every week, on a map.","why":"Expansion decisions start with a shortlist. This flow keeps one up to date from ratings, number of reviews and competition.","uses":["A cafe chain picking the next district","A clinic group planning branches","A gym chain mapping white space"],"gets":["A map coloured by score"],"min":120},"housing_gaps":{"p":"retail","ind":["Retail","Real estate","Food and drink"],"goals":["sites"],"promise":"New apartment buildings with no supermarket nearby, scored as places for your next store.","why":"New homes bring new shoppers before any shop follows them. This flow finds the buildings that opened in the last year with the fewest shops around, so you can be the first.","uses":["A supermarket chain planning convenience stores","A pharmacy group following new housing","A bakery brand looking for new neighbourhoods"],"gets":["A score and reason for each new building","A map of new homes to serve","An email of the best spots"],"min":120},"retail_district_score":{"p":"retail","ind":["Retail","Real estate"],"goals":["sites"],"promise":"Every block of your city scored for a new supermarket, the 20 best on a map.","why":"Expansion teams usually compare a handful of districts by gut feel. This flow looks at every block of the city, counts people and shops, and puts the best gaps on a map.","uses":["A supermarket chain planning the next ten stores","A pharmacy group mapping underserved areas","A convenience franchise picking sites","A landlord pitching units to retailers"],"gets":["A map coloured by score","An email of the 20 best spots"],"min":480},"retail_rival_gaps":{"p":"retail","ind":["Retail","Food and drink"],"goals":["sites","competitors"],"promise":"Every rival branch with none of yours within 2 km, with who lives around it.","why":"Where a rival has proven demand and you have no store is the safest place to open. This flow lists those gaps every month.","uses":["A coffee chain chasing a market leader","A fast food brand finding white space","A telecom shop network"],"gets":["A map of gaps","An email of the best ones"],"min":240},"retail_tokyo_station_shops":{"p":"retail","ind":["Retail","Food and drink","Real estate"],"goals":["sites"],"promise":"New shop and restaurant space for rent near Tokyo\u2019s stations, every Monday, best value first.","why":"Good units near a station go within days. The expansion team sees each new one the week it is listed, with the rent per m2 to compare and the walk to the station, without checking the property sites by hand.","uses":["A cafe chain opening in Japan","A retail brand entering Tokyo","A restaurant group looking for its next site"],"gets":["A weekly email","A map"],"min":90},"retail_station_stores":{"p":"retail","ind":["Retail","Food and drink"],"goals":["sites"],"promise":"The train and metro stations with the fewest convenience stores around them, scored for a new one.","why":"Commuters buy on the way, and a station with no shop next to it is an open door. This flow finds them across the city every month, with the people living around each.","uses":["A convenience store chain","A coffee and snacks kiosk brand","A bakery opening small units"],"gets":["A score and reason for each station","A map of stations to open at","An email of the best spots"],"min":90},"retail_cannibalisation":{"p":"retail","ind":["Retail","Food and drink"],"goals":["sites","data"],"promise":"Your stores that sit within 1 km of each other, with the people around them.","why":"Two stores too close split the same customers. This flow shows where branches compete with each other before you open another.","uses":["A chain reviewing its network","A franchisor protecting franchisees","A bank planning branch closures"],"gets":["An email of close stores","A map"],"min":180},"retail_franchise_territories":{"p":"retail","ind":["Retail","Food and drink"],"goals":["sites"],"promise":"Your city shared into six fair franchise territories by where people live, with a plan for each.","why":"Franchisees argue about territories when the lines are drawn by hand. This flow draws compact areas of the same size from where people live, with a note on each, so every franchise starts on fair ground.","uses":["A food franchise brand","A fitness franchise","An education center network"],"gets":["A map of the territories","A plan for each territory by email"],"min":180},"retail_mall_tenants":{"p":"retail","ind":["Retail","Real estate"],"goals":["competitors"],"promise":"New shops in the malls you care about, grouped by kind, every week.","why":"Mall tenancy changes tell you which brands are expanding and which are leaving. This flow keeps a weekly record.","uses":["A brand scouting mall space","A mall leasing team","A retail analyst"],"gets":["An email with the list","A map of the results"],"min":60},"retail_rival_moves":{"p":"retail","ind":["Retail"],"goals":["competitors"],"promise":"Every rival branch across your cities, with openings and closures each month.","why":"A rival's new branches show where it sees demand; its closures show where it failed. Both are worth knowing every month.","uses":["A supermarket chain watching a rival","A pharmacy group","An electronics retailer"],"gets":["A monthly note","A map of rival branches"],"min":240},"retail_weather_promos":{"p":"retail","ind":["Retail","Food and drink"],"goals":["ops"],"promise":"A promotion idea for each store when heat or rain is coming.","why":"Weather moves what people buy. Store teams get a ready idea for the next three days instead of reacting after the fact.","uses":["A convenience chain","A fashion retailer","A pharmacy chain"],"gets":["A Slack post per day","An email of promotions"],"min":30},"retail_site_chat":{"p":"retail","ind":["Retail","Real estate"],"goals":["chat","sites"],"promise":"A chat where your expansion team names any address and gets people, competitors and a verdict.","why":"Quick questions about a site should not wait for an analyst. The team asks the chat and gets the numbers in seconds.","uses":["An expansion manager on a site tour","A broker preparing a pitch","A franchise developer"],"gets":["Answers in the chat"],"min":15,"runs":100},"retail_expansion_committee":{"p":"retail","ind":["Retail","Real estate"],"goals":["sites"],"promise":"A monthly expansion committee pack: every block scored, the best 20 investigated, approved, mapped.","why":"Expansion committees decide on a few slides that took weeks to make. This flow rebuilds the pack every month from live data, investigates each spot like an analyst would and waits for your approval before it goes out.","uses":["A supermarket chain planning a year of openings","A pharmacy group","A franchise development team","A real estate fund pitching sites to retailers"],"gets":["A committee pack by email","A shortlist sheet","A map coloured by score","An approval step"],"min":900},"ret_popup_spots":{"p":"retail","ind":["Retail"],"goals":["sites"],"promise":"The five best spots for a one-month pop-up shop.","why":"A pop-up lives or dies by footfall. Ranking spots by people and ratings picks the right one.","uses":["A fashion brand","A direct-to-consumer brand testing stores","A cosmetics brand launching a range"],"gets":["An email"],"min":120,"runs":1},"ret_store_staffing_rain":{"p":"retail","ind":["Retail"],"goals":["ops"],"promise":"A weekend staffing note for each store from the forecast.","why":"Rain fills malls and empties streets. Staffing for the weather saves wages and sales.","uses":["A store chain","A shopping centre operator","A fashion retailer"],"gets":["A Slack post"],"min":30,"runs":4},"ret_mall_vacancies":{"p":"retail","ind":["Retail","Real estate"],"goals":["sites"],"promise":"Malls with the fewest stores of your category.","why":"A mall without your category is a gap you can fill. The leasing team sees them ranked.","uses":["A shoe chain","A retailer\u2019s leasing team","A franchise developer"],"gets":["A Google Sheet"],"min":120,"runs":1},"ret_network_brief":{"p":"retail","ind":["Retail"],"goals":["data"],"promise":"One monthly brief on your store network from everything your AI employees found.","why":"Each employee watches its own corner. Once a month the network director reads one page with the figures: rivals near the stores, openings and closures by city.","uses":["A retail network director","A franchise operations team","A head of expansion"],"gets":["A PDF","An email","A Team inbox note"],"min":120,"runs":1},"ret_click_collect_lockers":{"p":"retail","ind":["Retail","E-commerce"],"goals":["sites"],"promise":"Blocks with many residents and no store near, for parcel lockers.","why":"Lockers bring online customers close to home. Blocks far from any store need them most.","uses":["An omnichannel retailer","A parcel locker company","A grocery chain"],"gets":["An email with the list","A map of the results"],"min":180,"runs":1},"ret_tourist_stores":{"p":"retail","ind":["Retail","Travel"],"goals":["sites"],"promise":"Attractions with many hotels close, scored for a gift shop.","why":"Souvenirs sell where tourists walk. Attractions near many hotels see the most of them.","uses":["A souvenir shop chain","A museum shop operator","A local crafts brand"],"gets":["An email"],"min":120,"runs":1},"ret_store_manager_hiring":{"p":"retail","ind":["Retail","Recruiting"],"goals":["competitors","hiring"],"promise":"Rivals hiring store managers, read as new store signals.","why":"A rival hires a store manager months before a store opens. This flow reads the signal early.","uses":["A retail chain\u2019s expansion team","A mall leasing team","A retail analyst"],"gets":["An email"],"min":45},"ret_franchise_prospects":{"p":"retail","ind":["Retail","Food and drink"],"goals":["leads"],"promise":"Well-run independent owners scored as franchisees.","why":"The best franchisees already run a good shop. Their ratings show it.","uses":["A franchise brand","A franchise broker","A cafe chain expanding"],"gets":["New leads in HubSpot"],"min":90,"runs":1},"ret_drive_rivals":{"p":"retail","ind":["Retail"],"goals":["competitors"],"promise":"The new rival shops within 10 minutes\u2019 drive of each of your stores.","why":"A rival across town does not take your customers; one ten minutes away does. Drawing each store\u2019s area on the roads keeps the list to the rivals that matter.","uses":["A clothing chain","A shoe retailer","A sports store group"],"gets":["An email"],"min":60,"runs":1},"ret_store_locator_chat":{"p":"retail","ind":["Retail"],"goals":["chat"],"promise":"A chat that finds your nearest stores to any address.","why":"Shoppers ask where the nearest store is. The chat answers on your site.","uses":["A store chain\u2019s website","A brand with many stockists","A pharmacy chain"],"gets":["A chat page"],"min":5,"runs":300}}}
