Blog

Part 2: Growing the work order app with Genie

We keep building the FileMaker work order app from Part 1 by asking Genie: a customer screen, layout fixes by selection, a dashboard on persistent data with a calendar, and an AI summary script that calls Claude.

Part 2: Growing the work order app. Customer screens, a calendar and an AI summary, built by asking Genie inside FileMaker. Beside it, work order WO-24004 with its AI Summary.

In Part 1, one request to Genie turned an empty FileMaker file into a work order app in nine minutes. In Part 2 we grow it: a customer screen, a few fixes, a dashboard with a calendar, and a summary of each work order written by AI.

The requests come from the feedback we got on LinkedIn and by email after Part 1. Genie’s own work took 10 to 15 minutes; the video runs longer because we explain as we go.

Watch the session

Chapters

  • 0:00 Where Part 1 left off
  • 1:43 A customer detail screen from one sentence
  • 5:30 Fixing layout objects by selecting them
  • 6:46 Asking for more while Genie works
  • 8:27 Clickable portal rows
  • 10:05 Dashboard to persistent data, plus a calendar
  • 15:46 An AI summary script with Claude
  • 19:06 Redirecting Genie to FileMaker’s native AI steps
  • 21:42 The Auto apply setting
  • 22:29 Cleaning up a calculation
  • 23:48 The result
  • 24:36 Coming in Part 3

A customer screen from one sentence

The app only had a list of customers. We asked for a detail screen, with nothing said about the design.

Request sent to Genie

I’d like to have a customer detail view connected to the customer list.

Genie created a Customer Details layout, an Open Customer script filed in the Customers folder, and made the rows of the list clickable. Meanwhile we left Layout mode and wrote down what to do next: Genie keeps working while you move around, and its panel can pop out into a window of its own.

The Customer Details layout: Summit Office Park’s customer information, its notes, and a Work Orders portal with a + New Work Order button.
Customer Details, with the buttons we added next.

Fixing things by pointing at them

On the new screen, the navigation buttons were stretched and hid their labels. In Layout mode we selected the four buttons and described the problem. Genie sees the selection and works on those objects.

Request sent to Genie

The buttons over here are stretched out and break the navigation. I can’t see the text on dashboard and customers.

The layout had unsaved changes. Genie said so and waited: we went back to Browse mode, it applied the fix, and the buttons were back to size.

Asking while Genie works

Next we asked for a button to create a customer from the detail screen, and a way to create a work order for that customer. In Browse mode you watch each change land: Genie moved objects to make room, then added both buttons.

+ New Work Order creates a work order already linked to the customer, and Genie added validation to the customer record. One more gap: the rows in the Work Orders portal didn’t open anything. Genie wrote an Open Customer Work Order script and made each row clickable, the same way the lists work.

The dashboard moves to persistent data, with a calendar

In Part 1, Genie had put the dashboard’s HTML in two custom functions. Since the file runs on FileMaker 26, we asked it to use persistent data instead, and to add a calendar.

Request sent to Genie

I want to update this webviewer to persistent data, get rid of our custom function if it’s not needed anymore. Also - I want to add a calendar menu in it, so we will have both the dashboard and a calendar view to check our data.

Genie checked that this FileMaker version supports persistent data, wrote the new page, and tested its data part against the file (6 open jobs, 7 calendar entries, 4 technicians). The page loads from persistent data and the web viewer’s calculation builds the live data itself, so Dashboard_HTML and Dashboard_Data were no longer needed and Genie deleted them.

The Dashboard on its Calendar tab: December 2026, work orders on their scheduled day coloured by status, and a menu to filter by technician.
The Calendar tab. We didn’t ask for the technician filter.

Here too Genie asked us to switch to Browse mode so it could apply the change to the layout we had open in Layout mode.

An AI summary for every work order

The last request went through Genie’s panel in Script Workspace: a script that asks Claude to summarise a work order.

Request sent to Genie

I want to create a new script that will produce an AI generated summary using Claude API - we’ll be running Haiku. I want that AI summary to be manually refreshed from the work order layout details and explain to me in a few words, like a 5 years old what this is all about.

Genie added AISummary and AISummaryUpdated fields, wrote a Work Order - Refresh AI Summary script in the Work Orders folder, and grew the Work Order Detail layout by 150 points for an AI Summary card with a Refresh button. We were in Script Workspace the whole time; the card appeared on the layout meanwhile.

The first version called the API with Insert from URL. While Genie was still working we sent a second message, and it switched approach without starting over.

Request sent to Genie

Can we use some of the native FileMaker AI functions for this rather than custom curl?

Script Workspace: the Work Order - Refresh AI Summary script with Configure AI Account and Generate Response from Model, and Genie’s panel explaining how the script works.
The script now uses Configure AI Account and Generate Response from Model.

For the API key we asked for a custom function holding a placeholder. Genie created AnthropicAPIKey and changed line 8 of the script to use it.

Genie pointed out that only full-access accounts can see the function in Manage Custom Functions, but other accounts can still run the script that uses it. For a production app it suggests reading the key from a secured settings field.

Making a calculation readable

The calculation that gathers the work order details was one long line. Genie is in the Specify Calculation dialog too, so we asked it to format it. It shows a draft and changes nothing until you insert it.

The Specify Calculation dialog: the original calculation on the left, and Genie’s panel on the right with the same calculation laid out over several lines and an Insert into calculation button.
Only whitespace changes: the calculation’s result is the same.

The result

Clicking Refresh on work order WO-24004 gave us this:

Work order WO-24004 Quarterly HVAC maintenance - Building B, with the new AI Summary card: A man named Mike is fixing the air machines on top of a coffee shop building so they work really well, and he’s almost done!
Exactly what we asked for: an explanation for a five-year-old. Change the script’s instructions for a professional tone.

Coming in Part 3

We’ll host the file on FileMaker Server, where Genie works the same way, build FileMaker Go layouts so technicians can open their jobs on an iPhone, and take the AI integration further.