AI Prompting 101: Write Better Prompts for Your AI Agents

Your AI agent is only as good as the instructions you give it. A short, vague prompt gets you a bot that sounds like a bot. A clear prompt, written in your brand voice and built around your offer, gets you an agent that answers like a helpful member of your team.

This article shows you how to write prompts for your Conversation AI agents: what to include, what to leave out, and how to test and improve them. The same ideas work for any AI tool in FG Funnels where you write instructions.

Where You Write Your Agent's Prompt

  1. Go to AI Agents > Conversation AI and click Agents List.
  2. Click the agent you want to work on, or click Create Agent to make a new one.
  3. Scroll down to Instructions and click Edit.

a Conversation AI agent open in the editor, with Edit this agent with chat on the left and the agent's settings and Instructions on the right

The Instructions are split into three parts:

  • Personality: who the agent is and how it sounds
  • Goal: what the agent is trying to get done
  • Instructions: the rules, steps, and extra details it should follow

While you're editing, you can click Custom Values to insert details like your business name or the contact's name, or Prompt Optimizer to have AI suggest improvements to your prompt. Click Done when you finish, then Save.

the Instructions editor with Custom Values and Prompt Optimizer

Prefer not to write it yourself? Use Edit this agent with chat on the left side of the editor to describe what you want, and the builder updates the agent for you.

The Building Blocks of a Good Prompt

Most strong prompts cover the same five things.

1. Role

Tell the agent who it is, who it works for, and who it's talking to. This keeps its answers focused and on-brand. This goes in Personality.

2. Goal

Say exactly what a successful conversation looks like, like booking a discovery call, answering questions about your program, or collecting an email address. Vague goals lead to vague or made-up answers. This goes in Goal.

3. Rules

Rules are the guardrails. They tell the agent what it must always do, what it must never do, and when to hand off to a person. For example: ask one question at a time, keep replies short, and don't guess when it doesn't know.

4. Tone and style

Describe how the agent should sound. Name a tone (warm, confident, playful, professional) and give a few words or phrases it should use or avoid.

5. Examples

Sometimes it's easier to show than to explain. A few short examples of what to say, and what not to say, help the agent match your style.

Before and After Examples

Here's how a few small changes turn a basic prompt into a strong one. These examples are for a coach who wants the agent to book discovery calls.

Role

Before:

You are an assistant for {{ai.business_name}}. Help people book calls. You are talking to {{contact.name}}.

After:

- You work for {{ai.business_name}}, a mindset coaching business for women leaving corporate jobs to start their own business.
- Your job is to answer questions about our coaching program, find out whether the person is a good fit by asking the questions in the Script, and help good-fit people book a free discovery call.
- Sound warm, encouraging, and down to earth. Use phrases like "Love that," "Got it," and "Makes sense" instead of formal apologies.
- You are talking to {{contact.name}}. Use their first name at the start and end of the conversation, not in every message.

Goal

Before:

Ask some questions and then get them to book a call. If they're not interested, get their details.

After:

Script:
- Start by asking something like "What made you reach out today?"
- If they're interested in coaching, ask "Where are you in your business right now: still employed, just starting, or already running it?"
- Once they've answered both questions and sound like a good fit, offer a free 20-minute discovery call.
- Before you book, ask for their email address if you don't already have it.
- After the call is booked, thank them and let them know what to expect.
- If they're not interested right now, ask if they'd like to get our free guide by email instead.

Rules

Before:

Be concise. Ask all the questions and then book a call.

After:

- Keep replies under 40 words.
- Ask one question at a time, and wait for an answer before asking the next one.
- Only offer a discovery call after they've answered the Script questions.
- If you don't know the answer, don't guess. Say a team member will follow up.
- Never promise specific results or income.

Add Your Brand Voice and Offer

Your agent should sound like your business, not like a generic chatbot. Two things make the biggest difference.

Your brand voice. If you've filled out your Brand Board, copy the key points of your brand voice (your tone, your audience, and words you love or avoid) into the Personality section. See Creating a Brand Board in FG Funnels.

Your offer. Give the agent a short summary of what you sell and who it's for. Put it in its own clearly marked block so the agent knows it's background, not instructions. For example:

# Offer:
<offer>
Unstuck: a 12-week group coaching program for women leaving corporate to start a business. Weekly live calls, a private community, and a step-by-step launch plan. Enrollment opens twice a year. Discovery calls are free.
</offer>

Keep this kind of background short, about 100 to 200 words. If the background gets much longer than your instructions, the agent pays less attention to the instructions. Put longer details, like FAQs, pricing pages, and policies, in the agent's knowledge base instead. See Setting Up Conversation AI.

Prompting Best Practices

  • Repeat what matters most. If something is important, like following your Script, mention it in more than one place. Repetition helps the agent follow it more consistently.
  • Show examples. A short list of "say this, not that" often works better than a long explanation. For example:
    Avoid: "I apologize for the confusion."
    Use: "Sorry, that wasn't clear. Let me try again."
  • Set the scene. Tell the agent why someone is reaching out and what to do about it. For example: "A client is messaging because something went wrong with their order. Find out what happened, be kind, and collect the order number."
  • Use markers to separate sections. Use headings (#) and tags like <offer></offer> to separate background information from instructions.
  • Remove conflicting rules. "Always keep replies to one sentence" and "Explain every service in detail" can't both be true, and the agent will behave unpredictably.
  • Keep facts in the knowledge base. Use the prompt for how the agent should behave. Use the knowledge base for what it needs to know.
  • Don't list calendar times in the prompt. For booking agents, let the appointment booking action handle availability. Listing times in the prompt can lead the agent to give wrong answers.
  • Improve a little at a time. Change one thing, test it, and keep what works.

Tone words to try: authoritative, confident, empathetic, encouraging, formal, friendly, playful, reassuring, serious, warm.

Writing styles to try: conversational, descriptive, informative, instructive, persuasive, technical.

Test and Improve Your Prompt

  1. After you save your changes, click Test agent at the top of the editor.
  2. Send the kinds of messages your real contacts send, including tricky ones (off-topic questions, "how much does it cost?", "are you a real person?").
  3. Check that the agent follows your Script, sounds like you, and hands off when it should.
  4. Adjust the prompt, save, and test again.

Before you put an agent on Auto-pilot, try it in Suggestive mode. Suggestive mode drafts each reply for your team to approve before it's sent, so you can see how it handles real conversations.

Frequently Asked Questions

How long should my prompt be?
Long enough to cover the role, goal, rules, tone, and a few examples. Keep background information to about 100 to 200 words and put the rest in the knowledge base.

Should I put my FAQs in the prompt?
No. Put FAQs and business facts in the knowledge base. Use the prompt for how the agent should behave.

Why is my agent ignoring part of my prompt?
The instruction might be vague, buried in a lot of background text, or conflicting with another rule. Make it clearer, repeat it, or remove the conflict.

What are the {{ }} codes in the examples?
They're custom values. They fill in details like your business name or the contact's name automatically. Click Custom Values in the editor to add them.

Can AI write the prompt for me?
Yes. Use Prompt Optimizer to improve a prompt you've written, or Edit this agent with chat to describe what you want. Always read and test the result.