ClaudeCreativeWritingAI score · 79/100AI-assisted edit · no obvious prompt-injection riskn8n.io

Generate prospect research & connection strategy reports with Claude AI

Input names and social URLs for both parties → sub-workflow researches → LLM generates actionable HTML report

Some experienceStepsWorkflowPrompt
Who
Outreach specialists, fundraisers, campaigners, and professionals who need to build authentic connections
You get
An HTML research report with background analysis, shared interests, conversation starters, and engagement tactics
You need
n8n

Constraints

Requires an n8n instance, an OpenRouter API key, and importing/linking the Multi-tool Research Agent sub-workflow (n8n template 5588). This workflow runs as an Execute Workflow Trigger, receiving 9 input fields.

What they did

openpaws published an n8n template workflow that receives a prospector's and prospect's names, social URLs, and outreach goal via an Execute Workflow Trigger, calls the Multi-tool Research Agent sub-workflow for deep research, and uses a Basic LLM Chain connected to OpenRouter Claude-sonnet-4 to generate an HTML research report addressed to the prospector.

How it went

The source describes that the workflow verifies identities, uncovers key connection points, and generates a comprehensive HTML report with actionable insights, conversation starters, and suggested engagement tactics (author_report).

Worth knowing

You must additionally import and link sub-workflow 5588 (Multi-tool Research Agent); without it the Call Research Agent node will fail. The workflow requires an openRouterApi credential and hardcodes the model to anthropic/claude-sonnet-4. The Report Writer prompt requires the first line to be raw HTML with no markdown or code blocks. If identity verification fails or information is sparse, the report will include IDENTITY VERIFICATION NEEDED or ADDITIONAL INFORMATION NEEDED sections. This site has not tested the workflow.

n8n workflow template

Structure checked · Not run-tested

Use “Import from File” in n8n, or copy the JSON and paste it into the editor. Connect your own accounts, then try test data. The template is inactive by default.

Setup and test checklist

Credentials to connect

  • OpenRouter Chat Model1 node: connect openRouterApi credentials.

Configuration to replace

  • Source template is n8n public workflow #6484 (~8 nodes). Keep inactive after import; verify triggers, expressions and external API endpoints.
  • Sticky-note guidance is informational; replace placeholders with your own accounts, sheet schemas or channel IDs.

Test input and expected output

  • Manually run the main path once in a test workspace and confirm credentialed nodes authenticate without errors.
  • Drive one synthetic/redacted sample through and check output fields and downstream writes before enabling in production.

Template changes

  • Author credential bindings, webhookId and execution data are removed; the workflow is inactive. Nodes, connections and original prompts are preserved. Not run-tested in n8n.
  • No business-logic edits; verify keys, quotas and privacy compliance before use.

Template retrieved: 2026-10-24

Steps

  1. Import workflows and configure credentials

    Import this template (6484) into n8n, plus the Multi-tool Research Agent sub-workflow (5588). Configure the openRouterApi credential in the OpenRouter Chat Model node.

  2. Enter profiles and outreach goal

    Via the When Executed by Another Workflow trigger, provide: Prospect Name, Prospect LinkedIn/Twitter/Instagram URLs, Outreach Goal, Prospector Name, Prospector LinkedIn/Twitter/Instagram URLs. Ensure social URLs are valid to improve research accuracy.

  3. Call the research sub-workflow

    The Call Research Agent node sends a comprehensive research directive (chatInput) to the sub-workflow, including both parties' social profiles, research methodology, connection analysis framework, and citation requirements. The sub-workflow returns structured research findings.

    Execution prompt · Source text。Call Research Agent node workflowInputs.value.chatInput field

    =# COMPREHENSIVE PROSPECT RESEARCH DIRECTIVE
    
    ## RESEARCH OBJECTIVE
    
    Research and analyze all available information about both the prospect and the prospector to identify optimal connection points. Your research must be thorough, accurate, and strategically aligned with the outreach goal.
    
    PROSPECT: {{ $('When Executed by Another Workflow').item.json['Prospect Name'] }}
    PROSPECTOR: {{ $('When Executed by Another Workflow').item.json['Prospector Name'] }}
    OUTREACH GOAL: {{ $('When Executed by Another Workflow').item.json['Outreach Goal'] }}
    
    ## PROVIDED SOCIAL PROFILES
    
    ### PROSPECT PROFILES
    - LinkedIn: {{ $('When Executed by Another Workflow').item.json['Prospect Linkedin URL'] }}
    - Twitter: {{ $('When Executed by Another Workflow').item.json['Prospect Twitter URL'] }}
    - Instagram:{{ $('When Executed by Another Workflow').item.json['Prospect Instagram URL'] }}
    
    ### PROSPECTOR PROFILES
    - LinkedIn: {{ $('When Executed by Another Workflow').item.json['Prospector Linkedin URL'] }}
    - Twitter: {{ $('When Executed by Another Workflow').item.json['Prospector Twitter URL'] }}
    - Instagram: {{ $('When Executed by Another Workflow').item.json['Prospector Instagram URL'] }}
    
    ## RESEARCH METHODOLOGY
    
    ### 1. PROFILE VERIFICATION
    - Verify that all provided profiles belong to the correct individuals
    - If multiple people share the same name, document distinguishing characteristics
    - Flag any uncertainty about profile ownership with clear reasoning
    
    ### 2. DEPTH-FIRST RESEARCH APPROACH
    - For each valid social profile, extract and document:
      * Professional history and achievements
      * Educational background
      * Geographic history (past and present locations)
      * Interests, hobbies, and passions
      * Values and causes they support
      * Content themes they engage with
      * Posting patterns and engagement style
      * Key relationships and networking patterns
    - For each extracted data point, include the exact URL source
    
    ### 3. EXPANDED SEARCH BEYOND PROVIDED PROFILES
    - Search for additional online presence (other platforms, websites, etc.)
    - Locate published content (articles, interviews, presentations)
    - Find event participation (conferences, webinars, panels)
    - Identify organizational affiliations (professional, volunteer, social)
    - Discover mentions in media and third-party sources
    - Document each new source with complete URLs
    
    ## CONNECTION ANALYSIS FRAMEWORK
    
    Systematically identify and evaluate potential connection points in these categories:
    
    1. PROFESSIONAL CONNECTIONS
       - Shared employers or business partners
       - Industry overlap and similar roles
       - Professional organizations/groups
       - Mentors/colleagues in common
       - Parallel career trajectories
    
    2. EDUCATIONAL INTERSECTIONS
       - Shared alma maters (any level)
       - Similar fields of study
       - Overlapping time periods at institutions
       - Notable professors or programs in common
    
    3. GEOGRAPHIC CONNECTIONS
       - Current location proximity
       - Shared previous locations
       - Regional cultural references or affiliations
    
    4. PERSONAL ALIGNMENT
       - Common interests and hobbies
       - Shared values and causes
       - Similar content engagement patterns
       - Complementary personality indicators
    
    5. NETWORK OVERLAP
       - Mutual connections (1st, 2nd, 3rd degree)
       - Shared event attendance
       - Common group memberships
       - Similar audience engagement
    
    ## HANDLING INFORMATION GAPS
    
    If initial searches yield insufficient information:
    
    1. IDENTITY VERIFICATION ISSUES
       - Expand search parameters to include alternative spellings, nicknames, or maiden names
       - Search for company affiliations + name combinations
       - Cross-reference with mentions in industry publications or events
       - If multiple potential matches persist, document each with distinguishing characteristics
    
    2. INSUFFICIENT CONNECTION DATA
       - Expand search beyond standard social platforms to niche forums, local news, alumni directories
       - Investigate company websites, team pages, and press releases
       - Look for content collaborations, co-authored works, panel discussions
       - Search for comments and interactions on third-party content
       - Explore professional repositories like GitHub, SlideShare, or Medium
    
    ## CITATION AND SOURCING REQUIREMENTS
    
    - Every factual claim must include an inline citation with the complete URL
    - Format: [Claim or information]. (SOURCE: https://full.url.here)
    - Include a comprehensive source list at the end of each section
    - Evaluate and note the credibility/recency of each source
    - For social media sources, include specific post dates where possible
    
    ## OUTPUT FORMATTING
    
    Your research report must:
    
    1. Begin directly with substantive findings - no preamble or methodology explanation
    2. Use clear hierarchical headings for easy navigation
    3. Employ bullet points and numbered lists for scannable content
    4. Bold key connection points and high-value insights
    5. Include a "Priority Connection Opportunities" section at the beginning
    6. Maximize length through RELEVANT information only
    7. Include all source URLs both inline and in a comprehensive reference section
    
    Your output will be processed by another system, so strict adherence to these formatting guidelines is essential.
  4. Generate HTML research report

    The Report Writer node (Basic LLM Chain), connected to the OpenRouter Chat Model (claude-sonnet-4), transforms the sub-workflow's research data into a structured HTML report addressed to the prospector. Sections include executive summary, background, interests, connection points, engagement strategy, and sourced citations.

    Execution prompt · Source text。Report Writer node text parameter (promptType=define)

    =CRITICAL OUTPUT INSTRUCTIONS — READ CAREFULLY
    
    1. FORMAT REQUIREMENTS:
       - Begin immediately with valid HTML - no markdown, backticks, or explanations
       - First line must be raw HTML (e.g., <div>, <section>, etc.)
       - Use semantic HTML5 tags (<header>, <section>, <h1>-<h3>, <p>, <ul>, <table>, etc.)
       - Include minimal inline CSS for readability (headings, spacing, colors)
       - Create a mobile-responsive design
    
    2. CONTENT STRUCTURE:
       - Title: "Prospect Research Report: [Prospect Name]"
       - Executive Summary: 2-3 sentence overview highlighting key connection opportunities
       - Background: Professional history, current role, company information
       - Personal Interests: Hobbies, causes, affiliations
       - Connection Points: Shared interests, experiences, or network connections with prospector
       - Engagement Strategy: Suggested talking points and approach
       - Sources: All references with properly formatted citations
    
    3. CITATION HANDLING:
       - Every external reference must be a clickable link (<a href="URL" target="_blank">Source Name</a>)
       - Include the full visible URL text after each citation (e.g., "Source Name (https://example.com)")
       - Group citations by section at the bottom of each relevant area
    
    4. DATA PROCESSING:
       - Merge and synthesize all information from the research data
       - Eliminate redundancies while preserving all unique insights
       - When conflicting information exists, note both versions with sources
       - If critical information is missing, note this briefly rather than claiming more research is needed
    
    5. INSUFFICIENT INFORMATION HANDLING:
       - If multiple people with the same/similar names were found, create a section called "IDENTITY VERIFICATION NEEDED"
       - In this section, list the different individuals found with distinguishing details for each
       - Include a clear HTML-formatted recommendation box suggesting specific additional information needed:
         • "Please request a new research report with the following information to ensure accurate identification:"
         • Request social media profiles (LinkedIn, Twitter, etc.)
         • Request company name, location, or other distinguishing professional details
         • Request any personal details that might help distinguish from others with similar names
       - If general information is sparse (regardless of identity clarity), include an "ADDITIONAL INFORMATION NEEDED" section
       - List specific types of missing information that would improve the report's usefulness
       - Format these recommendations prominently in a bordered box with a distinct background color
    
    6. PERSONALIZATION:
       - The prospect is {{ $('When Executed by Another Workflow').item.json['Prospect Name'] }}
       - The prospector is {{ $('When Executed by Another Workflow').item.json['Prospector Name'] }}
       - Address the report directly to the prospector
       - Focus on actionable insights that enable meaningful connection
       - Highlight 2-3 specific conversation starters based on the prospect's interests or background
    
    7. TONE AND STYLE:
       - Professional but conversational
       - Concise with bullet points where appropriate
       - Scannable with clear headings and short paragraphs
       - Objective but warm - focus on factual information presented in a helpful manner
    
    8. INPUT DATA:
    {{ $json.output }}
    
    This report should serve as a comprehensive but easily digestible guide that empowers the prospector to make an authentic personal connection with the prospect.
  5. Extract and output HTML

    The Set HTML node assigns the Report Writer's text output to an HTML variable. The final output is an HTML string ready to send, publish, or process further.

Prompt you can copy

Setup guidance · Editorial suggestion。Hand to setup assistant; confirm inputs and permissions first

This block is the prompt. Ads are never placed here.

You are reproducing n8n template 6484: a Claude AI-powered prospect research and connection strategy report generator. First confirm that sub-workflow 5588 is imported and the openRouterApi credential is configured, then enter both parties' social profiles and test.

This workflow runs as a sub-workflow (Execute Workflow Trigger) and requires 9 input fields from a parent workflow or manual test run.

Source

Generate prospect research & connection strategy reports with Claude AI · openpaws · n8n.io · 2025-07-26

Comments & feedback

Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.

Loading…

    Related