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
Resolver IV
Resolver IV

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
Resolver IV
Resolver IV

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
Resolver IV
Resolver IV

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,956)