Calculating Miles between to cities (Distance)

This is a little abstract but i’m looking for recomendations on how I could get Ragic! to calculate the distance in miles between 2 cities (City and state or zip code), ideally by drivable miles, not as the bird flies.

Any ideas? API? JS Calls?

I suppose if there’s a Google Map API for this type of call. You can do it with Ragic’s Javascript Workflow engine calling the API:

Thank you Jeff. that’s what i was thinking

There is an formula and set of data out there (I believe you can find for free if you hunt for it) that converts zip codes to latitudes and longitudes to calculate straight line distance between zip codes.