{"p":"legal","persona":["legal","Law, accounting & professional services","Law firms, accountants, notaries, translators and consultancies winning clients, choosing offices and serving them on time."],"industry":{"slug":"professional-services","name":"Law & professional services"},"templates":{"legal_immigration_hiring":{"name":"Employers hiring from abroad, for my immigration practice","desc":"Every Monday: job postings that offer visa sponsorship in your city, one per company, each company found on the map with its phone and website, scored by xMap AI as a client for immigration counsel, with the HR director from Apollo, into HubSpot.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Europe/London"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"London","label":"London","lat":51.5074,"lng":-0.1278}]}],["jobs","Jobs that sponsor visas",{"kw":"visa sponsorship","where":"Area of interest","posted":"Last 7 days","limit":"50","details":true,"each":true}],["gscan","Each employer on the map",{"area":"Around each incoming place","find":"Each place itself","radius":"300","opened":"Any time"}],["llm","Score each employer with xMap AI",{"task":"Score & rank","prompt":"Score each company from 0 to 100 as a client for an immigration law firm: how many roles it sponsors, its size and how established it looks. Explain in one sentence.","out":"fit_score, reason"}],["filter","Fit score \u2265 60",{"field":"Fit score","op":"\u2265","val":"60"}],["apollo","HR director from Apollo",{"task":"Contacts at each company","titles":["HR Director","Head of People","Talent Acquisition Manager"],"per":"1"}],["ap_hubspot","Add the employers 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":"Employers sponsoring visas this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8]]},"legal_tax_season_smb":{"name":"Young independent businesses for tax season","desc":"Every month before tax season: independent shops, salons and restaurants that opened in the last year in your city, graded by Jev as clients for bookkeeping and tax filing, the best 50 added to a Google Sheet for the outreach team.","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","Independents opened in the last year",{"types":["Restaurant","Clothing store","Beauty salon","Coffee shop"],"where":"Area of interest","order":"Best rated first","max":"300","since":"Last 12 months","chain":"Only independents","contact":true}],["onlynew","Only new ones",null],["jev","Grade them with Jev",{"kind":"Score","q":"How likely is this young independent business to pay an accountant for bookkeeping and its first tax return, from its type, how new it is and its reviews?","levels":"Poor prospect\nPossible prospect\nGood prospect\nGreat prospect","field":"client_score"}],["sort","Best 50 first",{"by":"Another field","fname":"client_score","dir":"Highest first (Z to A)","keep":"The first 50"}],["ap_google-sheets","Add them to the outreach 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],[4,5],[5,6],[5,7]]},"legal_rival_firms_rating":{"name":"How clients rate rival law firms","desc":"On the 1st of every month: the law firms in your city, judged by xMap AI from their rating and number of reviews, the 20 strongest and the weakest in a one-page report for the partners, posted to Slack.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"09:00","tz":"America/New_York"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Boston","label":"Boston","lat":42.3601,"lng":-71.0589}]}],["nearby","Law firms",{"types":["Law firm"],"where":"Area of interest","order":"Best rated first","max":"200"}],["llm","Rate how clients see each firm, 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"}],["sort","Best 20 first",{"by":"Another field","fname":"review_score","dir":"Highest first (Z to A)","keep":"The first 20"}],["llm","Write the partners\u2019 report",{"scope":"The whole list","task":"Write summary","prompt":"In about 200 words for the partners: which firms clients rate highest and lowest, where the city\u2019s firms are strongest, and one idea to stand out.","out":"report"}],["ap_slack","Post the report to #partners",{"action":"send_channel_message","per":"Once per run","inputs":{"channel":"","text":""}}],["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]]},"legal_conveyancing_partners":{"name":"New estate agencies to partner with for conveyancing","desc":"Every week: real estate agencies that opened in the last six months in your cities, each with its owner from Apollo and a short partnership note by xMap AI, approved by you, then emailed from your Gmail.","n":[["sched","Every Tuesday",{"freq":"Every week","weekday":"Tuesday","time":"08:00","tz":"Europe/Dublin"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"Dublin","label":"Dublin","lat":53.3498,"lng":-6.2603}]}],["nearby","New estate agencies",{"types":["Real estate agency"],"where":"Area of interest","order":"Best rated first","max":"100","since":"Last 6 months","contact":true}],["onlynew","Only new ones",null],["apollo","Owner from Apollo",{"task":"Contacts at each company","titles":["Owner","Managing Director","Founder"],"per":"1"}],["llm","Write a partnership note with xMap AI",{"task":"Write summary","prompt":"Write three friendly sentences from a conveyancing solicitor to the owner of this new estate agency, offering fast, fixed-fee conveyancing for their buyers and sellers. No prices.","out":"note"}],["approve","Approve each note",{"who":"The flow\u2019s owner","msg":"Check each note before it goes out.","within":"3 days"}],["ap_gmail","Email the notes from my Gmail",{"action":"send_email","per":"Once per run","inputs":{"receiver":[],"subject":"Conveyancing for {{name}}","body_type":"plain_text","body":"{{note}}"}}],["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]]},"legal_counsel_hiring":{"name":"Companies hiring in-house lawyers, for my legal outsourcing","desc":"Every Monday: companies advertising in-house counsel and legal manager jobs in your cities, one per company, placed on the map, with a short offer by xMap AI of outside legal support while they hire, added to a Google Sheet and emailed.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"America/Toronto"}],["aoi","Our cities",{"mode":"Cities","cities":[{"kind":"city","name":"Toronto","label":"Toronto","lat":43.6532,"lng":-79.3832},{"kind":"city","name":"Vancouver","label":"Vancouver","lat":49.2827,"lng":-123.1207},{"kind":"city","name":"Calgary","label":"Calgary","lat":51.0447,"lng":-114.0719}]}],["jobs","In-house legal jobs",{"kw":"in-house counsel","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"}],["llm","Write the offer with xMap AI",{"task":"Write summary","prompt":"Two sentences offering this company outside legal support (contracts, employment and disputes) while it hires its in-house lawyer.","out":"offer"}],["ap_google-sheets","Add them to the outsourcing sheet",{"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":"Companies hiring in-house lawyers this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[4,6]]},"legal_courthouse_closures":{"name":"Road closures near the courts before hearings","desc":"Every weekday at 6:30: road closures and roadworks around each courthouse in your table, so lawyers with a hearing that day leave in time, sent to the team on WhatsApp.","n":[["sched","Every weekday morning",{"days":["Mon","Tue","Wed","Thu","Fri"],"time":"06:30","tz":"America/Toronto"}],["mydata","Courts we attend",null],["incidents","Closures around each court",{"where":"Around each incoming place","radius":"3000","types":["Road closures","Roadworks"]}],["llm","Write a travel note with xMap AI",{"task":"Write summary","prompt":"For lawyers with a hearing at this court today: one line on closures and roadworks within 3 km and how much earlier to leave.","out":"travel_note"}],["ap_whatsapp","Send the notes on WhatsApp",{"action":"sendMessage","per":"Once per run","inputs":{"phone_number_id":"","to":"","text":"{{count}} courts checked: {{items}}"}}],["email","Email me the results",{"kind":"One email per run"}]],"e":[[0,1],[1,2],[2,3],[3,4],[3,5]]},"legal_ip_startups":{"name":"Startups hiring engineers, for trademark and IP work","desc":"Every Monday: companies hiring software engineers in your city, one per company, sized with Apollo, the young and growing ones scored by xMap AI as clients for trademarks and IP, with the founder, into HubSpot and emailed.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"America/New_York"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Boston","label":"Boston","lat":42.3601,"lng":-71.0589}]}],["jobs","Companies hiring engineers",{"kw":"software engineer","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"}],["apollo","Company size from Apollo",{"task":"Company details"}],["llm","Score each startup with xMap AI",{"task":"Score & rank","prompt":"Score each company from 0 to 100 as a client for trademark and IP protection: young, growing, building its own product. Explain in one sentence.","out":"fit_score, reason"}],["filter","Fit score \u2265 65",{"field":"Fit score","op":"\u2265","val":"65"}],["apollo","Founder from Apollo",{"task":"Contacts at each company","titles":["Founder","CEO","CTO"],"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":"Startups to protect this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8],[8,9]]},"legal_notary_gaps":{"name":"Neighbourhoods with many people and few notaries","desc":"Every quarter: the blocks of your city with the most residents and the fewest notaries within 2 km, ranked by people per notary, for where to open the next notary office, emailed and mapped.","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":"Lyon","label":"Lyon","lat":45.764,"lng":4.8357}]}],["demog","People in every block of the city",{"where":"Area of interest","out":"Every hexagon (about 0.1 km\u00b2)"}],["nearby","Notaries within 2 km",{"types":["Notary public"],"where":"Each incoming place","radius":"2 km","give":"Each incoming place, with counts"}],["calc","People per notary",{"lines":"per_notary = population / (nearby_count + 1)"}],["sort","Best 15 first",{"by":"Another field","fname":"per_notary","dir":"Highest first (Z to A)","keep":"A number I choose","n":"15"}],["email","Email me the list",{"kind":"One email per run","subj":"Where people are far from a notary"}],["map","Show them on a map",{"name":"People per notary","color":"One color"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7]]},"legal_intake_chat":{"name":"Legal intake assistant for my website","desc":"A chat for your website: an AI agent asks visitors what happened, where and when, sorts the case by practice area, tells them which of your offices is nearest and what to bring, and passes the summary to your team.","n":[["chat","Chat",{"title":"Talk to our intake team","welcome":"Hello. Tell me briefly what happened and where you are, and I will tell you how we can help and which office is nearest."}],["agent","Intake assistant",{"goal":"You take first enquiries for a law firm. Ask what happened, where and when, then say which practice area it belongs to (family, employment, property, injury, business), use Our offices nearby to name the nearest office, and list what documents to bring. Never give legal advice; say a lawyer will confirm. Kind and brief, in the visitor\u2019s language."}],["nearby","Our offices nearby",{"where":"A point","center":"{{agent: where to look, as the place the person named}}","types":["Law firm"],"radius":"10 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]]},"legal_deal_news":{"name":"Mergers, lawsuits and fines in the business news","desc":"Every weekday at 7:00: the business news read by xMap AI for companies merging, being bought, sued, fined or restructuring, each placed on the map where it happens, the new stories only, in a short morning brief for the partners with the practice that could help.","n":[["sched","Every weekday morning",{"days":["Mon","Tue","Wed","Thu","Fri"],"time":"07:00","tz":"Europe/London"}],["news","Deals and disputes in the news",{"src":"Feeds (RSS or Atom)","urls":"https://feeds.bbci.co.uk/news/business/rss.xml","ai":"a company merging, being bought or sold, being sued, fined by a regulator, restructuring or going insolvent","since":"Last 24 hours","max":"40","places":true}],["onlynew","Only new ones",null],["llm","Write the morning brief",{"scope":"The whole list","task":"Write summary","prompt":"For the partners of a law firm, in about 120 words: each company in the news, what happened, and which practice could help (corporate, litigation, regulatory or restructuring). Only use the stories in the list.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Deals and disputes in this morning\u2019s news"}],["map","Show them on a map",{"name":"Where the stories happen","color":"Category"}]],"e":[[0,1],[1,2],[2,3],[3,4],[3,5]]},"legal_audit_hiring":{"name":"Companies hiring finance controllers, for my audit practice","desc":"Every Monday: companies hiring financial controllers or chief accountants in your city, one per company, scored by xMap AI as audit clients, with the CFO from Apollo, added to a Google Sheet and emailed.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Asia/Singapore"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Singapore","label":"Singapore","lat":1.3521,"lng":103.8198}]}],["jobs","Companies hiring controllers",{"kw":"financial controller","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"}],["llm","Score each company with xMap AI",{"task":"Score & rank","prompt":"Score each company from 0 to 100 as a client for an external audit: size, how established it is and signs of fast growth. Explain in one sentence.","out":"fit_score, reason"}],["sort","Best 30 first",{"by":"Fit score","dir":"Highest first (Z to A)","keep":"A number I choose","n":"30"}],["apollo","CFO from Apollo",{"task":"Contacts at each company","titles":["CFO","Finance Director"],"per":"1"}],["ap_google-sheets","Add them to the audit pipeline sheet",{"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":"Audit prospects this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8]]},"legal_embassy_translation":{"name":"Embassies and international schools near my translation office","desc":"Every month: embassies, consulates and international schools within 10 km of your translation office, the new ones only, each with a note on the documents they likely need translated, into HubSpot.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Berlin"}],["aoi","My office area",{"mode":"Cities","cities":[{"kind":"city","name":"Berlin","label":"Berlin","lat":52.52,"lng":13.405}]}],["nearby","Embassies and international schools",{"types":["Embassy","Foreign consulate","International school"],"where":"Area of interest","order":"Best rated first","max":"100","contact":true}],["onlynew","Only new ones",null],["llm","Write a service note with xMap AI",{"task":"Write summary","prompt":"One line on which documents this organization most likely needs translated and certified, and in which languages.","out":"need"}],["ap_hubspot","Add them to HubSpot",{"action":"create-company","per":"Once per item","inputs":{"objectProperties":{"name":"{{name}}","city":"{{city}}","phone":"{{phone}}","domain":"{{website}}"}}}],["map","Show them on a map",{"name":"Embassies and schools near us","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],[4,7]]},"legal_office_district":{"name":"Where to open my next law office","desc":"Every quarter: districts of your city scored by the courts, banks, offices and coworking spaces within 1 km, with the people who live there, the best five written up by xMap AI for the partners and mapped.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"America/Sao_Paulo"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"S\u00e3o Paulo","label":"S\u00e3o Paulo","lat":-23.5505,"lng":-46.6333}]}],["nearby","Business hubs",{"types":["Business center","Coworking space","Corporate office"],"where":"Area of interest","order":"Best rated first","max":"150"}],["nearby","Courts and banks nearby",{"types":["Courthouse","Bank","Law firm"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["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 new law office: courts and banks nearby are good, many rival law firms are bad, more residents and offices are good. 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"}],["llm","Write the partners\u2019 memo",{"scope":"The whole list","task":"Write summary","prompt":"In about 150 words for the partners: the five best spots for a new office, with the main reason for each.","out":"report"}],["map","Show them on a map",{"name":"Office spots","color":"Fit score"}],["email","Email me the list",{"kind":"One email per run","subj":"Where to open the next office"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[7,8],[7,9]]},"legal_client_closures":{"name":"Clients that closed or changed, for my insolvency team","desc":"Every Monday: each client business in your table checked against the map; those that closed, moved or changed phone are listed with what to do, by xMap AI, for the insolvency and recovery team.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Europe/Amsterdam"}],["mydata","My client businesses",null],["gscan","Each client on the map",{"area":"Around each incoming place","find":"Each place itself","radius":"300","opened":"Any time"}],["changes","What changed",{"watch":["Closed","Phone or website","Name or address"]}],["llm","Write what to do with xMap AI",{"task":"Write summary","prompt":"One line for the recovery team on what this change likely means and the next step (call, letter, file a claim, update records).","out":"next_step"}],["email","Email me the list",{"kind":"One email per run","subj":"Clients that changed this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5]]},"legal_compliance_fintech":{"name":"New exchange and money transfer offices, for compliance work","desc":"Every week: currency exchange and money transfer offices that opened in your cities, scored by Jev as clients for compliance and anti-money-laundering advice, the good ones posted to Slack and kept in a sheet.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Asia/Karachi"}],["aoi","My cities",{"mode":"Cities","cities":[{"kind":"city","name":"Karachi","label":"Karachi","lat":24.8607,"lng":67.0011},{"kind":"city","name":"Lahore","label":"Lahore","lat":31.5204,"lng":74.3587}]}],["nearby","New exchange and transfer offices",{"types":["Currency exchange service","Money transfer service"],"where":"Area of interest","order":"Best rated first","max":"100","since":"Last 12 months","contact":true}],["onlynew","Only new ones",null],["jev","Grade them with Jev",{"kind":"Score","q":"How much does this new money service business likely need outside compliance help, from its type, how new it is and whether it is part of a chain?","levels":"Poor prospect\nPossible prospect\nGood prospect\nGreat prospect","field":"need_score"}],["filter","Strong need only",{"field":"A number field","fname":"need_score","op":"\u2265","val":"50"}],["ap_slack","Post them to #compliance-leads",{"action":"send_channel_message","per":"Once per run","inputs":{"channel":"","text":""}}],["ap_google-sheets","Keep them in the leads 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],[4,5],[5,6],[6,7],[5,8]]},"legal_hr_compliance":{"name":"Busy employers with low ratings, for HR compliance advice","desc":"Every Monday: companies with many open roles in your city whose customers rate them poorly, a sign of strain; each scored by xMap AI as a client for HR compliance advice, with the HR lead from Apollo.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Australia/Sydney"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Sydney","label":"Sydney","lat":-33.8688,"lng":151.2093}]}],["jobs","Companies hiring a lot",{"kw":"operations staff","where":"Area of interest","posted":"Last 7 days","limit":"100","details":true,"each":true}],["gscan","Each company on the map",{"area":"Around each incoming place","find":"Each place itself","radius":"300","opened":"Any time"}],["filter","Rated 3.8 or less",{"field":"A number field","fname":"rating","op":"\u2264","val":"3.8"}],["llm","Score each one with xMap AI",{"task":"Score & rank","prompt":"Score each company from 0 to 100 as a client for HR and employment compliance advice: many open roles, low customer ratings and visible strain. Explain in one sentence.","out":"fit_score, reason"}],["apollo","HR lead from Apollo",{"task":"Contacts at each company","titles":["HR Manager","Head of People"],"per":"1"}],["email","Email me the list",{"kind":"One email per run","subj":"Employers to offer HR compliance help"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7]]},"legal_consulting_transformation":{"name":"Companies hiring transformation leaders, briefed by an AI agent","desc":"Every week: companies hiring transformation or strategy directors in your city, each researched by an AI agent (what is around it, who lives there, what else it is hiring for), with a one-paragraph brief for the partner who will call.","n":[["sched","Every Wednesday",{"freq":"Every week","weekday":"Wednesday","time":"08:00","tz":"Europe/Madrid"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Madrid","label":"Madrid","lat":40.4168,"lng":-3.7038}]}],["jobs","Companies hiring transformation leaders",{"kw":"transformation director","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"}],["agent","Brief each company with the AI agent",{"goal":"You prepare consulting partners. For each company, use your tools to see what else it is hiring for and what is around its office, then write one paragraph: what change it is likely going through and the best way to open the conversation.","msg":"Brief {{name}} in {{city}}.","memory":"None","steps":"6","out":"brief"}],["jobs","Its job postings",{"kw":"{{agent: the company name and the kind of role}}","where":"A location","loc":"{{agent: the city}}","posted":"Last 30 days","limit":"10","details":false}],["nearby","Around its office",{"types":["Corporate office","Bank","Business center"],"where":"Each incoming place","radius":"1 km","give":"Each incoming place, with counts"}],["email","Email me the list",{"kind":"One email per run","subj":"Transformation leads with briefs"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,7],[4,5,"tool"],[4,6,"tool"]]},"legal_legal_aid_gaps":{"name":"Where people are far from legal help","desc":"Every six months: blocks of your city with many residents and no legal aid office or law firm within 3 km, ranked, with a short note by xMap AI for the bar association or NGO planning outreach.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Asia/Kolkata"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Mumbai","label":"Mumbai","lat":19.076,"lng":72.8777}]}],["demog","People in every block of the city",{"where":"Area of interest","out":"Every hexagon (about 0.1 km\u00b2)"}],["nearby","Legal help within 3 km",{"types":["Legal aid office","Law firm","Legal services"],"where":"Each incoming place","radius":"2 km","give":"Each incoming place, with counts"}],["calc","People per legal office",{"lines":"per_office = population / (nearby_count + 1)"}],["sort","Best 20 first",{"by":"Another field","fname":"per_office","dir":"Highest first (Z to A)","keep":"The first 20"}],["llm","Write the outreach note",{"scope":"The whole list","task":"Write summary","prompt":"In about 150 words for an outreach team: the areas furthest from legal help, how many people live there, and where a mobile legal clinic would reach most.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Legal help gaps"}],["map","Show them on a map",{"name":"Legal help gaps","color":"One color"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,7],[6,8]]},"legal_franchise_law":{"name":"Franchises opening new branches, for franchise lawyers","desc":"Every month: chain stores and restaurants that opened new branches in your country\u2019s big cities, grouped by brand, with the brand\u2019s head of franchising from Apollo, for lawyers who draft franchise agreements.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Asia/Kolkata"}],["aoi","Big cities",{"mode":"Cities","cities":[{"kind":"city","name":"Mumbai","label":"Mumbai","lat":19.076,"lng":72.8777},{"kind":"city","name":"Delhi","label":"Delhi","lat":28.7041,"lng":77.1025},{"kind":"city","name":"Bangalore","label":"Bangalore","lat":12.9716,"lng":77.5946}]}],["nearby","New chain branches",{"types":["Restaurant","Coffee shop","Clothing store","Beauty salon"],"where":"Area of interest","order":"Best rated first","max":"300","since":"Last 6 months","chain":"Only chains"}],["dedupe","One per brand",{"by":"Another field","fname":"brand"}],["apollo","Head of franchising from Apollo",{"task":"Contacts at each company","titles":["Franchise Development Manager","Head of Franchising","CEO"],"per":"1"}],["llm","Write an opening line with xMap AI",{"task":"Write summary","prompt":"One sentence a franchise lawyer could open with, about this brand\u2019s new branches.","out":"opener"}],["ap_hubspot","Add the contacts 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]]},"legal_tax_rate_pages":{"name":"Changes to the tax rate pages of four tax authorities","desc":"Every Monday: the VAT, GST and tax rate pages of the tax authorities in the United Kingdom, Canada, Singapore and South Africa, watched for changes; when one changes, xMap AI says what changed and what it means for clients, by email.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"Europe/London"}],["pagewatch","Tax rate pages",{"urls":"https://www.gov.uk/guidance/rates-of-vat-on-different-goods-and-services\nhttps://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html\nhttps://www.iras.gov.sg/taxes/goods-services-tax-(gst)/basics-of-gst/current-gst-rates\nhttps://www.sars.gov.za/tax-rates/","mode":"Any change on the page","explain":true,"about":"tax rates, thresholds, deadlines and who must register"}],["llm","What it means for clients, with xMap AI",{"task":"Write summary","prompt":"Two sentences for an accountant: what changed on this tax page and which kinds of clients it affects.","out":"client_note"}],["email","Email me the list",{"kind":"One email per run","subj":"Changes to the tax rate pages"}]],"e":[[0,1],[1,2],[2,3]]},"legal_accountant_referrals":{"name":"Accountants to build a referral network with","desc":"Every month: the best-rated accountants and tax consultants within 5 km of your firm, the new ones only, each with a partner from Apollo and a referral idea by xMap AI, approved by you and added to HubSpot.","n":[["sched","On the 1st of every month",{"freq":"Every month","monthday":"1","time":"08:00","tz":"Europe/Lisbon"}],["aoi","Around my firm",{"mode":"Cities","cities":[{"kind":"city","name":"Lisbon","label":"Lisbon","lat":38.7223,"lng":-9.1393}]}],["nearby","Accountants and tax consultants",{"types":["Accountant","Tax consultant","Chartered accountant"],"where":"Area of interest","order":"Best rated first","max":"60"}],["onlynew","Only new ones",null],["apollo","Partner from Apollo",{"task":"Contacts at each company","titles":["Partner","Owner","Managing Partner"],"per":"1"}],["llm","Write a referral idea with xMap AI",{"task":"Write summary","prompt":"One sentence on which of their clients we could help (contracts, disputes, company setup) and what we could send their way.","out":"referral_idea"}],["approve","Approve the list",{"who":"The flow\u2019s owner","msg":"Pick the accountants worth a coffee.","within":"7 days"}],["ap_hubspot","Add the partners 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]]},"legal_injury_hotspots":{"name":"Accident hotspots for road safety awareness","desc":"Every Monday: road incidents across your city in one list, grouped into hotspots by xMap AI, with the people living around the worst ones, for a law firm\u2019s road safety awareness campaign, emailed and mapped.","n":[["sched","Every Monday",{"freq":"Every week","weekday":"Monday","time":"08:00","tz":"America/Chicago"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Houston","label":"Houston","lat":29.7604,"lng":-95.3698}]}],["incidents","Road incidents this week",{"where":"Area of interest","types":["Other incidents","Road closures"]}],["demog","Who lives around",{"where":"Each incoming place","radius":"1 km"}],["llm","Write the hotspot summary",{"scope":"The whole list","task":"Write summary","prompt":"In about 120 words for the marketing team: where incidents cluster this week, how many people live around those spots, and a road safety message that fits each area. No promises of compensation.","out":"report"}],["map","Show them on a map",{"name":"Incident hotspots","color":"Category"}],["email","Email me the list",{"kind":"One email per run","subj":"Road incident hotspots this week"}]],"e":[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6]]},"legal_restaurant_permits":{"name":"New restaurants that need licences and permits","desc":"Every weekday: restaurants and cafes that opened in the last 30 days in your city, only the new ones, each with a short offer by xMap AI for licensing, permits and lease review, sent from your Gmail after you approve.","n":[["sched","Every weekday morning",{"days":["Mon","Tue","Wed","Thu","Fri"],"time":"08:00","tz":"Europe/Paris"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"Paris","label":"Paris","lat":48.8566,"lng":2.3522}]}],["gscan","New restaurants and cafes",{"cats":["Restaurants","Caf\u00e9s"],"area":"Area of interest","opened":"Last 30 days","max":"50"}],["onlynew","Only new ones",null],["llm","Write the offer with xMap AI",{"task":"Write summary","prompt":"Three short sentences from a law firm to a newly opened restaurant: help with licences, permits and their lease, in plain words. No prices.","out":"offer"}],["approve","Approve the offers",{"who":"The flow\u2019s owner","msg":"Read each offer before it is sent.","within":"3 days"}],["ap_gmail","Send them from my Gmail",{"action":"send_email","per":"Once per run","inputs":{"receiver":[],"subject":"Licences and permits for {{name}}","body_type":"plain_text","body":"{{offer}}"}}],["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]]},"legal_bd_memo":{"name":"Weekly business development memo for the firm","desc":"Every Friday: two signals in one memo: companies hiring in-house counsel and new corporate offices in your city, joined into a one-page business development memo by xMap AI for the partners\u2019 meeting.","n":[["sched","Every Friday",{"freq":"Every week","weekday":"Friday","time":"15:00","tz":"America/New_York"}],["aoi","My city",{"mode":"Cities","cities":[{"kind":"city","name":"New York","label":"New York","lat":40.7128,"lng":-74.006}]}],["jobs","Companies hiring in-house counsel",{"kw":"legal counsel","where":"Area of interest","posted":"Last 7 days","limit":"50","details":true,"each":true}],["nearby","New corporate offices",{"types":["Corporate office","Business center"],"where":"Area of interest","order":"Best rated first","max":"60","since":"Last 6 months"}],["dedupe","Each company once",{"by":"Same name"}],["llm","Write the memo",{"scope":"The whole list","task":"Write summary","prompt":"One page for the partners: who is hiring lawyers (they may need outside help too), which companies moved into the city, and the five to call first.","out":"report"}],["email","Email me the list",{"kind":"One email per run","subj":"Business development memo"}],["map","Show them on a map",{"name":"New offices and hiring companies","color":"Category"}]],"e":[[0,1],[1,2],[1,3],[2,4],[3,4],[4,5],[5,6],[4,7]]},"legal_documents_chat":{"name":"Where to get documents certified: a chat for clients","desc":"A chat for your clients: an AI agent finds the nearest notary, translation service, courier or post office to any address, with distance and phone, and says what to bring, so papers come back to you signed and complete.","n":[["chat","Chat",{"title":"Get your documents ready","welcome":"Hello. Tell me where you are and which documents you need certified, translated or sent, and I will find the nearest place."}],["agent","Documents helper",{"goal":"You help the clients of a law or accounting firm get their documents ready. Use Notaries, translators and couriers nearby to name the two nearest places for what they need, with distance and phone, and list what to bring (an identity document, the originals and copies). Never give legal advice; say the firm will check the documents. Short and clear, in the client\u2019s language."}],["nearby","Notaries, translators and couriers nearby",{"where":"A point","center":"{{agent: where to look, as the place the person named}}","types":["Notary public","Translation service","Courier service","Post office"],"radius":"5 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]]}},"info":{"legal_immigration_hiring":{"p":"legal","ind":["Legal","Recruiting"],"goals":["leads","hiring"],"promise":"Employers sponsoring visas, with their HR director, every Monday.","why":"A company that sponsors visas needs immigration counsel for every hire. Job ads say so before anyone else does, so you reach the employer while the cases are still open.","uses":["An immigration law firm","A relocation company","A global mobility consultancy"],"gets":["A list in your inbox","New leads in HubSpot"],"min":120},"legal_tax_season_smb":{"p":"legal","ind":["Accounting","Retail","Food and drink"],"goals":["leads"],"promise":"Young independent businesses graded as tax clients, in a sheet before tax season.","why":"First-year businesses rarely have an accountant and almost all of them need one for their first return. Reaching them a month before the deadline turns into clients who stay for years.","uses":["An accounting firm","A bookkeeping service","A tax filing app"],"gets":["A Google Sheet for outreach"],"min":180},"legal_rival_firms_rating":{"p":"legal","ind":["Legal"],"goals":["competitors"],"promise":"Every law firm in your city, rated by xMap AI from clients\u2019 ratings, in a monthly report.","why":"Clients compare firms by their ratings before they call. Knowing who is rated best and worst shows where your firm stands and what to fix.","uses":["A law firm\u2019s managing partner","A legal marketing agency","A bar association tracking service quality"],"gets":["A Slack post with the report"],"min":90},"legal_conveyancing_partners":{"p":"legal","ind":["Legal","Real estate"],"goals":["leads"],"promise":"New estate agencies with their owners and an approved partnership note.","why":"Estate agents send buyers and sellers to the solicitor they trust. A new agency has not chosen one yet, which makes now the moment to introduce yourself.","uses":["A conveyancing solicitor","A property law firm","A mortgage broker building referrals"],"gets":["Approved emails from your Gmail"],"min":90},"legal_counsel_hiring":{"p":"legal","ind":["Legal","Recruiting"],"goals":["leads","hiring"],"promise":"Companies hiring an in-house lawyer, each offered outside support while they hire.","why":"A company hiring its next in-house lawyer has more legal work than people. A firm that offers to carry the load until the hire starts often keeps the work after.","uses":["A commercial law firm","A legal outsourcing company","A legal recruitment agency"],"gets":["A Google Sheet","An email"],"min":45},"legal_courthouse_closures":{"p":"legal","ind":["Legal"],"goals":["ops"],"promise":"Closures and roadworks around every court you attend, on WhatsApp at 6:30.","why":"Missing a hearing because of a closed road is avoidable. A short note each morning tells every lawyer how early to leave.","uses":["A litigation firm","A public defender\u2019s office","A court reporting service"],"gets":["A WhatsApp message each morning"],"min":20},"legal_ip_startups":{"p":"legal","ind":["Legal","Technology"],"goals":["leads","hiring"],"promise":"Growing startups hiring engineers, scored as IP clients, with the founder.","why":"A startup that hires engineers is building something worth protecting. Reaching the founder early means the trademarks are filed by your firm.","uses":["An IP law firm","A trademark agency","A startup legal services platform"],"gets":["A list in your inbox","New leads in HubSpot"],"min":90},"legal_notary_gaps":{"p":"legal","ind":["Legal","Public sector"],"goals":["sites","data"],"promise":"Where many people live far from a notary, block by block.","why":"A notary office in the right neighbourhood is busy from day one. This flow shows where residents have to travel furthest for one.","uses":["A notary planning a new office","A notaries\u2019 chamber planning coverage","A legal services chain"],"gets":["An email","A map of people per notary"],"min":240,"runs":4},"legal_intake_chat":{"p":"legal","ind":["Legal"],"goals":["chat"],"promise":"An intake assistant that sorts enquiries and names the nearest office.","why":"Most first enquiries arrive outside office hours. The assistant answers at once, sorts the case and tells people what to bring, so your lawyers start with a clear file.","uses":["A law firm\u2019s website","A legal aid clinic","An accounting firm\u2019s enquiry page"],"gets":["A chat page you can embed"],"min":10,"runs":300},"legal_deal_news":{"p":"legal","ind":["Legal","Consulting"],"goals":["leads","data"],"promise":"Mergers, lawsuits and fines in the news each morning, with the practice that could help.","why":"Companies in a deal or a dispute need lawyers quickly. Reading the news for them every morning means your partners call first, with the right practice.","uses":["A corporate law firm","A litigation practice","A restructuring advisory firm"],"gets":["A morning email","A map of the stories"],"min":30,"runs":22},"legal_audit_hiring":{"p":"legal","ind":["Accounting","Finance"],"goals":["leads","hiring"],"promise":"Companies hiring finance controllers, scored as audit clients, with the CFO.","why":"A company building its finance team is getting ready for an audit, a raise or a sale. That is when it chooses its auditors.","uses":["An audit firm","An accounting network","A finance outsourcing company"],"gets":["A Google Sheet","A weekly email"],"min":90},"legal_embassy_translation":{"p":"legal","ind":["Translation","Education"],"goals":["leads"],"promise":"Embassies and international schools near your office, with what they need translated.","why":"Embassies and international schools certify documents every week. Being the office nearby that already knows their needs wins the work.","uses":["A translation agency","A sworn translator","A document legalisation service"],"gets":["New leads in HubSpot","A map"],"min":60,"runs":1},"legal_office_district":{"p":"legal","ind":["Legal","Real estate"],"goals":["sites"],"promise":"The best districts for your next law office, with a memo for the partners.","why":"Clients and courts decide where an office works. This flow scores every business hub by what is around it, so the partners choose from facts.","uses":["A law firm opening a branch","An accounting firm choosing an office","A coworking operator for professionals"],"gets":["A memo by email","A map of scored spots"],"min":300,"runs":4},"legal_client_closures":{"p":"legal","ind":["Legal","Finance"],"goals":["data","ops"],"promise":"Client businesses that closed, moved or changed, with what to do.","why":"A client that closes quietly can leave unpaid fees and open matters. Hearing about it the same week protects the firm.","uses":["An insolvency practitioner","A debt recovery firm","An accounting firm watching its clients"],"gets":["A weekly email"],"min":60},"legal_compliance_fintech":{"p":"legal","ind":["Legal","Finance"],"goals":["leads"],"promise":"New exchange and money transfer offices that need compliance help.","why":"Money service businesses must meet strict anti-money-laundering rules from their first day. New offices are looking for advice before the regulator visits.","uses":["A compliance consultancy","A financial crime law firm","A regtech company"],"gets":["A Slack post","A Google Sheet"],"min":60},"legal_hr_compliance":{"p":"legal","ind":["Legal","Recruiting"],"goals":["leads","hiring"],"promise":"Employers hiring a lot with low ratings, as HR compliance clients.","why":"Fast hiring and unhappy customers often mean strained teams and HR risk. These employers benefit most from HR compliance advice.","uses":["An employment law firm","An HR consultancy","A workplace safety advisor"],"gets":["A weekly email"],"min":60},"legal_consulting_transformation":{"p":"legal","ind":["Consulting"],"goals":["leads","hiring"],"promise":"Companies hiring transformation leaders, each with a brief from an AI agent.","why":"A company hiring a transformation director has started a change it will need help with. A partner who calls with a sharp brief gets the meeting.","uses":["A management consultancy","A change management firm","An IT advisory practice"],"gets":["An email with a brief per company"],"min":120},"legal_legal_aid_gaps":{"p":"legal","ind":["Legal","Public sector","Non-profit"],"goals":["data","sites"],"promise":"Blocks where many people live far from legal help, for outreach planning.","why":"Legal help is unevenly spread. This flow shows where people are furthest from it, so mobile clinics and outreach go where they matter most.","uses":["A legal aid NGO","A bar association","A city access-to-justice programme"],"gets":["An email with the note","A map of gaps"],"min":240,"runs":2},"legal_franchise_law":{"p":"legal","ind":["Legal","Retail","Food and drink"],"goals":["leads"],"promise":"Brands opening franchise branches, with who runs franchising.","why":"Every new franchise branch needs an agreement. Brands that are expanding fast are the clients who need a franchise lawyer most.","uses":["A franchise law firm","A franchise consultancy","A commercial lease lawyer"],"gets":["New contacts in HubSpot"],"min":90,"runs":1},"legal_tax_rate_pages":{"p":"legal","ind":["Legal","Finance"],"goals":["ops"],"promise":"A change on a tax authority\u2019s rate page, said in plain words the week it happens.","why":"Rates and thresholds change with little notice. Reading four official pages every week is easy to forget; this flow reads them and only speaks up when something changed.","uses":["An accounting firm","A tax advisory practice","A finance team selling abroad"],"gets":["An email"],"min":60,"runs":1},"legal_accountant_referrals":{"p":"legal","ind":["Legal","Accounting"],"goals":["leads"],"promise":"Well-rated accountants near you, with a partner and a referral idea.","why":"Accountants and lawyers share clients. A small referral network of well-rated firms nearby brings steady work both ways.","uses":["A business law firm","A notary","A financial advisor"],"gets":["New contacts in HubSpot"],"min":60,"runs":1},"legal_injury_hotspots":{"p":"legal","ind":["Legal","Public sector"],"goals":["data"],"promise":"Where road incidents cluster each week, with the people around them.","why":"Road safety campaigns work best where incidents actually happen. This flow points the message at the right streets every week.","uses":["A personal injury law firm\u2019s awareness campaign","A road safety charity","A city safety team"],"gets":["An email","A map of hotspots"],"min":60},"legal_restaurant_permits":{"p":"legal","ind":["Legal","Food and drink"],"goals":["leads"],"promise":"New restaurants each weekday, with an approved offer for licences and permits.","why":"A new restaurant juggles licences, permits and its lease in its first weeks. A short, helpful offer at that moment is welcome.","uses":["A hospitality law firm","A licensing consultant","A food safety advisor"],"gets":["Approved emails from your Gmail"],"min":45},"legal_bd_memo":{"p":"legal","ind":["Legal","Consulting"],"goals":["leads","hiring"],"promise":"Hiring and new offices joined into one business development memo.","why":"Partners do not read raw lists. One page that joins two strong signals and names who to call first gets used every week.","uses":["A law firm\u2019s business development team","A consultancy\u2019s partners","An accounting firm\u2019s growth team"],"gets":["An email with the memo","A map"],"min":90},"legal_documents_chat":{"p":"legal","ind":["Legal","Accounting","Translation"],"goals":["chat"],"promise":"A chat that finds the nearest notary, translator or courier for a client\u2019s papers.","why":"Files stall while clients look for a notary or a translator. The chat answers in seconds, so documents come back signed and complete.","uses":["A law firm\u2019s client portal","An accounting firm\u2019s help page","An immigration practice"],"gets":["A chat page"],"min":5,"runs":200}}}
