SerpApi(Google 搜索)节点(SerpApi (Google Search) node)#
SerpAPI 节点允许你工作流中的 代理 调用谷歌的搜索 API。
🌐 The SerpAPI node allows an agent in your workflow to call Google's Search API.
本页提供 SerpAPI 节点的参数以及更多资源的链接。
🌐 On this page, you'll find the node parameters for the SerpAPI node, and links to more resources.
凭证
你可以在此处找到此节点的认证信息。
Parameter resolution in sub-nodes
Sub-nodes behave differently to other nodes when processing multiple items using an expression.
Most nodes, including root nodes, take any number of items as input, process these items, and output the results. You can use expressions to refer to input items, and the node resolves the expression for each item in turn. For example, given an input of five name values, the expression {{ $json.name }} resolves to each name in turn.
In sub-nodes, the expression always resolves to the first item. For example, given an input of five name values, the expression {{ $json.name }} always resolves to the first name.
节点选项(Node options)#
- 国家:输入你想使用的国家代码。有关支持的国家及其代码,请参阅 Google GL 参数:支持的 Google 国家。
- 设备:选择要使用的设备以获取搜索结果。
- 显式数组:选择是否强制 SerpApi 获取 Google 结果,即使已经存在缓存版本(开启)或不获取(关闭)。
- Google 域名:输入要使用的 Google 域名。有关支持的域名,请参阅 支持的 Google 域名。
- 语言:输入你想使用的语言代码。有关支持的语言及语言代码,请参阅 Google HL 参数:支持的 Google 语言。
模板和示例(Templates and examples)#
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Serp 的文档。你还可以查看 LangChain 关于其 Serp 集成的文档。
🌐 Refer to Serp's documentation for more information about the service. You can also view LangChain's documentation on their Serp integration.
View n8n's Advanced AI documentation.