AI-powered research assistant with Perplexity Sonar API
Ready for 3.0What this workflow does
This workflow has 4 nodes and runs when another workflow calls it. It uses only n8n's built-in nodes. It also calls api.perplexity.ai over HTTP.
How it runs
Trigger: When another workflow calls it.
- Set Prompt Variables (Edit Fields (Set)): sets 2 fields: System, User
- Perplexity Research Content (HTTP Request): calls api.perplexity.ai (POST)
- Extract API Response (Edit Fields (Set)): sets 1 field: Respone Message Content
HTTP calls to: api.perplexity.ai
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (3)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest
From the author
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…