Building agents

How to use Google search, maps and price data in n8n workflows

Updated · 1ToolRing team

To use Google search data in n8n, call 1ToolRing from an HTTP Request node for fixed steps, or connect an AI Agent node through the MCP Client Tool node when the agent should pick tools itself. The workflow can then run dataforseo/serp/google-organic for Google results or anyapi/maps.search for places, item by item. One API key covers every tool, and you pay per call from a prepaid balance.

n8n builders reach for outside data all the time: a weekly rank check for a client's keywords, a list of businesses in a city for a market study, a price check on a few products, an exchange rate for a report. Each source usually means one more account and one more credential to look after.

With one data layer, the tool id becomes a value in the workflow and the credential stays the same. What remains is the work n8n users know well: shaping the input, handling slow runs, and stopping the workflow when a response is empty before a blank row reaches your sheet. This page sticks to search, maps and price data; the same node pattern works for any other tool in the catalog.

Paste this into your agent

Works in Claude, ChatGPT, Cursor, Codex, n8n and any MCP client. Change the placeholders, keep the row cap.

Set up 1ToolRing from 1toolring.com/install, then design an n8n workflow that runs every Monday, reads 20 keywords from a Google Sheet, calls dataforseo/serp/google-organic for each through an HTTP Request node, and writes the top 10 URLs per keyword back to the sheet with the date. Inspect the price first, cap it at 20 calls per run, and give me the JSON body for the node plus a Code node check that stops the run when a response has no results.

First time? Set up takes one command or one connector URL:

set up 1ToolRing - https://1toolring.com/llms.txt

Paste this into your agent's chat (Claude Code, Codex, Cursor, ChatGPT, claude.ai). Your agent sets up 1ToolRing and you sign in.

Tools this workflow uses

Your agent finds these with discover_tools and reads each input schema and price with inspect_tool. Both are free. Only a successful run is charged.

ToolWhat it does herePrice
dataforseo/serp/google-organicReturns live Google organic results for one keyword per call, the core of a rank check workflow.$0.0027 / callRp48 / call
anyapi/maps.searchReturns up to 20 Google Maps places per request with ratings and addresses, for local market lists.$0.0020 / unitRp36 / unit
dataforseo/google-shopping/productsReturns ranked Google Shopping products with prices and sellers for a product query.$0.0027 / callRp48 / call
1toolring/fx/latestReturns the latest daily exchange rates, for converting prices before they reach a report.$0.00028 / callRp5 / call

Step by step

  1. Create a key for the workflow. Create an API key on the Keys page of the 1ToolRing console and copy it, since it is shown once. A key per workflow can carry its own spending cap and be revoked without touching other agents.
  2. Pick the node. Use an HTTP Request node when the workflow always calls the same tool. Use an AI Agent node with an MCP Client Tool node when the agent should choose tools: set Endpoint to https://mcp.1toolring.com/mcp, Server Transport to HTTP Streamable and Authentication to Bearer Auth.
  3. Configure the HTTP Request node. Set Method to POST and the URL to https://api.1toolring.com/api/v1/tools/run. For Authentication, choose Generic Credential Type, then Bearer Auth with your key. The JSON body names the tool and its input, with values mapped from the previous node.
    {
      "tool": "dataforseo/serp/google-organic",
      "input": {
        "body": {
          "keyword": "{{ $json.keyword }}",
          "language_code": "id"
        }
      }
    }
  4. Read the schema first. Before you wire the body, call POST /api/v1/tools/inspect for the tool, which is free. It returns the input schema and the price, so you send only the fields the tool declares.
  5. Handle slow runs. A run that finishes in time answers 200 with the result in data.output and the charge in data.cost. A slow one answers 202 with a run_id, so add a Wait node and a GET to /api/v1/tools/runs/{run_id}, which is free, until the status is completed or failed.
  6. Stop on empty results. Check the field you actually map into the next node and throw an error in a Code node when it is missing or empty. The execution then goes to your error workflow, and the sheet keeps last week's good data.

Should I use the HTTP Request node or the MCP Client Tool node in n8n?

Match the node to who makes the decision: your workflow or the agent.

WorkflowNodeWhy
Same tool and inputs every runHTTP RequestPredictable cost and no model in the loop
A chat or agent that decides what to look upAI Agent with MCP Client ToolThe agent discovers and inspects tools itself
A loop over many itemsHTTP Request, pacedOne call per item, kept under the rate limit
A one-time tool lookup while buildingHTTP Request to the discover routeFind the tool id once, then hard-code it

Which Google search, maps and price data can n8n get from 1ToolRing?

The catalog covers search and SEO data, maps and places, e-commerce product and price data, and market data. Workflows that fit well:

  • A weekly rank check: dataforseo/serp/google-organic per keyword, with the top results and the week written to a sheet.
  • A local market list: anyapi/maps.search for a category in a city, up to 20 places per request, with duplicates removed before the sheet.
  • A product price check: dataforseo/google-shopping/products for a product query, keeping the lowest price and its seller per run.
  • A currency step: 1toolring/fx/latest once per run, so every price in the report uses the same daily rate.
  • A tool that is not available right now answers 403 TOOL_BLOCKED, and nothing is charged.

How do I keep tool ids and inputs flexible?

Hold the tool id in a Set node or a workflow variable and build the body from it. Switching to another tool for the same job then means changing one value, and the new tool's schema is one free inspect call away. Keep language and location values in the same place, so every item in a run uses the same market.

How do I control cost in an n8n workflow?

Know the price before the first run, since inspect is free and returns it. The most a run can cost is held when it starts and settled to the real cost, and a failed call costs nothing. The X-ToolRing-Cost-USD and X-ToolRing-Cost-IDR response headers carry the exact charge if you want to log it. A spending cap on the workflow's key stops a loop that runs longer than planned, and the tool routes allow 60 requests per minute per key, so pace large loops.

When is this the wrong setup?

If every step goes to one vendor you already pay for, and that vendor has a native n8n node with the trigger you need, that node is simpler. A workflow you will run twice and delete may not need a data layer at all.

What does it cost?

One weekly run: 20 keywords through Google organic results, one maps search and one exchange rate call.

CallToolCountUSDIDR
Google results for 20 keywordsdataforseo/serp/google-organic20$0.053Rp960
One maps searchanyapi/maps.search1$0.0020Rp36
Latest exchange rates1toolring/fx/latest1$0.00028Rp5
Total$0.055Rp1.001

Computed from list prices as of 2026-11-10. A run is held at its maximum and settled to the real cost, and a failed call is not charged. See how pricing works.

Questions

Do I need a community node?
No. The built-in HTTP Request node calls the REST API, and the MCP Client Tool node connects an AI Agent to the MCP server. Both use a Bearer Auth credential that holds your 1ToolRing API key.
The MCP Client Tool node only shows an SSE Endpoint field. What now?
That is an older version of the node. 1ToolRing uses Streamable HTTP, so update n8n or add a fresh MCP Client Tool node and choose HTTP Streamable.
Can I use the node's OAuth option?
The node lists it. The n8n guide uses an API key, because a key can be created per workflow, given a budget and revoked from the console without affecting other agents.
What happens when a run takes longer than the request?
The run route answers 202 with a run_id. Poll the run with a GET after a Wait node; polling is free, and the charge settles when the run finishes.
Do I need accounts with the data providers?
No. One 1ToolRing key and one prepaid balance cover every tool in the catalog.