Step 1: Plan Your Agent’s Workflow
Before building your agent, it’s helpful to map out the steps it will follow:- Get the name of the executive and their company from the user
- Search Google News for recent articles about that executive
- Generate a summary of the news articles found
- Display the formatted summary to the user
Step 2: Create a New Agent
- In the Builder Tool, click “Create a new agent” and select “Start from scratch”
- Name your agent (e.g., “Executive News”)
- Add a description: “Given the name and Company of an executive, summarize the news about them from the past week”
Step 3: Configure User Input
- Add a “Get user input” action
- Enter the prompt: “Enter the name and Company of the executive”
- Save the output as “exec”
Step 4: Set Up Google News Search
- Add a new action and select “Input & Data Retieval”
- Choose the “Google News” connector
- Configure the search to use the executive’s name and company
- Set the time period to “Last 7 days” (you can adjust to 30 days if needed)
- Save the output as “news”
Step 5: Create a Summary with AI
- Add a “Generate Content” action under AI & Content Generation
- Select your preferred model (e.g., GPT-4)
- Write a prompt like: “I am providing you with news articles about an executive. Please review each article and generate a summary that includes: 1) the title of the article, 2) the link to the article, and 3) a brief summary of the content.”
- Make sure to include the variable containing your news articles: “news”
- Save the output as “formatted_news_summary”
Step 6: Display the Results
- Add a “Show user output” action
- Insert the variable containing your formatted summary: “formatted_news_summary”
- Save your agent
Step 7: Test and Debug
- Run your agent from the Run screen
- Enter an executive’s name and company (e.g., “Satya Nadella Microsoft”)
- Review the results
- If needed, go back and refine your prompts or settings
Tips for Improvement
- You can enhance your agent by adding instructions to remove duplicate articles
- Consider adjusting the time period if you need more or fewer results
- Refine your AI prompt to get more specific types of information about the executive

