
PERPLEXITY n8n INTEGRATION: AUTOMATE PERPLEXITY WITH N8N
PERPLEXITY N8N INTEGRATION: AUTOMATE PERPLEXITY WITH N8N
Need help automating Perplexity with n8n?
Our team will get back to you in minutes.
Why automate Perplexity with n8n?
The Perplexity n8n integration gives you access to 1 action that brings AI-powered search and conversation capabilities into your automated workflows. This means you can programmatically query Perplexity's models and integrate their responses into any business process—no manual copy-pasting required.
Significant time savings are the most obvious benefit. Instead of manually searching for information or querying AI models one by one, you can batch process hundreds of queries automatically. Set up a workflow once, and let n8n handle repetitive research tasks while you focus on higher-value work. Seamless integration is another key advantage: connect Perplexity to over 400+ applications in n8n's ecosystem, from CRMs like HubSpot and databases to communication tools and spreadsheets.
Here are some concrete workflow examples: automatically enrich lead data with company research pulled from Perplexity, generate AI-assisted summaries of RSS feed articles, create content briefs by querying Perplexity about trending topics, or build a Slack bot that answers team questions using Perplexity's search-augmented AI. The possibilities expand dramatically when you combine Perplexity's intelligence with n8n's automation capabilities—saving hours of manual research every week.
How to connect Perplexity to n8n?
! 1 stepHow to connect Perplexity to n8n?
- 01
Add the node
Search and add the node in your workflow.
TIP💡 TIP: Keep your API key secure and never share it publicly. If you're working in a team environment, consider using n8n's credential sharing features so team members don't need direct access to the raw API key. Also, monitor your Perplexity API usage to avoid unexpected costs—especially if you're running high-volume automations. For more advanced n8n techniques, check our n8n troubleshooting guide.- 01
Need help automating Perplexity with n8n?
Our team will get back to you in minutes.
Perplexity actions available in n8n
01 Action 01Message a Model
The "Message a Model" action is the core functionality of the Perplexity n8n integration. It allows you to send messages to Perplexity's AI models and receive intelligent, search-augmented responses—all within your automated workflow. This is your gateway to leveraging Perplexity's unique ability to combine large language model capabilities with real-time web search.
Key parameters to configure:
- Credential to connect with: A required dropdown field where you select your saved Perplexity API credentials. This authenticates your requests to the Perplexity API.
- Operation: A required dropdown that defines what this node will do. For this action, it's set to "Message a Model."
- Model: A required dropdown for selecting which Perplexity AI model to use. Options include "Sonar" and other available models—each with different capabilities and response characteristics.
- Messages: This is where you build your conversation. The Text field is a multi-line input for your actual message content, and the Role dropdown defines who's "speaking" (User, Assistant, or System). You can click "Add Message" to build multi-turn conversations with context.
- Simplify Output: An optional toggle that, when enabled, returns a more concise response format—useful when you only need the essential information.
- Options: An expandable section for advanced parameters. Click "Add Option" to access additional configuration possibilities.Practical use cases:
- Lead enrichment: Trigger this action when a new lead enters your CRM. Query Perplexity about the company and automatically append the research to the lead record using tools like Dropcontact.
- Content research: Feed article headlines from an RSS trigger into Perplexity to generate background research or fact-check claims before publishing.
- Customer support automation: Build a workflow where customer questions are routed through Perplexity to generate draft responses for your support team to review.This action works best when you need search-augmented AI responses—situations where up-to-date information from the web adds value beyond what a static language model could provide.

Build your first workflow with our team
Drop your email and we'll send you the catalog of automations you can ship today.
- Free n8n & Make scenarios to import
- Step-by-step setup docs
- Live cohort + community support
Frequently asked questions
Is the Perplexity n8n integration free to use?
The n8n integration itself is free to use—n8n is open-source and you can self-host it at no cost, or use n8n Cloud with their pricing tiers. However, using the Perplexity API requires a Perplexity API subscription, which has its own pricing based on usage (tokens processed). Check Perplexity's official documentation to understand the current API pricing. For most automation use cases, costs remain reasonable, but high-volume workflows can add up. We recommend setting up usage alerts and starting with lower volumes to estimate your monthly spend before scaling.What AI models can I use with the Perplexity n8n integration?
The Perplexity n8n integration supports multiple models through the "Model" dropdown in the Message a Model action. The Sonar model is prominently featured and is Perplexity's flagship search-augmented model—ideal for queries requiring up-to-date web information. Other models may be available depending on your Perplexity API access level. Each model has different strengths: some prioritize speed, others depth of research. Experiment with different models for your specific use case to find the best balance between response quality and API costs. You can also explore other AI integrations like OpenAI with n8n for different use cases.How can I build multi-turn conversations with Perplexity in n8n?
Building multi-turn conversations is straightforward with the Messages section in the Message a Model action. Click "Add Message" to create multiple message entries, each with its own Text content and Role (User, Assistant, or System). To simulate a conversation history, add previous exchanges as context: set earlier messages as "Assistant" responses and your follow-up as "User." This allows Perplexity to understand the conversation context and provide more relevant answers. For dynamic conversations, use n8n expressions to pull previous responses from earlier nodes and inject them as message history. Learn more in our Perplexity training to master advanced techniques.

