Hello,
How would I go about taking a variable and turning it into an email address?
For example, I have a flow that retrieves a users first and last name that is stored into a variable and I need to send that user an email.
FirstNameLastInitial@domain.com
John Contoso > JohnC@domain.com
Solved! Go to Solution.
@frankc9
Hope you are well,
I believe you can achieve this by using multiple actions,
Hope this helps
Best Regards
Try this expression:
concat
(
split(variables('Name'), ' ')[0],
substring(split(variables('Name'), ' ')[1], 0,1),
'@domain.com'
)
Screenshot:
Thank you for the quick reply!
I am sorry, I should have added if it would be possible to do this in Automate Desktop? Currently, I have an unattended desktop flow triggered by the cloud connection.
I have no doubt it is possible. But I have hardly use Power Automate Desktop, so I cannot tell you how to do it. It's something I hope to spend more time on very soon.
@frankc9
Hope you are well,
I believe you can achieve this by using multiple actions,
Hope this helps
Best Regards
Hope you are doing well yourself! This was exactly what I was looking for and I was able to piece it all together. At one point I was in the right spot, but couldn't figure out how to pull the first and last name from the split text.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
74 | |
26 | |
20 | |
16 | |
15 |
User | Count |
---|---|
144 | |
44 | |
44 | |
33 | |
30 |