Voiceflow PartnersVPVoiceflow Partners
Powered by
ConnerC
Voiceflow Partners•3y ago•
11 replies
Conner

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:
1. Click Button
2. ... ... ... ... ... ... ... ... ... (this API is slow)
3. 2 stacked text blocks + report all at once

Why is this happening? The text blocks are clearly ahead of the API call and should immediately respond from the assistant.

Attached Picture of the designer with some of the surrounded paths/blocks greyed out
Group_113.png
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

api call
CaioEliasCCaioElias / ❓┃ask-a-question
7mo ago
API call
resonant-amethystRresonant-amethyst / ❓┃ask-a-question
2y ago
API call failed
hrubasekHhrubasek / ❓┃ask-a-question
8mo ago
api call logs
uniform-turquoiseUuniform-turquoise / ❓┃ask-a-question
2y ago