Fonio

How to write a great prompt

A good prompt is usually the recipe for a good conversation.

A good prompt is usually the recipe for a good conversation. To get to the prompt, go to Assistants → Advanced instructions.

The 5 rules for a great fonio prompt

1

Define who your assistant is

Give your assistant a name and a clear role. That way it knows which company it speaks for and which tone suits it.

✗ Too vague

"Answer calls for my company."

✓ Clear

"You are Lea, the virtual receptionist at Müller Plumbing. You speak in a friendly and professional way."

2

Structure your prompt with headings

Use clear headings such as Role, Conversation flow and Important rules. This makes it easier for your assistant to sort the individual instructions and follow them reliably.

✓ Example

## Role

## Conversation flow

## If Then rules

## Important rules
3

Write decisions as If Then rules

Whenever your assistant needs to make a decision, write it as a clear If Then rule. That way it knows exactly what to do in each situation.

If the caller says it is urgent,

then transfer the call immediately to +43 123 456 789.

If the caller asks about prices,

then say: "A colleague will send you our pricing information by email."

4

Tell your assistant what it should do

Clear, positive instructions work better than a list of things your assistant is not allowed to do.

✗ Too vague

"Don't mention prices. Don't promise callbacks."

✓ Clear

"If the caller asks about prices, say: A colleague will send you our pricing information after the call."

5

Stay under 300 words

A longer prompt is not automatically better. With too many instructions, the risk grows that your assistant skips individual points or mixes them up.

So focus on the most important information and keep your prompt as short and clear as possible.

Nio, the prompt builder

Industry templates

By now we have a good sense of which prompts work well in which industry. Feel free to take one of the examples here and adapt it to your business.

Important

Before using a template, replace all placeholders with the correct information for your business. Email conditions, call transfers and tool calls must also be set up separately in your fonio account. The prompt only describes when the assistant should do something; it does not set up these actions automatically and will not carry them out without the matching configuration.

Emergency, appointment request, billing question.

# Role
You are [assistant name], the digital phone assistant for [company], who friendly answers questions, takes down concerns, and forwards them to the right person.

# Conversation Flow
## Emergency
If the caller reports an emergency, for example a water damage, heating failure, or gas smell, then ask for the address, name, and callback number, and then forward the call to [emergency service number]. If no one answers there, then state that the concern will be immediately passed on as an emergency.
## Appointment Request
If the caller wishes to schedule an appointment for maintenance, repair, or installation, then ask for the specific concern, the address, the desired timeframe, and the caller's name. Afterwards, state that you have taken down the concern and the team will get in touch shortly.
## Billing Question
If the caller has a question about an invoice, then ask for the invoice number, name, and callback number. Afterwards, state that you have taken down the concern and the team will get in touch shortly.
## Quote Request
If the caller requests a quote, then ask what kind of system or service it is for, the address, and the name. Afterwards, state that you have taken down the concern and the team will get in touch shortly.
## General Questions
If the caller asks a general question, then answer it using the knowledge base. If you cannot find an answer there, then record the question and state that the team will get in touch.

Recommended email variables: {{name}}, {{concern}}, {{address}}, {{callback_number}}, {{urgency}}

Prevent made-up answers

Your assistant should only pass on information you have provided. These four rules help you avoid the most common mistakes.

1

Facts belong in the knowledge base

Prices, opening hours, addresses, service descriptions and email text snippets belong in the knowledge base. In the prompt, on the other hand, you describe how your assistant should behave.

You can find out how to store information under Knowledge Base.

2

Define where the answers come from

State clearly in the prompt that your assistant should use only the knowledge base for information about your business.

✓ Example

For company-specific information, use only the knowledge base. If you can't find a matching answer there, say: I don't have that information right now. A colleague will get back to you. Don't guess and don't make up any details.
3

Don't change exact details

Your assistant should repeat prices, phone numbers, email addresses and opening hours exactly as they appear in the knowledge base. It should not rephrase, round or simplify these details.

4

Protect sensitive data

Your assistant should never volunteer personal data, project addresses or contact details of employees.

It may only share this kind of information if the caller explicitly asks for it and the answer is stored in the knowledge base.

If you copied a prompt from ChatGPT, read this first

ChatGPT prompts are written for text conversations. Phone calls with fonio are shorter, more direct and work differently.

A copied ChatGPT prompt is therefore often too long or contains instructions that don't suit a phone call. This can confuse your assistant and cause it to overlook important rules. So always adapt the prompt to phone conversations.

Check example sentences in your prompt

Your assistant may use text in quotation marks as set phrases in the conversation. So check whether your prompt still contains old names, phone numbers or other examples that are no longer correct. If you don't need them anymore, delete them.

Set up tool calls correctly

When an integration runs is defined directly in that integration. This condition does not belong in the prompt.

During the call, you set it in the Condition & Description field. Actions after the call are configured in the Settings tab of the integration.

The prompt only defines how your assistant runs the conversation.

You can find more under Integrations.