The flow
Starts it 2Model 2Logic 5Service 6
The steps in the order they run, from what starts it.
- 1Every 2h (business hours)Schedule triggerStarts it
- 2Eden AI Chat ModelLm Chat Eden AiModel
- 3Error TriggerError triggerStarts it
- 4Gmail: get unreadGmailService
- 5Connection to EdenAIAgentModel
- 6Send a messageDiscordService
- 7Do you have unread e-mailIfLogic
- 8Does it need a reply ?IfLogic
- 9Discord : No unread e-mail receivedDiscordService
- 10Gmail: create draftGmailService
- 11Merge draft link + sumary contentMergeLogic
- 12AggregateAggregateLogic
- 13To have only one message from the discord botAggregateLogic
- 14Discord: Low priority digestDiscordService
- 15Discord: send summary and draftDiscordService
How it's built
- Starts on
- A clock
- Steps
- 15, with 2 branches
- Size
- Medium: a working afternoon
- Connects to
- Discord, Gmail
- Model
- A language model, family not declared
Questions
What does it need to run?
An n8n account, plus your own Discord and Gmail accounts, and a key for a language model. 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 a language model. Model calls are billed by the provider, not by n8n.
How long does it take to set up?
Plan an afternoon. 15 steps is enough that you should read each one before running it.
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 15 steps before you point it at anything that matters.