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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
vighnesh_gawad
Partner - Creator
Partner - Creator

Qlik Sense Natural Language API doesnt return any nebula charts expect bar chart

Hi Team,

 I am trying to create chatbot in qliksense mashup using this tutorial. https://qlik.dev/embed/gen-ai/create-chatbot-nl-api/.  this tutorial uses this endpoint {qliksenseurl}/api/v1/questions/actions/ask to generate response either text or nebula js chart to show in chatbot. (https://help.qlik.com/en-US/sense-developer/February2024/Subsystems/NLBrokerAPI/Content/methods-post...)

I was able to follow tutorial and able to create chatbot which return nebula bar chart as response when ask by user but when I try to customize it to add other chart. It doesnt work.

I even tried with POSTMAN and it gave same result. I was able to retrive nebula bar chart but not others.

this are details I sent to this url:

method: POST

url endpoint: https://qliksense url/api/v1/questions/actions/ask

headers: 

headers: {
      Authorization: `Bearer token`,
      "Content-Type": "application/json",
      "qlik-web-integration-id": "web-integration-id",
    }
 
body: 
{
    "text""give me piechart of country and revenue",
    "app": {
        "id""d66d8e63-55a7-4794-8ff9-4a94a42ddf3b",
        "name""CRM"
    },
    "enableVisualizations"true,
    "visualizationTypes": [
        "piechart"
    ]
}
 
Regards, Vighnesh Gawad
Connect with me on LinkedIn | GitHub
Labels (4)
0 Replies