Generate AI Responses with Perplexity Sonar Models (Reusable Module)
    100%
    Data Processing
    0(0 reviews)
    43 downloads

    Generate AI Responses with Perplexity Sonar Models (Reusable Module)

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    # Perplexity API Module This reusable workflow allows you to interact with the [Perplexity API](https://docs.perplexity.ai/api-reference/async-chat-completions-post) 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](https://docs.perplexity.ai/models/model-cards) ## 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.

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 5-15 min

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Dependencies & Requirements

    HTTP Request
    Integration

    ⚠️ 1 service require credentials. Make sure you have accounts set up before importing.

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought