Skip to main content Stream TDX Bengaluru on Salesforce+. Start learning the critical skills you need to build and deploy trusted autonomous agents with Agentforce. Register for free.

I'm trying to create a customized greeting for chats in omni channel, but I'm running into an issue with the merge field. Our users come from a feed and the name default to all upper case. It looks a little odd when the chat says "My name is SAMANTHA, how can I help you". 

 

I've tried a few different things like (lower{!User_FirstName}) and {!LOWER(!User_FirstName)} to get around this, but it either doesn't populate anything or it still populates in all uppercase with the other text around it. Is there an easy way to do this or do I just need to make a custom field on the user object to get it in the proper case? 

답변 2개
  1. 2023년 5월 18일 오전 12:10

    I actually found a way to do it after I posted this. I couldn't stop looking for an answer lol. I ended up using:

     {!UPPER(LEFT(User.FirstName,1)) + LOWER(RIGHT(User.FirstName,LEN(User.FirstName)-1))} 
로딩 중
0/9000