← Back to library

Write a current company research report with live search

google-gemini's cookbook notebook shows Gemini with Google Search grounding researching a named company into an up-to-date report. Live search keeps figures from going stale, and the notebook pattern is meant to be copied and pointed at your own target firm instead of a demo.

  • OutcomeA concise report on a named company built from current search results, with sources, so it reflects recent news.
  • SetupUnder an hour
  • LevelIntermediate
  • Creditgoogle-gemini
View original
Works with
Gemini

Published Oct 20, 2026Updated Oct 20, 2026AI dry run on sample input: passed Oct 20, 2026Source verified Oct 24, 2026

When should you use it?

  • Preparing for a meeting with a new prospect or partner
  • Checking a vendor before signing
  • Account research that must reflect this month's news

Not for: Investment decisions or formal due diligence

What do you need, and what do you get?

You need

  • Company name
  • A Gemini API key with search grounding (paid tier)

You get

  • Short company report with sources

How does it work, step by step?

  1. Open the notebookOpen it on GitHub, or clone the repository and run it in Jupyter or Colab.
  2. Add an API keyThe notebook calls the model API; set the key as an environment variable, never in the notebook.
  3. Swap in your dataReplace the example data with a small, anonymized sample of your own.
  4. Check the resultsCompare outputs against what a person would have produced before using it on real work.

The prompt

The original prompt by Google (google-gemini/cookbook), word for word, with a link to where it was published. Below it is our adapted version with fill-in blanks, if you want it. Works in Gemini. Values in lime are placeholders.

Original prompt by Google (google-gemini/cookbook)

Word for wordby Google (google-gemini/cookbook)
You are an analyst that conducts company research.
You are given a company name, and you will work on a company report. You have access
to Google Search to look up company news, updates and metrics to write research reports.

When given a company name, identify key aspects to research, look up that information
and then write a concise company report.

Feel free to plan your work and talk about it, but when you start writing the report,
put a line of dashes (---) to demarcate the report itself, and say nothing else after
the report has finished.

Exactly as published by Google (google-gemini/cookbook) in Search grounding for research report · google-gemini/cookbook.

Our adapted version (optional)

Fill in the blanks (optional; the copied prompt uses your values)

Adapted prompt4 variables
Research {company} using web search and write a one-page report for {purpose}.
Cover: what they do, size indicators, recent news from the last {months} months with dates, leadership, and anything relevant to {our_offer}.
Link a source for each fact, say 'not publicly available' instead of estimating, and end with three talking points.

What can go wrong?

  • Search grounding is billed separately; check pricing before running at volume.
  • Open the sources for anything you will repeat to a client.

Our take

Account research goes wrong in one predictable way: the model describes the company as it was when its training data was collected. Search grounding fixes that, and this notebook is a clean example of the pattern, including a small but useful trick of separating the model's planning from the final report. In our dry run we used our prompt with web search for a sample regional accounting firm. The report covered services, size indicators, two recent announcements with dates and links, leadership names from the firm's own site, and three suggested talking points for an MSP sales call. It marked revenue as not publicly available rather than estimating it. Spend the saved time on the talking points: that's where research turns into a better meeting. Save each report with the date it was generated; research goes stale fast, and next quarter's report is more useful when you can see what changed since the last one.

Where the time goes back: Account research reflects this week's news, with sources to check, in a few minutes per company.

FAQ

Can I do this without the API?
Yes. Our prompt works in Gemini, ChatGPT or Grok with web search turned on; the notebook is useful when you want to run it for many companies.
Why not just ask a chatbot about the company?
Without search, answers come from training data that may be a year old. Grounding pulls current results and lets you check the sources.

Source and credit

The original prompt on this page is by Google (google-gemini/cookbook), shown word for word with a link to where it was published. The summary, notes and adapted version are ours.

Original
Search grounding for research report · google-gemini/cookbook
Creator
google-gemini
Published on
GitHub (google-gemini/cookbook)
License
Apache-2.0
Originally for
Gemini
AI dry run
Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. No estimated figures; sources linked.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 24, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

The original is licensed under Apache-2.0 by google-gemini. Modified: our adapted prompt and summary are our own wording; the original skill {"was unchanged at the source when we snapshotted it (live source later removed)" if src_removed(s) else "is unchanged at the source link"}.

Are you the creator? Claim or correct this page.

More in Sales

All 62 Sales playbooks →

Related playbooks

SalesWorkflow✓ AI dry run

Turn emailed video briefs into priced quotes you approve

Build an n8n workflow that reads a client's emailed brief and attachments, has a model pull out the job details, uses plain code to spot missing details and to price the job from your rate card, drafts a follow-up that requests just the missing details, and holds every quote for your approval in Slack before anything reaches the client.

Credit: Kingsley_Ken

An afternoon+
SalesRoutine✓ AI dry run

Get an automatic brief 15 minutes before every sales call

Set it up once: before each sales call on your calendar, the agent sends a short brief on the person, the last conversation, open commitments and the outcome to aim for.

Credit: Michael Fenech (@Michael_Fenech_)

Minutes
SalesPrompt✓ AI dry run

Prepare natural objection rebuttals

Draft confident, natural-sounding answers to the objections your team hears most.

Credit: OpenAI Academy

Minutes