Create a Data Collection Schema
Updated on July 10th 2026
🧾 How to Create a Data Collection Schema in VoiceB.ai
VoiceB.ai lets you collect structured data from users during calls, making it easy to capture key information like names, addresses, product preferences, and more. Here's how to set up your own Data Collection Schema — and how it integrates with your CRM or webhook.
✅ Step-by-Step: Creating a New Schema
Go to "Data Collection >> New Schema" Click the + New Schema button to start a new data set.


Give it a Name and Description
Example:
Name:
Basic personal dataDescription:
Default data collection for Telco customers, includes name, phone, email, etc.
Add as Many Fields as You Need For each field, enter the following:
Field name – e.g.,
emailFormat – e.g.,
text,number,dateDescription – what the field is for (e.g.,
Customer email address)Example – e.g.,
jane.doe@email.comRequired – toggle ON if this field is mandatory for the sale to be considered complete
Every schema must have at least one Required field. You won't be able to save a schema where all fields are optional.
Click the Arrow (⬆️) to Add the Field
You can repeat this process and add unlimited fields before saving.
Click Save
Once saved, the schema is locked and cannot be edited. If you need changes, create a new schema (see Updating a Schema below).
🎯 Required Fields & the SOLD Outcome
Required fields are directly tied to how VoiceB classifies call outcomes:
A call is only classified as SOLD when the agent has collected all Required fields in the assigned schema.
If any Required field is missing at the end of the call, the call will not be classified as SOLD — even if the customer verbally agreed to the purchase.
Optional fields never block the SOLD outcome. Use them for nice-to-have data (preferences, referral source, etc.).
🚫 Agents Without Data Collection
Data collection is optional at the agent level. If an agent doesn't need to capture structured data (e.g., a pure qualification or routing agent), simply don't assign any schema in the agent's configuration. The agent will run normally without data collection, and outcomes will be classified according to the agent's own logic.

🔄 Updating a Schema: Create a New One
Schemas are immutable once saved. This is by design: it guarantees performance and accuracy, because every historical call remains linked to the exact schema version it was collected under.
To change a schema:
Create a new schema with the updated fields.
Reassign it in each agent that should use it (agent configuration → Data Collection).
The old schema stays intact for historical data — nothing breaks retroactively.
Never work around this by trying to "reuse" a schema for a different purpose. A clean new schema per change keeps your data consistent and your outcome classification reliable.
📌 Using the Schema
Once your schema is created, you can assign it to any AI Agent:
Go to the agent's configuration screen
Select the desired schema under Data Collection
This tells the agent what to collect during each conversation
🔗 Integration & Post-Call Automation
If you're using CRM integrations (like HubSpot or Salesforce):
Your data fields will appear in the mapping section, ready to sync automatically.
If you're using webhooks:
You'll receive all collected data, plus:
Post-call transcript
Summary
And every data field collected
This ensures you get the full picture from every conversation — structured, synced, and ready to use.
Need help structuring complex data? Reach out to our team — we'll help you build the right schema for your flow.
Last updated
Was this helpful?

