Session 9 / 15๐Ÿ”Žืขื‘

The bottom line (TL;DR)

  • AI excels at classification, extraction, writing and summarizing โ€” not at calculations and facts.
  • Make AI Toolkit / OpenAI / Claude / Gemini; Credits by usage.
  • A prompt for automation: structured, a closed list, "don't make it up", JSON.
  • Structured output + Parse JSON + validation + a draft, not a send.
  • We built a smart inbox.

The key points โ€” in depth

1. When AI

Classification, extraction, writing, translation, summarizing. Not calculations.

2. Providers

Make AI Toolkit without a key; external providers for control.

3. Prompt

Role, task, rules, format, examples; shortened input.

4. Structured output

Structured output โ†’ Parse JSON โ†’ validation.

5. Costs

Tokens; a small model for volume; measurement.

6. Smart Inbox

Watch โ†’ clean-up โ†’ AI โ†’ Router โ†’ draft/label/CRM.

Concept cards (click or press Enter to flip)

LLM
A large language model that generates text.
Prompt
The instructions given to the model.
Token
A unit of text by which cost is calculated.
Structured output
A mode in which the model is bound to a JSON structure.
Few-shot
Examples inside the prompt.
Temperature
How random the answer is.
Hallucination
Information the model makes up.
Human-in-the-loop
A person approves before an action.

Spaced repetition โ€” the session concepts

Mark "I knew it" or "Not yet" โ€” the cards you did not know come back more often. Cards from all the sessions are in the arcade.

Quick cheat sheet

WhatDetails
Make AI ToolkitReady AI modules
OpenAI โ†’ Generate a responseGPT
Anthropic Claude โ†’ Create a promptClaude
JSON โ†’ Parse JSONAI output โ†’ fields
{{substring(text; 0; 4000)}}Shortening input
{{replace(r; "```json"; emptystring)}}Clean-up
Gmail โ†’ Create a draft (Thread ID)A draft reply
Temperature 0โ€“0.3Consistency

Common mistakes to avoid

  • Automatically sending AI replies from day one.
  • Open categories โ€” the Router doesn't know what to do.
  • Sending the email's whole HTML to the AI.
  • Parse JSON without an error handler.
  • Relying on AI to calculate amounts.

Self-review questions

  1. Why shouldn't AI calculate amounts?
  2. What's the difference between the Make AI Toolkit and an OpenAI connection?
  3. What must be in a prompt for automation?
  4. How do you handle broken JSON?
  5. How do you measure whether the system is good?

Homework and preparing for the next session

  1. The smart inbox works on a test label.
  2. Accuracy measurement on 20 emails.
  3. Preparing for session 10: think about a "service agent" for your business โ€” what does she need to know and which actions should she take.