
We Will Discuss The Agenda of this course and What to expect from this course
Discover how the agent force platform on Salesforce builds ai agents that understand requests, perform actions, and resolve queries across sales, service, and customer sites.
Sign up for a Salesforce developer org with agent force, data cloud, and headless 360. Enable Einstein, open agent force studio, and use the unmanaged package for soft drink objects.
Deploy org metadata, including custom objects, apex classes, and flows, to a new org enabled with Einstein AI and Copilot, using Git, Salesforce CLI, and VS Code.
Learn the fundamentals of agent for studio, distinguish service and employee agents, and understand running user, Einstein agent license, and key builder blocks such as agent detail and welcome message.
Explore agent script fundamentals by organizing work into subagents, leveraging variables, and configuring connections and data libraries. Practice canvas and script testing with preview tool to trace reasoning and actions.
Explore how agents use topics, instructions, and actions to perform autonomous tasks with data grounding and trust governance. Learn how roles, data checks, and human handoffs shape Salesforce AI workflows.
Explore agent script components, including agent detail (name, api name, running user, description), agent level and sub-agent instructions, language settings, and system messages.
Set up a developer org with agent force data cloud and headless 360, load soft drink objects and orders, and begin building a soft drink agent with agent script.
Create and configure a service agent in agent script, assign an Einstein user, test in live and simulate modes, and manage sub agents to support soft drink orders.
Configure the start underscore agent to route to the correct soft drink sub-agent, then implement an auto launch flow action with rating input to fetch records.
Configure custom actions for sub agents by creating a canvas-based action that uses the auto launch flow to find soft drink records by rating, with clear descriptions and data typing.
Finalize the sub-agent and custom action, test agent populated inputs via llm slotting, and configure deterministic flows with variables, permissions, and versioning for soft drink records by rating.
Make the soft drink agent deterministic by introducing a rating variable and a set rating action, using if conditions to ensure rating is available before querying records.
Design a deterministic agent with hybrid reasoning by using conditional logic, variables, and action references to handle rating input, prompting the user when needed and filtering available actions.
Create a verify customer sub agent that validates users via email OTP, uses the is verified variable across sub agents, and only serves requests after successful verification.
Learn to build a custom Apex action for customer verification by validating a user's email or username, sending a one-time code, and returning a verification message to drive agent interactions.
Learn verification for the verify customer sub-agent by sending an OTP from the authentication key to the user, then compare user key with authentication key and route via agent router.
Explore how agent script enables deterministic, hybrid reasoning with context engineering, conditional logic, and action filters to safely route between subagents and control prompts.
Learn essential agent script terminology and syntax, including the at rate symbol for actions and variables, template instructions, pipe for multiline text, and inline run action with outputs.
Deploy a service agent to a customer community site with Agentforce, comparing direct routing and omni channel flow, and configure messaging channel, routing, and fallback queue for reliable external deployments.
Deploy a customer facing chat on your site by configuring Agentforce enhanced chat as a web channel, routing sessions to a service agent or omni flow.
Deploy a Rumi ai agent to a customer site using omni-channel flow, routing configurations, fallback queues, and an embedded messaging channel with a seamless community site integration.
Route work from ai agents to human agents via omni channel in service cloud, using messaging service channels and present statuses to optimize simple queries and a refund.
This lecture demonstrates transferring a chat from agent force agent to a human agent using a utility action escalation, routing to a fallback queue, and an omni channel flow.
Understand why Salesforce needs department-specific employee agents for internal users. Assign department-specific agents to sales, finance, or library, not as a single service agent.
Create two employee agents—a lead agent and a sales agent—where the agents run under the user context, then configure topics, permissions, and descriptions, and assign via permission sets.
Assign sales and lead employee agents to user groups via permission sets, enabling agent access for each user, and test with an Apex class creating soft drink orders.
Enable Slack integration with Agentforce coworker to read recent Slack messages, channels, and user details from Salesforce data cloud, while noting read-only access and no posting capabilities.
Explore how Salesforce agents trigger from conversations or data changes, plan via the Atlas reasoning engine, and execute actions across planning and execution phases, transferring tasks to humans when needed.
Explore Einstein AI architecture, from sales, service, marketing, and commerce agents to Agent Force, guardrails, and the Einstein Trust layer with Atlas Reasoning Engine guiding autonomous, data-triggered, and assistive agents.
Explore how the Einstein Trust Layer uses data masking to protect sensitive data and enforces zero data retention when using generative AI with external LM providers.
Explore how the Einstein Trust layer securely grounds CRM data into prompt templates, masks sensitive information, adds prompt defense, and ensures an auditable trail for LM-generated responses after toxicity checks.
Welcome to the Complete Agentforce, AgentScript & Prompt Templates Course.
This course is designed to be a complete practical guide to Salesforce Agentforce and modern AI-powered application development on the Salesforce Platform.
Whether you are preparing for the Agentforce Specialist Certification, exploring Salesforce AI for the first time, or looking to build production-ready AI solutions, this course will take you from the fundamentals all the way to advanced Agentforce implementations.
Agentforce is Salesforce's AI platform for building intelligent agents that can reason, take actions, interact with Salesforce data, execute business processes, and assist users across multiple channels.
Throughout this course, we will build real Agentforce solutions using Agent Builder, Prompt Builder, AgentScript, Flows, Apex, Data Cloud, Agentforce Data Library, and Retrieval-Augmented Generation (RAG).
You will learn:
• How Agentforce works and where it fits within the Salesforce ecosystem
• How to build AI Agents using Agent Builder
• How to create deterministic Agentforce solutions using Context Engineering, Filters, Conditional Logic, Action Chaining, and Transitions
• How to build and configure Agentforce Service Agents
• How to work with Employee Agents and conversational AI experiences
• How to deploy Agentforce Agents to customer-facing channels
• How to transfer conversations from AI Agents to human agents
• How to create custom Agent Actions using Apex, Flows, and REST APIs
• How to build business-specific Agentforce capabilities using custom actions
• How to work with Record Triggered and Data Triggered Agent experiences
• How to work with Agentforce Data Library and Retrieval-Augmented Generation (RAG)
• How to use unstructured data such as PDF documents with Agentforce
• How to build Prompt Templates using Prompt Builder
• How to create Sales Email Prompts
• How to create Field Generation Prompts
• How to create Record Summary Prompts
• How to build Flex Prompts
• How to create MCP Prompts and reusable AI workflows
• How Prompt Templates can invoke Apex, Flows, External APIs, and Agent Actions
• How Salesforce data can be grounded into Prompt Templates for accurate responses
• How to work with Agent Context Variables
• How AI Versioning works within Agentforce
• How to use Data Cloud with Agentforce
• How to build AI solutions using Agentforce Data Library
• How Salesforce Trusted AI Architecture works
• How the Einstein Trust Layer protects enterprise data
• How to work with Einstein for Sales and Einstein for Service
• How to use Model Builder and Einstein Studio
• How Agentforce for Developers can improve Salesforce productivity
• How Agentforce compares with modern AI coding assistants
• How Agentforce Vibes and AI-assisted development are changing Salesforce development workflows
This course follows a practical, hands-on approach. Every major concept is demonstrated through real implementations rather than theoretical discussions.
By the end of this course, you will have a strong understanding of Agentforce, AgentScript, Prompt Templates, Data Cloud, RAG, Agentforce Data Library, AI Agents, Prompt Engineering, and Salesforce AI development.
Whether your goal is to pass the Agentforce Specialist Certification, build enterprise AI solutions, or stay current with the latest Salesforce AI capabilities, this course is designed to provide a complete learning path.
Note:
• PPTs are included for each lecture
• Source code and implementation examples are included throughout the course