Prompt Details
Model
Chat - (gpt-5.1)
Token size
597
Example input
[Describe Agent Goal]: Automatically research a prospect’s company from a simple input (name + website), compile insights, and generate a short, personalized pitch brief for sales or outreach.
[Zapier / Make / n8n / API / Sheets / Notion / CRM]: n8n, Google Sheets, Notion, Webhooks, CRM (HubSpot/Pipedrive)
[Email / Form / CRM / Website / Upload / API]: Form (Typeform / internal Notion form) or CRM trigger
[Email / Report / Message / File / Schedule Task]: 1-page research brief (Notion page) Short pitch summary for outreach message Update CRM with key fields
[Budget / Speed / No-Code Only / Specific Apps]: No-Code / Low-Code only (n8n visual flows) Budget-conscious, limit API calls Speed okay (1–3 minutes per company is fine)
Example output
1️⃣ Agent Purpose & Role Definition
Agent Name: Prospect Research & Pitch Brief Bot
Responsibilities
Take a simple input: prospect name + company name or website.
Gather high-level info:
What the company does
Target customers
Main products / services
Size (team or revenue range if inferable)
Recent public info (news, blog topics, etc.).
Turn this into:
A clear company summary
Bullet-point pain points & opportunities
3–5 personalized angle ideas for outreach.
Store full brief in Notion + key fields in CRM.
Provide a short pitch snippet that can be used in email/DM.
Boundaries & Limitations
Agent works with public data only (no login-only data).
Agent does not make final outreach decisions – humans still approve and send.
Agent is not responsible for deep financial analysis; only high-level, approximate context.
No guarantee of 100% accuracy for inferred metrics (e.g., team size ranges).
Success Criteria
Each prospect brief generated within 3 minutes.
Briefs are structured, readable, and require minimal manual editing.
At least 80% of sales users say the brief is “useful” or “very useful” in a quick survey.
CRM always has:
Industry
Company summary
1–2 key pain points
Suggested angle tag (e.g., “Lead Gen”, “Operations Efficiency”).
---
2️⃣ Workflow Overview (High-Level Map)
Trigger Event
Sales rep submits a “Research Request” form with:
Prospect name
Company name
Website (if known)
Segment (SaaS, Agency, Ecommerce, etc.).
OR
A new contact is added in CRM with a website field → triggers research.
High-Level AI Logic Steps
1. Capture company/website.
2. Use AI to interpret basic details and search prompts (via a search/API node).
3. Gather/compile snippets:
“About” page, product page, blog titles, maybe top search result snippet.
4. GPT + Gemini:
GPT → main summary, pain points, opportunities.
Gemini → cross-check/public web-style recap & additional angles.
5. Merge insights into:
1-page Notion brief.
Short 2–3 sentence pitch snippet.
6. Push structured fields into CRM.
Decision Branches
If website missing → try to infer from company name using search; if fail → fallback minimal brief.
If search returns no meaningful info → tag as “Low info” and create skeleton brief only.
If company already has a brief in Notion → update instead of creating new.
Tools Involved
Form (Typeform / Notion form) or CRM trigger
n8n → workflow orchestration
Search / HTTP Request (for website content, public info)
GPT + Gemini → research understanding & summarization
Notion → store research brief
Google Sheets → log & QA
CRM → attach key fields to contact/company
Final Output
Notion page: “Company Research – [Company Name]”
CRM updated with summary, industry, and key tags
Optional: message to sales team (Slack/Email) with link to brief.
---
3️⃣ Step-by-Step Automation Flow
Step 1 – Trigger & Input Capture
Trigger:
New form submission OR
New/updated contact in CRM with website field.
AI Reasoning: None yet.
Tool Action:
n8n receives trigger data.
Data Movement:
Form/CRM → n8n workflow (company_name, website, prospect_name, segment).
Expected Response: Valid job started in n8n.
Error Handling:
If no company_name and no website → log “Insufficient input” to Sheet and stop.
---
Step 2 – Website & Basic Data Fetch
Trigger: n8n workflow running with company_name or website.
AI Reasoning Step:
Optional: GPT helps generate a smart search query if website is missing.
Tool Action:
If website provided:
HTTP Request node → fetch homepage HTML.
If website missing:
Search API / custom endpoint → find likely official site URL.
Data Movement:
Input fields → HTTP request → raw HTML / metadata.
Expected Response:
At least homepage content or top search snippet.
Error Handling:
If fetch fails → mark as “No website data”, proceed with only general info (company name + segment).
---
Step 3 – Content Extraction
Trigger: HTML or text content available.
AI Reasoning Step:
Use GPT to extract only meaningful text:
About/hero copy
Product descriptions
Headings / value propositions.
Tool Action:
n8n → send HTML + guidelines to GPT → get cleaned structured text (sections).
Data Movement:
Raw HTML → GPT → JSON with:
about_text
product_overview
value_props[].
Expected Response: Clean structured representation of site.
Error Handling:
If GPT output invalid → run backup regex/text-cleaning or default to search snippet text only.
---
Step 4 – Company Summary & Classification
Trigger: Structured site text ready.
AI Reasoning Step:
GPT prompt:
“Summarize this company in 3–5 sentences. Classify: industry, target customer, approximate positioning.”
Tool Action:
GPT → returns:
company_summary
industry
target_customer
keywords[].
Data Movement:
Structured text → GPT → JSON summary.
Expected Response: Clear, concise, human-readable summary.
Error Handling:
If summary empty → create generic fallback:
“This appears to be a [segment] company. Their website does not provide enough details for a deeper summary.”
---
Step 5 – Pain Points, Opportunities & Angles
Trigger: Company summary available.
AI Reasoning Step (Multi-AI):
GPT:
Generate 5–7 likely pain points based on industry & target customer.
Suggest where your solution can help (e.g., lead gen, automation, analytics).
Gemini:
Cross-check or add 2–3 additional unique insights (e.g., based on recent trends in that industry).
Tool Action:
Two AI calls (one to GPT, one to Gemini) via n8n HTTP nodes.
Data Movement:
Summary → GPT & Gemini → combined list of:
pain_points[]
opportunities[]
outreach_angles[].
Expected Response: Bullet lists with clear, non-generic points.
Error Handling:
If Gemini fails → continue with GPT’s output only.
If both fail → create a generic industry-based pain point list template.
---
Step 6 – Pitch Snippet Generation
Trigger: Angles & summary ready.
AI Reasoning Step:
GPT generates:
1 outreach hook line
2–3 sentence personalized blurb referencing their company.
Tool Action:
n8n → GPT node with constrained format:
subject_line
short_pitch.
Data Movement:
Summary + angles → GPT → pitch snippet JSON.
Expected Response: Directly usable copy for email/DM.
Error Handling:
If output too long → re-prompt GPT with length constraints.
---
Step 7 – Notion Brief Creation
Trigger: All data ready (summary, pain points, angles, pitch).
AI Reasoning Step: None (just formatting).
Tool Action:
n8n → Notion “Create page” in “Prospect Briefs” database:
Title: [Company Name] – Research Brief
Properties:
Company, Website, Industry, Segment, Status
Page content:
Summary
Products/Services
Pain Points
Opportunities
Outreach Angles
Pitch snippet.
Data Movement:
AI outputs → formatted Notion page.
Expected Response: Accessible brief link.
Error Handling:
If Notion API fails → log to Sheet + send a link-less summary to CRM notes.
---
Step 8 – CRM & Logging
Trigger: Notion page created (or attempted).
AI Reasoning Step: None.
Tool Action:
CRM:
Update contact/company record with:
Industry
Company_summary (shortened)
Main_pain_point
Primary_outreach_angle
Notion_brief_URL.
Google Sheets:
Log each run (timestamp, company, success/fail, Notion URL).
Data Movement:
Structured data → CRM fields & Sheet rows.
Expected Response: CRM enriched + log created.
Error Handling:
If CRM update fails → highlight row in Sheet with error message.
---
4️⃣ Multi-AI Agent Logic
Which AI Handles What
GPT:
HTML → clean text
Company summary
Pain points & opportunities
Outreach angles
Final pitch snippet.
Gemini:
Industry-level context & trends
Adding extra angles or validating that points are not outdated.
Communication & Handoff
1. GPT: turn messy website content into structured company data.
2. GPT: draft initial pain points & angles.
3. Gemini: given company summary + industry, suggest new or refined angles.
4. n8n: merge lists (GPT + Gemini), de-duplicate.
5. GPT: final pass to produce one coherent structured brief & pitch text.
When Handoff Happens
After base summary (GPT) → send summary to Gemini for extra context.
After combined list assembled → back to GPT for final formatting & polish.
Validation Steps
GPT used as final validator:
Check for:
Confidentiality issues
Overly specific claims with no basis (“they have 500 employees”)
If GPT flags risky statements → remove or generalize.
If any key section empty → apply fallback:
Use generic industry templates for pain points & angles.
---
5️⃣ Tool Integration Blueprint
Best Automation Platform
n8n for this use case:
Flexible with many HTTP/API steps
Great for branching and mapping
Self-hostable for cost control.
App Connections Needed
Trigger source:
Typeform / Notion / CRM Webhook
AIs:
GPT API
Gemini API (e.g., via Google AI endpoint)
Storage & Docs:
Notion (briefs)
Google Sheets (logging)
CRM:
HubSpot / Pipedrive / Close etc.
Input → Output Mapping
Input (Form/CRM) → n8n
prospect_name
company_name
website
segment.
n8n → HTTP / Search
Input: company_name or website
Output: homepage HTML or snippet.
n8n → GPT (extraction)
Input: HTML/snippet
Output: structured text fields.
n8n → GPT + Gemini (analysis)
Input: structured company info
Output: summary, pain points, opportunities, angles.
n8n → GPT (final copy)
Input: all insights
Output: formatted brief & pitch.
n8n → Notion
Input: final structured brief
Output: Notion page with all sections.
n8n → CRM
Input: key fields + Notion URL
Output: enriched contact/company record.
n8n → Sheets
Input: summary of run
Output: log row.
API Considerations
Add rate limit delays if running many research jobs.
Keep AI prompts efficient (avoid feeding entire huge HTML, preprocess it).
Use truncation & summarization on large pages before sending to AI.
Store API keys in n8n credentials, not hard-coded.
---
6️⃣ Memory, Context & Data Handling
How the Agent Stores Information
Long-form memory:
Each company brief stored in Notion.
Operational memory:
Google Sheets logs for:
Which companies already researched
Error rates.
Short contextual memory:
CRM fields act as quick reference for future campaigns.
What Data It Needs to Remember
For each company:
Brief URL
Summary
Key pain point
Main outreach angle.
For the system:
How often briefs are used
Common industries → later you can prebuild industry templates.
How to Avoid Errors
Validate website URLs (basic format) before HTTP call.
Limit AI claims to “based on website and public info” – avoid fake numbers.
Use a final “sanity check” GPT prompt:
“Is any part of this brief making very specific claims that aren’t clearly supported by the website text? If yes, flag them.”
Optionally require human approval on high-value accounts before marking brief as “Ready”.
Safety + Fallback Suggestions
For high-ticket accounts, send Notion brief link to a review Slack channel before use.
If website or search fails:
Generate industry-level generic brief using only segment + company name.
Clearly mark these in Notion as “Low confidence / template-based”.
---
7️⃣ 7-Day Setup Plan
✅ Day 1 – Define Research Output
Decide exact structure of the brief:
Sections, headings, bullet counts.
Create Notion database:
Properties: Company, Website, Industry, Status, Owner, Brief URL.
✅ Day 2 – Connect Tools in n8n
Install/configure n8n (cloud or self-hosted).
Add credentials:
GPT API
Gemini API
Notion
Sheets
CRM.
✅ Day 3 – Build Minimal Flow
Trigger: manual webhook or simple test form.
Steps:
Capture input
Hit a dummy endpoint or static data for testing
Send to GPT for summary only.
Ensure data passes successfully.
✅ Day 4 – Add Real Web Fetch + Extraction
Add HTTP node to fetch website content.
Connect GPT to clean & extract key text.
Log raw + cleaned text to Sheet to visually check quality.
✅ Day 5 – Add Multi-AI Logic & Notion
Add Gemini step to enhance angles.
Build final GPT step to assemble full brief.
Create Notion page via API with structured content.
Test with 5–10 real companies.
✅ Day 6 – CRM Integration & QA
Map important fields into CRM (industry, summary, main angle).
Have sales team:
Review a batch of briefs
Rate usefulness
Give feedback on structure & tone.
Adjust prompts/templates.
✅ Day 7 – Soft Launch & Optimization
Let sales use the agent for real prospects (still labeled as “Beta”).
Track:
Time saved vs manual research
Any embarrassing mistakes → refine prompts.
Add small improvements:
Better Slack/Email notifications
Tagging high-priority accounts
Faster retries on failed HTTP/AI calls.
---
By purchasing this prompt, you agree to our terms of service
GPT-5.1
Many people want to build AI agents that work across multiple tools, but they struggle to design the workflow, logic, and task flow.
How This Prompt Helps:
✅ See Prompt Result to understand how this prompt help you
✅Suggests ideal tools (Zapier, Make, n8n, APIs, CRMs, email tools)
✅Builds a logical workflow from trigger → decisions → actions
✅Helps define inputs, reasoning steps, memory, and outputs
✅ Help to Makes it easier to create autonomous systems
...more
Added over 1 month ago
