Plan: Not Available: Intermediate Available: Pro or Elite
Users: Not Available: All users Available: FYI Admins or User Group permissions
Practice Management Source: Available: All sources
The AI Prompt step integrates AI-generated responses into your process automations. The AI Prompt can use the selected documents and merge fields as context, to return an AI response for use in subsequent automation steps. An AI Prompt can also run without a document when sufficient context is supplied through the prompt. Use cases include:
- Draft Emails: Automatically generate an email draft based on context and merge fields.
- Summarise Meetings and Phone Calls: Include meeting or call notes in the automation filter, use an AI prompt and get a concise meeting summary plus next steps.
- Create Tasks: Use AI to generate tasks and create them in FYI automatically from your prompt instructions.
- Reply to Emails: Automatically draft intelligent replies to incoming emails according to your content and prompt instructions.
Before you begin
The AI Prompt step can process a range of supported documents and file types to generate responses based on your instructions. An AI Prompt can also run without a document when sufficient context is supplied through the prompt.
When a document is selected, the AI Prompt reads the content of the selected document, not its metadata. For example, when analysing an email, AI reads the email body and supported attachments, but does not automatically receive email fields such as To, From, or Cc.
AI uses only the information supplied to the step, including the selected document, the view selected in the process, prompt instructions, and merge field values. It can't independently retrieve other documents or emails that aren't configured in the process.
Before configuring the step, it's important to understand the supported file formats, processing limits, and how FYI handles documents that exceed these limits.
Supported file types
When an unsupported file is selected, the automation step will fail with a warning indicating that the file type is unsupported.
| File type | Supported extensions |
| Word | .doc, .docx, .docm |
| Excel | .xls, .xlt, .xlsx |
| Text and CSV | .txt, .csv |
| .eml, .msg | |
| Images | .png, .jpg, .jpeg, .gif, .webp |
| FYI Phone Calls, Meetings, and File Notes | Not applicable |
File size limits
The following limits apply when processing files and generating responses using AI prompts:
When an AI-generated answer reaches the maximum output size, the automation displays a warning indicating that the response may be incomplete.
| Limit | Details |
| Document size | Approximately 4.5 MB per document |
| Image size | Approximately 3.75 MB per image, with a maximum dimension of 8,000 pixels per side |
| Email attachments |
Applicable only to emails. Up to 5 email attachments can be processed by FYI AI according to the existing document attachment order. Any additional documents are excluded. If an email contains more than five attached documents, FYI records a warning in the process activity log identifying the documents that weren't processed. |
| Generated answer size | 15,000 tokens |
AI Prompt Step
When creating a Custom Process, to add an AI Prompt step:
- Click Add Step.
- Click FYI AI application and select AI Prompt from the list of functions.
-
The AI Prompt Step will open.
Click and drag the horizontal separator line to decrease the height of the prompt section.
- Add relevant AI Prompt details to configure the step.
AI Prompt Step Details
Action
| Field | Details |
| Document |
Select the document that the AI Prompt will read:
When processing an email with multiple attachments, the AI Prompt processes a maximum of five attached documents, using the existing document order. Any additional documents are excluded from processing. |
| Prompt |
Displays a read-only preview of the AI prompt. Select the Merge Field icon or click into the Prompt preview to open the AI Prompt Editor window to view or edit the prompt. A maximum of 30 lines will display in the Prompt Preview. |
| Output Merge Fields |
Displays the defined Merge Fields from the AI response. These fields capture specific details of the AI's response and can then be used as merge fields in subsequent automation steps. Click on Output Merge Field to open the AI Prompt Editor to edit the Output Merge Fields. |
AI Prompt Editor
The AI Prompt Editor allows users to define the prompt.
| Field | Details |
| Prompt | Enter the instruction that clearly explains the request, context and structure to guide the required response. Refer to Including AI prompts in automations. |
| Merge Fields | Expand the tabs on the right to view the list of available Merge Fields. Click the Merge Field you wish to add to your prompt. Refer to Including Merge Fields in Automations. |
| Web Search |
Disabled by Default. When enabled, this allows the AI prompt to use web-based information to support generating a response. This can be used where external context is appropriate. Use a subsequent automation step, for example a task, to review the generated web search response, to ensure the output is accurate. Refer to Using FYI AI Web Search. |
| Output Merge Fields |
Define the Output Merge Field specific to the AI response. This will store the AI's response so it can be used in later steps. Each Output Merge Field has a type that controls where the field can be used in later automation steps. The three types to select are: Text, Number or Date. Additional instructions specific to each Output Merge Field can be entered. The Response merge field can be used in subsequent automation steps, as an output of the AI response. Refer to Using Output Merge Fields. |