cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dazler5540
New Member

MS Form Capture Response>Send Email>Move email to specific folder

Hi Community,

 

I am facing a problem with moving a specific email sent from my account to another folder. Here is the flow, can someone help me? :

 

dazler5540_0-1638455701166.png

 

After sending the email to a specific person, how can I move that particular email from sent & inbox ( cc )  to another folder ? This flow is triggered by the response captured by MS Forms.

1 ACCEPTED SOLUTION

Accepted Solutions
iltoningui
Super User
Super User

Hi @dazler5540 

Solution 1: you should use Get Emails instead of Get Email

iltoningui_0-1638459043243.png

 

 

first(outputs('Get_emails_(V3)')?['body/value'])?['id']

 

this formula get the id of the first email in the List.

 

Solution 2:

    You have to create a new flow and use and use the trigger "When_a_new_email_arrives_(V3)"

Solution 3:

    You can still use part of the subject, content, sender or recipient to create the rule

View solution in original post

4 REPLIES 4
iltoningui
Super User
Super User

Hi @dazler5540 

 

I can think of 3 ways to solve this

 

Solution 1: (Hardest)

   After sending the email

       - Use delay action to wait 5 minutes (to make sure the email has time to arrive)

       - Use the action get emails to search for the email you just sent (this is tricky because you have to search by subject and you can have more than one email with your search criteria)

       - Use the Move email action with the id from the searched email.

       - Done.

Solution 2:

       - Create a new flow with "When a new email arrives" trigger to monitor the email you just sent

       - Move that email to another folder using "Move email" action.

Solution 3:

      - Create a rule on outlook to move specific emails to another folder.

 

Hope this helps

Consider marking this as a solution.

Hi @iltoningui ,

 

For Solution 1: (Hardest)

 

There has to be Message-Id in order to retrieve the contents of the email. How should I do that? I don't think When a new email arrives trigger will work as this flow has to be trigger if someone fills up the form.

 

dazler5540_0-1638458342412.png

 

For Solution 2:

 

I am facing this error :

Flow save failed with code 'WorkflowRunActionTypeUnsupported' and message 'The workflow run action 'When_a_new_email_arrives_(V3)' has type 'OpenApiConnectionNotification' that is not supported.'.

 

Solution 3 :

 

This isn't working because the subject of this email is on the basis of date that is extracted from the form itself.

 

I appreciate your help on this!

 

 

 

iltoningui
Super User
Super User

Hi @dazler5540 

Solution 1: you should use Get Emails instead of Get Email

iltoningui_0-1638459043243.png

 

 

first(outputs('Get_emails_(V3)')?['body/value'])?['id']

 

this formula get the id of the first email in the List.

 

Solution 2:

    You have to create a new flow and use and use the trigger "When_a_new_email_arrives_(V3)"

Solution 3:

    You can still use part of the subject, content, sender or recipient to create the rule

dazler5540
New Member

Thanks @iltoningui ! You are the best 😄

Solution 1 works perfectly!

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,707)