Query Perplexity AI from your n8n workflows
Ready for 3.0What this workflow does
This workflow has 4 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.perplexity.ai over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Params (Edit Fields (Set)): sets 3 fields: system_prompt, user_prompt, domains
- Perplexity Request (HTTP Request): calls api.perplexity.ai (POST)
- Clean Output (Edit Fields (Set)): sets 2 fields: output, citations
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest
From the author
This workflow illustrates how to use Perplexity AI in your n8n workflow. Perplexity is a free AI-powered answer engine that provides accurate, trusted, and real-time answers to any question. --- Credentials Setup 1/ Go to the perplexity dashboard, purchase…