Use Cases
- Extracting webpage content for blog posts in Markdown format
- Automating content retrieval for data analysis and reporting
- Simplifying web content for easier readability and sharing
How It Works
Triggers on receiving a chat message with a query string Processes query parameters to extract URL and method Performs an HTTP request to fetch webpage content Handles errors and extracts the HTML body from the response Cleans the HTML by removing unnecessary tags and scripts Converts the cleaned HTML into Markdown format Checks content length and prepares the final output
Setup Steps
- 1Import the workflow template into your n8n instance
- 2Configure the OpenAI credentials for the AI agent node
- 3Set up the webhook for receiving chat messages
- 4Test the workflow by sending a chat message with a valid query string
Apps Used
OpenAI
Telegram
Web Browser
Categories
Target Roles
Tags
#ai content generation
#text processing
#workflow management