
Learn to build production-ready Salesforce real-time AgentForce agents from scratch using AgentScript, Flows, Apex, and Data Cloud, addressing hallucinations with a structured framework and integrating with external systems like Slack.
Launch real-time Salesforce agents by configuring metadata components, objects, apps, profile access, and Apex classes as custom actions, then deploy to a new org and practice along.
Explore how to build a 24/7 hotel assistant with Agent Force, integrating Rumi for bookings, room service, food orders, and checkout in Salesforce using reusable actions and flows.
Create an agent force enabled developer org and deploy customer, food options, and food bill. Clone repo and deploy with Salesforce CLI and VS Code to initialize Luke's hotel app.
Enable digital experience, create a public guest site named Rumi, and set up Einstein service user as the roomie agent. Publish the site and tailor the welcome message and topics.
Deploy the Roomie agent to the public site by configuring omni-channel routing, a messaging channel, and embedded service deployment, then test via the preview and enhanced web chat.
In this lesson, the agent creates a customer record via a flow action, passing name, mobile number, check-in date, and room preference, and returns a unique customer ID for onboarding.
Design a deterministic agent script framework with an active flow gate to lock context and prevent hallucinations in hotel room booking, using topic selectors, variables, and explicit transitions.
Breaks a large hotel room booking topic into two well defined topics and enables topic chaining through action invocation to generate a customer ID and confirm bookings.
Develop and deploy a receptionist employee agent that initiates customer check-in by obtaining a customer ID and updating the Salesforce status to checked in, enabling future service workflows.
Design a food booking module for the Roomie agent with customer, food options, items, and bills. Add a validation flow for guest customers to confirm IDs on first contact.
Adds a food booking flow that verifies customers by ID against Salesforce, using an auto-launch validate customer action and an active flow to ensure only verified, checked-in customers proceed.
Validate the customer, present all food options via a custom action, then show options in a tabular format and proceed to create food items and a bill using option IDs.
Build an Apex custom action to process dynamic food orders from a Rumi agent by deserializing JSON of item IDs and quantities, creating a customer-linked food bill and items.
Demonstrates completing a food booking by invoking a process food order apex invocable method, converting user selections to JSON, creating a food bill, and linking it to the customer.
Learn to implement sequential action chaining with agent script, linking a generated food bill to a customer via a follow-up action that updates records and confirms the order.
Implement end to end room service by creating a linked Salesforce case assigned to a room service queue, validating customers, and initiating service requests through a configurable topic flow.
Rumi guides customers from onboarding to checkout, calculating and displaying a line-by-line bill breakdown, instructing payment at the reception, returning keys, and updating Salesforce status to checkout.
Deploy an lwc component to recreate the hotel loox ui on a customer site, using cursor ai assistant and copilot to speed up front-end development in experience cloud.
Explore building a Salesforce Einstein AI powered clinical trial agent using service agents, data triggered workflows, and data cloud libraries to answer FAQs, recommend trials, and automate post-enrollment tasks.
Enable data cloud to power the clinical research agent, connect to a FAQ PDF knowledge base, and create the clinical research app with a front-end agent and data library.
Create and deploy the Agent Force data library for faq documents, upload clinical trials pdfs, and configure a data cloud retriever to power agent answers via prompt templates.
Upload a clinical trials PDF to a new data library, extract eligibility criteria with data cloud rag and agent force, test prompts, and match patients to trials via a retriever.
Create a knowledge prompt template to enable a clinical trial agent to retrieve trials from a PDF data library, filter by patient age, city, gender, and condition, and present matches.
Create a new participant-facing community site, deploy the front-end clinical research agent, and configure an omnichannel flow with a messaging channel to route work via the logged-in patient context.
Enable person accounts to create participant site users. Log in as the user to access patient data such as city and age for real-time agent queries.
Publish the logged-in user ID from the community page, populate a pre-chat field, and use an omnichannel flow to stamp the messaging session with the current account for the agent.
Create a flow action that builds a dynamic prompt from the current patient details via session context, then passes it to the clinical trial recommendation prompt and displays results.
enroll participants in clinical trials by adding a trial enrollment object and a flow-driven action that links participants to trials via a junction record.
Create and manage a clinical trial activities data library in Salesforce Data Cloud; build an agent that retrieves activities from PDFs, automates task creation and Slack alerts for each study.
Create a backend post enrollment agent separate from the front-end clinical trial agent to manage backend activities with a prompt template and data library.
Build flow actions to create task records linked to participants and to send Slack messages, supported by a clinical trial queue and a prompt template that fetches activities.
Implement real-time Slack notifications from Salesforce by creating a custom Apex invocable action using incoming webhooks, remote site settings, and a Slack app to notify on new trial participant enrollments.
Create a record-triggered flow on enrollment that invokes the post enrollment agent after a delay, passing participant id and clinical trial name to trigger activities and slack messages.
Update the medicore research site UI to resemble a clinical research site, enable read, typing, and delivery receipts, and publish the embedded service deployment with the clinical research header.
Install and configure Java, set environment variables, and verify with the Java version. Then install the Salesforce CLI, VS Code, Git, and the Salesforce Extension Pack for VS Code.
Welcome to the Salesforce Agentforce Real-Time Project Implementation Course, where you'll learn to build AI agents in real-world scenarios.
The demand for Agentforce is growing rapidly, yet many Salesforce professionals still lack hands-on experience. This course is designed to bridge that gap by guiding you through practical projects that help you build real-time AI agents with confidence.
Whether you're learning Agentforce for the first time or building a POC for your clients, this course offers hands-on experience and the confidence you need to work effectively with Agentforce. you will build Projects that you can confidently explain in an Interview , You’re encouraged to share them with recruiters and hiring managers.
in this course, we’ll build real time projects from scratch:
1. Roomie Agent
In this project, we’ll begin by building our very first AI Agent — Roomie, a virtual assistant for a luxury hotel website. This is a beginner-friendly project that introduces you to the foundational concepts of Agentforce.
You’ll learn how to:
Create your first Agentforce AI Agent
Define reusable actions that power specific tasks like room service and food ordering
Train the agent to ask the right questions at the right time
Leverage context to offer personalized and accurate responses
Integrate the agent with a customer-facing Experience Cloud site, accessible to any hotel guest — no login required
Roomie is designed to assist hotel guests throughout their stay. It can:
Help onboard new customers
Assist with food order placement
Handle room service requests
Support users during the checkout process
You’ll also get hands-on with:
Defining Topics that translate into real agent capabilities
Adding instructions and actions that guide the agent in performing tasks
Building custom actions using Flows and Apex
Creating dependent actions, where the output of one action feeds into the next
By the end of this section, you’ll have built a fully functional AI assistant that simulates a real-world hospitality use case — laying a strong foundation for more advanced projects ahead.
2. Clinical Research Agent (Frontend) And Post Enrollment Agent (Backend)
In this project, we’ll take a major leap and build a much more advanced AI agent — the Clinical Research Agent. This agent is designed for the healthcare and research industry, capable of answering detailed patient queries around clinical research, trial eligibility, and company-specific studies.
You’ll learn how to:
Equip your Agent to Answer User's question by utilizing Agentforce Data library
Build Complex Agent Actions using Knowladge Prompt templates, Apex , Flows and API's
Solve business Use case with Less code and Less Record Creation by giving Agent Access to Unstructured Business Data and Train it to take intelligent Actions.
Work With Context Variable to get all the Share all the details with Agent before the Conversation starts with Customer
Work with Multiple Agents to divide the Task Among them, the Front end agent to talk with Customer and Backend agent to perform backend Analysis and Execution
This agent uses several features of Salesforce Einstein AI and Agentforce, including:
Agentforce & AI Agents
Data Cloud and RAG
Agentforce Data Library
Prompt Builder
Context Variable
Complex Actions using Apex ,flow , API
Invoking Agent with Record Triggered flows
By the end of this section, you’ll be capable of building production-grade AI agents for critical, high-impact industries like healthcare and research
Note:
Code and Prompt Templates Built in Lectures will be provided in the Respective lectures.