# Freeform diagram examples

Each of these was generated in AI chat from the prompt shown, then tidied on the canvas. Paste a prompt into AI chat to make your own version.

## Cloud architecture

<Callout title="Prompt">
AWS architecture for a photo-sharing web app. Users hit CloudFront, which serves the React frontend from S3 and routes /api to API Gateway. API Gateway calls Lambda functions for uploads, feeds and auth; Cognito handles sign-in. Uploads land in an S3 bucket that triggers a thumbnail Lambda. Metadata is stored in DynamoDB, and SQS queues notification jobs for a worker Lambda that sends email through SES.
</Callout>

<Figure src="/assets/freeform-aws-architecture.png" alt="A freeform AWS architecture diagram: CloudFront, API Gateway, Lambda functions, S3, DynamoDB, SQS and SES arranged in five colored groups, with labeled connectors between them." width="720px" />

## Process across teams

<Callout title="Prompt">
Expense reimbursement process across three teams – Employee, Manager and Finance. The employee submits a report with receipts; the manager approves, rejects or asks for more info; reports over $5,000 need director sign-off; Finance checks policy, flags duplicates, and pays approved claims in the next payment run. Show each team as its own horizontal band.
</Callout>

<Figure src="/assets/freeform-expense-process.png" alt="A freeform process diagram with Employee, Manager and Finance bands, decision diamonds for the manager's decision and the $5,000 threshold, and steps from expense incurred to paid." width="720px" />

## Org chart

<Callout title="Prompt">
Org chart for a 40-person startup: CEO; CTO with Platform, Product Engineering and Data teams (each with a lead); VP Product with Design and Product Management; VP Sales with Account Executives, Solutions Engineers and Customer Success; Head of Operations with Finance and People.
</Callout>

<Figure src="/assets/freeform-org-chart.png" alt="A freeform org chart: a CEO box connected to four executives, each above a colored group holding their teams." width="720px" />
