Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to map First Name and Last Name separately while creating a contact?

(0) ShareShare
ReportReport
Posted on by 2

I have a requirement where, whenever a new email is received in Outlook, a contact should be created using the "From" address as the contact’s email. The First Name and Last Name will also be extracted from the "From" address.

To fulfill this, I have created a Power Automate flow (a snapshot of the flow is provided below): -

In below snapshot, the First Name variable is set using the "From" address.

 

In below snapshot, the Last Name variable is set using the "From" address.

 

In below snapshot, the First Name and Last Name variable is combined using concat function to map Given Name.

Image

I am able to create contact using above flow, but I want to map FirstName and LastName of contact separately. But as per above flow I can only map Given Name. 

Can anyone suggest how can we map FirstName and LastName separately while creating contact using Create Contact (V2) action in power automate. I have also attached zip file of my flow for reference.

  • Verified answer
    Expiscornovus Profile Picture
    31,846 Most Valuable Professional on at
    How to map First Name and Last Name separately while creating a contact?
    The surname field should be listed under the Advanced parameters.

    Below is an example how to set this up.

    Using the Surname
     


    The end result of using Given Name and Surname separately.


Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492