Welcome to Outfitters, a sample retail application. Outfitters is a fictional resort that uses Agentforce, the power of Data Cloud, and the Salesforce Platform to deliver highly personalized guest experiences. Explore ways to bring agents into business workflows, including new smart automation capabilities, Search Property, content generation.
Did you watch the demo? The following are a set of instructions to setup the end to end demo in your own environment. While the end to end demo supports multiple clouds, you have full flexibility to use only the portions relevant to what you want to try out in your own org, additionally once the packages are installed you have the ability to fully customize it based on your needs.
The Outfitters app showcases how with Data Cloud we have a true Customer 360 that then drives the right and best experience with Agentforce Agents.
1. Pre-Deployment Instructions
4 step process
1. Salesforce Org Setup Requirements for Retail App
Option 1: To support the Retail app, you can either create a new Salesforce Org or use an existing one, provided it includes the following features and licenses:
Requirement | Details |
---|---|
Licenses Required | - Data Cloud - Sales Cloud - Service Cloud - Experience - Commerce Cloud - Personalization - Marketing Cloud - MuleSoft (Optional) |
Features Required | - Service Agent - Einstein Agent - Copilot - Prompt Builder - Agent Force - Real-time(Additional SKU) - Code Builder (Optional) |
Our package is designed to support all these clouds, but you have full flexibility to use only the portions relevant to your business. If you are not using a particular cloud (e.g., Loyalty
Cloud), you can simply skip its configuration—the package will still install successfully, but that feature will not be available until you configure it yourself. Additionally, you can customize
and enhance the existing package by adding your own features as needed.
Option 2: To ensure a seamless integration and unlock a 360-degree view of customer interactions, we recommend enabling Salesforce Foundations in your org. This free enhancement integrates Sales, Service, Marketing, Commerce, and Data Cloud functionalities, improving efficiency and AI-readiness.
How to Enable Salesforce Foundations:
- Log in to your Salesforce instance.
- Navigate to Setup → Search for Salesforce Foundations.
- Click "Add to My Contract" (It's free).
- Select the Foundations products and proceed with checkout.
- Return to Setup and follow the on-screen instructions to complete the configuration.
🔗 More details: Salesforce Foundations
External Connections: The app showcases the use of structured and unstructured data ingested from AWS and the use of zero-copy with Snowflake. This section talks about the connectivtity you would need for those use cases.
Connection | Details |
---|---|
Amazon S3 Used to bring in structured and unstructured data. Unstructured data powers Agent conversations in this setup. |
NOTE: If you do not have an existing Amazon S3 instance, register for the free tier and follow this guide to create a dedicated user with required permissions. Already have an S3 instance? No need to sign up again. Before proceeding, note your programmatic credentials (Access Key ID and Secret Access Key). |
Snowflake Used to showcase Data Cloud’s Zero Copy capabilities. |
NOTE: If you do not have access to a Snowflake instance, follow this article to create a Warehouse, Integration User, and configure and note public/private keys that you will use with Salesforce Data Cloud. |
2. Enable Features on the Org (20 minutes)
3. Install Pre-Deployment Package (10 minutes)
Step | Action and Details | Images |
---|---|---|
Install package | - Click on this Package Installation Link - Sign-in to the Org with your credentials. - Choose Install for Admins Only option - Choose “Rename conflicting components in package” and click the Install button. - Wait until installation is completed, you will receive a confirmation on logged in user’s email |
![]() ![]() |
Verify Package installation | - Click Setup - Search for package - Click on 'Installed PAckage' - Search for 'RetailConfigPackage' is installed |
![]() |
4. Setup the Salesforce Org (20 minutes)
1 step process
Step | Action and Details | Images |
---|---|---|
Install Outfitters Base Package | - Click on this Package Installation Link - Sign-in to the Org with your credentials. - Choose Install for Admins Only option - Choose “Rename conflicting components in package” and click the Install button. - Click Done when installation is complete. |
![]() |
Verify Package installation | - Click Setup - Search for ‘Installed Package’ - Search for ‘RetailDataKitPackage’ is installed |
![]() |
3. Data Cloud Configuration
8 step process
1. Setup Data Streams
The Data Kit is installed as a part of the Package installation. Follow the steps below to create data streams.
Setup Salesforce Data Streams (15 minutes)
1a. Create Data Steam for Amazon S3 (10 minutes) $${\color{blue} S3 \space Optional: \space Please \space note \space that \space some \space functionality \space in \space Experience \space Cloud \space and \space in \space the \space C360 \space will \space no\space longer \space function\space as \space expected \space if \space not \space installed. }$$
Step | Action and Details | Images |
---|---|---|
Upload Unstructured data to the S3 Bucket | Before you continue, upload the below test files to your AWS instance, create a bucket called "hosporgfarm" or the bucket you wish to use for this demo AWS UnStructured Data |
|
Create a Connection to Amazon S3 in Salesforce | Navigate to Data Cloud Setup In the menu, under EXTERNAL INTEGRATIONS, click on Other Connections - Click New, choose Data Kits as the source and click Next. Select RetailDataKitPackage -Select hosporgfarm -Change the name & API name of the connection "hosporgfarm". -Put the bucket name “hosporgfarm” please feel free to change the bucket name based on your existing AWS bucket -Fill the credentials and save. |
1b. Create Data Stream for Snowflake (5 minutes) $${\color{blue} Snowflake \space Optional: \space Please \space note \space that \space some \space functionality \space in \space the \space C360 \space will \space no\space longer \space function\space as \space expected \space if \space not \space installed. }$$
1c. Create Return_Policy_FAQs DLO Creation for Unstructured Data(10 minutes)
Complete this step only if you have setup a connection and the file notification process in AWS
Step | Action and Details | Images |
---|---|---|
Create Return_Policy_FAQs DLO Creation | - Click on Data Lake Object Click on New - Click on Create from Data Kits, Click on Next - Select Return_Policy_FAQs, select “hosporgfarm’ connection. Click on Next - Click on Deploy. |
1e. Create Party Identification Collection Data Lake (5 minutes)(CHECK)
Step | Action and Details | Images |
---|---|---|
Create Party Identification Collection DLO Creation | - Click on Data Lake Objects Tab - Click on New - Click on “Create from Data Kits”, Click on Next and select “RetailDataKitPackage” package - Select Party Identification Collection. - Click on Next - Click on Save. |
2. Create Data Transforms from Data Kit (5 minutes)
Proceed with this step only if you have setup a connection to snowflake
3. Cross Verify CRM Data (5 minutes)
Proceed with this step only if you have the Real-Time SKU enabled in your org
4. Create Identity Resolution Ruleset from Data Kit (5 minutes)
5. Create Calculated Insights (5 minutes)
6. Create Data Graph (5 minutes)
7. Create Data Cloud Copy Field Enrichment (15 minutes)
8a. Create Activation Targets
Step | Action and Details | Images |
---|---|---|
Create Data Cloud Activation Target | Go to Data Cloud app - Click on Activation Target - Click on New - Select ‘Data Cloud’ under targets. - Click on Next. -In Activation Target name provide ‘Data Cloud Target’ - Under dataspace, select as ‘default’ - Click on Save |
8b. Create Segment from Data Kit
Step | Action and Details | Images |
---|---|---|
Create Segment | Go to Data Cloud app - Click on the Segment tab - Click New - Select "Installed from Data Kit” - Choose "RetailDataKitPackage" - Click on Next - Select Segment as Individual and provide Segment name as Get Customers. - Select Standard Publish - Select Publish Schedule to 4 hrs and select the start and end date. - Click on Save. - Click on Publish now button. |
8c. Create Activations
Step | Action and Details | Images |
---|---|---|
Create Activations | By default, space is default - Need to select the Get Customer segment and activation target as data cloud - Click on continue - Select Email. -Click on Continue - Click on add attributes - And from individual select the following attributes - Sold to Customer,Order Number, Product Id, Recall and Product Name - Click on Save with name as Get Recalled Customers. |
8d. Create Variation Attribute Set
Step | Action and Details | Images |
---|---|---|
Create Variation Attribute Set | Go to App launcher>> Search for Commerce>> Open it - Select the "Outfitters" store - From the left navigation bar, choose "Settings", then "Product", and finally "Variation Attribute Set". - Click on “New” and set the name “Shoe Variations” and add the attributes "star", "Durability", "Ventilation", and "Category" to the "Selected field" section. - Repeat this process to create another Variation set attribute named "Tents and Sleeping bags" attribute set,but only add the "Size" attribute. |
9. Create Search Fields
Step | Action and Details | Images |
---|---|---|
Create Search Fields | Go to App launcher>> Search for Commerce>> Open it - Select the "Outfitters" store - From the left navigation bar, choose "Settings",then "Search", and finally "Search Fields". - Click on Manage Searcheable Fields - Add Variation Attribute Fields and Product - Standard Fields that are required. |
4. Commerce Cloud Configuration
8 step process
1. Verify Organization Wide Address (5 minutes)
2. Install Agent and Experience Site Package (1 hour 30 minutes)
Step | Action and Details | Images |
---|---|---|
Install Agent & Exp Site Package |
- Install VSCode Download - Setup CLI a. Install the Salesforce CLI https://developer.salesforce.com/tools/salesforcecli or check that your installed CLI version is greater than 2.56.7 by running sf -v in a terminal. - If you need to update the Salesforce CLI, either run sf update or npm install --global @salesforce/cli depending on how you installed the CLI. - Install Extension - Open VSCode > Go To> Extensions->Salesforce Extension Pack>Install - Open Terminal Clone git Repository by using below command git clone https://git.soma.salesforce.com/gdevadoss/DataCloudRetailDemo.git - Open the Project - Authorize an Org - Type Ctrl+Shift+P Select SFDX:Authorize an Org - Select Project Default - Enter the Org alias - Authorize the Org - Open terminal and run the command sf project deploy start --source-dir force-app NOTE: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
NOTE:
3. Create Commerce Data (5 minutes)
4. Search Update (5 minutes)
5. Upload CMS Images into the Store (15 minutes)
Step | Action and Details | Images |
---|---|---|
Upload CMS Images into Store | - Download Images from CMS Images - Click on App Launcher>> Select commerce application>> Click on Store - Open Outfitters Store - Scroll down to Content Manager - Click on Add workspace - Enter details such as Name "Outfitters Managed Content Space" and select Enhanced CMS Workspace and click on Next - Add Outfitters Channel as Public and Outfitters site and click Next - Keep language as it is and click on Finish - Click on Add and select Content >> select images>>Click on Create button>> click on upload button>>Select Image>>Image and Title populated>>Enter API name (can be the same as file name)>> Save it>> Click on Publish button>> Keep Details as is>> Click on Next>> Select Publish Now>>click on publish now button - Please repeat the above steps for all the images |
|
6. Add CMS Product Images (15 minutes)
7. Enable Self Registration (5 minutes)
8. Share CMS with Site workspace (5 minutes)
5. Connect and Create Sample Data
4 step process
1. Create Sample Data (5 minutes) $${\color{blue} Optional: \space These \space steps \space are \space optional \space if \space you \space choose \space to \space use \space your \space own \space data. }$$
2. Create Buyer Group & Assign Buyer Group for Self-Registration (10 minutes) $${\color{blue} Optional: \space These \space steps \space are \space optional \space if \space you \space choose \space to \space use \space your \space own \space data. }$$
2a. Assign Buyer Group Member Related List to Buyer Group Layout(5 minutes)
3. Create Community User and Assign User to Buyer Group (5 minutes)
4. Setup Data in Snowflake (15 minutes) $${\color{blue} Snowflake \space Optional: \space Please \space note \space that \space some \space functionality \space in \space the \space C360 \space will \space no\space longer \space function\space as \space expected \space if \space not \space installed. }$$
Step | Action and Details | Images |
---|---|---|
Create Table to hold Sales_Order data | - Login to the Snowflake Database/Schema that is connected to Data Cloud and run the below DDL script to create Sales_Order table. |
create or replace TABLE <<database_name>>.<<schema_name>>.Sales_Order
(
ORDER_NUMBER VARCHAR(15),
CUSTOMER_NUMBER VARCHAR(15),
ORDER_DATE TIMESTAMP_NTZ(9),
STATUS VARCHAR(15)
)
Step | Action and Details | Images |
---|---|---|
Load data into Sales_Order table | - Load data in the below csv file into Sales_Order table: SALES_ORDER_DATA csv | |
Create Table to hold Sales_Order_Item data | - Login to the Snowflake Database/Schema that is connected to Data Cloud and run the below DDL script to create Sales_Order_Item table. |
create or replace TABLE <<database_name>>.<<schema_name>>.Sales_Order_Item_DATA
(
ORDER_ITEM_NUMBER VARCHAR(30),
ORDER_NUMBER VARCHAR(15),
PRODUCT VARCHAR(30),
QUANTITY NUMBER(3,0),
UNIT_PRICE NUMBER(16,2),
SUBTOTAL NUMBER(16,2),
LINE_NUMBER VARCHAR(3)
)
Step | Action and Details | Images |
---|---|---|
Load data into Sales_Order_Item_DATA table | - Load data in the below csv file into Sales_Order_Item_DATA table: SALES_ORDER_ITEM_DATA.csv | |
Grant Access to the Tables in the Database/Schema | - While still logged in to Snowflake, execute the following statement |
create or replace TABLE <<database_name>>.<<schema_name>>.Return_Order_DATA
(
ORDER_NUMBER VARCHAR(15),
CUSTOMER_NUMBER VARCHAR(15),
STORE_NAME VARCHAR(30),
ORDER_DATE TIMESTAMP_NTZ(9),
TYPE VARCHAR(15),
DELIVERY_METHOD VARCHAR(30),
STATUS VARCHAR(15),
TOTAL_AMOUNT NUMBER(16,2)
)
Step | Action and Details | Images |
---|---|---|
Load data into Return_Order table | - Load data in the below csv file into Return_Order_DATA table: RETURN_ORDER_DATA.csv | |
Grant Access to the Tables in the Database/Schema | - While still logged in to Snowflake, execute the following statement |
create or replace TABLE <<database_name>>.<<schema_name>>.RETURN_ORDER_ITEM
(
ORDER_ITEM_NUMBER VARCHAR(30),
ORDER_NUMBER VARCHAR(15),
LINE_NUMBER VARCHAR(3),
PRODUCT VARCHAR(30),
QUANTITY NUMBER(3,0),
UNIT_PRICE NUMBER(16,2),
SUBTOTAL NUMBER(16,2),
RETURN_REASON VARCHAR(255)
)
Step | Action and Details | Images |
---|---|---|
Load data into RETURN_ORDER_ITEM table | - Load data in the below csv file into RETURN_ORDER_ITEM table: RETURN_ORDER_ITEM_DATA.csv | |
Grant Access to the Tables in the Database/Schema | - While still logged in to Snowflake, execute the following statement |
grant select on tables in <<database_name>>.<<schema>> to role sysadmin
Note: Before Creating ML Model, Go to Data Cloud>> Data Stream>> Account_Home>>Click on Refresh Now button and Wait till it get into success status Also Go to Data Stream>>Contact_Home>> Click on Refresh Now Button and Wait till it get into success status Go to Data Explorer>>Under Object select Data Model Object >> Then Select Account Contact>>Verify your Data their You can modify columns as well by click on Edit Columns.
5.Create ML Model For Propensity to Purchase (5 minutes)
5a. Add Propensity To Purchase Prediction ML Model into Flow (5 minutes)
5b. Create ML Model For Propensity to Churn into Flow (5 minutes)
5c. Add Propensity To Churn Prediction ML Model into Flow (5 minutes)
6. Finish Configuration
6 step process
1. Prepare Data Cloud
1a. Refresh Snowflake Data Streams (5 minutes) $${\color{blue} Snowflake \space Optional: \space Please \space note \space that \space some \space functionality \space in \space the \space C360 \space will \space no\space longer \space function\space as \space expected \space if \space not \space installed. }$$
1b. Refresh Data Graph (5 minutes)
1c. Run Calculated Insights (5 minutes)
2. Prepare Experience Site
2a. Activate Messaging Setting (5 minutes)
Step | Action and Details | Images |
---|---|---|
Activate Messaging Setting | - Navigate to Setup go to messaging setting - Click on ESA Channel -> Click on ‘Activate’ - Click on Checkbox then click on Accept |
![]() ![]() |
2b. Configure Digital Experience (20 minutes)
2c. Enable Login Access (5 minutes)
2d. Change the layout of the Login page (5 minutes)
2e. Change the layout of the Register page (5 minutes)
2f. Change the email Address (5 minutes)
2g. Create Trusted URLS (10 minutes)
Step | Action and Details | Images |
---|---|---|
Create Trusted URLS | - Navigate to Setup, in Quick Find search Trusted URLs and click on Trusted URLs (under Security) - Click on New. Key-in 'TrustedSite2' as the API Name - Use https://DOMAINNAME.my.site.co for URL - Replace DOMAINNAME with actual org Domain Name. To find the Domain name please follow the following steps: - Navigate to Setup, in Quick find search Domain → Please add https://DOMAIN from the below path (please select domain which is related to the experience cloud Sites Domain) - Click on Save Add Trusted URL to Agent Sites - Click on Setup - Click on Sites -> Check the check box if Domain is not enabled, Click on 'Register My Salesforce Site domain' button - Click on ‘ESW_ESA_Web_Deployment_1733127495782’ - Click on Add Domain - Add DOMAINNAME with actual org Domain Name. To find the Domain name please follow the following steps: - Search for Domain in Quick find → Please copy the name which ends with .my.site.com (e.g epicorgfarm79.my.site.com) - Navigate to Setup, in Quick Find search All Sites - Click on All Sites (under Digital Experiences) - Click on Builder against Outfitters - Click on Settings and then 'Security & Privacy' - Click on Add Trusted Sites button - Add Name as 'TrustedSite1' and add url as domain name, which you have copied on prev steps (e.g https://e.g epicorgfarm79.my.site.com) - Click Publish |
![]() |
2h. Create CORS (10 minutes)
Step | Action and Details | Images |
---|---|---|
Create CORS | - In the Quick Find>Type CORS - Click on New> Paste https://DOMAINNAME.my.site.com In Origin URL Pattern - Replace DOMAINNAME with actual org Domain Name. > Click Save -Click on New . - Paste https://*.develop.vf.force.com to 'origin URL Pattern' - Click Save - Click on New - Paste https://*.live-preview.salesforce-experience.com. to ‘origin URL Pattern’ - Click Save - Click on New - Paste https://*.visualforce.com to ‘origin URL Pattern’ - Click Save - Click on New - Paste https://*.force.com to ‘origin URL Pattern’ - Click Save - Click on New - Paste https://*.salesforce-scrt.com to ‘origin URL Pattern’ - Click Save - Click on New - Paste https://*.my.site.com to ‘origin URL Pattern’ To find the Domain name please follow the following steps: > Search for Domain in Quick find → Please copy the name which ends with .my.site.com (e.g epicorgfarm79.my.site.com) |
|
2i. Publish ESA (5 minutes)
3. Prepare Agentforce
3a. Add Agent User into Agentforce Service Agent and Activate (5 minutes)
4. Miscellaneous Configuration
4a. Update Einstein Search Retriever (perform only if Amazon S3 Connection has been created ) (10 minutes) $${\color{blue} S3 \space Optional: \space Please \space note \space that \space some \space functionality \space in \space Experience \space Cloud \space and \space in \space the \space C360 \space will \space no\space longer \space function\space as \space expected \space if \space not \space installed. }$$
Step | Action and Details | Images |
---|---|---|
Update Einstein Search Retriever | - Click on Setup, in the Quick Find Box, enter Prompt Builder, and then select Prompt Builder - Search for the Prompt Template named Return Policy and click on the hyperlink - Hover the cursor on text the next to 'Please use the below information to help you answer the question : ', click on Resource, click on Einstein Search, click on 'Return_FAQ' and click on 'Return_FAQ' Retriever - Click on Save As New Version click Activate |
4b. Assign Contact Record Page as Org Default (5 minutes)
4c. Create a New Version of Omni-Channel Flow (10 minutes)
4d. Access email Deliverability to all email (5 minutes)
Step | Action and Details | Images |
---|---|---|
Access email Deliverability to all email | Click on Setup - Search for ‘Deliverability’ - Change Access Email from ‘System email Only’ to ‘All email’. - Click Save |
![]() |
4e. Prepare User (10 minutes) $${\color{blue} Optional: \space These \space steps \space are optional \space if \space you \space choose \space to \space use \space your \space own \space data. }$$
5. General Notes (30 minutes)
6. Connected App Configuration (20 min)
Step | Action and Details | Images |
---|---|---|
Connected App Configuration | -In the Top Right, Click on the Profile Icon then Click on the Name of the profile(for e.g OrgFarm Epic), then click on User Details, after you land on User Detail Page, click Edit -Change the Email Address Of Orgfram Epic User to your Email Id -Wait for 5-10 minutes till your Email is Verified -Go to Setup, search App Manager, Click on App Manager Then, search for ‘GuestUserCometD’ Connected App, scroll to the Right, click on drop-down arrow button, click on View, once you are on Connected App Page, click on ‘Manage Consumer Details’ -Copy the Consumer Key and Consumer Secret and Keep it in Notepad, we will be using them in the steps below. -Perform the below script from anonymous window to get the Secret key and then store in Secret_Key__mdt -->Secret_Key__c Field ‘String secretKey = EncodingUtil.base64Encode(Crypto.generateAesKey(256)); System.debug('Generated Key: ' + secretKey);’ Metadata record name must be Label=HMAC_Secret, Client_Id__c = Consumer Key Client_Secret__c= Consumer Secret -Search for the connected app again ‘GuestUserCometD’ -From Setup Go to the connected app again ‘GuestUserCometD’ Scroll to the Right, click on drop-down arrow button, click on View, once you are on Connected App Page, click on ‘Manage’, Scroll down to ‘Client Credentials Flow’ as 'Run as user of Admin profile' Then Add the profiles in profile section of connected app "Einstein agent, system admin, outfitter profile" and Save -Go to Auth Provider Search for ‘GuestUserAuth’ Click on Edit and Paste the Consumer Secret and Consumer key that you have in your notepad, also If you are performing this in Sandbox change the Authorization Endpoint as and Authorization Token, if Performing in Production add the Authorization Endpoint as and Authorization Token. -Save the Auth Provider, from the same Auth Provider Scroll down to Salesforce Configuration Section, Copy the Callback URL and Paste It in Notepad. Go To Setup , Search App manager, Search for ‘GuestUserCometD’, Scroll to right Click on dropdown arrow and view, once you are in connected app, Click on Edit Paste the callback URL you copied inThe Callback URL Field and Save the App -Go to Setup Search for Named Credentials -Search for GuestCometDNew1 And Click on Edit -Update the URL to current org domain URL (Go to setup>>search>>MyDomain ) -Save the Named Credentials and you will Get authenticated -If you get an Error Wait for 10 minutes and Save the Named Credentials again. -Connected App Configuration 2 -Go to Setup, search App Manager, Click on App Manager Then, search for ‘Data Cloud API’ Connected App Click on Manage Consumer Details -Copy the Consumer Key, Consumer Secret and Keep it in Notepad, we will be using them in below steps. -Go to Setup, search for Auth. Provider Auth Search for ‘Data_Cloud_Auth ‘Click on Edit and Paste the Consumer Secret and Consumer key that you have in your notepad, If you are performing this in Sandbox change the Authorization Endpoint as https://test.salesforce.com/services/oauth2/authorize and Authorization Token -if Performing in Production add the Authorization Endpoint as https://login.salesforce.com/services/oauth2/authorize and Authorization Token -Save the Auth Provider, from the same Auth Provider Scroll down to Salesforce Configuration Section, Copy the Callback URL and Paste It in Notepad. -Go To Setup , Search App manager, Search for Data Cloud API, Scroll to right Click on dropdown arrow and view, once you are in connected app, Click on Edit Paste the callback URL you copied inThe Callback URL Field and Save the App. |
7. Named Credentials (10 min)
8. Tableau Dashboard
7. After Creating Self Registration User
### 1a. Add Membership into Account/contact as well snowflake after Self Registration Personal Account creation
Step | Action and Details | Images |
---|---|---|
Scenario 1: When Existing Membership Number value present in snowflake and user want to use it | - Go to App launcher>> Search for Data Explorer >> Select object type as data model>> Select Return Order - Now Result will show under Customer Complaint column>> copy any of any of the value(eg: RC-925126791) - Go to contact tab>> open recently created record via self registration form - Edit Membership Number field and replace with new value. - click on save - Wait for 10 to 15 min so that Contact_Home data stream will refresh. - Log in self registration created user in experience site and run your agentforce scenario |
![]() ![]() ![]() |
Scenario 2: When Existing Membership Number value present in snowflake and user want to use it | - Go to contact tab>> open recently created record via self registration form - Copy the Membership Number field value - Same Membership Number need to present in snow flake : Download the below file, use the same format to create data entries, under And add the membership number from self registration created contact under Return Order File Column Customer Account https://infosystechnologies-my.sharepoint.com/:x:/g/personal/sreeram_v01_ad_infosys_com/EX3SFbQeeIhKsI_sSrS8NvIBbmUtEPLsPrp9-Nw5W3QoQw?email=snehal.salve01%40infosys.com&wdOrigin=TEAMS-MAGLEV.p2p_ns.rwc&wdExp=TEAMS-TREATMENT&wdhostclicktime=1747143700048&web=1 - Go to Snowflake>> under table RETURN_ORDER ,upload the file - Download the below file, use the same format to create data entries, for Return Order Line Item https://infosystechnologies-my.sharepoint.com/:x:/g/personal/sreeram_v01_ad_infosys_com/EX3SFbQeeIhKsI_sSrS8NvIBbmUtEPLsPrp9-Nw5W3QoQw?email=snehal.salve01%40infosys.com&wdOrigin=TEAMS-MAGLEV.p2p_ns.rwc&wdExp=TEAMS-TREATMENT&wdhostclicktime=1747143700048&web=1 - Go to Snowflake>> under table RETURN_ORDER_ITEM ,upload the file - Wait for 15 to 20 min to refresh the data stream named as Third Party Survey. - Go to App launcher>> Search for Data Explorer >> Select object type as data model>> Select Return Order Product>> Result will pop up, verify your new data entry - Go to App launcher>> Search for Data Explorer >> Select object type as data model>> Select Return Order line>> Result will pop up , verify your new data entry - Log in self registration created user in experience site and run your agentforce scenario. Note: Before asking any questions to agentforce and copilot please wait 15 to 30 min for all data stream to be refresh so that you will see the data under contact 360 2. You can only create 1 self register users because we have only 5 license. |
1b. Publish Segments and Calculated Insights
1c.To enable real time for the new contact on Self Registration (5 min)
Behind the Scenes - how is the agent powered?
Curious to see the all the possible utterances and how they are powered by the Agent. Here is a list of all the possible coversations, the corresponding topics and the components that power them. There are two contacts populated with all the relevant information to drive these conversations - Duncan Macintosh and Mark Smith. You can login to experience cloud as either of these contacts to have these full agent conversations.
Sl. No. | Utterance | Behind the Scene | Topic | Components |
---|---|---|---|---|
1. | Greeting saying 'Hi' or 'Hello' | An Apex class accepts a ContactId, retrieves the associated Activation records to check for Recall Products. | First Interaction on Greeting | a. Apex - ActivationAudienceResult. b. Activation -Get Recalled Customers |
2. | I am running a marathon next month can you suggest suitable shoes? | Based on the user's login status, we tailor the experience accordingly. For guest users, we gather preference details through a few questions before providing personalized footwear suggestions. Logged-in users receive direct marathon shoe recommendations based on their query and profile | Footwear Suggestion | a. Apex - GuestUserShoeRecommendation. - DisplayProductList. - GuestORLoggedInUserCheck |
3. | The marathon is in Mexico | This is where we leverage WeatherAPI to analyze upcoming weather patterns for the next week and deliver tailored product recommendations based on forecast data | Weather Forecast | a. Apex - CheckMexicoWeather b. Platform Event - WeatherBasedShoeFlyout__e |
4. | How does this compare to my last shoes? | We use real-time browsing behavior and data graphs to identify the product the user is currently viewing. The system also queries the Product DMO and Sales_Order DMO based on the user's Contact ID via the agent. This enables retrieval of relevant product and purchase history. A prompt then generates a product comparison using both real-time and historical data. | Product Comparison | a. Flow - Get Comparison Product Details. - Call RT DG for CURRENT product. b. Apex -DisplayComparisonFlyout. c. Prompt -ShoeComparisonTemplate. c.Platform Event -ShoeComparisonPopup__e. |
5. | I'll go with this which size should be good for me? | Looks at the Return_Order DMO based on the Contact ID of the user using the agent. | Size Recommendation Assistance | a. Flow - Size Recommended From Return. |
6. | Are there any discount? | Looks at the Promotion DMO and Promotion_Product DMO based on the ProductId of the user using the agent from Real-time. | Check for Discounts | a. Flow - Check_For_Discount. - Call RT DG for CURRENT product. |
7. | What is the Return Policy? | Reads unstructured data from PDFs that has been ingested into Data Cloud where it is chunked, vectorized and indexed for easy retrieval | Return Policy Details | a. Prompt - Return Policy |
8. | I would like to place an order | The system authenticates the user to verify their validity as a contact before creating a record in the Sales_Order DMO based on the product the user is interested in. | Place New Order | a. Apex - Get Customer Details by Messaging_Session. -Place Order. -Call RT DG for CURRENT product. |
9. | I am also interested in Homestead Domey 3 Tent | The system checks the ProductItem DMO to verify the availability of the product. If the product is unavailable, it suggests similar product options to the user. | Check Product Stock | a. Flow - Check Product Availability b.Apex -GuestORLoggedInUserCheck. c.Prompt Action -Up Sell Products |
10. | Where is my Order | Looks at the Sales_Order DMO based on the Contact ID of the user using the agent. | Order Enquiry | a. Flow - Fetch_Recent_Order |
11. | I would like to process a return | The system queries the Sales_Order DMO using the user's Contact ID to check the delivery status of the order. Based on the delivery status, it will prompt the user to generate a return label if applicable. | Return Request Assistance Generate Return Label |
a. Flow - Fetch Order Details for Returning. b. Apex -ReturnLabelEvent. c.Platform Event -returnLabelEvent__e |