Create a Google Task from a Gmail thread

Convert email threads into actionable tasks automatically
Created by
Peter Pasco
Peter Pasco
Product Designer
Relay.app screenshot of: Create a Google Task from a Gmail thread

Steps in this workflow

1
Gmail logo
When Gmail thread has a specific label
2
Google Gemini logo
Extract message and names of senders
3
OpenAI logo
Parse task items and details
4
repeat
Iterator
5
Google Tasks logo
Create task
6
Gmail logo
OPTIONAL: Remove label from thread

Transform your Gmail threads into actionable Google Tasks automatically. Here's how it works:

  • The workflow activates when you label a Gmail thread with a designated label
  • AI extracts messages and sender names from the thread
  • It identifies any action items or to-do tasks that are assigned to you
  • Each task is created in Google Tasks with details like due dates and context
  • The label can be automatically removed from the thread after processing
1
Gmail logo
When Gmail thread has a specific label

Monitors Gmail for threads that receive a specific label you configure. The workflow starts automatically when this label is detected on any thread.

Relay.app screenshot of: When Gmail thread has a specific label
2
Extract message and names of senders

Extracts the email messages and names of senders from the labeled Gmail thread. This prepares the content for AI analysis in the next step.

Relay.app screenshot of: Extract message and names of senders
3
Parse task items and details

Uses AI to analyze the email content and identify action items or to-do tasks specifically assigned to you. The AI extracts task titles, due dates (if mentioned), related message snippets, and who wrote each snippet.

Prompt used
You are acting as my personal assistant to help me triage any to-do list items found in my email. From the following email thread content, extract any action items or to-do list tasks. Return only a list of specific to-do items phrased as short task titles, a due date, if applicable, a snippet of the related message, and who wrote that snippet. If no to-dos are found, simply end the run. Here are examples tasks: - Follow up with client about contract - Schedule design review meeting - Order business cards Only return tasks that any of the senders is asking me (Peter Pasco) to do. Do not include tasks that I have assigned to or requested from any of the senders. Senders: [data] Email content: [data]
Relay.app screenshot of: Parse task items and details
4
repeat
Iterator

Iterates through each task identified by the AI. This allows the workflow to process multiple tasks from a single email thread in parallel.

Relay.app screenshot of: Iterator
Iterator steps
5
Google Tasks logo
Create task

Creates a task in Google Tasks for each identified action item. The task includes the title, due date (if available), and notes containing the message author and relevant snippet for context.

Relay.app screenshot of: Create task
6
Gmail logo
OPTIONAL: Remove label from thread

Optionally removes the configured label from the Gmail thread after all tasks have been created. This helps keep your inbox organized and prevents duplicate task creation.

Relay.app screenshot of: OPTIONAL: Remove label from thread
Author picture (Peter Pasco)

One of the biggest frustrations with using any task manager is time and effort it takes to input the task, which feels like a whole task in itself!

This workflow reduces that friction for Gmail users by generating task list items after tagging an email thread with a label of your choice.

As an added bonus, this workflow parses out the message snippet related to each task along with the author of that message.

Peter Pasco
Product Designer