Query Perplexity AI from your n8n workflows
Last edited 12 days ago
This workflow illustrates how to use Perplexity AI in your n8n workflow.
Perplexity is a free AI-powered answer engine that provides accurate, trusted, and real-time answers to any question.
Credentials Setup
1/ Go to the perplexity dashboard, purchase some credits and create an API Key
https://www.perplexity.ai/settings/api
2/ In the perplexity Request node, use Generic Credentials, Header Auth.
For the name, use the value "Authorization" And for the value "Bearer pplx-e4...59ea" (Your Perplexity Api Key)
AI Model
Sonar Pro is the current top model used by perplexity. If you want to use a different one, check this page:
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!