5 Steps for Adding A Microsoft Planner Task Using Power Automate

Title card for an article on using Power Automate to add a task to a plan in Microsoft Planner
Categories:

I’ve been using Microsoft Planner to manage the chaos that are my various tasks here at PADT. And even though there are a lot of changes I would make to it, in general, it works well. One big hole in the program is that it doesn’t have templates for tasks. You can make a template for a plan but not for a given task. For a while, I just created a task and then copied them when I needed them, but that just bothered me.

So, when Microsoft doesn’t give you a feature, they do give you Power Automate. The particular tasks I wanted templates for were processing some of our project accounting when purchasing, receiving, and getting invoices from vendors or getting POs from and invoicing customers. I made a Microsoft Form where I could pick the transaction I wanted and had that trigger a flow that created the task I needed in my Vendor/Customer transaction plan in the proper bucket.

It’s a bit of a beast, as you can see in the image below.

a pictures of a Microsoft power automate flow that adds tasks to a Microsoft planner plan

So, for this post, I’m going to share a simpler form and flow that I use to create the tasks I go through when I promote our newsletter, The PADT Pulse. Below, you will find a step-by-step tutorial on creating a flow that creates the task. A zip file with the flow is at the end.

Step 1: Define what you want in your Planner task

The first thing we need to do is create what we want our task to look like. Here is what I came up with:

planner add task power automate f02b

I use a lot of abbreviations that don’t really matter, they make sense to me. Some key things to note are:

  • All sorts of important information about this particular issue is in the task:
    • Link to web version
    • Subject line
    • Issue Month and Year
    • Publish date
    • Text for LinkedIn and the Blog
  • I assign the task to me, put it in the newsletter bucket, and set the due date to the publish date
  • I’ve got some useful text in the Notes section
  • The important part is the checklist

Important note: Planner is evolving and for this flow to work, you have to create a Plan that belongs to a group. If you didn’t specify a group before, the group was the same as the Plan name. Now you need to create a Team in Teams and create the plan under that Team.

Step 2: Make a Microsoft Form to Get Information and Trigger the Flow

This is fairly straightforward, nothing special in the form. We want to get all the information specific about this issue so we can fill out the task and avoid having to hunt all over for the info. Here is how I made my form:

  1. Go into forms.microsoft.com and click “New Form”
  2. Put: “Create Newsletter Publish Task” as the title and choose Text for the first question.
  3. Question 1: Enter Issue: Month Year
  4. Add a new Question, Date
  5. Question 2: What is the publishing date?
  6. Add a new Question, Text
  7. Question 3: What is the subject line?
  8. Add a new Question, Text
  9. Question 4: What is the web link?

That is it. You can change the style and such if you want. Here is what it looks like filled out:

planner add task power automate f03

Step 3: Start Making the Microsoft Flow in Power Automate: Create and Set up Trigger

In this step, we will create the flow, connect it to the form as a trigger, get the data from the form, and test that.

  1. Go to make.powerautomate.com and click “+ Create” on the left menu
  2. Under “Start from blank” choose “Automated cloud flow”
  3. Enter “Create Newsletter Publish Task” as the Flow name
  4. Click on “When a new response is submitted in Microsoft Forms”
  5. Click on Create
  6. It starts with “Invalid parameter” Don’t panic. It needs to know what form you are triggering from. Click on the box then a form shows up on the left.
  7. Choose “Create Newsletter Publish Task” from the dropdown.
  8. Click the + in a circle and choose “add an action”
  9. Choose “Microsoft Forms” to get forms-related actions
  10. Chose “Get response details” This pulls the data from the form into the flow for access
  11. Click on the action to get the form for the action
  12. Choose “Create Newsletter Publish Task” from the dropdown
  13. For Response ID, enter a / to get a list of the available options, and pick “Response ID”
  14. In the upper right, click “Save”
  15. If you do everything right, the “Test Button” will be clickable. Click it. Click Test. Fill out your form and submit
  16. When you go back to your flow, ti should have green checkboxes, like below.
planner add task power automate f04

Step 4: Fixing Date and Create Task

Before we start creating the task we have to deal with the fact that times are stored in Universal Time in Power Automate. So if you have to convert your time into your local timezone. Note, we can avoid this by using text for the “Publishing Date” in the form, but then we can’t set the due date 🙂

To get the date in local time, use a “Convert time zone” Action:

  1. Click the + and choose “Add an action”
  2. Type “time zone” into the search and click the action
  3. For “Base time” click the lightning bolt and pick the “What is the Publishing Date”
  4. Leave “Source time zone” as UTC
  5. Set the “Destination time zone” to your time zone.
  6. For time unit, pick “Short date pattern [d]”
planner add task power automate f06

The next step is to use the information from the form to create the task. We will add more information in the next step.

  1. Click on “Edit” in the upper right get back into edit mode
  2. Click on the plus under “Get response details” and choose “Add an action”
  3. Choose “Planner” from the list
  4. Choose “Create a Task” Don’t pick the preview version.
  5. Click on your new action and fill out ther form
    • Pick the team your plan belongs to for “Group Id”
    • Pick the plan where you want to place the task for “Plan Id”
    • For Title, enter “Publish:”
      • Click the lightning button and pick “Enter issue:…”
      • Type ” | ”
      • Click the lightning button again and choose “What is the publish…”
      • This creates a string for the title with the values you put in the form
    • In the “Advanced Parameters” dropdown choose “Bucket Id” and “Due Date Time”
    • Pick “Newsletter” for the bucket
    • For “Due Date Time” click the lightning bolt and choose “What is the publish…”
planner add task power automate f05
  1. Save and correct any errors
  2. Click Test
    • Click “automatically” so you don’t have to fill out the form again
    • Choose “with a recently used trigger”
    • Click the last test
    • Click the Test Button
    • You should get all green checks!
    • Check your plan, you should have

Here is what our task looks like. Yay!

planner add task power automate f07

Step 5: Add Notes and Checklist with Update Task Details

For whatever reason, they don’t let you set all the values in a new task in the creat action, you have to use the “Update task details” action to do that. So let’s do it.

  1. Get back in edit mode
  2. Click on the plus under “Get response details” and choose “Add an action”
  3. Choose “Planner” from the list
  4. Choose “Update task details”
  5. For “Task id” click the lightning bolt and choose the Id for the task you just created
    • It may not be in the drop down, so click “See more” next to “Create a Task” to get the full list.
    • Chose Id
  6. For the “Description,” which is actually “Notes” in the task, take your sample text from the task you hand made and paste it in.
    • Replace the link with lightning bolt, “What is the web link”
    • Replace the Subject text with lightning bolt, “What is the subject line”
    • Replace the “Month Year” under Blog and LinkedIn with lightning bolt, “Enter Issue: Month Year”
    • Replace the demo subjec tline for the LinkedIn text with lightning bolt, “What is the subject line”
  7. Here is what the form looks like
planner add task power automate f08
  1. Save and test

Next we are going to use the same “Update task details” action to add our check list.

  1. Get back in edit mode
  2. Click on the “plus under “Get response details” and choose “Add an action””Update task detail” action to get the form back.
  3. Under “Advanced parameters” choose “Checklist”
  4. Now comes the part where you wonder if using this flow actually saves time… but remember, you only have to do this once. It’s a pain because you have to provide an Id, the text for the to-do item, and set the flag to false.
    • For “Id – 1” enter 1
    • For “Title -1” copy and paste the first item from your checklist in “Create draft and share with team”
    • For “Checked -1” set ti false
    • Click Add new item
    • Repeat for each item in your checklist
  5. Save and Test

Here is what the form looks like when filled out. Note, at this release there is a bug and even though you set the “Checked” to False, when you go back it shows blank.

planner add task power automate f09png

A Nice Planner Task With All The Info

And that is it. I could make it a bit better by adding a person to the form that gets assigned the task. I could also add a start date.

planner add task power automate f10

I’m not sure how much time this really saves… but I like it. I put the forms for these on a SharePoint page.


Here is a link to the MS Flow package as an example:

Here at PADT, we are all about the right solution for the right problem, and often, that right solution is a flow in Microsoft Power Automate. If you have any engineering needs, maybe, reach out to us and have a chat with our engineers.

planner add task power automate f11

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Additive Manufacturing Success.

Share this post:

Upcoming Events

Jan 22
- Jan 25
, 2025
Arizona Photonics Days 2025
Feb 04
- Feb 06
, 2025
MD&M West 2025
Feb 04
- Feb 06
, 2025
2025 Transformative Vertical Flight
Mar 20
, 2025
Arizona Space Summit 2025
Apr 07
- Apr 10
, 2025
40th Space Symposium
Jun 09
- Jun 11
, 2025
TechConnect World 2025
Jun 16
- Jun 20
, 2025
Turbo Expo
Jul 11
, 2025
2025 Aerospace, Aviation, Defense and Manufacturing Conference

Search the PADT Site

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: