Unbanked hotspots for my agent network

The most populated blocks with the fewest banks and agents, every month.

AdvancedMonthlyAI

Banks, lenders & insuranceFinancePublic sector

Use this template

What it does

Every month: the most populated blocks of your city, the banks, ATMs and money agents within 2 km, people per access point, the 15 most underserved scored by xMap AI, a note, saved to your database and Google Drive, emailed and mapped.

In one sentence: Monthly on the 1st at 08:00, in Dhaka, count who lives around, sort them by population and keep the top 30, count the banks, ATMs and money transfer services within 2 km of each, work out new fields, sort them by people_per_point and keep the top 15, score and rank them with xMap AI, write a report with xMap AI, save them to your database, then create file from text in Google Drive, email the list to you and show them on a map.

Why it is useful

Financial inclusion targets need to know where people live far from any bank. This flow measures it block by block and keeps the history in your database.

Who it is for

Banks, lenders & insurance. Banks, lenders, insurers and payment companies finding merchants, checking risk and planning branches. Every use case for banking & lending

Best use cases

  • A bank growing an agent network
  • A mobile money company
  • A development finance team

What each run gives you

  • A network note
  • Data in your database and Drive
  • A map

The time it saves

Monthly on the 1st at 08:00. Doing the same work by hand takes about 300 minutes each time; it runs about 1 time a month, so it saves about 5 hours a month (an estimate). It is advanced: 13 blocks.

The flow, block by block

  1. On the 1st of every monthTrigger · ScheduleStarts the flow on a timetable.
  2. My cityWhere · Area of interestSets where the flow looks: countries, cities or specific places, or areas you draw on a map.
  3. People in every block of the cityxMap data · DemographicsWho lives in an area: the number of residents, men and women, and nine age groups, from xMap’s population grid (hexagons of about 0.1 km², about 100 countries).
  4. Best 30 firstLogic · Sort and limitPuts the items in order, and can keep only the first ones: the 10 best rated, the 20 nearest, the highest fit scores.
  5. Banks and agents nearbyxMap data · Nearby placesPlaces around a point from xMap’s own places database (300M+ places, refreshed every month): pick the types of place (more than 5,000, such as Restaurant, Cafe, Pharmacy, Hospital or Gas station, or a whole group of them) and how far to look.
  6. People per access pointLogic · Calculated fieldAdds fields worked out from the others: a number, a text or a yes/no.
  7. Best 15 firstLogic · Sort and limitPuts the items in order, and can keep only the first ones: the 10 best rated, the 20 nearest, the highest fit scores.
  8. Rate each block with xMap AIxMap AI · xMap LLMTell the AI what to do in plain words.
  9. Write the network notexMap AI · xMap LLMTell the AI what to do in plain words.
  10. Save to my databaseYour data · Save to my databaseSaves the items into a table of your own database (PostgreSQL, BigQuery or Snowflake): each field goes into the column of the same name, the others are left out.
  11. Save the data to Google DriveApp · Google DriveCloud storage and file backup
  12. Email me the listAction · EmailSends one email per run with all the items, or one email per item.
  13. Show them on a mapAction · Show on a mapShows the results as points on a map, with the area of interest.

Every block can be changed after you use the template: the city, the type of place, the score, where the results go.

Use it now

Answer a few questions, enter your work email, and it runs in your own account, kept running until you pause it. Use this template.

How to set it up

More for Banks, lenders & insurance