Best practices for using Claude AI with Flowfinity

Get your app configuration right and Claude handles complex Flowfinity requests reliably — picking the correct operation and filling fields accurately. Leave it vague and you'll spend your time correcting guesses. This article covers the choices you can make in your app configuration that close the gap.

Before you start. This article assumes you have already configured MCP Integration. For setup instructions, see the companion article: Connecting Flowfinity to Claude AI with MCP Integration.

How Claude reads your app

When Claude connects to Flowfinity through MCP, it receives a set of tools. Each AI-enabled view or operation in your app automatically becomes a tool Claude can invoke. Flowfinity generates these tool definitions from your published app configuration.

Two pieces of that configuration do most of the work: AI Description and AI Instructions. They tell Claude what each operation, view, or field is for and how to use it correctly. Think of it as briefing a new hire who can't ask follow-up questions. The clearer you make the brief, the fewer the mistakes.

AI Descriptions and AI Instructions are edited in the App Editor, on the Configure tab. There are three things you can configure: operations, views, and individual fields. Each works the same way.

Three things to configure for AI — Operation, View, and Field, each with AI Description and AI Instructions

Start with clear labels

Before writing any AI Descriptions or Instructions, review the labels on your fields, operations, and views. These are the first thing you're handing Claude — make them count. Technical shorthand and internal abbreviations that make sense to your team will confuse the AI.

Clear labels reduce the need for lengthy AI Descriptions. When the label itself communicates purpose, the Description can focus on specifics rather than restating the basics.

Write descriptions that help Claude choose

The AI Description field is how you tell Claude whether a given operation or view is the right one for the job. Answer two questions: what does it do, and when should it be used? Include enough domain-specific terminology that you're covering the words your users will actually say.

Operation descriptions

Default (auto-generated): "'EditRecord' edits the specified Inspections record. Available in states Default, Updated by Updater."

Improved: "Updates an existing inspection record. Use this to modify the assigned technician, scheduled date, location, or inspection status. Requires the RecordID of an existing record. Do not use this to create new inspections."

A strong operation description:

View descriptions

Default: "Returns records from Inspections."

Improved: "Returns inspection records with location, assigned technician, scheduled date, and compliance status. Use this to look up inspections by site, technician, or date range before creating or updating records. Supports filtering by location, technician, status, and date range."

A strong view description tells Claude what data comes back, which synonyms your users might use for it, what filter parameters are available, and how you want Claude to use the view in a workflow — for example, look up values before writing.

Write instructions that prevent mistakes

AI Instructions are where you tell Claude how to execute an operation correctly. Put business rules, calculation formulas, and validation logic here.

What our experience revealed. When processing Amazon invoices, an ambiguous Net Amount instruction caused Claude to subtract all taxes instead of only GST. The precise version with the explicit formula produced the correct result. Calculation fields almost always need a spelled-out formula — the auto-generated default is rarely enough.

At the operation level

Cover how the operation runs as a whole — prerequisites, the order in which steps need to happen, rules that span multiple fields, and any context Claude needs to execute the operation correctly.

At the field level

Focus on fields where you can see the auto-generated defaults falling short — lookup behavior (which app to query, what values to use), business rules, and non-obvious formatting. Not every field needs refinement.

Example: Expense claim Net Amount field

The difference: the first version tells Claude what kind of value to enter. The second tells Claude how to calculate it. Only the second survives contact with a real invoice.

Where things go wrong

The following patterns account for most of the errors in our experience. Each one has a straightforward fix.

What our experience revealed. In an inspection workflow, the location and technician fields had AI Instructions identifying them as lookups from separate apps. When asked to create a new inspection, Claude automatically queried both the Locations and Technicians apps to verify values before submitting — without being prompted. Good lookup instructions eliminate an entire category of errors without any extra user effort.

Managing Claude's context window

You shape how much context Claude carries. Every tool definition, every record a view returns, and every message in the conversation consumes space in Claude's context window. When it fills up, Claude starts to overlook earlier instructions and results get inconsistent.

A few Flowfinity-side settings keep the volume down. Set the view data format to View Columns, this sends only the columns visible in the view layout. Add view parameters so Claude can filter results in the database before they come back, rather than receiving everything and filtering in memory. Disconnect any MCP connectors you're not actively using, since each one consumes space for its tool definitions. And keep your AI Descriptions and AI Instructions precise rather than verbose: every character in those fields travels with every request.

Quality control and security

You're the domain expert in this relationship. Claude only knows what your app configuration tells it — so treat that configuration as the authoritative brief, and build quality control into your workflow before any gaps affect your data.

Use approval mode for write operations. In Claude's connector settings, set write and delete tools to "Needs approval" and you'll see exactly what Claude intends to submit before it executes. That gives you a chance to catch mistakes before they reach your data. Flowfinity also flags every change made through MCP with a warning icon in the record history view, so you can confirm after the fact that Claude submitted what you intended.

Apply the principle of least privilege. Exposing operations and views through MCP gives Claude the ability to read and write on behalf of authenticated users, so enable only what's actually needed for AI-assisted tasks and leave everything else disabled on the Configure tab. Flowfinity's permissions model still applies — Claude can only access what the authenticated user is allowed to access.

Testing and iterating

The most effective way to tighten your app configuration is to put it in front of real scenarios and watch what happens.

  1. Set write operations to "Needs approval" in Claude. Each tool can be set to "Always allow," "Needs approval," or "Block." "Needs approval" lets you inspect every submission before it lands.
  2. Test with real documents and real data. Generic requests won't surface the ambiguities in your configuration. Use the same documents and scenarios your team works with daily.
  3. Check the submitted values carefully. Did Claude pick the right operation? Did it populate lookup fields correctly? Did calculated fields produce the expected result?
  4. Check both sides when something goes wrong. Sometimes the issue is in your AI Instructions — a missing rule or an ambiguous description. Other times the user's request was unclear or missing context. Review both before making changes.
  5. Republish and test again. Configuration changes take effect after you publish the app.

What to try next

Claude Projects and Skills extend the techniques in this article. A Project gives you a persistent workspace for Claude — your business process documentation, your custom instructions, and only the MCP connectors relevant to the task — so you don't re-explain context in every conversation. Skills go further by packaging reusable procedures (data entry standards, inspection scheduling steps) that Claude loads automatically when the task matches.

Pre-publish checklist

Before publishing an app for AI use, verify:

  1. Fields, operations, and views have clear, human-readable names — no abbreviations or internal codes.
  2. Every operation has an AI Description that states what it does and when to use it.
  3. Every operation has AI Instructions covering key business rules and validation logic.
  4. Monetary and calculated fields have explicit formulas in AI Instructions, not just in Description.
  5. Lookup fields specify which app and view to query, and what format to use for values.
  6. Conditional fields have clear rules for when they are required.
  7. Similar operations are clearly differentiated in their Descriptions.
  8. Views use View Columns format unless nested data is needed.
  9. Views have parameters for filtering to minimize data returned.
  10. Write operations are set to "Needs approval" during initial testing.