Text Components not rendering before API Call
Good afternoon VF.
In one of my assistants, I have built out the following flow:
1) User presses "Check the News Agent" button
2) Assistant responds with back to back stacked text components, "I am a new AI Agent....blah blah blah"
3) POST request to 3rd party API that scrapes a few website URLs and formats data, which is stored in variable {AINews_report}
4) Our last text block that shows the contents of said variable and shows the user the report.
Now this all works, which is great, but there's one problem.
The 2 stacked texts components do not render at all as a response from the assistant until the POST Request finishes processing.
So from the user it's:
Attached Picture of the designer with some of the surrounded paths/blocks greyed out
In one of my assistants, I have built out the following flow:
1) User presses "Check the News Agent" button
2) Assistant responds with back to back stacked text components, "I am a new AI Agent....blah blah blah"
3) POST request to 3rd party API that scrapes a few website URLs and formats data, which is stored in variable {AINews_report}
4) Our last text block that shows the contents of said variable and shows the user the report.
Now this all works, which is great, but there's one problem.
The 2 stacked texts components do not render at all as a response from the assistant until the POST Request finishes processing.
So from the user it's:
- Click Button
- ... ... ... ... ... ... ... ... ... (this API is slow)
- 2 stacked text blocks + report all at once
Attached Picture of the designer with some of the surrounded paths/blocks greyed out
