Agentforce Prompt Builder
BLOG
10 min read
How to Get Started with Agentforce Prompt Builder in Salesforce?
Now that Agentforce is already available, enterprises are beginning to invest significant resources into designing and implementing it within their Salesforce environments. If you’re wondering how to get started with it, this guide will walk you through the basics of Agentforce and how to use Salesforce Prompt Builder to optimize your AI Agents.
Looking to learn more?
Read now!Understanding Agentforce and Its Key Components
Agentforce is Salesforce's innovative framework designed to integrate AI-powered agents into its platform, aiming to automate tasks and enhance user interactions. By leveraging Agentforce, businesses can create autonomous applications that provide specialized, always-on support to employees or customers, equipped with the necessary business knowledge to execute tasks according to their specific roles. Agentforce is built on two main tools: Agent Builder and Prompt Builder.
Key Components of Agentforce:
Agent Builder: | Prompt Builder: |
---|---|
It allows you to define the roles of AI Agents and determine what actions they can take within Salesforce. It serves as the foundation for how your Agents operate. | It enhances these Agents by adding deeper interactive capabilities, allowing them to process and respond using natural language. |
Have you thought how AI agents can assist your Salesforce users with daily tasks?
Find out with us!What is Prompt Builder?
Prompt Builder is a tool within Salesforce that allows users to create, test, and manage prompt templates, enabling the integration of generative AI capabilities into workflows. These prompts guide AI models to generate desired outputs, such as drafting emails or summarizing records, by incorporating CRM data through merge fields that reference record fields, flows, and related lists.
By utilizing Prompt Builder, organizations can tailor AI interactions to their specific needs, ensuring that the AI-generated content aligns with their business context. This customization is particularly beneficial in the Agentforce environment, where AI agents perform tasks based on user queries. Prompt Builder serves as the intelligence layer for Agentforce, enabling agents to handle tasks like knowledge searches, content creation, and more, by leveraging large language models (LLMs) to generate outputs.
Incorporating Prompt Builder into your Salesforce environment enhances the efficiency and effectiveness of AI agents, allowing them to perform more advanced tasks and assist users more intelligently. This integration not only streamlines workflows but also ensures that AI-generated responses are accurate and relevant to your organization's needs.
Want a quick walkthrough? Watch this!
Why Use Agentforce’s Prompt Builder?
Prompt Builder is a powerful feature within Salesforce’s Agentforce that helps you customize your AI Agents beyond the standard roles and actions set in Agent Builder. Utilizing Prompt Builder can significantly enhance the effectiveness of your AI agents by providing them with the ability to understand and generate human-like responses.

It allows you to:
- Equip Agents with Generative AI Functionality: Enhance agents' ability to process and respond in natural language, making interactions more intuitive.
- Link Specific Data to Prompts: Ensure agents retrieve and provide relevant information by connecting prompts to desired data sources.
- Control Output Customization: Define what data is shared in response to specific prompts, tailoring outputs to meet business needs.
- Select Your Agent’s Personality and AI Model: Customize the intelligence of your agents to align with your brand and operational requirements, making interactions feel more natural.
How to Begin: Setting Up Agentforce’s Prompt Builder
Getting started with Prompt Builder is simple. Follow these steps:

1. Access Prompt Builder
In Salesforce, navigate to the Quick Find bar and search for "Prompt Builder.”
2. Create a New Prompt Template
Click the “New Prompt Template” button.
3. Complete the Form
- Name: Provide a descriptive name for your prompt.
- Objects and Fields: Select the relevant Salesforce objects and fields that the prompt will interact with.
- Description: Add a brief description to outline the purpose of the prompt.
4. Write the Prompt
Define the agent’s instructions in natural language, specifying the desired actions and responses.
5. Choosing the Right AI Model
Once your prompt is written, you’ll need to select an AI model. Different models provide different responses, so test a few until you find the one that aligns with your needs.
6. Testing and Activating Your Prompt
Before deploying your prompt:
- Preview: Test the prompt with sample records to observe its functionality.
- Adjust: Refine the model and instructions as necessary based on the preview results.
- Activate: Once satisfied, save and activate your prompt. Your AI agent is now ready to assist users within Salesforce.
How to select the ideal AI Agent solution for your business?
Find out now!Best Practices for Writing Effective Prompts
To maximize the effectiveness of your AI agents, consider the following best practices when creating prompts:

- Be Clear and Specific – A Avoid vague instructions. Clearly state what you want the agent to do.
- Use Context Where Possible – Providing background information helps the agent generate more accurate and relevant responses.
- Provide Examples – When applicable, include sample inputs and outputs to illustrate the desired interaction.
- Use Merge Fields – Direct the agent to specific object fields or actions within Salesforce (e.g., Lead > Email or Flow > Update Lead Contact Information).
What tasks would you like your AI Agents to handle more efficiently?
Tell us!Real-World Applications of Agentforce Across Industries
Agentforce has been playing a pivotal role in optimizing operations across various industries, enabling organizations to enhance efficiency, reduce costs, and improve customer satisfaction. Here are some examples of organizations that have successfully implemented Agentforce to streamline operations:

1. Wiley
Wiley, a renowned global publisher, implemented Agentforce to streamline its operations. This integration led to a 213% return on investment, achieved through significant cost reductions and increased productivity. By automating routine tasks, Wiley's staff could focus on more strategic initiatives, thereby enhancing overall operational efficiency.
2. OpenTable
OpenTable, a leading online restaurant reservation service, deployed AI agents through Agentforce to enhance its customer service efficiency. The AI agents handled routine customer inquiries, allowing service representatives to dedicate more time to complex tasks that require human intervention. This approach not only improved response times but also elevated the overall customer experience.
3. Fisher & Paykel
Luxury appliance manufacturer Fisher & Paykel deployed Agentforce to scale its customer support team with autonomous agents. These agents performed tasks such as answering frequently asked questions and scheduling service appointments, freeing up human agents to focus on higher-value tasks. This implementation ensured around-the-clock, high-quality support, aligning with the premium nature of their products.
4. The Adecco Group
The Adecco Group, a prominent human resources provider, utilized Agentforce to connect on a one-to-one basis with job seekers. By adopting an agent-first approach, they built meaningful connections at scale, enhancing the recruitment process and improving candidate experiences.
5. The American Automobile Association (AAA)
The American Automobile Association (AAA) delivers “Always-On” support with Agentforce. Serving over 60 million members across the U.S. and Canada, they implemented Agentforce to enhance customer support. They developed an autonomous agent capable of: Answering customer inquiries promptly, providing real-time updates on roadside assistance, and offering personalized service recommendations, such as safe driving school subscriptions for new drivers. This integration allows human agents to focus on more complex customer interactions, thereby improving service quality.
6. Precina Health
Precina Health, a healthcare innovator, leverages Agentforce to enhance diabetes care. They developed a Sales Coach, an autonomous agent designed to: Streamline patient recruitment processes, assist clinicians in creating and delivering personalized treatment plans, and keep patients informed with up-to-date health information. In a pilot study, this approach led to a significant reduction in average blood sugar levels among patients, demonstrating the scalability and effectiveness of Agentforce in healthcare.
How could your organization benefit from implementing Agentforce Agents?
Let us help you!Advanced Features of Agentforce
Beyond the foundational tools of Agent Builder and Prompt Builder, Agentforce offers advanced features to further enhance your AI agents:

1. Pre-Built Skills Library
Access a collection of pre-built skills spanning CRM, Slack, Tableau, and partner use cases. This allows teams to quickly create customized agents for various departments.
2. Integration with Slack
Agents can now operate within Slack, enabling employees to collaborate with AI agents directly in their workflow. This integration allows agents to handle tasks, answer questions, and provide expertise within the Slack environment.
3. Enhanced Reasoning with Atlas Reasoning Engine
The Atlas Reasoning Engine provides agents with improved reasoning and data retrieval techniques, enabling them to handle complex, multi-step questions and deliver accurate, well-researched responses with inline citations.
Build AI Agents Faster and Efficiently with Accelirate
Agentforce’s Prompt Builder makes it easy to tailor AI Agents in Salesforce without requiring the need for coding. By defining clear prompts and selecting suitable AI models, you can create Agents that enhance productivity and streamline business processes.
Are you ready to leverage Agentforce agents to optimize your Salesforce operations?
Get started today!FAQs
Agentforce is Salesforce's platform for building and deploying AI applications and conversational agents using low-code tools. Prompt Builder serves as the intelligence layer within Agentforce, allowing users to design prompt templates that guide AI models in generating responses. While Agentforce provides the framework for AI agents, Prompt Builder enhances these agents by enabling the creation of tailored prompts that incorporate CRM data.
Prompt Builder can automate tasks such as drafting emails, summarizing records, generating content, and providing real-time guidance to users. By integrating CRM data into prompts, it ensures that AI-generated outputs are relevant and personalized, streamlining various business processes.
Prompt Builder enhances AI agents by allowing the creation of prompt templates that incorporate CRM data, enabling AI models to generate contextually appropriate responses. This integration ensures that AI agents can perform tasks more effectively, providing users with accurate and relevant information.
To access Prompt Builder in Salesforce, navigate to Setup, enter "Prompt Builder" in the Quick Find box, and select Prompt Builder. This will open the Prompt Builder Setup page, where you can create and manage your prompt templates.
Yes, Prompt Builder provides a dedicated workspace for testing prompt templates. You can view AI-generated responses for specific records, allowing you to refine and ensure that the prompts function as intended before deployment.
If a prompt isn't functioning as expected, review and revise the prompt template within Prompt Builder. Utilize the testing workspace to observe AI-generated responses and make necessary adjustments to improve accuracy and relevance.