Generate AI Responses with Perplexity Sonar Models (Reusable Module)
Ready for 3.0What this workflow does
This workflow has 3 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.
- Parameters (Edit Fields (Set)): sets 1 field: model
- Perplexity API Request (HTTP Request): calls api.perplexity.ai (POST)
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
Perplexity API Module This reusable workflow allows you to interact with the Perplexity API using the sonar or sonar-pro models. It is designed to be triggered from other workflows and accepts dynamic prompts via input parameters. Features - 🧱 Modular:…