Hi @thewiteam,
Could you please share a screenshot of your flow's configuration?
Do you create two separated flows on your side?
Further, do you want to send an email including the link to a OneDrive file?
If you want to send an email including the link to a created OneDrive file, I think the "Create share link" action could achieve your needs. I have made a test on my side and please take a try with the following workaround:
- Add a "When a new email arrives" trigger, Has Attachment field and Include Attachments field are both set to Yes.
- Add a "Apply to each" action, input parameter set to Attachments dynamic content of the trigger.
- Within "Apply to each" action, add a Compose action, Inputs field set to 1. Then add a Parallel branch action, within left branch, add a "Create file" action, specify Folder Path, File Name set to Name dynamic content of the trigger, File Content set to Content dynamic content of the trigger.
Within right branch of Parallel branch action, add a "When a file is created" trigger, specify Folder value. Add a "Create share link" action, File field set to File identifier dynamic content of the "When a file is created" trigger. Add a "Send an email" action, Body field set to Web URL dynamic content of the "Create share link" action.
Image reference:

The flow works successfully as below:

Best regards,
Kris