When to use this prompt
When sourcing leads for targeted sales or recruitment campaigns.
When refining searches in LinkedIn Sales Navigator, job boards, or Google.
When excluding irrelevant results to save research time.
When building high-quality prospect lists for outreach or marketing.
The prompt
Construct a Boolean search query to find leads in [Criteria 1] AND [Criteria 2] NOT [Criteria 3].
Ensure the query is optimized for platforms like LinkedIn Sales Navigator, Google, or resume/job search databases to yield high-quality, relevant results.
Variables to replace:
Real-life example of how to use this prompt
To start, let’s assume I’m a senior marketer at HubSpot. The prompt in the context of HubSpot would look like:
As you can see, this example demonstrates how the prompt leverages Boolean operators to precisely filter leads based on multiple criteria, improving efficiency and targeting in prospecting campaigns.

Example output from ChatGPT for this prompt
And here's the output:
Boolean Search Query:
("Marketing Manager" OR "Head of Marketing" OR "Marketing Director")
AND ("SaaS" OR "Software as a Service" OR "cloud software")
-NOT (Intern OR Internship)Explanation and Optimization Tips:
Title Variations:
"Marketing Manager"is the core title.Including
"Head of Marketing"or"Marketing Director"captures senior marketing roles in SaaS companies.Use parentheses to group title variations with
OR.
Industry/Company Type:
"SaaS"is the main keyword.Include
"Software as a Service"or"cloud software"for broader coverage of SaaS companies.
Exclusions:
-Internor-Internshipexcludes junior/temporary roles, filtering out low-value leads.
Platform-Specific Notes:
LinkedIn Sales Navigator:
You can place titles in the “Title” field and company type in the “Industry” or “Company” field to refine even further.
LinkedIn also supports
AND,OR,NOTdirectly in the search bar.
Google:
Use
site:linkedin.com/into search profiles orsite:resume.comfor resumes.Example:
site:linkedin.com/in ("Marketing Manager" OR "Head of Marketing") ("SaaS" OR "Software as a Service") -Intern
Resume/Job Databases:
Most resume databases support standard Boolean syntax (
AND,OR,NOT) but check if they requireANDto be implicit.
Or to be more specific:

Pro tips
Use quotes for exact phrases (e.g., “Marketing Manager”).
Combine AND, OR, and NOT operators strategically to expand or narrow searches.
Test queries in small batches to verify relevance before scaling.
Adjust criteria based on platform-specific search syntax and limitations.
