Skip to content
Frank Huettner

Agentic AI in Business · Workshop II

Preparatory homework (3–8 November): get ready for Workshop II

Three parts, 13 steps: your test mailbox, Langflow and n8n. At the end, your laptop is ready for 9 November. One more step, if you like, shows your mails in the database.

On this page

What you will build in Workshop II

In Workshop II (9, 16 and 23 November), you will build an AI assistant for a real mailbox.

  • The mailbox: 3,244 real mails of Vince Kaminski. He was head of research at Enron in 2001.
  • Where the mails live: in a new Gmail account, only for the course. We call it your test Gmail account.
  • What the AI assistant does: it reads new mail, sorts it, and drafts answers in Kaminski’s words. It sends nothing without your OK.

Your goal for 9 November

At the end of the first morning, this works on your laptop:

  1. You will write a mail from your SKKU mail account to your test Gmail account.
  2. Your AI assistant will sort the mail and draft Kaminski’s answer.
  3. You will read the draft and say OK.
  4. The answer will arrive in your SKKU inbox.
  1. Your SKKU accountyou write to your test Gmail account
  2. Your test Gmail accountthe mail arrives
  3. n8npicks it up, checks it
  4. Langflow: Triagedecides: reply
  5. Langflow: Draft Replywrites in Kaminski's words, checks it
  6. n8nchecks the rules, asks you
  7. Yousay OK
  8. Your SKKU inboxthe answer arrives, from your test Gmail account
Langflow thinks. n8n does the work. You say OK.

So you work with two mail accounts: your SKKU mail account, which you already have, and a new test Gmail account, which you make in step 2.

Two ideas you know from Yanbo's workshop
  • Decomposition. Your AI assistant is not one big AI that does everything. The job is cut into small steps, and each step has one task: n8n picks up the mail, Triage only sorts it, Draft Reply only writes the answer, n8n checks the rules, and you decide. Small steps are easy to test and to fix. On 9 November you will test Triage on its own first.
  • Guardrails. Every step is checked before the next one acts. n8n looks at each new mail first: it hides personal numbers, and a mail that tries to trick your AI assistant goes to you instead. Langflow checks its own answer: in step 8 you will see "checks_ok": true. And nothing leaves without your OK.

This homework: three parts, and one optional

The homework gets your laptop ready for 9 November. It has three parts, and one optional:

PartStepsWhat you do
A1–7Set up your test mailbox: update kingo-pod, make the account, copy Kaminski’s mails into it
B8Test Langflow: load the course flows, let Triage sort a mail
C9–13Set up n8n and test it: logins, mail search, a test mail from your SKKU account
Optional14Look into the database: see Kaminski’s mails and your test mail as rows, in CloudBeaver
Gmailyour test Gmail accountPart A · steps 1–7
Mailkingo-pod's service: copies the mails, masks addressesPart A · steps 1–7
PostgreSQLevery mail as a rowPart A · steps 1–7
n8ndoes the workPart C · steps 9–13
Langflowthinks: sorts and draftsPart B · step 8
Part A · steps 1–7
Part C · steps 9–13
Part B · step 8
What this homework sets up on your laptop: the mails go from Gmail into your database, and n8n and Langflow work with them there.

Before you start

  • Time: 1 to 2 hours. Some of it is waiting while things load. You can do this with breaks or in chunks.
  • Deadline: Sunday, 8 November, the day before Workshop II.
  • Want help? Finish by Friday, 6 November. Then there is still time to fix problems together.
  • Stuck? Write to Frank right away. Then we fix it together.
  • You need:

Ready? Start with Part A: Set up your test mailbox →