For the complete documentation index, see llms.txt. This page is also available as Markdown.
New

Prompt Library

Copy-paste prompts for building screen flows with Avonni Flow Screen Components, organized by goal.

Every prompt on this page is ready to paste into Claude, Cursor, or GitHub Copilot once your assistant is set up. Copy one, swap in your own objects and fields, and send. The assistant verifies every component and interaction against the MCP server before generating, so you can be ambitious.

How to adapt a prompt: replace the objects (Account, Case, Event) and groupings with yours, and describe the outcome you want. You don't need to name properties or settings: the assistant looks up what exists and configures it.

Guided data entry

Screens that make input fast and hard to get wrong.

Add a Combobox of active Products to my screen, searchable, with the selected record available to the next screen.

The Combobox dropdown open on seven products, each one showing its product code under the name
The field is the search box: typing filters the list as you go. The product the user picks is available to the next screen.

Add a Date Picker and an Input Choice Set for the visit type to my intake screen.

A month calendar with the 16th selected, above a row of four visit type buttons with Installation active
Both controls on one screen: the day above, the visit type as buttons underneath.

Add a Barcode Scanner to my screen and store the scanned value in a flow variable.

A barcode field with a CODE_128 type selector beside it and a scanned value listed underneath
On a desktop the scanner is an input with a barcode type beside it. On a mobile device the same component opens the camera.

Working with records

Let users find, pick, and act on records inside the flow.

Add an Avonni Data Table of open Cases for the current user with a search bar, and move to the next screen when a row is selected.

A table of open cases with case number, subject, priority, status and origin, and a search box in the header
The signed-in user's open cases, searchable from the header. Selecting a row moves the flow to the next screen.

Add a Kanban of Opportunities grouped by stage to my screen flow, with a card action that opens the record.

A kanban board of opportunities in stage columns, one card's action menu open on Open record
Opportunities grouped by stage, each column headed with its total. Every card carries its own Open record action.

Add an export button so users can download the Data Table as a file.

A support case table whose header carries an Export button with a download icon
Export sits in the table header. It opens Salesforce's own export dialog, where the user picks the file name and the format.

Scheduling and booking

Dates, times and availability, without a custom component.

Create a screen flow with an Avonni Calendar showing Events for the current user.

A week grid from Sunday to Saturday with fifteen events placed at their times
A week of the user's events, each one at the hour it starts. Month and agenda are the same component on a different display.

Add an Input Date Range so the user can pick a start and end date for their booking.

An arrival and a departure date side by side in a single date range control
One control, two dates, and the range in between.

Screen polish and feedback

Small touches that make a flow feel finished.

Add a Header with the account name and an icon at the top of my screen.

A header with an account icon, the account name and a subtitle, above a rating and a notes field
The header carries the account name and its icon, and the rest of the screen sits under it.

Open a confirmation modal before deleting the selected records.

A warning dialog reading Delete the selected cases? with Cancel and OK buttons
The confirmation is an interaction on the button, not a component of its own: Open Confirm Dialog, with the delete wired to what happens after OK.

Show a toast when the record updates, and fire confetti when the user submits the final screen.

A success toast at the top of the screen and confetti falling over the submit button
One button, two interactions: the toast confirms, the confetti celebrates. The Interaction Service component has to be on the same screen for the confetti to fire.

Complete use cases

When a request spans several artifacts, avonni-architect plans and builds all the pieces in the right order.

Create a screen flow for booking appointments, and a Dynamic Component with a button that launches it.

A booking screen with a header, a month calendar and four selectable time slots
The first of the two screens. The Dynamic Component whose button launches this flow lives on a record page, which is a different surface.

Build a returns flow: a screen to pick the Order, a screen with a Data Table of its line items to select what's returned, and a confirmation screen.

A table of five order lines with product, quantity, unit price and line total, two rows ticked
The second of the three screens: the lines of the order the user picked, with what is coming back ticked.

Make these prompts yours

  • Name real objects and fields. "A Data Table of Invoice__c records filtered on Status__c = 'Overdue'" beats "a table of invoices".

  • Iterate in the same conversation. Follow up with "make the columns sortable" or "change the grouping to owner": the assistant updates the same screen.

  • Say what happens next. Mention the navigation ("move to the next screen when a row is selected") and the assistant wires the interaction for you.

Last updated

Was this helpful?