FM
FlowMarket
General Automation Beginner ⚡ 5 n8n Nodes

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. ...

🔌 Nodes & Integrations Used (2)

Execute Workflow Trigger HTTP Request

📖 Implementation & Setup Guide

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

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save AI-powered research assistant with Perplexity Sonar API.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation →