Automatic First Name in Outlook Web reply

Hi all,

I know that a few of you use Outlook Web for email, so I thought you might find this useful.

When you're replying to an email in Outlook Web, the snippet below will extract the first name of the person to whom you're replying. Essentially, it's just like the command pack for Gmail.

{=split({site: text; selector=.ReadWriteCommonWell-wellItemText}, " ")[1]}

hey I don't manage to make it work in outlook the CSS selector is not working when trying to select the Name of the person I am replying to

Woud you be able to give me some precision ?

Thanks a lot in advance

Hi,

I took a look at Outlook and Text Blaze gave me this selector for the sender:

{site: text; selector=.Q84Kk}

This is the full name including the email. If you want just the first name you can split it by " " and take the first item:

{=split({site: text; selector=.Q84Kk}, " ")[1]}

To see how the splitting works, look at this example:

{formtext: name=example; default=Joe Smith jsmith@example.com}

Full match: {=example}
First Name: {=split(example, " ")[1]}

1 Like

Hi Scott, thank you so much for taking the time to reply and assist so swiftly, it worked perfectly and it's a real gain of time for me !!