For email, the name is sent to us in the email header in a single field and not separated as first name/last name. That's why we offer only the full name out of the box - we wanted to avoid mistakes separating the first name/last name. However, you could set up an email flow to retrieve the first name/last name from another system and pass those via participant data and use custom substitutions to populate that data.
For chat, you should be able to create custom substitutions to capture the first name/last name sent from the website.
https://developer.mypurecloud.com/api/webchat/index.htmlAdditionally, chat flows are currently in beta and allow you to perform additional data dips to populate the first name/last name as you can do for email. If you'd like to participate in the chat flow beta, let me know. There are a few caveats around the usage currently, but glad to get you setup if you are ok with the caveats.
------------------------------
Lucie DeCristofaro
Genesys - Employees
------------------------------