Perplexity Sonar AI Response Generator (Reusable Module)
Reusable n8n workflow module for generating AI responses with Perplexity's Sonar or Sonar-Pro models. Trigger from other workflows by passing system and user prompts for seamless integration.
This workflow serves as a modular component for n8n automations, enabling interaction with Perplexity's chat completions API using advanced Sonar or Sonar-Pro models. It accepts two key inputs: a SystemPrompt for defining the AI's behavior and a UserPrompt for the specific query. The workflow handles API authentication via Bearer token, sends the request to the /chat/completions endpoint, and returns the generated response, making it ideal for embedding in larger automations without redundant se
Platform
n8n
Category
Education
Price
$12.99
Creator
Fred Garcia
perplexity
ai-generation
sonar-model
llm-api
reusable-module
content-creation
education
universities
chat-completions
automation
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.