Monday, 16 June 2025

Pre-chat Fields in AI Agent

 How to collect essential customer information before they start a conversation with the agent?


Using Pre-chat Fields in Embedded Service Deployments(ESD).


—> Visible pre-chat fields are displayed to the user and require direct input.

—> Hidden pre-chat fields are not displayed to your end-user.


Pre-chat forms for Agentforce :


1.Setting context for the agent.

2.Establishing user identity.

3.Advanced routing.

Thursday, 5 June 2025

Dynamic Revenue Orchestrator (DRO) in Revenue Cloud

 

DRO bridges front-office sales with back-office operations, ensuring that every sold product or service is fulfilled accurately and smoothly.


Decomposition : Break down complex orders into manageable tasks.


Fulfillment : Streamlines and automates fulfillment workflows.

Transaction Management in Revenue Cloud Advanced

Transaction Management :

Transaction management has CPQ and Contract.

Create Quote with the right products and Prices. Close deals faster.


Customize the Transaction Line Editor to ensure sales teams have the right information at their fingertips for faster, smarter selling.


Extend SalesTransaction Context to map Custom Fields : 


1.Extend the OOTB SalesTransaction Context directly to create your own custom definition,Add necessary custom mappings and then Activate your definition.


2.Sync your Context Definition on Upgrades.


Note : Avoid cloning and then extending SalesTransaction_Context.


Price Waterfall :


Tip: Use Price waterfall to visualize price breakdowns.


Using Waterfall, view price breakups - taxes, discounts and adjustments at each step, with reasons for every addition or deduction.

Product Catalog management Best Practices in Revenue Cloud Advanced

 Structure Products for Scalability and Reusability.


Note : Product catalog impacts every step of the revenue lifecycle.


1.Organize products into Catalogs and Categories for easy product discovery.

Use qualification rules to help sales person to quickly discover the right product.


2.Use Bundles to structure products hierarchically to simplify configuration, enable flexible customization and streamline the sale experience.


3.Leverage Attributes and Attribute categories, Use configurator to help sales person configure the right product.


4.Performance and scalability considerations, Number of Attributes,Bundle Nesting and number of products in a Bundle.

Features of Configurator in Revenue Cloud Advanced

Configurator : 

Composable Design Templates - powered by Flow Builder.


Configurator Template Assignment - Assign Product or a product Classification to a template.


Preview the config template.


Configuration Rules - Offer an intuitive configuration experience with validation, inclusion and exclusion rules to apply business logic at the time of sale.

Product Catalog Management in Revenue Cloud Advanced

 Catalog  :

A collection of products organized for selling.


Categories :


Subdivisions within a catalog to group products for easier discoverability.


Subcategories :


Additional hierarchy levels for deeper structure.


Ex: Beds —> Sofa Beds, Single Beds


Note :

Effective Start Date

Effective End Date


Control the visibility of Catalogs with Effective Dates.


Assigning Products to categories :


Products must be Standalone ( not ‘’ Sell only with other products”).


Go to : Catalog —> Categories —> Related —> Assign Products.


Note : Products can be assigned to multiple categories/subcategories.


Product not available in ‘Browse catalog’ :


Encountering error retrieving the catalogs or products .


1.Rebuild Index


Go to Setup —> Product Discovery Settings —> Enable ‘ Use Indexed Data for Product Listing and Search’. 


Create Full Index —> Click ‘Rebuild Index’.

Choose ‘ Partial Index Rebuild’/‘Full Index Rebuild’ methods.


Note : Partial index rebuilds capture product updates incrementally while full index rebuilds completely rebuild the entire index, which can be resource-intensive.



2.Product Should be active and ’Sell only with other products’ should be false.

—>Product should have price book entry within the pricebook you selected for this quote or order.

—> Make sure assign a product Selling model’ to your product.

—> Make sure the product is assigned to the catalog you are selecting in the browse catalogs page.


3.Sync Pricing Data


Go to Setup —> Salesforce Pricing Setup —> Click on ’Sync’. Wait a couple minutes for the process to run.


Go back to Transaction Line Editor on your Quote/order and click Browse catalogs verify product is available.

Saturday, 31 May 2025

Agents vs Prompt Templates

 Here's a quick breakdown to help you make the right call 💡

 🔹 𝐀𝐠𝐞𝐧𝐭𝐬: Autonomous, Context Aware, Action Oriented

 🔹 𝐏𝐫𝐨𝐦𝐩𝐭 𝐓𝐞𝐦𝐩𝐥𝐚𝐭𝐞𝐬: Fast, Focused, Stateless


🔹 𝐀𝐠𝐞𝐧𝐭𝐬: 

Agents are like AI project managers they think, reason and act based on evolving context.


𝐁𝐞𝐬𝐭 𝐮𝐬𝐞𝐝 𝐰𝐡𝐞𝐧:

↳ The Context is dynamic

↳ Multi step reasoning is required

↳ AI needs to make decisions or take action

↳ There’s a need for external API calls or workflow automation


🛠️ 𝐔𝐬𝐞 𝐂𝐚𝐬𝐞𝐬:

↳ Multi-step appointment scheduling 🗓️

↳ Drafting dynamic, data-rich customer responses 💬

↳ Troubleshooting via API-triggered workflows ⚙️


Agents are stateful, meaning they remember past steps and adjust based on new data, a powerful tool for orchestrating complex logic with AI.


------------

🔹 𝐏𝐫𝐨𝐦𝐩𝐭 𝐓𝐞𝐦𝐩𝐥𝐚𝐭𝐞𝐬:

Think of prompt templates like laser focused AI assistants, perfect for single turn interactions where you just need one output based on structured data.


𝐁𝐞𝐬𝐭 𝐮𝐬𝐞𝐝 𝐰𝐡𝐞𝐧:

↳ The business context is clear and stable

↳ The task focused and well defined, like summarizing a case or rewriting a sentence

↳ The desired output is predictable, not deterministic

↳ Multi step reasoning is not required


🛠️ 𝐔𝐬𝐞 𝐂𝐚𝐬𝐞𝐬:

↳ Case note summaries 📝

↳ Templated email replies 📧

↳ Meeting note generation 🗓️

↳ Next best action suggestions 🎯


Built in Prompt Builder, these templates securely access Salesforce data via data graphs, RAG, and predefined fields—all while staying inside the Trust Layer

Product Catalog Management

 Key features of Product Catalog Management


1.Catalogs

2.Dynamic Attributes

3.Product Classifications 

4.Products

5.Qualification Rules


Product catalog management allows you to structure your product data by creating catalogs, categories and subcategories.


Ex : Think of this as organizing a library: your catalog is a bookshelf, categories are the shelves, and subcategories are the actions within those shelves.


This structured approach simplifies product management and keeps everything in order.


Catalogs :


Catalogs organize products by category and allow for easy browsing.


Catalogs are an important part of managing product data and ensuring that customers can easily find what they are looking for.


A catalog is a collection of the products that you sell, organized into categories for easier discoverability.


You must create a catalog before you create catalog categories and assign products to the categories.


Categories and Subcategories :


Organize and group products in your catalog by creating catalog categories and catalog subcategories.


Assign products to more than one catalog category and sub category.


2.Dynamic Attributes


Attribute : 


Attributes are the characteristics or properties of products and product classifications.They can be various data types like text, number, date, datetime, checkbox,picklist,currency and percent.


Picklist :


Picklists represent all possible values for such attributes, and users choose one of these values when purchasing a product.You must define picklists before creating attributes of the data type pick list.


Attribute category :


You can group attributes into logical groups called attribute categories.


Attribute categories help users easily find and use the right attributes when they create product classifications.


You can assign attributes individually or through an attribute category to product classifications.


 Product : 

A product is service or goods that a company offers to sell.


Product Classification :


A product classification is a template that you can use to quickly define and create products.


Product classification hold a collection of dynamic attributes. Product classifications can be reused to create multiple products that are similar yet different.


Product Selling model :


Product selling models define how you sell products.The models can be one time , term-defined or evergreen.