Generate AI Responses with Perplexity Sonar Models (Reusable Module)
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: Triggered using Execute Workflow from any other workflow - 📥 Inputs: - SystemPrompt: Set your system-level instruction for the LLM - UserPrompt: The main user prompt for the conversation - 🧠 Uses Perplexity’s chat/completions endpoint - 🔐 Built
At a glance
Generate AI Responses with Perplexity Sonar Models (Reusable Module) is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Perplexity. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Perplexity
- Modules
- 3
- Price
- Free
- Version
- v1.0

About this workflow
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: Triggered using Execute Workflow from any other workflow - 📥 Inputs: - SystemPrompt: Set your system-level instruction for the LLM - UserPrompt: The main user prompt for the conversation - 🧠 Uses Perplexity’s chat/completions endpoint - 🔐 Built with API authentication in mind (Bearer token or header auth) - 🔁 Easily extendable for any model in the Perplexity suite Models supported - sonar - sonar-pro See full model list and capabilities Usage 1. Set up your credentials in n8n under HTTP Bearer or Header Auth. 2. Add this workflow as a subworkflow using the “Execute Workflow” node. 3. Pass the desired SystemPrompt and UserPrompt as input variables. 4. Receive the model response in return. Notes - This template is inactive by default and safe to import. - Includes sticky notes with API references and model info.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Automate blog content creation with GPT-4, Perplexity & WordPress
Monitor Google Sheets rows and generate Perplexity AI and ChatGPT Assistant
Automate LinkedIn posts with Claude AI, DALL-E images & Google Sheets approval
Turn new Shopify products into SEO blogs with Perplexity, Gemini and Sheets
Send automated email notifications for new rows in Google Sheets with Perplexity AI and ChatGPT chat completions
Smart stock trading recommendations with GPT-4, TwelveData & NewsAPI analysis
AI email assistant: Prioritize Gmail with ChatGPT summaries and Slack digests
Generate knowledge base articles with GPT & Perplexity AI for Contentful CMS
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you