Agentforce Service Agent Greet Users by Name with Agent Script Builder

Personalize your Agentforce Service Agent greeting with an Agent Script and a username variable. Follow these steps to create a better welcome.

A customer opens your Experience Cloud site and starts a support chat. Instead of a generic “Hello, how can I help?”, your Agentforce Service Agent says, “Hi Alex, how can I help with your order today?”

That small change makes the conversation feel more personal from the first message. In a recent Service Cloud implementation, I used Agent Script with a context variable to make the agent greet authenticated community users by name without asking for it again.

In this tutorial, I will show you how to configure an Agentforce Service Agent greet users by name using Agent Script, a Messaging Session field, and an inbound Omni-Chann