How-To: Prompt
Guide to creating the prompt for an agent
Prompt: Creating the Personality and Behavior of Your Agent
The prompt is the heart and soul of your agent—it defines how the agent sounds, what it says, and how it behaves during the interaction. Prompts can also include metadata from your context by using bracketed variables like {variable_name}
.
How to Create a Prompt
You can write your prompt from scratch, or enhance it using reusable blocks.
Using Blocks in Prompts
Fluents.ai supports a modular block system, which allows you to build prompts with reusable components.
A block is a predefined set of instructions, context, or logic that can be inserted into your main prompt. You can add multiple blocks to a single prompt, making it easier to manage complex behaviors or workflows.
Examples of blocks include:
- Knowledge Base Block – Load company-specific facts or FAQs into the prompt.
- Voicemail Detection Block – Add logic to handle voicemail scenarios gracefully.
- Fallback Block – Define what the agent should say when it’s uncertain or doesn’t get a response.
- Compliance Block – Insert legal disclaimers or consent language required for your use case.
By combining blocks, you can create flexible and consistent agent behavior across multiple prompts.
- On the left-hand side, you can select the block you’d like to add to your prompt.
- Choose whether you’re creating a full prompt or a standalone block. When creating a block, you’ll be prompted to add a tag to help categorize and reuse it effectively.
You can explore our API’s Prompt Create feature here.
Ready to move on? Check out the Agent Guide.