Docs
MAC WebCrawler
Google Search

Google Search

Allows you to perform a Google search and return a list of websites matching the search criteria. You can then retrieve contents of the links using the Get Page Contents operation.

Get metags of a webpage

Input Fields

Operation Fields

  • Search Query: Your search query
  • API Key: Your API Key used to execute the search with Google

XML Configuration

Below is the XML configuration for this operation:

<mac-web-crawler:google-search doc:name="Google search"
 doc:id="e6754f9b-5414-4ff9-bb46-f8be7b01b05c"
 query="apple"
 apiKey="GOOGLE-API-KEY-HERE"/>

Output Field

This operation responds with a json payload.

Example Output

{
  "payload": {
    "searchParameters": {
      "q": "What is the MuleSoft AI Chain Project?",
      "type": "search",
      "engine": "google"
    },
    "answerBox": {
      "snippet": "MuleSoft AI Chain empowers our customers to accelerate the time-to-value of their AI investments with low-code MuleSoft development, seamless omnichannel connections to any LLM in use today, and a comprehensive suite of management tools.",
      "title": "Introducing the MuleSoft AI Chain Project: Simplify Orchestration of ...",
      "link": "https://blogs.mulesoft.com/news/mulesoft-ai-chain-project/",
      "date": "Sep 9, 2024"
    },
    "organic": [
      {
        "title": "The MuleSoft AI Chain (MAC) Project",
        "link": "https://mac-project.ai/",
        "snippet": "MAC Project is an open-source project empowering developers to integrate advanced AI capabilities into the MuleSoft ecosystem. Join our community to collaborate ...",
        "sitelinks": [
          {
            "title": "MuleSoft AI Chain Connector",
            "link": "https://mac-project.ai/docs/mulechain-ai"
          },
          {
            "title": "Einstein AI Connector",
            "link": "https://mac-project.ai/docs/einstein-ai"
          },
          {
            "title": "Docs",
            "link": "https://mac-project.ai/docs"
          },
          {
            "title": "About",
            "link": "https://mac-project.ai/about"
          }
        ],
        "position": 1
      },
      {
        "title": "Introduction - The MuleSoft AI Chain (MAC) Project",
        "link": "https://mac-project.ai/docs",
        "snippet": "Through the unification layer of MuleSoft AI Chain Connectors, customers can easily switch between LLMs and Vector Databases with zero effort.",
        "date": "Aug 20, 2024",
        "position": 2
      },
      {
        "title": "Introduction to MuleSoft's AI Chain Agent(MAC) - Medium",
        "link": "https://medium.com/another-integration-blog/introduction-to-mulesofts-ai-chain-agent-mac-91a494ef2184",
        "snippet": "MuleSoft's AI Chain Agent is an intelligent framework designed to enhance the integration and automation workflows by embedding AI into ...",
        "date": "Sep 11, 2024",
        "position": 2
      }
    ]
  }
}