I assume you looked at this resource: Substitutions overview - Genesys Cloud Resource Center (mypurecloud.com)
The thing to remember is that aside from the built-in substitutions, if you want a custom substitution, you have to use the same name in a Set Attribute action in the inbound flow (call, email, or message) that will populate it for the substitution to use. That means that outbound Email or SMS will not be able to use them except for the default value you define.
------------------------------
Robert Wakefield-Carl
ttec Digital
Sr. Director - Innovation Architects
Robert.WC@ttecdigital.comhttps://www.ttecDigital.comhttps://RobertWC.Blogspot.com------------------------------
Original Message:
Sent: 05-25-2023 14:38
From: Fnu Ganesh
Subject: Getting Department value as null in canned response even though the department value added in agent profile
Department substitute value is adding as blank in canned responses. I have added the agent department in profile. Please suggest how to retrieve the department name of the agent in canned response


#DigitalChannels
#Omni-ChannelDesktop/UserInterface
------------------------------
Ganesh
------------------------------