{"p":"logistics","persona":["logistics","Logistics, fleet & delivery","Dispatch, fleet and delivery teams who keep goods moving around closures, weather and ports."],"industry":{"slug":"logistics","name":"Logistics & delivery"},"templates":{"ships":{"name":"Ships entering my zone","desc":"Every hour: the ships in a port area (live AIS), and an email when one enters or passes through your zone (a berth, a channel, a port entrance).","n":[["sched","Every hour",{"freq":"Every hour","every":"1 hour","minute":"00","tz":"Europe/Amsterdam"}],["aoi","Rotterdam port area",{"mode":"Draw on a map","shapes":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[3.95,51.88],[4.35,51.88],[4.35,52.02],[3.95,52.02],[3.95,51.88]]]}}]}}],["ships","Ships in the area",{"where":"Area of interest","listen":"60 seconds"}],["zone","Entered the port entrance",{"zone":"Draw on the map","shapes":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[4,51.96],[4.1,51.96],[4.1,52],[4,52],[4,51.96]]]}}]},"event":"Entered or crossed it"}],["email","Email me the ships",{"kind":"One email per run","subj":"Ships entering the port"}],["map","Ships map",{"name":"Ships"}]],"e":[[0,1],[1,2],[2,3],[3,4],[3,5]]},"rain":{"name":"Rain alert for my city","desc":"Every morning: the 5-day forecast for your city, and an email only on days when rain is expected.","n":[["sched","Every morning",{"time":"06:00"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"London","label":"London","lat":51.5074,"lng":-0.1278}]}],["weather","Forecast for 5 days",{"where":"Area of interest","days":"5","what":["Temperature","Rain","Wind"]}],["filter","Only rainy days",{"field":"Another field","fname":"rain_expected","top":"is","tval":"Yes"}],["email","Email me the rainy days",{"kind":"One email per run","subj":"Rain expected"}]],"e":[[0,1],[1,2],[2,3],[3,4]]},"closures":{"name":"Road closures in my city","desc":"Every morning: find road closures and roadworks on online maps in your city, email the list and map them.","n":[["sched","Every morning",{"time":"06:30"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Sao Paulo","label":"Sao Paulo","lat":-23.5505,"lng":-46.6333}]}],["incidents","Road closures and roadworks",{"where":"Area of interest","types":["Road closures","Roadworks"]}],["email","Email the list",{"kind":"One email per run","subj":"Road closures today"}],["map","Road closures map",{"name":"Road closures"}]],"e":[[0,1],[1,2],[2,3],[2,4]]},"log_depot_closures":{"name":"Road closures near my depots, every hour","desc":"Every hour: closures and roadworks within 5 km of each of your depots, only depots that have one, with routing advice from xMap AI, to dispatch on WhatsApp, by email and on a map.","n":[["sched","Every hour",{"freq":"Every hour","every":"1 hour","minute":"00"}],["mydata","My depots",null],["incidents","Closures around each depot",{"where":"Around each incoming place","radius":"5000","types":["Road closures","Roadworks"]}],["filter","Depots with something nearby",{"field":"A number field","fname":"incidents_nearby","op":"\u2265","val":"1"}],["llm","Routing advice",{"task":"Write summary","prompt":"For this depot, say in one sentence which way trucks should leave to avoid the closures nearby, and how much extra time to allow.","out":"advice"}],["ap_whatsapp","Tell dispatch",{"action":"sendMessage","per":"Once per run","inputs":{"phone_number_id":"","to":"","text":"Closures near {{count}} depots now:\n{{items}}"}}],["email","Email me the list",{"kind":"One email per run","subj":"Closures near your depots"}],["map","Show them on a map",{"name":"Depots and closures","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6],[4,7]]},"log_driver_alert":{"name":"Incidents near my drivers\u2019 zones","desc":"Every 15 minutes in working hours: incidents in your city, each matched to the nearest driver zone (from your table), the close ones with a reroute tip from xMap AI, sent to dispatch on WhatsApp and mapped.","n":[["sched","Every 15 minutes, 7:00 to 21:00",{"freq":"Every 15 minutes","hours":"Between","start":"07:00","end":"21:00"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Mexico City","label":"Mexico City","lat":19.4326,"lng":-99.1332}]}],["incidents","Incidents in the city",{"where":"Area of interest","types":["Road closures","Roadworks","Other incidents"]}],["nearest","Nearest driver zone",{"from":"A table in My data","pre":"zone"}],["filter","Within 3 km of a zone",{"field":"A number field","fname":"zone_km","op":"\u2264","val":"3"}],["llm","Reroute tip",{"task":"Write summary","prompt":"In one short sentence, tell drivers in this zone what to avoid and which way to go round it.","out":"tip"}],["ap_whatsapp","Tell dispatch",{"action":"sendMessage","per":"Once per run","inputs":{"phone_number_id":"","to":"","text":"Incidents near your drivers:\n{{items}}"}}],["map","Show them on a map",{"name":"Incidents and zones","color":"Category"}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[5,7],[5,8]]},"log_rain_delays":{"name":"Rain warning for my delivery hubs","desc":"Every morning: the 2-day forecast at each hub, and when rain or strong wind is expected, a customer notice drafted by xMap AI for the ops team, by email and on Slack.","n":[["sched","Every morning",{"time":"05:30"}],["mydata","My hubs",null],["weather","Forecast for 2 days",{"where":"Each incoming place","days":"2","what":["Temperature","Rain","Wind"]}],["filter","Rain expected",{"field":"Rain (mm)","op":"\u2265","val":"5"}],["llm","Draft the customer notice",{"task":"Write summary","prompt":"Write a short, calm notice to customers of this hub that deliveries may be late because of rain, with a promise to keep them updated.","out":"notice"}],["email","Email me the list",{"kind":"One email per run","subj":"Rain at your hubs: customer notice ready"}],["ap_slack","Tell the ops channel",{"action":"send_channel_message","per":"Once per run","inputs":{"channel":"","text":""}}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"log_tankers_anchored":{"name":"Tankers waiting outside the port","desc":"Every hour: tankers and cargo ships stopped in the port area (live AIS), only ships not seen in the last week, with a queue note from xMap AI, emailed and mapped.","n":[["sched","Every hour",{"freq":"Every hour","every":"1 hour","minute":"00"}],["aoi","Rotterdam port area",{"mode":"Draw on a map","shapes":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[3.95,51.88],[4.35,51.88],[4.35,52.02],[3.95,52.02],[3.95,51.88]]]}}]}}],["ships","Ships stopped in the area",{"where":"Area of interest","listen":"60 seconds","types":["Cargo","Tanker"],"moving":"Stopped (anchored or moored)"}],["onlynew","Not seen this week",{"window":"The last 7 days"}],["llm","Write the queue note",{"scope":"The whole list","task":"Write summary","prompt":"Write a two-line note on the queue outside the port: how many tankers and cargo ships are waiting and what it may mean for berth times.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Ships waiting outside the port"}],["map","Show them on a map",{"name":"Waiting ships","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"log_warehouse_leads":{"name":"New warehouses and distributors to sell to","desc":"Every Monday: warehouses, logistics and distribution companies that opened in the last year, only the new ones, with the operations manager from Apollo, scored by xMap AI, into HubSpot.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"Dubai","label":"Dubai","lat":25.2048,"lng":55.2708},{"kind":"city","name":"London","label":"London","lat":51.5074,"lng":-0.1278}]}],["nearby","New warehouses and distributors",{"types":["Warehouse","Logistics service","Distribution service"],"where":"Area of interest","order":"Best rated first","max":"60","since":"Last 12 months","contact":true}],["onlynew","Only new ones",null],["llm","Score them with xMap AI",{"task":"Score & rank","prompt":"Score each company from 0 to 100 as a customer for freight and fleet services, from its type, size and rating. Explain in one sentence.","out":"fit_score, reason"}],["filter","Fit score \u2265 60",{"field":"Fit score","op":"\u2265","val":"60"}],["apollo","Operations manager, from Apollo",{"task":"Contacts at each company","titles":["Operations Manager","General Manager"],"per":"1"}],["ap_hubspot","Add them to HubSpot",{"action":"create-company","per":"Once per item","inputs":{"objectProperties":{"name":"{{name}}","city":"{{city}}","phone":"{{phone}}","domain":"{{website}}"}}}],["email","Email me the list",{"kind":"One email per run","subj":"Logistics leads this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[6,8]]},"log_ev_charging":{"name":"EV charging around my depots","desc":"Every month: how many EV charging stations are within 5 km of each of your depots, the depots with none, and an electrification note from xMap AI for your fleet plan.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00"}],["mydata","My depots",null],["nearby","Chargers around each depot",{"types":["Electric vehicle charging station"],"where":"Each incoming place","radius":"5 km","give":"Each incoming place, with counts"}],["filter","No charger within 5 km",{"field":"A number field","fname":"nearby_count","op":"\u2264","val":"0"}],["llm","Write the fleet note",{"scope":"The whole list","task":"Write summary","prompt":"Write a short note for the fleet manager: which depots have no charger nearby and what that means for moving their vans to electric.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Depots without a charger nearby"}],["map","Show them on a map",{"name":"Depots without chargers","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"log_courier_complaints":{"name":"How customers rate rival couriers","desc":"Every Monday: courier companies in your city, how customers rate each judged by xMap AI from its rating and number of reviews, the weakest first, emailed and mapped.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Cairo","label":"Cairo","lat":30.0444,"lng":31.2357}]}],["nearby","Courier companies",{"types":["Courier service"],"where":"Area of interest","order":"Best rated first","max":"40"}],["llm","How their customers rate them, with xMap AI",{"task":"Score & rank","prompt":"Score each place from 0 to 100 on how well its customers rate it: its rating out of 5 and how many reviews it has (many reviews make a rating more certain; a high rating on few reviews counts less). Say in one sentence where it stands against the others in the list.","out":"review_score, reason"}],["email","Email me the list",{"kind":"One email per run","subj":"How customers rate rival couriers"}],["map","Show them on a map",{"name":"Courier competitors","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[3,5]]},"log_microhubs":{"name":"Where to put micro-fulfilment hubs","desc":"Every month: who lives in every block of your city and how many warehouses are near, the most people per warehouse first, checked by an AI agent (roads and competition), on a heat map for your next micro-hubs.","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":"Bangkok","label":"Bangkok","lat":13.7563,"lng":100.5018}]}],["demog","People in every block of the city",{"where":"Area of interest","out":"Every hexagon (about 0.1 km\u00b2)"}],["nearby","Warehouses around each block",{"types":["Warehouse","Logistics service"],"where":"Each incoming place","radius":"5 km","give":"Each incoming place, with counts"}],["calc","People per warehouse",{"lines":"people_per_hub = round({{population}} / ({{nearby_count}} + 1))"}],["sort","Best 20 first",{"by":"Another field","fname":"people_per_hub","dir":"Highest first (Z to A)","keep":"The first 20"}],["agent","Check each spot with the AI agent",{"goal":"You plan quick commerce hubs. For each spot, use your tools to check road incidents nearby and the supermarkets already serving it, then write two lines on whether a micro-hub there could deliver in 15 minutes.","msg":"Check the spot at {{lat}}, {{lng}}.","memory":"None","steps":"6","out":"hub_notes"}],["incidents","Road incidents around it",{"where":"Around each incoming place","radius":"2000"}],["nearby","Supermarkets around it",{"types":["Supermarket","Convenience store"],"where":"Each incoming place","radius":"2 km","give":"Each incoming place, with counts"}],["map","Show them on a map",{"name":"Micro-hub spots","color":"Category"}],["email","Email me the list",{"kind":"One email per run","subj":"Where to put micro-hubs"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,9],[6,10],[6,7,"tool"],[6,8,"tool"]]},"log_driver_chat":{"name":"Road and weather chat for my drivers","desc":"A chat page for your drivers: they name where they are heading, an AI agent checks road closures and roadworks there, the weather and the nearest fuel stations and truck stops, and answers in a few short lines.","n":[["chat","Chat",{"title":"Driver help","welcome":"Tell me where you are heading and I will check the roads, the weather and where to stop."}],["agent","Driver help",{"goal":"You help delivery and truck drivers. When they name a place, use Road problems there, The weather there and Fuel and rest stops, then answer in 4 short lines: closures or roadworks to avoid, the weather, the nearest fuel station or truck stop, and one safety tip. Never name a road that is not in the results."}],["incidents","Road problems there",{"where":"Around a point","center":"{{agent: the place the driver named}}","radius":"5000"}],["weather","The weather there",{"where":"A point","center":"{{agent: the place the driver named}}","days":"2","what":["Temperature","Rain","Wind"]}],["nearby","Fuel and rest stops",{"where":"A point","center":"{{agent: where to look, as the place the person named}}","types":["Gas station","Truck stop","Rest stop"],"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,"tool"],[1,4,"tool"],[1,5]]},"log_weekly_disruptions":{"name":"Weekly road disruption report","desc":"Every Sunday: road closures, roadworks and incidents across your cities, a one-page report from xMap AI for the ops managers, emailed and mapped.","n":[["sched","Every Sunday",{"freq":"Every week","weekday":"Sunday","time":"07:00"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"Singapore","label":"Singapore","lat":1.3521,"lng":103.8198},{"kind":"city","name":"Kuala Lumpur","label":"Kuala Lumpur","lat":3.139,"lng":101.6869},{"kind":"city","name":"Bangkok","label":"Bangkok","lat":13.7563,"lng":100.5018}]}],["incidents","Disruptions in the cities",{"where":"Area of interest","types":["Road closures","Roadworks","Other incidents"]}],["classify","Group them",{"tax":"Custom list","labels":"Road closure, Roadworks, Accident, Other"}],["llm","Write the report",{"scope":"The whole list","task":"Write summary","prompt":"Write a one-page report for logistics managers: how many disruptions in each city, the worst areas and what routes to avoid this week.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Road disruptions this week"}],["map","Show them on a map",{"name":"Road disruptions","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"log_ops_briefing":{"name":"Daily operations briefing for every hub","desc":"Every morning: each delivery hub with its weather and road incidents, an AI agent assessing the day\u2019s risk, a risk score from xMap AI, dispatch alerted on WhatsApp for the risky hubs, and a briefing for every hub by email and on a map.","n":[["sched","Every morning",{"time":"05:00"}],["mydata","My hubs",null],["weather","Forecast for 2 days",{"where":"Each incoming place","days":"2","what":["Temperature","Rain","Wind"]}],["incidents","Incidents around each hub",{"where":"Around each incoming place","radius":"5000"}],["agent","Assess each hub with the AI agent",{"goal":"You run delivery operations. For each hub, use your tools to check road incidents and the forecast around it, then write three lines: what could delay deliveries today, which areas to avoid, and what to tell customers.","msg":"Assess today at the hub {{name}}.","memory":"None","steps":"6","out":"briefing"}],["incidents","Road incidents around it",{"where":"Around each incoming place","radius":"2000"}],["weather","The forecast there",{"where":"Each incoming place","days":"3","what":["Temperature","Rain","Wind"]}],["llm","Score today\u2019s risk",{"task":"Score & rank","prompt":"Score from 0 to 100 the risk that deliveries from this hub are late today, from the briefing. Explain in one sentence.","out":"risk_score, reason"}],["branch","Risky today?",{"field":"A number field","fname":"risk_score","op":"\u2265","val":"60"}],["ap_whatsapp","Alert dispatch",{"action":"sendMessage","per":"Once per run","inputs":{"phone_number_id":"","to":"","text":"High delivery risk today at {{count}} hubs:\n{{items}}"}}],["email","Email me the list",{"kind":"One email per run","subj":"Today\u2019s operations briefing"}],["map","Show them on a map",{"name":"Hubs by risk","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5,"tool"],[4,6,"tool"],[4,7],[7,8],[8,9,"yes"],[7,10],[7,11]]},"log_truck_stops":{"name":"Truck stops and rest areas on my corridor","desc":"Every quarter: truck stops, fuel stations and rest areas along the cities of your main corridor, the best-rated first, in a directory sheet for the drivers.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"America/Mexico_City"}],["aoi","The corridor",{"mode":"Cities","cities":[{"kind":"city","name":"Mexico City","label":"Mexico City","lat":19.4326,"lng":-99.1332},{"kind":"city","name":"Guadalajara","label":"Guadalajara","lat":20.6597,"lng":-103.3496},{"kind":"city","name":"Monterrey","label":"Monterrey","lat":25.6866,"lng":-100.3161}]}],["nearby","Truck stops and fuel",{"types":["Truck stop","Gas station","Rest stop"],"where":"Area of interest","order":"Best rated first","max":"150"}],["classify","Sort by kind",{"tax":"Custom list","labels":"Truck stop, Fuel station, Rest area"}],["ap_google-sheets","Update the drivers\u2019 directory",{"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],[3,5]]},"log_cold_chain_heat":{"name":"Heat on the cold chain routes","desc":"Every afternoon: tomorrow\u2019s maximum temperature at each stop in your cold chain table, the hottest first, with a note by xMap AI for the dispatcher on reefer settings and timing.","n":[["sched","Every morning",{"time":"15:00","tz":"Asia/Dubai"}],["mydata","Cold chain stops",null],["weather","Forecast for 2 days",{"where":"Each incoming place","days":"2","what":["Temperature","Rain","Wind"]}],["sort","Best 10 first",{"by":"Another field","fname":"temp_max","dir":"Highest first (Z to A)","keep":"The first 10"}],["llm","Write the note with xMap AI",{"task":"Write summary","prompt":"One line for the dispatcher: how to protect the cold chain at this stop tomorrow (early delivery, reefer setting).","out":"cold_note"}],["email","Email me the list",{"kind":"One email per run","subj":"Cold chain heat tomorrow"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5]]},"log_parcel_lockers_partners":{"name":"Shops to host parcel pick-up points","desc":"Every quarter: convenience stores, pharmacies and petrol stations in your city with long opening hours, scored by xMap AI as parcel pick-up points, with the owner from Apollo.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Prague"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Prague","label":"Prague","lat":50.0755,"lng":14.4378}]}],["nearby","Shops that could host parcels",{"types":["Convenience store","Pharmacy","Gas station"],"where":"Area of interest","order":"Best rated first","max":"150","contact":true}],["llm","Score each shop with xMap AI",{"task":"Score & rank","prompt":"Score each shop from 0 to 100 as a parcel pick-up point: rating, reviews and where it is. Explain in one sentence.","out":"fit_score, reason"}],["filter","Fit score \u2265 60",{"field":"Fit score","op":"\u2265","val":"60"}],["apollo","Owner from Apollo",{"task":"Contacts at each company","titles":["Owner","Store Manager"],"per":"1"}],["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],[5,7]]},"log_customs_brokers":{"name":"Customs brokers near the border crossing","desc":"Every year: customs brokers and freight forwarders near your border crossings and ports, the best-rated first, approved by the operations manager, in a partner sheet.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Asia/Almaty"}],["aoi","Border cities",{"mode":"Cities","cities":[{"kind":"city","name":"Almaty","label":"Almaty","lat":43.222,"lng":76.8512},{"kind":"city","name":"Tashkent","label":"Tashkent","lat":41.2995,"lng":69.2401}]}],["nearby","Customs brokers",{"types":["Customs broker","Freight forwarding service"],"where":"Area of interest","order":"Best rated first","max":"60","contact":true}],["approve","Approve the partners",{"who":"The flow\u2019s owner","msg":"Tick the brokers worth a trial shipment.","within":"3 days"}],["ap_google-sheets","Update the partner sheet",{"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],[3,5]]},"log_fleet_maintenance":{"name":"Truck workshops near each depot","desc":"Every quarter: truck repair shops and tyre services within 15 km of each depot in your table, the best-rated first, for the fleet maintenance manager.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Africa/Nairobi"}],["mydata","Our depots",null],["nearby","Truck workshops nearby",{"types":["Truck repair shop","Tire shop"],"where":"Each incoming place","radius":"10 km","give":"The places found","order":"Best rated first","max":"5"}],["dedupe","Each workshop once",{"by":"Same place, job or incident (recommended)"}],["ap_google-sheets","Update the workshops sheet",{"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],[3,5]]},"log_port_storm":{"name":"Storm at the port: plan the cranes","desc":"Every six hours: the wind forecast at your ports for the next two days, the windiest first, with a crane and berth note by xMap AI for the terminal manager.","n":[["sched","Every 6 hours",{"freq":"Every hour","every":"6 hours","minute":"00","tz":"Asia/Shanghai"}],["mydata","Our terminals",null],["weather","Forecast for 2 days",{"where":"Each incoming place","days":"2","what":["Temperature","Rain","Wind"]}],["sort","Best 5 first",{"by":"Another field","fname":"wind_max_kmh","dir":"Highest first (Z to A)","keep":"The first 5"}],["llm","Write the terminal note",{"scope":"The whole list","task":"Write summary","prompt":"For the terminal manager: the windiest hours ahead at each port, when cranes must stop and which berths to plan around.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Port wind ahead"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5]]},"log_shipper_leads":{"name":"Factories that ship a lot, as freight customers","desc":"Every month: factories and manufacturers in your industrial zones, sized with Apollo, with the logistics manager, scored by xMap AI as freight customers.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Asia/Ho_Chi_Minh"}],["aoi","Industrial zones",{"mode":"Cities","cities":[{"kind":"city","name":"Ho Chi Minh City","label":"Ho Chi Minh City","lat":10.8231,"lng":106.6297}]}],["nearby","Factories",{"types":["Manufacturer"],"where":"Area of interest","order":"Best rated first","max":"150","contact":true}],["apollo","Logistics manager from Apollo",{"task":"Contacts at each company","titles":["Logistics Manager","Supply Chain Manager","Export Manager"],"per":"1"}],["llm","Score each factory with xMap AI",{"task":"Score & rank","prompt":"Score each factory from 0 to 100 as a freight customer: size, what it makes and how far from the port. Explain in one sentence.","out":"fit_score, reason"}],["filter","Fit score \u2265 60",{"field":"Fit score","op":"\u2265","val":"60"}],["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],[5,7]]},"log_container_services":{"name":"Container terminals and depots near my customers","desc":"Every year: container terminals and container service yards within 30 km of each customer site in your table, the best-rated first, for planning empty container pick-ups.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Brussels"}],["mydata","Customer sites",null],["nearby","Container yards nearby",{"types":["Container terminal","Container service"],"where":"Each incoming place","radius":"25 km","give":"The places found","order":"Nearest first","max":"3"}],["dedupe","Each yard once",{"by":"Same place, job or incident (recommended)"}],["ap_google-sheets","Update the container yards sheet",{"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],[3,5]]},"log_depot_road_speeds":{"name":"Road speeds outside my depots, every hour","desc":"Every hour: how the traffic is moving on the roads next to each depot in your table (the speed against free flow, the jam factor and the busiest road), the most jammed first, in a short note by xMap AI for the dispatchers, posted to Slack and emailed.","n":[["sched","Every hour",{"freq":"Every hour","every":"1 hour","minute":"00"}],["mydata","Our depots",null],["traffic","Traffic outside each depot",{"roads":"Adjacent roads"}],["sort","The 10 most jammed first",{"by":"Another field","fname":"jam_factor","dir":"Highest first (Z to A)","keep":"The first 10"}],["llm","Write the dispatch note",{"scope":"The whole list","task":"Write summary","prompt":"For the dispatchers, in about 60 words: which depots have jammed roads outside now, the busiest road at each, and which trucks to send out later or by another way. Only use the figures in the list.","out":"report"}],["ap_slack","Post it to #dispatch",{"action":"send_channel_message","per":"Once per run","inputs":{"channel":"","text":""}}],["email","Email me the list",{"kind":"One email per run","subj":"Roads outside the depots this hour"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"log_driver_hiring_rivals":{"name":"Couriers and carriers hiring drivers in my cities","desc":"Every Monday: the courier, delivery and logistics companies advertising driver jobs in your cities, one per company, placed on the map, sorted by xMap AI into couriers, food delivery, retailers and carriers, in a short note on who is growing, emailed and mapped.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Africa/Johannesburg"}],["aoi","Our cities",{"mode":"Cities","cities":[{"kind":"city","name":"Johannesburg","label":"Johannesburg","lat":-26.2041,"lng":28.0473},{"kind":"city","name":"Cape Town","label":"Cape Town","lat":-33.9249,"lng":18.4241},{"kind":"city","name":"Durban","label":"Durban","lat":-29.8587,"lng":31.0218}]}],["jobs","Driver jobs",{"kw":"delivery driver","where":"Area of interest","posted":"Last 7 days","limit":"50","details":true,"each":true}],["gscan","Each company on the map",{"area":"Around each incoming place","find":"Each place itself","radius":"300","opened":"Any time"}],["classify","Sort by kind",{"tax":"Custom list","labels":"Courier, Food delivery, Retailer, Carrier"}],["llm","Write the hiring note",{"scope":"The whole list","task":"Write summary","prompt":"For a logistics company\u2019s leadership, in about 100 words: which companies are hiring the most drivers, in which cities, and what that says about who is growing. Only use the companies in the list.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Who is hiring drivers this week"}],["map","Show them on a map",{"name":"Companies hiring drivers","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[5,7]]},"log_driver_heat_rest":{"name":"Heat on long-haul routes: rest stops for drivers","desc":"Every afternoon in summer: tomorrow\u2019s heat at each stop on your long-haul routes, the hottest first, with shaded rest stops nearby and a rest plan by xMap AI, sent to the drivers.","n":[["sched","Every morning",{"time":"15:00","tz":"Asia/Karachi"}],["mydata","Long-haul route stops",null],["weather","Forecast for 2 days",{"where":"Each incoming place","days":"2","what":["Temperature","Rain","Wind"]}],["sort","Best 10 first",{"by":"Another field","fname":"temp_max","dir":"Highest first (Z to A)","keep":"The first 10"}],["nearby","Rest stops nearby",{"types":["Truck stop","Rest stop","Gas station"],"where":"Each incoming place","radius":"5 km","give":"Each incoming place, with counts"}],["llm","Write the rest plan with xMap AI",{"task":"Write summary","prompt":"One line for drivers on this stretch: when to rest out of the heat tomorrow and where.","out":"rest_plan"}],["ap_whatsapp","Send it to the drivers",{"action":"sendMessage","per":"Once per run","inputs":{"phone_number_id":"","to":"","text":"Heat rest plan: {{items}}"}}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[5,7]]}},"info":{"ships":{"p":"logistics","ind":["Logistics","Public sector"],"goals":["ops"],"promise":"An email when a ship enters or passes through your zone, every hour.","why":"Berth planners, agents and security teams need to know who is arriving without staring at a ship tracker all day.","uses":["A port agent tracking arrivals","A terminal planning berths","A coast guard watching an area"],"gets":["An email with the list","A map of the results"],"min":2},"rain":{"p":"logistics","ind":["Logistics","Public sector","Retail"],"goals":["ops"],"promise":"An email only on days when rain is expected in your city.","why":"Rain changes deliveries, staffing and footfall. A warning a few days ahead is enough to plan.","uses":["A delivery company","A construction site","An outdoor events team"],"gets":["An email on rainy days"],"min":10},"closures":{"p":"logistics","ind":["Logistics","Public sector"],"goals":["ops"],"promise":"Road closures and roadworks in your city, every morning.","why":"Drivers lose hours to closures nobody told them about. The list arrives before the first truck leaves.","uses":["A delivery fleet","A field service team","A school bus operator"],"gets":["An email with the list","A map of the results"],"min":20},"log_depot_closures":{"p":"logistics","ind":["Logistics"],"goals":["ops"],"promise":"Closures and roadworks near each depot every hour, to dispatch on WhatsApp.","why":"A closed road near a depot delays every truck that leaves it. Dispatch hears about it within the hour.","uses":["A delivery fleet","A cold chain operator","A courier"],"gets":["A WhatsApp to dispatch","An email","A map"],"min":2},"log_driver_alert":{"p":"logistics","ind":["Logistics"],"goals":["ops"],"promise":"Incidents near your drivers' zones every 15 minutes, to dispatch.","why":"Rerouting a driver early saves a delivery window. This flow watches the city during working hours.","uses":["A last-mile delivery company","A ride-hailing operations team","A field service fleet"],"gets":["A WhatsApp to dispatch","A map"],"min":1},"log_rain_delays":{"p":"logistics","ind":["Logistics","Retail"],"goals":["ops"],"promise":"When rain is coming at a hub, a customer notice is ready for the ops team.","why":"Telling customers early about possible delays keeps complaints down. The notice is drafted before the rain.","uses":["A parcel delivery company","A grocery delivery app","A furniture delivery service"],"gets":["An email with the notice","A Slack post"],"min":20},"log_tankers_anchored":{"p":"logistics","ind":["Logistics"],"goals":["ops"],"promise":"Tankers and cargo ships waiting outside the port, every hour.","why":"Ships waiting at anchor mean congestion and delays. Agents and planners see the queue without a vessel tracker.","uses":["A port agent","A commodity trader","A terminal planner"],"gets":["An email with the list","A map of the results"],"min":2},"log_warehouse_leads":{"p":"logistics","ind":["Logistics","Distribution"],"goals":["leads"],"promise":"New warehouses and distributors, scored, with the operations manager, into HubSpot.","why":"A new warehouse needs transport, staff and equipment. This flow finds them in their first months.","uses":["A freight company","A forklift dealer","A packaging supplier"],"gets":["Companies in HubSpot","An email"],"min":90},"log_ev_charging":{"p":"logistics","ind":["Logistics"],"goals":["ops","data"],"promise":"Your depots with no EV charger within 5 km, for your electric fleet plan.","why":"An electric fleet needs chargers near depots. This flow shows which depots are ready and which are not.","uses":["A fleet electrification team","A charging network","A delivery company"],"gets":["An email","A map"],"min":120},"log_courier_complaints":{"p":"logistics","ind":["Logistics"],"goals":["competitors"],"promise":"How customers rate rival couriers, every week, the weakest first.","why":"A rival courier with a slipping rating is losing customers you can win. This flow tells sales where to push.","uses":["A courier company","A logistics marketplace","An e-commerce operations team"],"gets":["A weekly email","A map"],"min":60},"log_microhubs":{"p":"logistics","ind":["Logistics","Retail"],"goals":["sites"],"promise":"Where to put micro-fulfilment hubs: most people per warehouse first.","why":"Fast delivery needs hubs close to customers. This flow finds dense areas with no warehouse nearby.","uses":["A quick commerce company","A grocery chain","A parcel network"],"gets":["A heat map","An email"],"min":360},"log_driver_chat":{"p":"logistics","ind":["Logistics"],"goals":["ops","chat"],"promise":"A chat for drivers: closures, roadworks, the weather and the nearest fuel or truck stop where they are going.","why":"Drivers call dispatch to ask about the road ahead. The chat answers at once from live closures and the forecast, so dispatch can get on with planning.","uses":["A delivery company","A long-haul trucking firm","A field service team on the road"],"gets":["Answers in the chat"],"min":5,"runs":300},"log_weekly_disruptions":{"p":"logistics","ind":["Logistics"],"goals":["ops"],"promise":"A weekly road disruption report across your cities, for ops managers.","why":"Ops managers plan the week from Sunday. The report shows where the problems are and which routes to avoid.","uses":["A national delivery company","A field service company","A bus operator"],"gets":["A report by email","A map"],"min":90},"log_ops_briefing":{"p":"logistics","ind":["Logistics"],"goals":["ops"],"promise":"A daily operations briefing per hub, with a risk score and alerts for the risky ones.","why":"Operations managers start the day guessing. Each hub gets a briefing on weather and roads with a risk score, and dispatch hears about the risky ones before the first van leaves.","uses":["A parcel delivery network","A grocery delivery company","A field service fleet"],"gets":["A WhatsApp alert for risky hubs","A briefing by email","A map of hubs by risk"],"min":45},"log_truck_stops":{"p":"logistics","ind":["Logistics","Transport"],"goals":["data"],"promise":"Truck stops, fuel and rest areas along your corridor.","why":"Drivers on long routes need safe stops. A directory makes every trip easier.","uses":["A trucking company","A fleet manager","A drivers\u2019 association"],"gets":["A Google Sheet"],"min":90,"runs":1},"log_cold_chain_heat":{"p":"logistics","ind":["Logistics","Food and drink"],"goals":["ops"],"promise":"Tomorrow\u2019s heat at each cold chain stop, with a note.","why":"Heat spoils food and medicine in transit. A note the day before protects the load.","uses":["A cold chain carrier","A food distributor","A pharma logistics company"],"gets":["An email"],"min":30},"log_parcel_lockers_partners":{"p":"logistics","ind":["Logistics","Retail"],"goals":["leads"],"promise":"Shops scored as parcel pick-up points, with the owner.","why":"Pick-up points cut failed deliveries. Good shops with long hours make the best ones.","uses":["A parcel carrier","A marketplace","A pick-up point network"],"gets":["New leads in HubSpot"],"min":90,"runs":1},"log_customs_brokers":{"p":"logistics","ind":["Logistics"],"goals":["data"],"promise":"Customs brokers near border crossings, approved.","why":"A good broker saves days at the border. The approved list makes it reliable.","uses":["A cross-border trucking company","An importer","A freight forwarder"],"gets":["A Google Sheet"],"min":90,"runs":1},"log_fleet_maintenance":{"p":"logistics","ind":["Logistics","Automotive"],"goals":["data"],"promise":"Truck workshops near each depot, the best-rated first.","why":"A truck off the road costs money every hour. Good workshops nearby get it back fast.","uses":["A fleet manager","A trucking company","A bus operator"],"gets":["A Google Sheet"],"min":60,"runs":1},"log_port_storm":{"p":"logistics","ind":["Logistics","Maritime"],"goals":["ops"],"promise":"The windiest hours ahead at each port, with a crane note.","why":"Cranes stop in high wind. Planning berths around it keeps ships moving.","uses":["A terminal operator","A port authority","A stevedoring company"],"gets":["An email"],"min":30,"runs":120},"log_shipper_leads":{"p":"logistics","ind":["Logistics","Manufacturing"],"goals":["leads"],"promise":"Factories scored as freight customers, with the logistics manager.","why":"Factories ship every week. The ones near the port with big volumes are the best customers.","uses":["A freight forwarder","A trucking company","A 3PL"],"gets":["New leads in HubSpot"],"min":90,"runs":1},"log_container_services":{"p":"logistics","ind":["Logistics","Maritime"],"goals":["data"],"promise":"Container terminals and yards near each customer site.","why":"Empty containers are picked up where they wait. The nearest yards save a trip.","uses":["A trucking company","A freight forwarder","An exporter\u2019s logistics team"],"gets":["A Google Sheet"],"min":60,"runs":1},"log_depot_road_speeds":{"p":"logistics","ind":["Logistics"],"goals":["ops"],"promise":"How the roads outside each depot are moving, every hour, the most jammed first.","why":"A truck that leaves into a jam is late for every stop after. Knowing which depot gates are jammed now tells dispatch which trucks to hold or reroute.","uses":["A haulage company\u2019s dispatch","A parcel carrier\u2019s depot managers","A food distributor"],"gets":["A Slack post","An email"],"min":20,"runs":24},"log_driver_hiring_rivals":{"p":"logistics","ind":["Logistics","Recruiting"],"goals":["competitors","hiring"],"promise":"Rival couriers and carriers hiring drivers, each week, on a map.","why":"A rival hiring many drivers in a city is about to add routes there. Seeing it each week tells you where competition and the fight for drivers will grow.","uses":["A courier company\u2019s strategy team","A logistics company\u2019s HR team","A driver staffing agency"],"gets":["An email","A map"],"min":45,"runs":4},"log_driver_heat_rest":{"p":"logistics","ind":["Logistics","Transport"],"goals":["ops"],"promise":"A heat rest plan for drivers on long-haul routes.","why":"Driving in extreme heat is dangerous. Rest stops in the hottest hours keep drivers safe.","uses":["A long-haul trucking company","A tanker fleet","A bus company"],"gets":["A WhatsApp message"],"min":20}}}
