Email mailbox as Todoist tasks
Configured with Agent, Email Read Imap, Gmail, OpenAI Chat Model, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Messaging
- Routing
- AI & models
- Transform
- Integration
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Mark As Read | Messaging | Gmail | markAsRead |
| Star | Messaging | Gmail | addLabels |
| Get Starred From Inbox | Messaging | Gmail | getAll |
| Get Unread From Inbox | Messaging | Gmail | getAll |
| If Task Not Exist | Routing | If | See node parameters |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Structure Output Todoist Ready | Transform | Output Parser Structured | See node parameters |
| If AI responded properly | Routing | If | See node parameters |
| Create Todoist Task | Integration | Todoist | See node parameters |
| Get Full Message | Messaging | Gmail | get |
| Summarize Message | AI & models | Agent | See node parameters |
| Enrich Emails With Tasks | Transform | Merge | See node parameters |
| Enrich Tasks with Emails | Transform | Merge | See node parameters |
| If Email Unstarred (Not Exist) | Routing | If | See node parameters |
| Close Task | Integration | Todoist | close |
| Email Trigger (IMAP) | Messaging | Email Read Imap | See node parameters |
| Schedule Trigger | Trigger | Schedule Trigger | See node parameters |
| No Operation, do nothing | Routing | No Op | See node parameters |
| Merge Starred and Unread Messages | Transform | Merge | See node parameters |
| Get Open Tasks | Integration | Todoist | getAll |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
gmailOAuth2imapopenAiApitodoistApi
Workflow notes
Select Trigger
Select Trigger
This workflow will work with many triggers
Read and Star
Read and Star
Mark messages as Read and add Star to them You can delete this section if you don't want to make this happen automatically to your emails
Close Task
Close Task
If Email was Unstarred manually by you, then we can probably close task, so we are closing it
Make New Task in Todoist
Make New Task in Todoist
If there is no task on Todoist with same subject as your either starred or unread message, then it's time to create one. But to make it easier for you to close tasks and emails, let AI help you out. AI not only summarizes message. It also proposes actions you should take or answers how you should reply to this email.
Email mailbox as Todoist tasks
Email mailbox as Todoist tasks
Purpose and structure
This folder contains the Email mailbox as Todoist tasks workflow. Its executable nodes use agent, emailReadImap, gmail, if, lmChatOpenAi, manualTrigger, merge, noOp, outputParserStructured, scheduleTrigger, todoist. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’, Schedule Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Todoist/1749_Todoist_Schedule_Send_Scheduled.json MIT; preserve source notices.