Email Automation
Generate AI research reports from live web search with OpenAI and Gmail
When a form is submitted, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets.
What it does
# Research report generator from live web search Fill in a short form with a topic, who the report is for and what it needs to achieve, and a sourced research report lands in your inbox a couple of minutes later. The workflow finds its own sources through two separate web searches, so the report is built on current information rather than whatever the model remembers. ### How it works 1. A form collects the topic, the target audience and the goal of the report. 2. One web search covers the topic directly, and a second looks for expert opinion, data and statistics on it. 3. Results from both are merged, duplicate links are dropped, and up to fifteen sources are numbered. If one search fails, the report is still written from the other. 4. The first agent analyses those sources and returns key findings, supporting data, points of disagreement and a confidence level, each tied back to a source number. 5. The second agent writes the finished report for your stated audience and goal. 6. The report is formatted into an email with its sources listed, logged to your sheet, then sent to you. ### Setup 1. Add your OpenAI API key and connect your Google Sheets and Gmail accounts. 2. Create a free Serper account for Google search results and copy your API key. 3. Open Set config and fill in the Serper key, your email, your name and your sheet ID. 4. Create a tab called Research Log with headers for Date, Topic, Audience, Goal, Key Findings, Sources Used, Report Title, Confidence Level and Requested By. 5. Activate and share the form URL. ### Customization Change the second search query to look for case studies or competitor coverage instead of expert views.
The steps
- Research request form
- Set config
- Search the main topic
- Search the expert angle
- Combine the sources
- Analyse the sources
- Chat model - Analysis
- Output Parser - Analysis
- Write the report
- Chat model - Writing
- Output Parser - Report
- Build the report email
- Log the request
- Email the report
Similar automations
AI Agents & AssistantsLive Search Grok API with Claude Analysis via Webhook10 stepsAI Agents & AssistantsRun Live Web Research via Superhighway Search, News and Scrape Endpoints5 stepsAI Agents & AssistantsModerate Live Stream Chat with Claude and OpenAI10 stepsMonitoring, Ops & IncidentsCheck Backlinks Are Live with DataForSEO30 steps