How to build a Proposal Reference Agent
An AI-powered assistant that finds, summarizes, and emails relevant past proposals from Google Drive based on a user’s new project topic.
Challenge
Manually searching, summarizing, and sharing relevant past proposals for new project topics is time-consuming and error-prone.
Industry
Industrials
Department
Operations
Content Creation
Integrations
Gmail
OpenAI
Workflow Overview
1. User Inputs
Proposal Topic Input (
in-0)Purpose: The user enters the topic for a new proposal (e.g., “Identify proposals for a highway expansion project”).
Recipient Email Input (
in-1)Purpose: The user provides the email address to which the proposal summary and references will be sent.
2. Knowledge Base Search
Google Drive Knowledge Base (
knowledgebase-0)Purpose: Searches a designated Google Drive folder (“Proposals”) for documents relevant to the entered proposal topic.
How it works: Uses the topic from
in-0to semantically search and retrieve the most relevant proposal documents (e.g., PDFs about highway expansion, bridge rehabilitation, etc.).
3. Proposal Summarization
OpenAI LLM (
llm-0)Purpose: Summarizes the key points of the most relevant proposal(s) found in the knowledge base.
How it works: Takes the topic from
in-0and the content fromknowledgebase-0, then generates a concise summary.Output: A human-readable summary and a list of citations (references to the original proposal documents).
4. Full Proposal Extraction
Perplexity LLM (
llm-1)Purpose: Extracts the full plain text of the referenced proposals for inclusion in the email.
How it works: Receives the summary and citations from
llm-0, then uses a tool to fetch the actual proposal documents from Google Drive and converts them to plain text.
5. Email Sending
Send Proposal Reference Email (
action-2)Purpose: Sends an email to the recipient with the proposal summary and the full referenced proposals attached or included.
How it works:
Recipient: Uses the email from
in-1.Subject: References the proposal topic from
in-0.Content: Includes the summary from
llm-0and the full text fromllm-1.Attachments: Includes the referenced proposal documents.
Provider: Uses Gmail to send the email.
6. Output
Output Node (
out-0)Purpose: Indicates that the workflow has completed and the email has been sent.
Summary Table
Node Name | Description |
|---|---|
Proposal Topic Input ( | User enters the topic for the proposal search. |
Google Drive Knowledge Base | Searches for relevant proposals in Google Drive. |
OpenAI LLM ( | Summarizes the most relevant proposal(s). |
Perplexity LLM ( | Extracts the full text of referenced proposals. |
Recipient Email Input ( | User enters the recipient’s email address. |
Send Proposal Reference Email | Sends the summary and full proposals to the recipient via Gmail. |
Output Node ( | Indicates completion and successful email delivery. |
How Data Flows
User provides a topic and recipient email.
The system searches Google Drive for relevant proposals.
A summary of the best-matching proposal(s) is generated.
The full text of the referenced proposals is extracted.
An email is sent to the recipient with the summary and full proposals.
The workflow signals completion.





