Ben's Bites
← Back
.md

Automating project management tasks

Develop several automations for task management with AI.

intermediate pro
Tool: ChatGPTTool: Airtable Topic: Project Management

2024-12-19

Welcome to the fourth lesson of our Automating project management with AI course!

In this tutorial, we’re going to add some data automations to our project management system in Airtable by writing formulas with ChatGPT, layering in native Airtable AI data enrichments, and developing multi-step AI workflows to automatically update task dates based on certain criteria. This will take our basic project management system and significantly upgrade it to automate many repetitive tasks.

Steps we’ll follow in this tutorial:

  • Auto-categorize tasks based on criteria
  • Auto-tag tasks based on task details
  • Automate timeline updates

Tools needed:

  • Airtable
  • ChatGPT

Let’s get into it!

Auto-categorize tasks based on criteria

Now that our project management app is set up, it’d be helpful to add some automation elements to help us manage the project and streamline repetitive action items over time. The first thing we’ll do is auto-categorize tasks if there’s a due date coming up for them. This will help us with project alerts and communication.

To do this, we’ll hop into ChatGPT and have it create an Airtable formula for us to tag records if they have a due date in the next 7 days.

Sample Prompt:

Write an Airtable formula that calculates to "Yes" if field "Due date" is within the next 7 days from NOW() and "No" if not.
__wf_reserved_inherit
💡 Tip: While you can create Airtable formulas yourself or use Airtable's AI features, using ChatGPT to write formulas is a smart choice. It's both faster and cheaper, since Airtable's AI features cost extra money but their regular formula fields are free.

ChatGPT will output the formula, which you can copy by clicking the “Copy code” button in the top right corner of the output.

__wf_reserved_inherit

Next, head into the Airtable Base we created in the previous lesson, open your “Tasks” table, and click the “+” button on the column header row to add a new column. Search and select the “Formula” field type.

__wf_reserved_inherit

Then, paste in the formula you copied from ChatGPT.

__wf_reserved_inherit

Now, all of your tasks will be auto-categorized with whether they are due in a week or not, based on the Due Date field.

__wf_reserved_inherit
💡 Tip: We’ll be using this field in a future lesson to create communication automations, but you could start planning now for how you’d use this data or create similar formula fields for your task data.

Auto-tag tasks based on task details

Now we’re going to use Airtable’s native AI fields to auto-tag our data based on more ambiguous and complex criteria. To do this, click the “+” button in the column header row and select the “AI” option at the bottom of the pop-up.

__wf_reserved_inherit
💡 Tip: As mentioned earlier, Airtable’s AI field comes with an extra cost to your monthly license. So we recommend using formula fields wherever possible, and only using AI fields when a formula can’t work for your use case (i.e. there’s a more ambiguous and complex set of criteria).

Next, we’ll select the “Categorize records” option from the dropdown.

__wf_reserved_inherit

We want to categorize our task data based on the Task Name and Description, so we’ll select those two fields as the inputs for our categorization generation.

__wf_reserved_inherit

Next, we’ll add our category options. For our data, it will be: Research, Design, Engineering, or Other. This means the AI will read through our Task Name and Descriptions to label our tasks based on the categories we’ve created here.

__wf_reserved_inherit
💡 Tip: If you click the gear icon in this window, you can set this field to automatically generate when a record is added or edited. This is more automated but will come with a higher AI credit cost. Additionally, you can provide descriptions of each of your options to help the AI better categorize your data accurately.

We set our AI field to manually generate, so when we click the “Generate” button for each record, it will now accurately categorize our tasks. We can now use this data for reporting, communications, and other use cases.

__wf_reserved_inherit

Automate timeline updates

For the final automation of this tutorial, we’re going to automate timeline updates based on due dates for tasks being in the past. To do this, click the “Automations” tab in the top navigation.

__wf_reserved_inherit

Then, click the “Create automation” option in the bottom left corner of the page.

__wf_reserved_inherit

We’ll first need to add a trigger to the automation. To do this, click the “+ Add trigger” box at the top of the page. We’re going to have our update timelines automation run weekly, so we’ll select the “At scheduled time” option in the dropdown.

__wf_reserved_inherit

Select the frequency you want your automation to run. We’ll have ours run weekly on Monday mornings.

__wf_reserved_inherit

Now, we’ll find the records that have due dates in the past. To do this, click the “Add advanced logic or action” box and select the “Find records” option from the dropdown.

__wf_reserved_inherit

In the right side step editor, set the “Table” to your Tasks table, the “Find records based on…” as a Condition, and then define your criteria. We’re setting our criteria as records with Due Dates in the past and a Status that is not “Completed”.

__wf_reserved_inherit

Next, we want to add another “Find records” step that grabs all of the records in our task table. This will let us provide more context to a future AI step on how we should think about updating the Task Due Date based on all of the other tasks in the project.

__wf_reserved_inherit

Now, we can create a repeating AI step that updates the Task Due Date. To do this, click the “Add advanced logic or action” box and select the “Repeating group” option.

__wf_reserved_inherit

For the input configuration, click the “Select input list” button. This will define what records we’ll loop through in this repeating action.

__wf_reserved_inherit

Select the first “Find records” step and the “Use as list” data option. This means we’ll loop through every task record with a Due Date in the past that isn’t in a “Complete” status.

__wf_reserved_inherit

For our first action in the repeating group, select “Generate with AI”.

__wf_reserved_inherit

Now, we’ll prompt the AI step with the timeline update directive and additional context from our project to configure the task with a new due date.

Sample Prompt:

This task: [select ‘Task’ from current repeating item] is delayed. Based on the task description, notes, and all of the tasks in the project, output a more realistic task due date. Output just the date, nothing more.Task description: [select ‘Description’ from current repeating item]All project tasks: [select all fields from “Find records from Grid view”]
__wf_reserved_inherit

Finally, we’ll add an “Update record” action and set the field to update to “Due date” and the input of the field to be the “Response” from the previous AI action step.

__wf_reserved_inherit

We can now test our new update timelines automation. Find (or update) a record to have a Due Date in the past.

__wf_reserved_inherit

Test each step of the automation and see the new output from the AI step for that record. It should shift the “Due date” of the task to the most reasonable future date within the project.

__wf_reserved_inherit

Nice work! You now have a series of automations, powered by AI, for your Airtable project management base. You can use these automation building blocks to create more AI-powered fields and automations for your project.

In the next lesson, we’ll build on what we’ve created here to automate project communication.

This tutorial was created by Garrett.

Upgrade to Pro

This tutorial contains Pro content. Upgrade to access the full tutorial and all Pro features.

Get Pro Access