神经痛什么原因引起的| 脂蛋白高是什么意思| 空腹喝什么茶| 酒蒙子是什么意思| 狐狸和乌鸦告诉我们什么道理| 纪是什么意思| 利尿是什么意思| 清关中是什么意思| 心脏是由什么组织构成的| 黑茶是什么茶| 宋美龄为什么没有孩子| 南非用什么货币| 太极贵人是什么意思| 事业是什么意思| 跳什么舞减肥最快| 上皮细胞高是什么原因| 白斑是什么| 12年是什么年| 提单是什么| 男人腰痛吃什么药| 石见读什么| 超声波是什么原理| 申五行属什么| 陈皮泡水喝有什么功效| 哪吒他妈叫什么名字| 军长是什么军衔| 老打喷嚏是什么原因| 吼不住是什么意思| 鹿茸是鹿的什么部位| 什么安全套好用| 健康证要带什么| 白露是什么时候| 抗病毒什么药效果好| 荷兰猪是什么动物| 盲目是什么意思| 备孕吃什么最容易怀孕| 曹操是什么时期的人| 硬化萎缩性苔藓是什么病| 玫瑰和月季有什么区别| 桃皮绒是什么面料| 脸过敏要注意什么| 豆浆机什么牌子好| 脚气缺什么维生素| 肺部真菌感染用什么药最好| 大校相当于政府什么官| 什么人不能献血| 什么烟最好抽| 身体起水泡是什么病症| 肝吸虫病有什么症状| 男人脚肿是什么病的前兆| 女人阴虚是什么意思| omega什么意思| 左眼皮跳什么意思| 2017属什么| development是什么意思| 人为什么要吃饭| 水淀粉是什么| 刮痧用的油是什么油| 惊世骇俗的意思是什么| 笨和蠢有什么区别| 小孩掉头发是什么原因| 宫颈糜烂用什么药好得快| 尿频尿急尿痛吃什么药| 蜂蜜的波美度是什么意思| 十全十美是什么生肖| 提高免疫力吃什么药| 细胞学说揭示了什么| 做不好的梦预示着什么| 淋巴组织增生是什么意思| 10月18日什么星座| 右眼皮跳有什么预兆| 鸡炖什么好吃又有营养| 环状肉芽肿是什么皮肤病| 梦见孩子拉粑粑是什么意思| 送妈妈什么礼物好| 中性粒细胞数目偏高是什么意思| 2017年属鸡火命缺什么| 人生于世上有几个知己是什么歌| 郑州有什么好玩的景点| 甲功五项是什么意思| 头孢是治疗什么的| 癫痫不能吃什么| 出汗多是什么病| 宝宝肠胃炎吃什么药| 吃什么补充蛋白| 面部提升做什么项目最好| 畸胎瘤是什么病严重吗| 91年的属什么生肖| 寻常疣是什么原因造成的| apl医学上是什么意思| 化作风化作雨是什么歌| 山楂干泡水喝有什么功效和作用| 木加鬼念什么| 小哥哥是什么意思| 大便秘结是什么原因| 9月10日什么星座| 脑梗吃什么好| 网球大满贯什么意思| 凉虾是什么| 回门带什么礼物| 膝盖内侧疼吃什么药| 最贵的烟是什么牌子| 吃坏东西拉肚子吃什么药| 水洗标是什么| 古天乐属什么生肖| 一句没事代表什么意思| 神经性头痛吃什么药效果好| 秋后问斩是什么意思| 脾胃虚吃什么好| 支气管炎咳嗽吃什么药好得快| 骨髓瘤是什么病| 11月7日什么星座| 岁月的痕迹是什么意思| 应酬是什么意思| 儿童吃什么长个子最快| 糜米是什么米| 一什么无| 流产药叫什么名字| 天五行属什么| 鹿茸有什么作用| 缺铁性贫血吃什么药| 累觉不爱是什么意思| 什么叫筋膜炎| 天蝎属于什么象星座| 两袖清风是什么生肖| 尿隐血阳性是什么意思| 桂鱼吃什么食物| 为什么会得人乳头瘤病毒| 软组织挫伤用什么药| 猪苓是什么东西| 阳痿是什么原因造成的| rainbow什么意思| 傻人有傻福什么意思| 心机血缺血吃什么药最好| 夏天为什么会下冰雹| 合胞病毒用什么药最好| 腰痛应该挂什么科| 地狱不空誓不成佛是什么意思| 憋气2分钟算什么水平| 76年属什么的生肖| 息斯敏又叫什么药名| 颈椎脑供血不足吃什么药| 手掌红什么原因| 抻是什么意思| 我们都没错只是不适合是什么歌| 什么叫刺身| 属猴的和什么属相最配| 腐竹和什么一起炒好吃| 今天出生的男宝宝取什么名字好| 吃什么降血压的食物| 安乃近又叫什么名| 什么属于| 片的第二笔是什么| kako是什么牌子| 气管炎吃什么药最有效| 表头是什么| 丹参与什么搭配最好| 一纸空文是什么意思| 不禁是什么意思| cpi下降意味着什么| 囊肿是什么病严重吗| 孕早期生气对胎儿有什么影响| 蒙脱石散适合什么腹泻| 阴道口有点痒用什么药| 身上长黑痣是什么原因| 青菜炒什么好吃| 铁达时手表什么档次| 发低烧有什么症状| 龟龄集适合什么人吃| pu是什么皮| 荷花代表什么生肖| 咦惹是什么意思| 喝水经常呛到是什么原因| 经常便秘吃什么| 什么东西软化鱼刺最快| 里正是什么官| 血糖忽高忽低是什么原因| 翼龙吃什么| 褥疮用什么药最好| 博五行属性是什么| 低钾有什么症状和危害| 羊是什么命| 陈皮是什么皮| 文定之喜是什么意思| 一个夸一个瓜念什么| 牙神经拔了对牙齿有什么影响| 省长什么级别| 生化常规主要是检查什么的| 高级护理是干什么的| 嘴唇淡紫色是什么原因| 蓝莓什么季节成熟| 欲购从速什么意思| 领导喜欢什么样的员工| 十1是什么意思| 副主任医师是什么级别| 妲是什么意思| 综合体是什么意思| 蔓越莓有什么功效和作用| fda是什么意思| 拖鞋什么材质好| 双侧腋下见淋巴结什么意思| 秦始皇墓为什么不敢挖| 梦见自己生了个儿子是什么意思| 东北易帜是什么意思| 港式按摩是什么意思| 阴道发白是什么原因| 喝什么泡水降血压最好| 哪些动物的尾巴有什么作用| 血糖低有什么症状| 月亮五行属什么| 清道夫吃什么| 静脉曲张有什么危害吗| 平诊是什么意思| 桂花什么颜色| 打嗝是什么引起的| 拉屎的时候拉出血来是什么原因| 山药与什么食物相克| 铁皮石斛花有什么作用| 拉肚子是什么原因引起的怎么办| 1977年属蛇是什么命| 腿困是什么原因引起的| 脚掌发麻是什么原因| 情非得已是什么生肖| 上海有什么好玩的地方旅游景点| 舒服的意思是什么| 小儿发烧吃什么食物好| 一节黑一节白是什么蛇| 什么是疱疹| 带节奏是什么意思| 用什么能把牙齿洗白| 右手麻是什么原因| 恋爱是什么| 尿酸高挂什么科| 为什么女人阴唇会变黑| 指甲断裂是什么原因| 智商105是什么水平| 苹果醋有什么作用| 肺结核复发有什么症状| 小腿肌肉痛什么原因| 2003年是什么命| 儿童正常体温在什么范围| 丢包是什么意思| 纯阴八字为什么要保密| 早上六七点是什么时辰| 可定什么时间服用最好| 伴侣是什么意思| 谷朊粉是什么| 缺锌容易得什么病| 喝醋有什么好处和坏处| 什么是ppi| 拉仇恨是什么意思| 月球上有什么| 症瘕痞块是什么意思| 妇科养荣胶囊主治什么| 尿道口红肿是什么原因| 屁股上有痣代表什么| 胃疼吐酸水是什么原因| 老心慌是什么原因| 肛门瘙痒涂什么药膏| 头发干燥是什么原因| 牙疼是什么原因| 尽虚空遍法界什么意思| 总是心慌是什么原因| 尿素氮偏高是什么原因| 百度
Unleashing productivity: Master prompt templates with flow tools

4 myths -- and facts -- about online security

By
百度 面对强敌,埃及队今天攻防两端都展现出了较高水平,防守几乎滴水不漏,而进攻时他们则有萨拉赫这柄反击利器。

Prompt Builder became generally available on February 29, just over two months ago. Since then, we’ve seen a lot of Salesforce Admins start to experiment and come up with a wide variety of use cases to leverage it. From summarizing records to generating points of view and even creating business-context rich emails, there are a tremendous amount of use cases that Prompt Builder can help solve for.

In my previous write-up of Prompt Builder, I focused on the importance of grounding prompts and prompt templates with your rich CRM data. This can be easily achieved using standard tools such as merge fields (from objects), flows, and Apex classes. Incorporating these prompt templates into a variety of template types such as emails, Field Generation, and even Flex templates is also easy.

The current challenge

While the out-of-the-box user experience for Prompt Builder is great, it often takes too many clicks to get a generative artificial intelligence (GenAI) response, specifically for Field Generation template types. Admins and users looking to quickly share the value that GenAI could have at their organizations might foresee this as a challenge, leading to negatively impacting adoption and usage of Prompt Builder.

Below is a brief video that outlines what the current user experience is like for using Prompt Builder when attempting to update a field.

To help address this challenge, and also inspire admins to learn how to reduce the number of clicks needed to get a GenAI response back from a large language model (LLM), this write-up focuses on a few techniques of seamlessly integrating Prompt Builder to enhance business processes, thereby creating efficiencies within existing workflows.

The opportunity

A hidden gem of Prompt Builder is the fact that prompt templates can now be called as actions throughout the Salesforce Platform. This means admins can now easily invoke them using standard flows! Through screen flows or even autolaunched flows, admins can invoke prompt templates without needing users to manually obtain a GenAI response. Other options for invoking prompt templates include using the Metadata API, Connect API, or even Apex classes. Find more details in this documentation.

Let’s dive into a few examples of how you can invoke prompt templates using flows.

Dynamic Action

Use case

Your key account has many opportunities associated to it; most of them are closed and some of them are open. You need a quick and easy way to get a list of these opportunities along with the pertinent details associated to them for an upcoming account review with them. Users should be able to get this information without having to click into the various tabs on the Lightning page.

Solution

Because Dynamic Actions are easily available on a record’s Highlight’s panel, they are almost always “pinned” to the Lightning page layout. This means that they are almost always available on a record page no matter where a user navigates while on it. Because of this modularized behavior, the Highlights panel offers an opportunity for admins to place a button allowing users to call on a prompt template quite easily.

Here are the detailed steps for this solution.

  1. Create a prompt template in Prompt Builder.
  2. Create a screen flow.
    • The Record ID will be provided by the context of where the screen flow is run.
    • The Record ID obtained will be passed as an input into the prompt template (being referenced as an Invocable Action in the flow).
    • The response from the LLM will be displayed to the user through a Screen element. Best practice recommendation: Because these responses are generated through an LLM, it’s best to place a message within the Screen element informing users that they should review the responses for accuracy.
    • The response will be saved to the record using a standard Update Records operation. Best practice recommendation: Since GenAI will provide responses based on your data quality in conjunction with the instructions provided in your prompt templates, it’s recommended to insert a timestamp of when the summary was generated by the LLM. This will ensure that users are fully aware of how “fresh” the summary is.
  3. Create an Action on the object which will call on the screen flow (created in the previous step).
  4. Place the Dynamic Action on the object’s Lightning page.

Menu of prompt templates

Use case

While the above example was a great starting point for integrating prompt templates with flows, it still poses a risk to adoption. In the videos above, you may have noticed that we had six individual fields in total on the Account object page, each providing summaries for an account’s:

  • Cases
  • Opportunities
  • Activities
  • Orders
  • Invoices
  • Holistic summary (that combined all of the above)

Would this mean that we would need to create six separate Dynamic Actions and place them on the Lightning layout? This would present a few different challenges for admins. First, you would need to spend an inordinate amount of time creating separate Dynamic Actions for every field where you’d like a GenAI response. And second, from a maintenance standpoint, it would be less than ideal to update the Dynamic Actions when business processes evolve.

Solution

Luckily, we have the flexibility and creativity of using flows to address this use case! Let’s learn more about how to make this a better user experience. The details of this solution are very similar to the previous solution, with a few minor differences outlined below.

  1. Create a prompt template in Prompt Builder.
  2. Create a screen flow.
    • The Record ID will be provided by the context of where the screen flow is run.
    • A screen is presented to the user asking them which prompt template they’d like to invoke, preferably through a radio button selection.
    • Based on the user’s selected choice, a Decision element will be used to branch out separate outcomes. Each branch will associate a separate Invocable Action (of a prompt template) that will correspond to the choice made by the user.
    • The response from the LLM will be displayed to the user through a Screen element. Best practice recommendation: Because these responses are generated through an LLM, it’s best to place a message within the Screen element informing users that they should review the responses for accuracy.
    • Just as with the previous solution, the GenAI response will be saved to the record using a standard Update Records operation. Best practice recommendation: Since GenAI will provide responses based on your data quality in conjunction with the instructions provided in your prompt templates, it’s recommended to insert a timestamp of when the summary was generated by the LLM. This will ensure that users are fully aware of how “fresh” the summary is.
  3. Create an Action on the object which will call on the screen flow (created in the previous step).
  4. Place the Dynamic Action on the object’s Lightning page.

Autolaunched screen flow

Use case

Some users may wish to be presented with a GenAI response immediately upon loading a record page without clicking anywhere on the page. This can be especially helpful for cases where speed of delivered information is paramount to a user’s productivity; clicking a button wouldn’t be an option for such scenarios.

Solution

Once again, use the power of flows to solve for this requirement. The details of this solution are similar to the previous two.

  1. Create a prompt template in Prompt Builder.
  2. Create a screen flow.
    • The Record ID will be provided by the context of where the screen flow is run.
    • The Record ID obtained will be passed as an input into the prompt template (being referenced as an Invocable Action in the flow).
    • The response from the LLM will be displayed to the user through a Screen element. Best practice recommendations: Because these responses are generated through an LLM, it’s best to place a message within the Screen element informing users that they should review the responses for accuracy. Also, since GenAI will provide responses based on your data quality in conjunction with the instructions provided in your prompt templates, it’s recommended to insert a timestamp of when the summary was generated by the LLM. This will ensure that users are fully aware of how “fresh” the summary is.
  3. In Lightning App Builder (on the record page), drop a Flow component onto the canvas and associate your screen flow to the component. Ensure that the Pass all field values from the record into this flow variable checkbox is selected.

Pro tip: As a starting point, admins can add a component visibility filter on the Flow component to render for certain types of records, such as Tier 1 Accounts or Escalated Cases.

While this technique is great for providing immediate value and benefit to users, admins must exercise caution when implementing it. Because this solution would automatically launch a prompt template on page load, it would also automatically consume your quota of Einstein Requests in accordance with your org’s allocation. More details on that here.

Integrate Prompt Builder into your workflows today

My personal favorite solution is option 2: menu of prompt templates. It gives admins the flexibility of adding, removing, or updating the choices of which prompt templates they’d like to offer their users based on the needs of their organization, all without sacrificing on how users can perform their day-to-day functions in Salesforce.

As you can imagine, the possibilities of solving for your users’ needs are endless with the flexibility of embedding GenAI responses within an existing workflow. As an admin, it’s strongly recommended that you review and evaluate existing business processes to understand where in a process you could possibly embed GenAI without cutting back on your users’ productivity or experience. You may end up using one, multiple, or all of the above solutions!

Resources

什么人不能爬泰山 水银中毒会出现什么状况 胡子长的快是什么原因 什么日什么里 alcon是什么牌子
细软是什么意思 孕期便秘吃什么通便快 咖啡喝多了有什么危害 高血压一般在什么年龄 巴氏杀菌是什么意思
甲五行属什么 中医讲肾主什么 京酱肉丝是什么菜系 心腹是什么意思 反洗钱是什么意思
胸口出汗是什么原因 牙神经拔了对牙齿有什么影响 2011属什么生肖 更年期综合征吃什么药 有什么运动
刷屏是什么意思hcv8jop4ns6r.cn 天妇罗是什么意思hcv8jop2ns7r.cn 北京晚上有什么好玩的景点hcv8jop6ns9r.cn 偏头痛什么原因引起的hcv8jop4ns4r.cn 杨贵妃属什么生肖hcv9jop7ns5r.cn
宫内感染有什么症状hcv9jop3ns8r.cn 鸽子配什么煲汤最好hcv9jop1ns9r.cn 小便有泡沫是什么原因hcv9jop5ns5r.cn 眼干是什么原因hcv8jop9ns0r.cn winner是什么意思hcv8jop0ns9r.cn
馀是什么意思hcv8jop9ns7r.cn 人授和试管有什么区别hcv9jop7ns1r.cn 化疗为什么要剃光头hcv9jop4ns8r.cn 父亲节做什么手工hcv9jop6ns5r.cn 水瓜壳煲水有什么功效huizhijixie.com
青鹏软膏主要治疗什么hcv8jop9ns6r.cn 失眠睡不着吃什么药好hcv8jop6ns3r.cn cas是什么意思jiuxinfghf.com 6月20号是什么星座hcv8jop5ns9r.cn 鲮鱼是什么鱼chuanglingweilai.com
百度