AI-Powered Competitor & Targeted Research with Perplexity
detail.loadingPreview
This n8n workflow leverages Perplexity AI to perform targeted research, allowing you to compare platforms, gather insights from specific domains, and even adopt a custom AI persona. It streamlines the process of getting structured, cited responses for efficient information gathering.
About This Workflow
Unlock powerful, AI-driven insights with this n8n workflow integrating Perplexity AI. Designed for targeted research, it allows you to define a specific AI persona (like an "n8n fanboy") and restrict searches to particular web domains, ensuring highly relevant and cited responses. Whether you're comparing competitors like n8n and Make, or gathering data on any topic, this workflow automates the process of querying a sophisticated LLM and neatly extracting the core answer along with its sources. Enhance your market intelligence, content creation, and research capabilities with unprecedented speed and accuracy using models like "Sonar Pro" for cutting-edge responses.
Key Features
- Intelligent AI Persona Customization: Define a specific voice or viewpoint for the AI (e.g., "n8n fanboy") using a system prompt for nuanced responses.
- Domain-Specific Research (RAG): Focus your AI's search on predefined websites (e.g.,
n8n.io,make.com) to ensure highly relevant and accurate information with citations. - Automated LLM Integration: Seamlessly connect to the Perplexity AI
chat/completionsendpoint, leveraging advanced models for cutting-edge responses. - Structured Output & Citation Extraction: Automatically parse the AI's response, extracting the main content and all relevant citations into easily digestible fields.
- Streamlined API Key Management: Simple setup for Perplexity API credentials using n8n's secure credential storage.
How To Use
- Perplexity API Key Setup:
- Visit
https://www.perplexity.ai/settings/apito generate your Perplexity API Key. You may need to purchase credits. - In the
Perplexity Requestnode, select "Generic Credentials" for Authentication and "HTTP Header Auth". - Create a new credential: Name
Authorization, and ValueBearer YOUR_PERPLEXITY_API_KEY(replaceYOUR_PERPLEXITY_API_KEYwith your actual key).
- Visit
- Customize Research Parameters:
- Open the
Set Paramsnode. - Adjust the
system_promptto define the AI's persona (e.g., "You are a helpful assistant."). - Modify the
user_promptwith your specific research question (e.g., "What are the benefits of cloud computing?"). - Update the
domainsfield with a comma-separated list of websites you want the AI to search (e.g.,aws.amazon.com, azure.microsoft.com).
- Open the
- Execute the Workflow:
- Click "Test workflow" to run a manual test and see the results.
- For live automation, activate the workflow.
- Review Output:
- The
Clean Outputnode will provide the AI'soutput(the answer) and acitationsarray, ready for use in subsequent nodes or data storage.
- The
Apps Used
Workflow JSON
{
"id": "b9ae2780-61c1-40e9-91a5-f279261ecf31",
"name": "AI-Powered Competitor & Targeted Research with Perplexity",
"nodes": 6,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b9ae2780-61c1...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.
Automate LinkedIn Content Promotion for Your Ghost Blog with AI
Effortlessly promote your latest Ghost blog posts on LinkedIn. This workflow leverages AI to generate engaging, professional LinkedIn messages based on your article content and saves them, along with article metadata, directly to a Google Sheet.
AI-Powered Instagram Comment Automation
This n8n workflow intelligently automates responses to Instagram comments, leveraging advanced AI to engage with your audience. It filters out irrelevant content and personalizes replies, saving you time while boosting your social media presence.