optimistic-gold
optimistic-gold5mo ago

Form filling assistant over voice

Hi, I need urgent guidance on a project we are doing for a hackathon. We have a fairly long web form that a user needs to fill, and a voice agent is supposed to guide them through the form. The form has multiple pages and each page has between 5 to 10 fields, with each field having a unique identifier. Voice agent is supposed to ask questions one by one , gather the answers, map the answers to the form field ids - most important, and save it in structured data. So far using the questionnire in the prompt has been mostly a miss, it would either miss questions or not map the correctly to the form field Ids. Whats the best way to solve this on Vapi which is reliable ?
3 Replies
Vapi Support Bot
Use the Vapi Workflows "Gather" node to reliably map answers to form field IDs.
Define each form field as a variable in the Gather node, matching your field IDs, and set their types and required status. For example:
{
"variables": [
{ "name": "email", "description": "User's email address", "type": "string", "required": true },
{ "name": "age", "description": "User's age", "type": "number", "required": true }
]
}
{
"variables": [
{ "name": "email", "description": "User's email address", "type": "string", "required": true },
{ "name": "age", "description": "User's age", "type": "number", "required": true }
]
}
This ensures each answer is collected and mapped to the correct field, with structured data output for your form. Source: - Vapi Workflows Gather Node Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
optimistic-gold
optimistic-goldOP5mo ago
The above link throws 404
stormy-gold
stormy-gold5mo ago
Define a clear structuredDataSchema, use a focused structuredDataPrompt, ask questions step-by-step, and validate results using Vapi’s call analysis tools..

Did you find this page helpful?