web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Replace Email with Abb...
Power Automate
Unanswered

Replace Email with Abbreviation

(0) ShareShare
ReportReport
Posted on by 34
Hello, 

I am trying to replace an email address with the actual city name. For example,

I get emails from my three locations: 

stl@email.com
 
I would like to change from the email address to:

St. Louis
Chicago
Detroit
 
So I can update a row on an excel spread sheet using location instead of the email address.


I was thinking about using a condition, but I was thinking I could use a contains and replace function. Let me know your thoughts!

Thank you!
Sitter Wizard
Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,707 Most Valuable Professional on at
    The easiest way to do this would be to use a Switch action just before the Add a row to set a variable that you can use with the location name based on the value of the email field.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard