Hello everyone,
I'm using IBM Watson Assistant to facilitate user interactions where they can request specific client reports. Currently, the process generates a URL that directs the user to our IBM Cognos BI dashboard to view the report. However, for better user experience and access restrictions, I'd like to retrieve the report directly in PDF format instead of just generating the link.
What I Have Now:
- A Watson Assistant flow that captures user intent and desired client name for the report.
- An IBM Cloud Function that, based on the client name:
- Maps the name to a unique client ID.
- Constructs a URL to the Cognos dashboard for the report specific to that client.
Objective:
Instead of returning the URL, I want the cloud function to:
- Use the constructed URL to access the Cognos dashboard.
- Download the report in PDF format.
- Return the PDF (or a link to the stored PDF) to Watson Assistant, so the user can directly download/view it without accessing the Cognos dashboard.
------------------------------
SRIHARI CHANDRAMOULI
------------------------------