Use external API data in fields

I’d like to be able to make API calls from within a cell, and use the data returned as the data in the cell. Similar to how the AI-field works, there would be a “generate” (or similar) button, and the field-value would be replaced with the returned values.

Further, it would then be great to be able to search for key/value pairs from within a formula field.

Here’s one instance of a use-case, though I’m sure there would be many, many others:

We log customers in Baserow, and keep track of their physical/mailing addresses, which is always a street address. I’d like to automatically collect the coordinates of each location as well. I’ll use these coordinates to build custom maps-tooling on some job-tracking software we’re building, with data being fed via our Baserow tables.

The best/easiest way to do this is through geocoding APIs like Google’s.

It would be great if I could click a “Generate Coordinates” button, and it would create a call to Google’s geocoding API, passing along my api key, and the street address field. Then the returned JSON data would be inputted into the field as its data. From there, I could use a formula field to parse the data, pulling only what I need from the JSON data.

Hey @bud, noted! I’ll discuss the request with the team :raised_hands:

Hey @bud, I’ve checked with the team, and the Button field should do what you need - it’s on our roadmap for this year. Also, another option would be to use Automations in the future. :slightly_smiling_face:

Thanks for the reply! Looking forward to the implementation.

My current workaround is to have a separate nodejs server hosting an API that ingests baserow data through the API, then passes it to Google’s API to parse/geocode, then returns the values to my map-tooling platform, or back into Baserow. A bit of a workaround, but it’ll do for now! Was a good excuse to re-familiarize myself with expressjs, ha.

Thanks for sharing a workaround @bud, might be useful for other members looking for the same functionality. :raised_hands:

1 Like