AI-Powered Research Assistant with Perplexity Sonar API
Name: AI-Powered Research Agent using Perplexity Sonar
Description: This workflow acts as an AI-powered research assistant using the Perplexity Sonar model. When triggered by another workflow, it sends a user-defined prompt to the Perplexity API to retrieve up-to-date search results. The response is then parsed into a clean format for downstream processing.
How it Works: Trigger: Activated from another workflow via Execute Workflow Trigger.
Prompt Setup: Sets a system role message and user query dynamically.
API Call: Sends a POST request to Perplexity's /chat/completions endpoint with your credentials.
Response Handling: Extracts the message content from the API response.
Output: Returns the result, ready for display or further processing.
Requirements: A Perplexity AI API Key
Set up authentication via Header Auth with Bearer token
Ensure your account allows outbound HTTP requests in n8n
Customization Tips: Modify the system prompt to suit your research domain
Chain this workflow with other automation like blog creation, summaries, etc.
Replace the output handling logic to fit into Google Sheets, Notion, or Telegram
Related Templates
AI Weather Forecasts with MCP Integration
Real-time Weather Forecasts with MCP Tools This n8n workflow demonstrates how to integrate real-time weather intelligen...
Google Sheets UI for n8n Workflow
Google Sheets UI for Workflow Control This n8n template provides a practical and efficient way to manage your n8n workf...
Demo Workflow - How to use workflowStaticData()
This workflow demonstrates how to use the workflowStaticData() function to set any type of variable that will persist wi...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments