Skip to main content

Creating a Prompt Within Your Agent

The single prompt approach allows you to define your agent’s behavior with one comprehensive prompt. It’s straightforward and great for simple use cases. Good prompt writing is the most important part of building your agent—it can make your agent work great or not so much. This guide shows you what we’ve learned about writing prompts that agents can follow better and more consistently.
This guide is updated regularly as we learn new things. If you have ideas or feedback, please share them with us.
To see examples of good prompts, check out the templates in your Dashboard by creating a new agent and selecting a template.

Breaking Prompts into Sections

When writing prompts, it’s best to break them into smaller sections. This makes them easier for you to edit and easier for the LLM to understand.

Write Tasks as Steps

When writing your prompt, write your tasks in numbered order like steps. This helps the agent space things out and not ask everything in one long question.
If your agent doesn’t pause and asks all steps as one large question, spell out exactly what you want:

Prompting More In-depth

It’s recommended to spell things out clearly for the agent to get the best results. The more explicit your instructions, the more consistent your agent’s behavior. Example — Appointment or Demo Booking:
If the agent says a phrase or phone number too quickly, instruct it to repeat slowly.