An Agent for Google Maps Reviews Sentiment Analysis
I built a small but mighty agent that takes a company name and a city as an input, finds it on Google Maps, and returns a detailed report, including a sentiment analysis of that business based on the real customer review.
It's super helpful when making a sales research on SMBs and other brick-and-mortar type of businesses.
https://www.loom.com/share/067650e3ee2f48d59eb69d7eabfb740b?sid=37d84ddd-e337-4e6e-bdc4-3b78fb314193
The Google Maps Reviews Tool
This tool does all the heavy lifting. It consists of the following steps:
1. Inputs
There are two inputs: a place (as a string) and your Google Maps API key.
Get it here:
2. Google Maps Text Search API module
This module comes with the RelevanceAI's blocks. Its purpose is not to provide you with all the data but just to find a place and its id.
3. Python code for cleanup
I've written this lil’ snippet of code to get that place url for the subsequent module Just copy-paste it as is.
4. Place Details API
Finally, we can make a call to the detailed places API.
Notice that X-Goog-FieldMask is set to * – this means that all the fields will be returned. Typically, we'd avoid this for a large volume of requests but don't mind paying extra .001c for getting more insights 😏
Conclusion
This little mighty agent can be super-helpful when working with SMBs and preparing your cold outreach.
Connect with me on Linkedin or hire me for one of your projects: book a 15-min call
Clone this agent: https://app.relevanceai.com/agents/d7b62b/8fac6c73325c-42af-abca-e6e731f69d71/f88ac453-a3dd-474b-b70d-2d05aee85da1/clone