Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Clever_Anjos
Employee
Employee

How to Integrate n8n With Qlik Answers

UPDATE: I just published a n8n community node to help the integration. You may want to take a look at this -https://www.linkedin.com/posts/cleveranjos_n8n-qlikcloud-qlik-activity-7411415852564148224-U4Dn


If you're looking to automate insights, generate AI-driven narratives, or embed natural-language analytics in your workflows, combining n8n with Qlik Answers is one of the fastest and most flexible ways to do it.

In this guide, you’ll learn exactly how to connect n8n to Qlik Answers, send questions programmatically, retrieve responses, and build automated flows that run without human intervention.

Why Use n8n With Qlik Answers?

Qlik Answers brings conversational analytics, generative AI, and Qlik Sense awareness into one interface — allowing you to ask natural-language questions about your data and get accurate responses.

n8n is a powerful low-code automation platform that can combine multiple apps, APIs, and triggers into smart workflows.

Together, they enable you to:

  • Send questions automatically to Qlik Answers

  • Route AI-generated insights to Slack, Teams, or email

  • Trigger Q&A responses on a schedule or from a webhook

Build decision-based automations powered by AI interpretations

Disclaimer:


Qlik Automate already provides native blocks to interact with Qlik Answers, offering the same core capabilities described here. For most use cases, Qlik Automate is the recommended and fully supported approach. The n8n integration shown in this guide is simply an alternative exploration of what’s possible using Qlik’s open APIs.

Take a look at this link (https://community.qlik.com/t5/Official-Support-Articles/How-to-get-started-with-the-Qlik-Answers-co…) if you want to explore the Qlik Automate and Qlik Answers integrations.

Prerequisites

Before you begin, you’ll need:

  • A Qlik Cloud tenant with Qlik Answers enabled

  • A Qlik API Key or Service Principal with access to Answers (Managing API keys | Qlik Cloud Help)

  • An n8n account (cloud or self-hosted)

Basic familiarity with API requests in n8n


Understand the Qlik Answers API (https://qlik.dev/apis/rest/assistants)

You will interact with two main endpoints:

Create a thread

you can get the AssistantID from your Qlik Answers URL

Send a prompt inside a thread

POST https://your-tenant.region.qlikcloud.com/api/v1/assistants/{AssistantID}/threads/{ThreadID}/actions/invoke

Where ThreadID is the result from your previous call

 

n8n access to Qlik Answers

You can communicate with Qlik Answers (or any Qlik Cloud API) using the HTTP Request from n8n list of supported actions

Clever_Anjos_1-1763487267534.png

 

Creating a n8n workflow

In my example, I orchestrated to call both endpoints following a chat message received trigger

Clever_Anjos_0-1763487385888.png

The config block handles variables to store your Qlik Cloud host and your AssistantID

Clever_Anjos_1-1763487449308.png

following blocks using the HTTP Request invokes the proper endpoints. I previously generated a Credential using a Bearer method to store my API key

Now that our simple workflow is done, we can use the embedded chat to interact with Qlik Answers

Clever_Anjos_3-1763487780085.png



Feel free to play with the workflow downloading it from github 



Clever_Anjos_2-1763487564956.png

 

 

 

Labels (3)
1 Solution

Accepted Solutions
F_B
Specialist II
Specialist II

Thanks for sharing this useful guide

View solution in original post

3 Replies
F_B
Specialist II
Specialist II

Thanks for sharing this useful guide

rafaelencinas
Partner - Creator II
Partner - Creator II

Hi @Clever_Anjos 

I imported this into my N8N and didn't work (my old version) . But after update my N8N to version 1.120.4 it works!! 

 

Thank you!

 

"Without data, you're just another person with an opinion." — W. Edwards Deming.
Clever_Anjos
Employee
Employee
Author

Hi @Rafa which use case you have in mind?