Smart AI Content Research System Fully Automated Deep Research with n8n (free template)
AI Summary
Creating a Reusable Workflow with Google Search
Overview
- Utilize Google search for free in automations.
- Aim for 100 free searches daily instead of 100 monthly.
Steps to Create the Search Engine
- Create Search Engine:
- Go to the Programmable Search Engine (link in description).
- Name it “AI Agents A2Z.” Configure to search the entire internet, excluding image searches.
- API Configuration:
- Enable programmatic access to get an API key.
- Set up a project if needed, then copy the generated API key.
API Integration
- Required parameters:
key
: API key.cx
: Search engine ID.q
: Search term.- Useful optional parameters:
gl
: Geolocation.num
: Number of search results (max 10).Workflow Setup in Automation
- Trigger: Start with a manual trigger; adjust later.
- Edit Fields Node:
- Set variables for API key, search engine ID, number of top results, context, and number of search terms.
- LLM Chain:
- Instruct LLM to generate search terms.
- Example search terms: “Best documentaries 2024,” “Top documentary series released in 2024.”
- Running Google Search:
- Use HTTP request node with appropriate parameters for the Google search request.
- Include site filters to avoid unwanted sites (e.g., exclude Reddit).
- Filtering Results:
- Filter to retain only HTML content.
- Use custom code to clean up markdown output.
- Summarization:
- Use LLM to summarize aggregated content.
- Include a step to assess relevance to the original context.
- Final Output:
- Aggregate results into a structured output for easy use.
Conclusion
- The workflow allows for deep research using Google search, leveraging a combination of LLMs and automation tools to create efficient search processes. Daily searches are limited to 100 for free, while exceeding this incurs costs.