Graphrt

Google Search Console

Search analytics (klik, impresi, CTR, posisi per query, halaman, negara, perangkat dan tanggal, per halaman baris), inspeksi URL, site dan sitemap (OAuth atau service account, scope baca kecuali menulis). Submit sitemap dan tambah site oleh agent harus diizinkan, penghapusan hanya lewat node

Beta v0.1.0 Node.js 11 aksi
Pakai di Graphrt Desktop

Tentang

Plugin Graphrt untuk Google Search Console API v1. Mencakup Search Analytics (klik, impresi, CTR dan posisi dari Google Search), URL Inspection, site dan sitemap. Semua method dipanggil ke https://searchconsole.googleapis.com (site, sitemap dan Search Analytics di path /webmasters/v3/... yang masih dilayani host itu, URL Inspection di /v1/...).

Yang bisa dilakukan

  • query_search_analytics: rows grouped by dimensions (date, hour, query, page, country, device, searchAppearance) for a date range, with dimension_filter_groups, search_type (web, image, video, news, discover, googleNews), aggregation_type and data_state (final, all for fresh data, hourly_all with the hour dimension). limit is rowLimit (1–25,000, default 1,000) and cursor is startRow: next_cursor is set while a page comes back full.
  • inspect_url: index status of one URL (verdict, coverage, last crawl, canonicals, mobile usability, rich results)
  • Sites: list_sites, get_site, add_site (opt-in), delete_site (node only)
  • Sitemaps: list_sitemaps (optionally inside a sitemap index), get_sitemap, submit_sitemap (opt-in), delete_sitemap (node only)
  • api_request: any other endpoint, e.g. /webmasters/v3/sites (GET only for agents)

Aksi

Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.

  • List sites google-search-console.list_sites
  • Get site google-search-console.get_site
  • Add site google-search-console.add_site
  • Remove site google-search-console.delete_site
  • Search analytics google-search-console.query_search_analytics
  • List sitemaps google-search-console.list_sitemaps
  • Get sitemap google-search-console.get_sitemap
  • Submit sitemap google-search-console.submit_sitemap
  • Delete sitemap google-search-console.delete_sitemap
  • Inspect URL google-search-console.inspect_url
Tampilkan semua 11 aksi
  • Google Search Console API request google-search-console.api_request

Pengaturan

Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.

  • GOOGLE_REFRESH_TOKEN
    OAuth refresh trio (scope webmasters.readonly, webmasters if you use the writes)
  • GOOGLE_SERVICE_ACCOUNT_JSON
    Path to a service account key file, add the service account's email as a user of each property
  • GOOGLE_ACCESS_TOKEN
    A ready access token (used only when neither of the above is set)
  • GOOGLE_SEARCH_CONSOLE_TOOL_ALLOW_WRITES
    1 lets agent tools use submit_sitemap and add_site
  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • GOOGLE_SEARCH_CONSOLE_TOOL_TOKEN_SOURCE

Cara memakainya

Di Graphrt Desktop

  1. Buka Plugins dan cari Google Search Console.
  2. Klik Install lalu setujui.
  3. Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
  4. Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Plugin di Graphrt Desktop

Dengan CLI

terminal
$ graphrt plugin install google-search-console
workflow.yaml
- id: pages
  type: google-search-console.query_search_analytics
  site_url: "https://www.example.com/"
  start_date: "2026-10-01"
  end_date: "2026-10-31"
  dimensions: [page, device]
  dimension_filter_groups: [{ filters: [{ dimension: country, operator: equals, expression: idn }] }]
  limit: 100
- id: inspect
  type: google-search-console.inspect_url
  site_url: "https://www.example.com/"
  inspection_url: "https://www.example.com/produk/sepatu"
Plugin di docs