Spiral gives your agent every tool with one account. Browse the tools →

n8n · Maps & Reviews

How to Use Google Maps directions in n8n

Returns routes with distances, estimated travel times, and ordered instructions between two places. Use it to compare access to a business or plan a visit.

Prompts to try with Google Maps directions in n8n

Copy an example into n8n, or ask in your own words.

Every Tuesday at 8 a.m. Pacific time, use Google Maps directions for a driving trip from Moscone Center to the Ferry Building in San Francisco and report returned route distances and estimated durations.

Google Maps directionsn8n
Try asking
  • Every Monday at 9am: scrape https://example.com/pricing with Google Maps directions and turn it into a comparison table.

  • Crawl the docs at https://docs.example.com with Google Maps directions and summarize each section.

  • Pull the latest posts from this blog with Google Maps directions and list their titles and dates.

  • Scrape the job listings at https://example.com/careers with Google Maps directions and give me a CSV.

How to set up Google Maps directions in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Google Maps directions in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Google Maps directions, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Google Maps directions

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "firecrawl-maps/businesses/directions",
        "input": {
          "origin": "<origin>",
          "destination": "<destination>"
        }
      }'

Then paste one of the prompts above: n8n finds Google Maps directions on Spiral, shows the price and runs it.

Google Maps directions providers and prices

Spiral runs Google Maps directions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
Maps · Directions
firecrawl-maps/businesses/directions

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Modedriving, walking, bicycling, or transitdriving

mode

Every API field of Maps · Directions is on its tool page: open its card above.

What can you do with Google Maps directions in n8n?

Receive a weekly brief on recent customer feedback at selected public businesses. A scheduled agent can also refresh business searches and route estimates for recurring visits, keeping the 60-review trend sample explicit.

Choose a restaurant and plan the trip

Find restaurants near San Francisco's Ferry Building, compare recent feedback and monthly rating patterns, then check travel time to the shortlist.

Compare hotels near a conference

Find hotels near the Austin Convention Center, examine service complaints and recent rating patterns, and compare routes to the venue.

Prepare competitor field visits

Find competing coffee shops in downtown Seattle, identify recurring customer complaints and recent rating patterns, and plan travel between selected locations.

Screen venues for a team event

Find bowling alleys in Chicago, compare group-service feedback and monthly rating patterns, and estimate travel from McCormick Place.

Questions about Google Maps directions in n8n

Can n8n use Google Maps directions?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Google Maps directions like any built-in tool.

How much does Google Maps directions cost in n8n?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use Google Maps directions in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Google Maps directions on its own Alexandria account.

How long does it take to set up Google Maps directions in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Google Maps directions runs?

Google Maps directions runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Where does Google Maps get business information?

Google combines business websites, licensed data, contributions from users and business owners, and its own interactions with businesses. A listing can contain information its owner did not supply.

How quickly does a business's overall rating update?

Google says a new review can take up to two weeks to affect the displayed overall score. That score averages all published Google ratings, while the monthly trend here uses the newest 60 reviews.

Does a business search cover every matching business?

It returns 20 listings per page. Google's local results are ranked by relevance, distance, and popularity, so a first page should not be treated as a complete business count.

Why can public reviews be missing or delayed?

Google checks reviews for policy compliance, which can delay publication by a few days. It also removes reviews for violations such as spam or inappropriate content.

Are transit directions available in every city?

No. Google says a local transit agency must add its route information before transit directions can be available for that city.

Get started

Start using Google Maps directions in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options