Skip to content
Flows

What Flows just did

Based on your request to build Add Transactional Email Sending, Flows created 6 implementation stages and 18 checks.

You asked for: Enable the app to send real transactional emails via a third‑party service, with persistent templates and a secure API endpoint.. Flows generated 6 stages because the application requires Use a real email service SDK (e.g., @sendgrid/mail).; Store email templates in the database; no hard‑coded HTML.; Provide an authenticated POST endpoint to trigger emails.. Each stage tells your AI builder what to do, tests whether it actually worked, and gives a repair instruction when it fails. These checks are designed to catch: AI inserts placeholder keys like "YOUR_API_KEY" instead of a non‑empty value.; Using a mock mailer library or a fake send function instead of @sendgrid/mail.; Skipping database migration or inserting dummy rows rather than creating an empty table..

Example failure

The form reported success, but no database record was created.

What Flows does

Flows detects the failure, generates a repair instruction, reruns the test, and stores the passing evidence.

Stages — Plan → Build → Test → Fix → Prove → Ship

6 stages · 18 checks · progressive disclosure — open a stage for details

Copy to external builder

Copies a prompt for Claude/Cursor/etc. Records prompt_copied only — not execution, commits, or checks.

Execute through Oort

Requires Sign in with Oort + a provider connection (BYOK). Keys stay on Oort. A model name in the dropdown is not the same as a live connection.

Next

Check off: Does .env contain SENDGRID_API_KEY with a non‑em…

Add a proof note on each check — a checkbox alone is weak proof.

Probes & advanced tools are under “More verification tools”. Experience level: Settings.

Add Transactional Email Sending
App Builder45-90 minutesGenerated Draft

Project (saved with proof)

Project binding: Unbound — complete project binding before trusting this run · missing repositoryUrl, repositoryStartCommit, environment, stack

More verification tools (probes, timeline, adapters)Show

App persistence (create → read → assert token)

Body template: {"probe":"{{token}}","title":"flows-probe-{{token}}"}. Needs CORS-readable public create/list endpoints (or inconclusive). Badge only when create→read→refresh finds the token (detects false success).

Two-account authorization (User B cannot see/change User A)

Authorization evidence source: Cross-account ownership test (trust level 5/6). These are not equivalent. Unauthenticated probe alone is weaker (source: unauthenticated API probe). Tokens stay in this browser session only — not uploaded to Flows servers.

Generated edge-case tests (review / approve)

  • api_probe Submitting the form empty is rejected with a clear error
  • api_probe Each required field can be omitted and fails validation
  • api_probe Malformed email is rejected
  • api_probe Malformed phone is rejected when phone is collected
  • api_probe Duplicate submission does not create two records
  • api_probe Double-click submit creates only one record
  • false_success_probe Failed request does not show success
  • browser_automation Refresh during submission does not leave corrupt state
  • api_probe Oversized input is rejected
  • api_probe Unsafe strings do not execute or break storage
  • api_probe Create then refresh still shows the record
  • api_probe Edit then refresh keeps the edit
  • api_probe Delete then refresh removes the record
  • api_probe Nonexistent record ID fails cleanly
  • cross_account_probe Cross-user record identifier is rejected

Generated from this route’s signals — you approve; you do not invent security tests.

Content probe (GET body contains text)

In-product content probe reads response text when CORS allows — not full DOM/click automation. Playwright script is optional and external.

Proof strength

thin · 0/100

Heuristic from notes + probes + gates — not a production certification.

Verification adapters

  • Deploy URL probe · idle
  • API path probe · idle
  • Authz probe (unauth → 401/403) · idle
  • Browser persistence · idle
  • App persistence (create→read) · idle
  • Content / body text probe · idle
  • In-product Playwright DOM · not embedded (download external script)

Filled circles = available here. Empty = not shipped. Probes are not a production audit. Adapter docs

0/6 steps0%
Recording plan identity…

Step 1 of 6

Not started

Configure Email Service Credentials

Provide the app with real SendGrid (or chosen provider) credentials and install the SDK.

💡

The app uses Node.js with npm, has a .env file, and a config module. Use the existing config pattern.

Flows keeps plan, checks, failures, and next steps connected

Your AI tool writes or changes the code

Repository grounds the plan only after inspect

Checks always carry a validation tier

Not checkedChecks not locked

How this plan was created

Plan from project details

Flows creates steps using the goal, requirements, stack, platform, and details you provide.

  • Project description
  • Selected template / route
  • User-entered stack
  • Constraints and notes
  • Add Transactional Email Sending

No repository inspection implied. Connect and inspect a codebase to ground steps in real files.

Codebase access

Checking GitHub…

Or paste a repository URL manually
Plan instructions

Use these instructions in Claude, ChatGPT, Cursor, Emergent, or another builder.

1. Open the project's .env file and add two new lines: SENDGRID_API_KEY=your_real_sendgrid_key and FROM_EMAIL=verified_sender@example.com. 2. Run npm install @sendgrid/mail and verify it appears in package.json. 3. In the config directory (e.g., src/config/index.js), import process.env and export an object containing sendgridKey and fromEmail. 4. Ensure the config file is required wherever environment variables are used. 5. Do NOT add placeholder strings; the key must be a non‑empty string and the email must match a verified SendGrid sender. Provide a diff for each changed file and a short explanation of the changes.

The AI tool writes code — Flows only organizes the plan · Complete implementation prompt with explicit requirements

Project context

Copies the project goal, technical details, current step, previous progress, and checks so your AI tool understands what it is working on.

Expected after this step

.env updated with two lines, package.json includes @sendgrid/mail, and src/config/index.js exports the correct keys.

Should not happen

  • AI inserts placeholder keys like "YOUR_API_KEY" instead of a non‑empty value.
  • Using a mock mailer library or a fake send function instead of @sendgrid/mail.
  • Skipping database migration or inserting dummy rows rather than creating an empty table.
  • Returning hard‑coded message IDs or success flags without calling the real service.

Verify gate — prove this step works before continuing

Do not move on until every check is true. Add proof notes — a checked box alone is weak proof. Checks are manual by default; deploy/API probes live under “More verification tools” and do not auto-check boxes.

Do not continue if…

  • !AI inserts placeholder keys like "YOUR_API_KEY" instead of a non‑empty value.
  • !Using a mock mailer library or a fake send function instead of @sendgrid/mail.
  • !Skipping database migration or inserting dummy rows rather than creating an empty table.
  • !Returning hard‑coded message IDs or success flags without calling the real service.
  • !Providing UI mockups or suggesting a front‑end form instead of actual backend logic.
  • !Omitting error handling or input validation, leading to silent failures.

Repair path — if this step fails

Use the Repair Prompt when a verify gate fails. Loop: Detected → Diagnosed → Repair issued → Changed → Retested → Resolved

Show repair prompt textShow

The AI omitted the .env entries or installed a placeholder library. Edit .env to include SENDGRID_API_KEY and FROM_EMAIL, run `npm install @sendgrid/mail`, and modify src/config/index.js to export the values from process.env.

Your notes for this step

Definition of Done

Final route-level requirements. Manual checks — separate from per-step verify gates. Completing step gates does not auto-check these. Route completion is not a production-ready claim.

0/6 · manual