WASheet · Agentic AI

How to Write a Perfect
Agentic AI Prompt

A step-by-step guide to writing prompts that make your AI agent work intelligently for any business.

🏥 Clinics 🍽️ Restaurants 🏋️ Gyms 🏨 Hotels 🛍️ E-commerce ⚖️ Law Firms ✂️ Salons

What is an Agentic Prompt?

An agentic prompt is the instruction set you give your AI assistant so it can act on behalf of your business — greeting customers, sharing information, collecting data, and saving records — all automatically.

A well-written prompt has 5 essential parts. Each part handles one specific responsibility of your AI agent.

✦   5 Parts · Identity · Info · Collect · Save · Display

The 5 Parts of a Perfect Prompt

Follow these 5 parts in order. Each one builds on the last to create a complete, production-ready agentic prompt.

1
Part 1 · Identity & Greeting
Who is your AI agent?

Sets the agent's name and first impression. Tell it your business name and how to welcome customers warmly when they start a conversation.

Business name Warm greeting Tone of voice
Template
Your business name is [Business Name]. Greet every customer warmly when they start a conversation.
2
Part 2 · Services & Information
What does it share?

Define what information to show when customers ask. Be specific — list your doctors, menu items, class schedules, products, or any details the agent should share.

Staff names & roles Timings & hours Pricing Services list
Template
If the customer asks about [services / products / availability], provide details including [specific info: staff names / timings / pricing / menu].
3
Part 3 · Data Collection
What does it ask the customer?

Keep it minimal — only ask for what you truly need. More fields means more customer drop-offs. Stick to 2–4 fields maximum for best completion rates.

Name Phone number Age / DOB Email Address
Template
To complete the [booking / order / registration], only ask the customer for: [Field 1], [Field 2], and [Field 3].
4
Part 4 · What to Save
What goes in the database?

Define exactly which column names appear in your saved records. Include both customer-provided fields and system-generated fields like appointment time, assigned staff, or order status.

Customer fields System fields Exact column names
Template
Save the record. The saved data should show only these columns: [Column 1], [Column 2], [Column 3][Column N].
5
Part 5 · Chat Display Style
How does it present information?

Controls how the agent formats data inside the chat window. Tables break in WhatsApp and most chat apps. Bold text with icons is the recommended format for all chat-based platforms.

Bold + icons ✓ No tables ✗ Bullet points
Template
During the chat, never display data in a table. Always present information in bold format with icons.

The Full Template

Copy the prompt below and replace every [placeholder] with your own business details.

agentic-prompt-template.txt
Your business name is [Business Name].
Greet every customer warmly when they start a conversation.
If the customer asks about [services / products / availability],
provide details including [specific info: staff names / timings / pricing / menu].
To complete the [booking / order / registration],
only ask the customer for: [Field 1], [Field 2], and [Field 3].
Save the record after collecting this information.
The saved record should display only these columns:
[Column 1], [Column 2], [Column 3][Column N].
During the chat, never display data in a table.
Always present information in bold format with icons.

Real-World Example — SF Dental Clinic

Here is how the template looks when filled in for a dental clinic. Use this as a reference when writing your own prompt.

🦷

SF Dental Clinic

Dental clinic · WhatsApp booking agent

1
Identity & Greeting

Your business name is SF Dental Clinic. Greet every patient warmly when they start a conversation.

2
Services & Information

If the patient asks about doctor availability, provide details including each doctor's name, speciality, and available appointment timings.

3
Data Collection

To complete the appointment booking, only ask the patient for: their full name, phone number, and age. Save the appointment after collecting this information.

4
What to Save

The saved record should display only these columns: patient name, phone number, age, doctor name, speciality, appointment timing, and appointment day.

5
Chat Display Style

During the chat, never display data in a table. Always present details in bold format with icons.

Examples by Industry

This template works for any business. Here are common field suggestions per industry.

Industry Typical "collect" fields Suggested save columns
🏥 Dental / Medical Name, phone, age Patient name Doctor Speciality Timing
🍽️ Restaurant Name, phone, table size Customer name Table no. Date Time
🏋️ Gym / Fitness Name, email, preferred class Member name Class Instructor Date
🏨 Hotel Name, phone, travel dates Guest name Room type Check-in Check-out
🛍️ E-commerce Name, email, address Customer Order items Total Status
⚖️ Law Firm Name, phone, case type Client name Lawyer Case type Date
✂️ Salon / Spa Name, phone, service Client name Service Stylist Time
📚 Tutoring Name, email, subject Student name Subject Tutor Session time

Quick Tips for Better Prompts

🎯

Be specific

Name your staff, list real timings, use actual prices. The more detail you give, the smarter your agent behaves.

✂️

Keep collection minimal

Only ask for what you truly need. Every extra field reduces how many customers complete the process.

🚫

Avoid table formatting

Tables break in WhatsApp, Messenger, and most chat apps. Use bold + icons or bullet points instead.

🧪

Test your prompt

Send test messages as if you were a real customer. Verify greetings, information sharing, and bookings all work.

🔄

Update regularly

When prices, staff, or hours change, update the prompt. Your AI is only as accurate as the information it's given.

📋

Use exact column names

In Part 4, write the exact column names you want in your database. This prevents mismatches when saving records.

Cheat Sheet — All 5 Parts at a Glance

Part What to write Placeholder
1 · Identity
Business name + greeting style
[Business Name]
2 · Information
What to share & when to share it
[services / info details]
3 · Collection
Fields to ask the customer (max 4)
[Field 1], [Field 2] …
4 · Save
Exact column names for the record
[Column 1] … [Column N]
5 · Display
Chat formatting rule — no tables
Bold + icons, no tables