3.3 Foundry QS1 -- Detect/analyze haystack needles (start from scratch) (26.1113)
For the latest QS version see docx #693.
Why start learning Foundry with this QS? I learned Foundry by working through Palantir’s excellent Speedruns (tutorials). I found them well suited to people already experienced in enterprise software development. But I believe Foundry will become an application-development tool for a much broader audience. That is why I wrote this Quick Start — with invaluable help from Foundry’s AI FDE assistant — to make the fundamentals easier for non-specialists to understand. It uses small examples, explicit directions, and diagrams to explain the mechanics and help readers build with confidence.
This QS shows how to build a “small” Foundry workflow that
- imports external data (from MockAPI),
- displays it as objects (the ontology),
- uses an LLM to process their properties,
- saves the LLM response
- automates fetching/processing
- tests basic governance controls
Variations of the basic data flow chain (below) appear throughout this QS.

TOC
- What this QS offers beginners
- Short overview of all chapters (TOC)
- 0 First steps (Foundry sign up, FDE, project/folder, applications)
- 1 Fetch MockAPI records and display in UI (“Workshop”)
- 2 Create (1) AIPLF to detect matching digits in object text/integer properties / (2) UI to display result
- 3 Modify AIPL prompt to detect matching letter-only-text and integer-digits (display result in UI)
- 4 Enter AI matching criteria (configure only AIPL+F and UI)
- 5 Add an object property and Action to save the LLM response (used in Chapter 6)
- 6 Add a text-save action (A1) call in AIPL / create AIPLF / create action (A2) to call AIPLF (use in Ch7)
- 7 Add automation: “(new) object added to set” inits automation
- 7-2 Data lineage / scheduling confusion (chat)
- 8 Schedule (Data Lineage)
- 8a (7b) Add processing of updated objects to automation
- 8b (8a) Governance
- 9 (WIP) Continuing your Foundry education (where to go from here)
- 10 (appendix) Generating webpage markdown+png’s from the docx master
Note the following:
- This QS is a work in progress (WIP).
- My working source file is an MS.Word docx. Conversion from docx to markdown requires that I keep the format of the docx as simple as possible (a docx internally is absolute chaos if you are not careful). The ideal solution would be for the LLM (GPT in this case) to look at the docx visual output and reproduce that. But for now GPT must look at the (binary) docx file (there are non binary representations, RTF?, but probably same complexity problems). So the formatting sometimes is quite crude. But the focus is up-to-date accurate info, not fancy formatting.
- Some of the variable names used need to be changed (to avoid confusion).
- Text is minimal because
- The initial focus was on the screenshots and workflows.
- It only makes sense to fill out the text if a few people start to take an interest in the QS. Otherwise it will remain simply my personal learning project. And for my personal learning the focus is on creating more demos.
- What a student really needs are the prompts to ask FDE while doing the demo. A QS focused on prompts. The reader can ask FDE for an explanation of the details. That would take a lot of effort, and negate the value of adding detailed text.
FDE chats:
Possible future tutorials (same style as the QS)
26.1112 (v1 26.1104)