Query Perplexity AI from your n8n workflows

Nodes

3b9f1b78-6b80-4575-aa6c-966987000389

Created by

EmEmmanuel Bernard

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:

https://docs.perplexity.ai/guides/model-cards

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!