The flow
Starts it 1Model 6Logic 2Service 16
The steps in the order they run, from what starts it.
- 1Check inbox every 30 minutesSchedule triggerStarts it
- 2OpenAI GPT-4o-miniLm Chat Open AiModel
- 3Fetch unread emailsGmailService
- 4Classify email categoryText ClassifierModel
- 5Label as PromotionsGmailService
- 6Label as SocialGmailService
- 7Label as PersonalGmailService
- 8Label as SalesGmailService
- 9Label as BusinessGmailService
- 10Label as ReceiptsGmailService
- 11Label as MiscGmailService
- 12Label as LegalGmailService
- 13Mark as readGmailService
- 14Draft personal replyOpen AiModel
- 15Draft sales replyOpen AiModel
- 16Draft business replyOpen AiModel
- 17Draft legal replyOpen AiModel
- 18Save personal draftGmailService
- 19Save sales draftGmailService
- 20Save business draftGmailService
- 21Save legal draftGmailService
- 22Get email attachmentsGmailService
- 23Has attachments?IfLogic
- 24Prepare attachment filesCodeLogic
- 25Save to Google DriveGoogle DriveService
How it's built
- Starts on
- A clock
- Steps
- 25, with 1 branch
- Size
- Large: read it before trusting it with anything live
- Connects to
- Gmail, Google Drive
- Model
- OpenAI
Questions
What does it need to run?
An n8n account, plus your own Gmail and Google Drive accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.
What starts it?
It starts on a clock.
Does it use AI?
Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.
How long does it take to set up?
Take your time. At 25 steps it is large: read it before trusting it with anything live.
How do I import it?
Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.
Before you run itNothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 25 steps before you point it at anything that matters.