Voiceflow PartnersVPVoiceflow Partners
Powered by
Cr4shBarcodeC
Voiceflow Partners•9mo ago•
4 replies
Cr4shBarcode

How to capture current date and use the returned result in an API call

In it's current iteration, my bot asks the user to input the current date for use in an API call. I don't want the user to have to do that. After some research I learned that the code:

string date = System.DateTime.Today.ToString("ddmmyy");

can be used to get the current date. But how can I run it and pass the result through as a variable for my Agent API get request?
Capture.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

how to use POST API call#?
recent-tealRrecent-teal / ❓┃ask-a-question
2y ago
Access to CURRENT date and time
IlyassIIlyass / ❓┃ask-a-question
6mo ago
How to capture multiple entities in the Capture Step?
verbal-limeVverbal-lime / ❓┃ask-a-question
2y ago
Workflow fails to capture user input & hangs on api call
living-lavenderLliving-lavender / ❓┃ask-a-question
2y ago