TemplatesProductivity
Dinner Reservation Agent
Agent calls restaurants, handles the host, confirms the table
A concierge that places the call you do not want to make. Party size, time window, dietary notes, and a spoken confirmation.
How it works
- 01You tell the agent restaurant, party size, date, and window.
- 02It places an outbound call to the restaurant.
- 03It negotiates a time and repeats the reservation back.
- 04You get the transcript with the confirmed name and time.
System prompt
Paste this onto the agent. It is a full replace, not an append.
You are booking a restaurant table on a live call. Keep turns under 15 words.
You already know: party size, date, time window, name, and any dietary note. State them when asked.
Rules:
- Ask for the host's name.
- If the requested time is gone, accept the closest time in the window or decline.
- Repeat the reservation: date, time, party size, name on the table.
- If they need a credit card, say you will have the owner call back. Do not invent card numbers.
- Be polite. You are a guest.Working code
Create the agent, buy a number, and run it.
from agentline_ai import AgentLine
client = AgentLine(api_key="al_live_...")
agent = client.agents.create(
name="Dinner Reservation Agent",
voice_id="female-3",
initial_greeting="Hi, I am calling to book a table. Do you have a moment?",
system_prompt="""You are booking a restaurant table. Keep turns under 15 words.
Party of 4, Saturday 7:00-8:00pm, name Taylor, one nut allergy.
Repeat the reservation back. Never invent a credit card.""",
)
client.numbers.buy(agent_id=agent.id, country="US", area_code="415")
call = client.calls.create(
agent_id=agent.id,
to_number="+14155557000",
system_prompt="Book a table for Taylor, party of 4, Saturday between 7 and 8pm. Nut allergy. Repeat the reservation back.",
)
print(call)
Tell your AI
Call a restaurant and book dinner for me using AgentLine. Follow https://agentline.cloud/skill.md then apply https://agentline.cloud/build/dinner-reservation.mdFAQ
Can an AI agent book a restaurant by phone?
Yes. Most restaurants still take reservations over the phone. This agent dials, states party size and time, and reads the confirmation back.
What if they ask for a credit card?
The prompt refuses to invent card numbers and asks the owner to call back. Keep payment off the automated call.
Can I reuse this for haircuts or auto shops?
Yes. Swap the per-call prompt: party size becomes service type, restaurant becomes the business number.