跳转到主要内容

Google Search Console

当你需要查看网站在 Google 搜索结果中的展示方式,或管理其 Search Console 设置时,请使用此应用。你可以检查 URL、查看分析数据,并处理站点地图。

配置

在你配置此步骤之前,请使用登录流程在工作区的 Integrations 中连接 Google Search Console。如果没有可用的有效连接,步骤会显示一个警告,并提供指向 Integrations 的链接,而不是账户选择器。

Arguments form

当你选择某个操作时,Arguments 部分会显示一个由该操作输入 schema 驱动的表单。 当你更愿意手动编写完整的参数对象时,请切换到 Raw JSON 选项卡。任一选项卡中的更改都会保持同步。

Common actions

删除记录等破坏性操作在工作流操作选择器中不可用。

输出

此步骤会将 Google Search Console 的响应保存为步骤输出。响应的结构取决于该操作。 在后续步骤中使用完整的输出引用:

示例

  1. 打开 Integrations,如果你还没有这样做过,请连接 Google Search Console。
  2. 向你的工作流添加一个 Google Search Console 步骤。
  3. 在 Authentication 中选择一个已连接账户。
  4. 在 Action 中选择 Get Site。
  5. 填写必需字段。对任何字段值,使用 Insert Variable 引用前一个步骤的输出。
  6. 点击步骤标题中的 Run 来测试该操作,然后在 Output 中查看返回的有效载荷。

使用场景

检查页面索引状态

  1. List Sites
  2. Inspect URL
  3. Get Site

查看搜索表现

  1. List Sites
  2. Search Analytics Query

处理站点地图更新

  1. List Sites
  2. List Sitemaps
  3. Submit Sitemap

备注

  • 此步骤依赖于工作区中已连接的 Google Search Console 集成。
  • 工作流操作选择器会显示一组精选操作。拥有 Google Search Console 工具的智能体可以使用更多操作。
  • 登录界面可能会显示第三方授权品牌标识。

将 Google Search Console 作为智能体工具使用

你也可以在 Agent Editor 中将 Google Search Console 作为工具添加。打开智能体,点击 Add tool,然后选择 Google Search Console。在工具设置面板中,选择智能体应使用的已连接账户。智能体会在相关对话场景中调用 Google Search Console 操作。 另请参阅:Integrations、Creating and Editing 和 Testing and Iteration