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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Calculate email addres...
Power Automate
Unanswered

Calculate email address frim form input

(0) ShareShare
ReportReport
Posted on by
  • Good day-

Wondering if this is appropriate for power automate.

 

a form prompts for fax number.

calculate the email address from the number:

 

form input := 800-555-1212

email address = 800555121@myfaxnumber.com

 

now send an email to email address with an attachment that the enduser drops into the form.

 

is this possible?  I'm poking around in power automate.

 

many thanks

Categories:
  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Hi @Cmulgrum, 

     

    Try this:

     

    1. Put the faxnr answer in a compose.

    2. Add another compose and replace the "-" from the faxnumber with this code: replace(outputs('Compose'),'-','')

    3. Then put the email domain in one compose.

    4. In a send email action put in both of the composes without a space between the.

    Heartholme_1-1652196263300.png

     

    5. Now you have to 'build' the attachement. Start by Using this Json Scema to extract the information from your Forms flow. Copy this an put in in a parse Json action:

    { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "link": { "type": "string" }, "id": { "type": "string" }, "type": {}, "size": { "type": "integer" }, "referenceId": { "type": "string" }, "driveId": { "type": "string" }, "status": { "type": "integer" }, "uploadSessionUrl": {} }, "required": [ "name", "link", "id", "type", "size", "referenceId", "driveId", "status", "uploadSessionUrl" ] } }

    If this does not work, copy the scema of the description of this video: https://www.youtube.com/watch?v=az23pHVLdSo

    It might have bugged out due to interering with the HTML formatting of this post.

    Heartholme_4-1652196769298.png

     

    6. Then add a get file metadata and put in the "id" from the parse json, this will automatically put the action into an apply to each.

    7. Then use the ID in a get file content action in order to get the content of the file.

    8. Then both the name and the content in the send email. For the adress field use both the composes from the previous steps, the compose for the email number/adrress, then the email domain. Remember no spaces between them.

    Heartholme_5-1652196855865.png

     

    Let me know how this goes 😄

     

    { If my post answered your question, please Accept it as a solution ✔ }
    { This will in turn help others find solutions to similar questions }

    Best Regards
    Heartholme

     

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    @Cmulgrum 

     

    Were you able to do this? Any more questions? 😊

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard