Creating and Viewing Insights
Last updated
Was this helpful?
Last updated
Was this helpful?
Insights can be created using postMessage communication. Once the embedding app is connected with Tellius following the steps in , the below URL can be used to create an Insight:
Here, the businessviewID indicates the Business View using which the Insight needs to be created.
The state of an Insight can be one of the following. A notification will be sent when the state gets changed.
Running - when the Insight is being created. actionType:INSIGHT_INITIATED
Completed - when the Insight has been created. actionType: INSIGHT_COMPLETED
Failed - when the Insight creation has failed. actionType: INSIGHT_FAILED
The following is the response postMessage sent from Tellius:
The code consists of both request and response information. The result section has components such as insightID and driverID. These two can be utilised to form the URL https://domain/discover/insight/insightID/driverID -- which can be used to get redirected to the required Insight.
Tellius also sends the following details as a response:
starttime: The time in which the Insight creation was started
createdBy: The user who created the Insight
driverName: name of Insights
jobType: the type of Insight created. It could be one of the following:
SegmentDiscoveryInsight
Trend
Cohort
consumed: flag indicating whether the Insight has been viewed. If set to true
, then the Insight has been opened/viewed.
Request URL: https://dev.app.tellius.com/discover/insight/insightID/driverID?access=edit
The component access can be set to read
or edit
as required.
For more details on adding Insights to a Vizpad, please .