Web Search Report Generator
This workflow performs a web search based on user input, fetches and summarizes the content of top URLs, and generates a markdown report.
Details
Created on: December 4, 2024
Last modified: December 4, 2024
Tags
Web Search
Automation
Report Generation
Markdown
Summarization
Description
This chatflow is designed to automate the process of generating a report from web search results. It begins with user input for a query and the number of top results (top_k) to consider. The Google Search API is used to perform the search, returning text-based results. A Python code node extracts URLs from these results, limited by the specified top_k value. An iteration node processes each URL using Jina's Fetch Single Page tool to retrieve page contents. Another LLM node then summarizes each page's content. If no content is found, it outputs 'Not Found'. Finally, another Python code node compiles these summaries into a markdown table format, which is used by an LLM node to generate a comprehensive markdown report summarizing all findings.
Flow Preview
This is a preview, to use it in Dify, click on the install button.