Get Page Content
Allows you to retrieve the contents of a specified webpage.
Input Fields
Module Configuration
This refers to the MAC Web Crawler Configuration set up in the Getting Started section.
Operation Fields
- Page URL: The webpage to fetch the contents for.
XML Configuration
Below is the XML configuration for this operation:
<mac-web-crawler:get-page-content doc:name="Get page content"
doc:id="8f436a64-1795-42a0-9fe7-69be66db235b"
url="#[payload.url]"
config-ref="MAC_WebCrawler_Config"/>
Output Field
This operation responds with a json
payload.
Example Output
{
"title": "The MuleSoft AI Chain (MAC) Project",
"url": "https://mac-project.ai/",
"content": "The MuleSoft AI Chain (MAC) Project DocsDocsAboutAbout GitHub GitHub (opens in a new tab) Light Build powerful AI Agents with MuleSoft AI Chain Seamlessly integrate cutting-edge AI capabilities into your MuleSoft ecosystem, enabling smarter automation and enhanced decision-making. Go to Docs→ Full-powered AI Agents with MuleSoft No Code / Low Code Development MS AI Chain enables MuleSoft developers to leverage powerful AI capabilities with minimal coding. Easily configure and manage AI agents directly within Anypoint Studio, streamlining the development process. MuleSoft AI Chain Project (MAC) is OpenSource MAC Project is an open-source project empowering developers to integrate advanced AI capabilities into the MuleSoft ecosystem. Join our community to collaborate, innovate, and drive the future of technology. Leverage AI Capabilities, Seamlessly Integrated with MuleSoft Enhance your MuleSoft ecosystem with advanced AI functionalities from multiple Large Language Models. Light We Are OpenSource © 2024 The MuleSoft AI Chain Project."
}