Skip to main content

How to use custom values in Voice AI agent prompts

Learn how to insert custom values into Voice AI prompts so your agent can personalise calls with contact, appointment, account and business details in ZipLeads.

M
Written by Matt Phillips

Custom Values let you insert dynamic information from ZipLeads into Voice AI prompts and supported message fields. These values help your Voice AI agent personalise calls using available details such as contact, company, appointment, calendar or account information.
​

This article explains where to find Custom Values in the current Voice AI builder, how to insert them into prompts, and how to test them before using the agent in live calls.

If you cannot see AI Studio, it means you do not have the upgrade. You can learn more and opt-in for the upgrade to AI Suite here: https://zipleads.com.au/ai-agent-suite


What are Custom Values in Voice AI prompts?

Custom Values are dynamic merge fields that can be added to Voice AI prompt or message text. When the Voice AI agent uses the prompt during a call, the Custom Value fills in with the matching information stored in ZipLeads.
​

For example, a prompt may include a value like {{location.name}} so the agent can say your business name during the call. Custom Values help personalise conversations without manually rewriting the prompt for each contact or appointment.


Key benefits of Custom Values in Voice AI

Custom Values help Voice AI agents use your ZipLeads data to make conversations feel more personal and aware of context. Used carefully, they can improve call quality without making the prompt overly complex.

  • Personalised call experience: Add relevant details such as contact, company, appointment or account information into the prompt.

  • Reusable prompt setup: Use one prompt that can reference different records when values are available.

  • More natural greetings: Personalise welcome messages or opening instructions with business or contact details.

  • Better call context: Give the agent helpful information before or during a conversation.

  • Less manual editing: Avoid creating separate prompts for each contact or scenario.


Custom Values vs. Knowledge Base and Custom Actions

Custom Values are only one way to give Voice AI more context. Knowing the difference between Custom Values, Knowledge Base and Custom Actions helps you choose the right tool for the job.

Feature

Use it for

Example

Custom Values

Insert stored dynamic information into prompt or message text

Add {{location.name}} to reference the business name.

Knowledge Base

Provide factual business information the agent can use when answering questions

Services, pricing, FAQs, policies or business details.

Custom Actions

Connect the agent to external systems or workflows during a live call

Look up external data, create a record or trigger an integration.

Use Custom Values when the agent needs to reference existing ZipLeads data in the prompt. Use Knowledge Base when the agent needs factual information to answer questions. Use Custom Actions when the agent needs to interact with another system during the call.


How to insert Custom Values in Voice AI prompts

Adding Custom Values helps the agent reference dynamic information during calls. Use clear wording around the value so it sounds natural when spoken aloud.
​

Go to AI Agents > Voice AI

This is where you create and manage Voice AI agents in ZipLeads.


​

Click Agent List and select an agent

The Agents List page shows the Voice AI agents in your account. Click the one you want to edit, or create a new agent with the +Create Agent button.


​

Open the Build tab

The Build tab is where you set up the agent's voice, model, language, prompt, welcome message and other call behaviour settings.


​

Find the prompt or message field where you want to insert the value

You can insert Custom Values wherever the Custom Value button or icon appears in a supported prompt or message field.


​

Click Custom Value

This opens the Custom Value menu. You can search for a value or browse the available categories.

Search or choose a category

Use the search bar when you know the value you need, or expand a category such as Contact, Company, User, Appointment, Calendar, Account or Right now.
​

Select the Custom Value you want to insert

Once you select a value, it's inserted into the prompt as a merge field, such as {{location.name}}.
​

Review the sentence around the Custom Value

Read the full sentence aloud to check it sounds natural. Voice AI prompts are written for spoken conversations, so avoid awkward phrasing or too many values in one sentence.
​

Example:

Thank you for calling {{location.name}}. How can I help you today?
​

Save your changes

Click Save to apply the updated prompt or message field to the agent.
​

Test the agent

Use the Test Audio panel to test how the Custom Value behaves in a Web Call or Phone Call.


Prompt examples using Custom Values

Good prompt examples help the agent use Custom Values naturally during spoken calls. The sentence should still make sense if the value is short, long or unavailable.
​

Business name

You are calling on behalf of {{location.name}}. Speak clearly, warmly and professionally.
​

Welcome message

Thank you for calling {{location.name}}. How can I help you today?
​

Contact name

If the contact's first name is available, greet them by name. If it is not available, use a general greeting.
​

Appointment context

If appointment details are available, use them to confirm the appointment date and time. If they are not available, ask the caller for the information needed to help them.
​

Assigned user context

If an assigned user is available, mention them only when it helps the caller understand who will follow up.


Best practices for using Custom Values

Custom Values should make the call more helpful, not more complicated. Because Voice AI speaks the prompt during a call, always think about how the value will sound when read aloud.

  • Use Custom Values only when they improve the conversation.

  • Avoid putting too many Custom Values in one sentence.

  • Don't assume every Custom Value will be filled in.

  • Add fallback instructions for missing values.

  • Keep spoken phrasing natural and easy to understand.

  • Avoid asking the agent to read long IDs, internal codes or technical values aloud.

  • Use Knowledge Base for factual business information instead of putting lots of detail into the prompt.

  • Test with records where values are filled in and records where values are blank.

  • Review the prompt after inserting values to make sure the full sentence still sounds natural.

Example of a risky prompt:

Hi {{contact.first_name}}, I see your appointment is {{appointment.start_time}} with {{user.name}} at {{location.name}}.

Better prompt:

If the contact's name and appointment details are available, use them naturally to confirm the call context. If any detail is missing, continue with a general greeting.


Troubleshooting Custom Values

Most Custom Value issues come from missing record data, choosing the wrong value, unsupported fields, or prompt wording that doesn't sound natural when spoken. Use the checks below to find the most common causes.

Issue

What to check

Custom Value doesn't fill in

Confirm the selected value exists on the contact, account, appointment or related record.

Agent says the raw merge field

Confirm the value was inserted from the Custom Value menu and saved correctly.

Value is blank

Add fallback instructions so the agent knows what to do when the value is unavailable.

User can't see Custom Value

Confirm they are editing a supported prompt or message field and have the correct permissions.

Agent uses the value at the wrong time

Add clearer context about when the value should be used.

Test call sounds different than expected

Review the prompt, selected values and call logs, then test again.


Frequently Asked Questions

Q: What are Custom Values in Voice AI prompts?
Custom Values are dynamic merge fields that insert data stored in ZipLeads into supported Voice AI prompt or message fields.
​

Q: Where do I find Custom Values in the current Voice AI builder?
Open the Voice AI agent, go to the Build tab, find a supported prompt or message field, and click Custom Value or the custom value icon.
​

Q: Can I use Custom Values in the Welcome Message?
Yes, if the Custom Value icon appears in the Welcome Message field. You can insert Custom Values in any supported field where the option is available.
​

Q: What happens if a Custom Value is blank?
If the value isn't available on the related record, it may not fill in as expected. Add fallback instructions so the agent can carry on naturally.
​

Q: Can I use contact custom fields?
Available fields depend on the Custom Value menu and how your account is set up. Use the search bar or browse the categories to find supported values.
​

Q: Why did the agent read the raw variable aloud?
The value may not have filled in correctly, may have been typed manually in the wrong format, or may not be supported in that field. Insert the value from the Custom Value menu and test again.
​

Q: Are Custom Values the same as Voice AI Custom Actions?
No. Custom Values insert stored data into prompt or message text. Custom Actions connect the agent to external systems or workflows during a live call.
​

Q: Should I use Custom Values for business FAQs?
No. Use Knowledge Base for factual business information such as services, pricing, policies and FAQs. Use Custom Values for dynamic, record-based information.
​

Q: Do I need to test after adding Custom Values?
Yes. Test with records where the values are filled in and where they are blank, to make sure the agent sounds natural in both cases.

Did this answer your question?