Voiceflow PartnersVPVoiceflow Partners
Powered by
living-lavenderL
Voiceflow Partners•3y ago•
2 replies
living-lavender

Voiceflow API parameters

Hello people - do any of you know how to pass variable calues (like name and email address entered by the user) into an API block raw body? I assume I have to set the parameters and then call the keys from the code, but that doesn't work.

This is the code I have that works with static values:

{
"sendWelcomeEmail": true,
"firstName": "Dan",
"tags": [
"Mila"
],
"identifiers": [
{
"type": "email",
"consent": {
"source": "Mila"
},
"channels": {
"email": {
"status": "subscribed"
}
},
"id": "dan+26@spacedroid.co.uk"
}
],
"country": "United Kingdom",
"countryCode": "GB"
}


But when I set the parameters and use this it does not:

{
"sendWelcomeEmail": true,
"firstName": first_name,
"tags": [
"Mila"
],
"identifiers": [
{
"type": "email",
"consent": {
"source": "Mila"
},
"channels": {
"email": {
"status": "subscribed"
}
},
"id": email_address
}
],
"country": "United Kingdom",
"countryCode": "GB"
}

Thank you so much!
Cheers,
Dan
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

Voiceflow sending empty parameters to Make API
cederraCcederra / ❓┃ask-a-question
2mo ago
Voiceflow API Call help
verbal-limeVverbal-lime / ❓┃ask-a-question
9mo ago
Voiceflow & Manychat API Link
forward-apricotFforward-apricot / ❓┃ask-a-question
2y ago
latency with the voiceflow api integration
elghali.oussamaEelghali.oussama / ❓┃ask-a-question
5mo ago