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

Community site session details

Session Id :
Power Automate - General Discussion
Answered

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,271 Most Valuable Professional on at
    Replace Email with Abbreviation
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard