- Home
- Guides
- AI Builder & AI
- How to turn Outlook emails into Microsoft To Do tasks with AI Builder
How to turn Outlook emails into Microsoft To Do tasks with AI Builder
Move an email into a special Outlook folder and a Power Automate flow sends it to an AI Builder prompt, which writes a clear task title, picks a due date, sets importance and status, and adds a note. The task lands in Microsoft To Do and the email goes back to your inbox with a `Task created` category.
Jump to a step (11)
Flagging an email in Outlook creates a task that just copies the subject line and uses whatever date you picked. A few days later you see 'RE: FW: quick question' in your task list and have no idea what it means or when it is really due.
You stay in control of which emails become tasks. You move an email to a folder called Task temp, and that move starts the flow. The flow converts the received time into a format AI Builder can read, runs a custom prompt that returns the task fields as JSON, and creates the task with Add a to-do (V3).
Finally, the flow moves the email back to the inbox and tags it, so the folder stays empty and you can see which emails already have a task.
What you need
- Microsoft 365 Business Basic or Standard with Outlook, Power Automate and Microsoft To Do
- AI Builder credits for the Run a prompt action
- An Outlook folder under Inbox to use as the trigger (the video uses
Task temp)
Step by step
0 of 11 done-
01
Create the AI Builder prompt
In the Power Automate dashboard, select Prompts, then Build your own prompt. Paste instructions that ask the AI to analyze the email and output a
title,due date,importance,statusandnotein JSON.The instructions in the video say:
- Title: clear and actionable, 5 to 8 words, with no
REorFW - Due date: judge the urgency, and use any date mentioned in the email body. Include a time
- Importance and status: decide from the email content
- Note: a short note with the right context
- Title: clear and actionable, 5 to 8 words, with no
-
02
Add the four email inputs
Replace each placeholder in the instructions with a Text input using Add content. Name them
Subject,Body,SenderandReceived time. The flow fills these in when it runs. -
03
Set JSON output, name and save the prompt
Keep the default model
GPT 4.1 minior pick another from the list. Change the output from text to JSON so each field shows up separately in the flow. Rename the promptOutlook taskand click Test to see the output structure. You can add sample content to the inputs and tune the instructions before you move on. Save the prompt. -
04
Create the trigger folder in Outlook
In Outlook, click the three dots next to Inbox and select Create new subfolder. The video names it
Task temp. Moving an email into this folder is what tells the flow to create a task. The email will not stay there. -
05
Create the flow with a folder trigger
In Power Automate, select Create, then Automated cloud flow. Name it
Task from Outlookand chooseWhen a new email arrives (V3). Open Advanced parameters, addFolder, click the folder icon and pickTask tempunder Inbox. The flow now runs only for emails you move there, not for every new email. -
06
Convert the received time
Add
Convert time zonefrom Date Time.Base time:Received Timefrom the triggerSource time zoneandDestination time zone: your local time zoneTime unit:Full date/time pattern
AI Builder cannot read Outlook's default received time format, so skipping this step breaks the flow.
-
07
Run the prompt with the email data
Add
Run a promptand selectOutlook task. Map the inputs:Subject:Subjectfrom the triggerSender:Fromfrom the triggerBody:Bodyfrom the triggerReceived time:Converted timefromConvert time zone
Click See more if a field is not listed.
-
08
Create the task in Microsoft To Do
Add
Add a to-do (V3)from Microsoft To-Do (Business).To-do List:TasksTitle: thetitleoutput fromRun a promptDue Date: thedue dateoutputImportance: choose Enter custom value, then pick theimportanceoutputStatus: choose Enter custom value, then pick thestatusoutputBody Content: thenoteoutput (click See more if you do not see it)
-
09
Move the email back to the inbox
Add
Move email (V2). SetMessage Idto the trigger'sMessage IdandFoldertoInbox. This step is optional, but it keeps the trigger folder empty and puts the email back where you expect it. -
10
Tag the email with a category
Optionally add
Assign an Outlook category. Use the sameMessage Idand type a category name such asTask created. You can then see at a glance which emails already have a task. Save the flow. -
11
Test the flow
Click Test, choose Manually, and send yourself a test email. Right-click it in Outlook, choose Move and select
Task temp. The run finishes in seconds. In Microsoft To Do you will see a new task with an AI-written title, a note, and a due date taken from the email body. In Outlook, the email is back in the inbox with theTask createdcategory.Moving an email to the folder from the Outlook mobile app also triggers the flow. Turn the flow off when you do not want it running.
Tips and common problems
- Convert the received time with
Convert time zonebefore sending it to AI Builder. The raw Outlook format does not work. - Switch the prompt output from text to JSON, otherwise you get one block of text instead of separate title, date and note fields.
- For
ImportanceandStatusinAdd a to-do (V3), select Enter custom value first, or the dynamic AI output will not fit the field. - Setting the trigger's
FoldertoTask tempmeans only emails you move there become tasks, not every new email. - Each run uses AI Builder credits. The video's prompt is kept short so each email uses few tokens.
Questions
How do I turn an Outlook email into a Microsoft To Do task automatically?
Use a Power Automate flow with When a new email arrives (V3) watching a specific folder, then Add a to-do (V3). Moving an email to that folder creates the task. Adding an AI Builder prompt in between lets AI write the title, due date and note.
Why not just flag the email in Outlook?
Flagging creates a To Do task that copies the email subject and uses the date you pick. The AI version reads the whole email, removes RE and FW, picks the due date mentioned in the email, and adds a note with context.
Do I need AI Builder credits for this?
Yes. The Run a prompt action uses AI Builder. Microsoft To Do itself is included with your Microsoft account.
