Turn a PDF lesson into two unique test versions automatically

Upload a PDF and get two different test versions written by AI, saved as a Google Doc, and emailed to you.

How the work actually flows

It branches. Every path runs; all paths must finish before it continues.

Pattern: Parallel Split (2) ยท Synchronisation (3)

flowchart TD trig>"teacher submits pdf via form"]:::trig s0["extract text from pdf"]:::task s1["generate test questions"]:::svc s2["format into google doc"]:::task s3["email link to teacher"]:::svc trig --> s0 s0 --> s1 s2 --> s3 gx{"+ create two versions"}:::gate s1 --> gx p00["write group a version"]:::task gx -->|"group a"| p00 p10["write group b version"]:::task gx -->|"group b"| p10 jn{"+ both versions ready"}:::gate p00 --> jn p10 --> jn jn --> s2 out[/"two test versions in one doc"/]:::out pay{{"cheat proof tests without extra work"}}:::pay s3 --> out out --> pay classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
Starts itA stepAn outside serviceEvery pathWaits for allResultPayoff
Build size
Advanced

A larger build with multiple systems, AI reasoning, and custom rules.

Business functions
Email AutomationDocument Processing & OCRSurvey & FeedbackFile & Cloud Storage
Connects
Google DocsGmailOpenAI

The problem it solves

Writing test questions from your teaching material takes time, and making two different versions to stop students from copying answers doubles the work. You end up doing this by hand before every exam.

Who it fits

Teachers who want to prevent cheating without spending extra hours writing tests.

How it works

  1. Starts when a teacher submits a PDF of the teaching material through a form
  2. Extracts the text content from the PDF
  3. Uses AI to write ten questions in two different versions, Group A and Group B
  4. Formats both versions into a Google Doc
  5. Emails the teacher a link to the finished document
What you get

Two test versions ready to hand out

You get two different versions of a test built from your lesson material, formatted and emailed to you automatically.

What you get

A formatted Google Doc with two distinct test versions, plus an email with the link.

What you need

A Google Workspace account, a Gmail account, and an OpenAI API key.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook