Including AI prompts in automations

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

AI Prompts can be used to draft content, summarise documents and meeting records, extract key details or create structured output merge fields for use in later automation steps.

This article explains how AI prompts can be included in automations, how to write clear instructions and provide the correct information for AI to analyse.

Including prompts in automation steps

AI Prompts can be added to the AI Prompt step or AI Tasks step as part of a custom process. The prompt tells AI what to do with the selected document, merge fields, or other context available to the automation.

  • AI Prompt: Analyses information and generates a response. Output Merge Fields can also return individual values for use in subsequent automation steps. For example, review an incoming email and assess whether a reply is required, summarise a meeting record, extract details from a document, or generate keywords for smarter document filing. 
  • AI Tasks: Analyses a selected document or information to identify actions and automatically creates multiple FYI Tasks. This is useful when the number and details of the required tasks depend on the information being analysed.

The AI Prompt Editor is used to configure the instructions and available options for the selected step, including FYI Merge Fields and, where applicable, Web Search and Output Merge Fields.

Creating FYI AI prompts

An AI Prompt is an instruction included within an AI Prompt or AI Tasks automation step. A prompt tells AI what to do, what information to use, and how the response should be presented.

Depending on the automation step, AI can use selected documents and merge fields as context. This allows the automation to generate output that is relevant to the document, client, user, or process where that context has been provided to the AI step.

Clear, concise instructions help FYI AI generate relevant responses and reduce the risk of incomplete, incorrect, or unnecessary information. The prompt should explain what the AI should do, what information it should use, and how the response should be presented.

For example, instead of asking AI to "Summarise this document", explain the purpose of the summary, the intended audience, the information to include, and the preferred length.

AI-generated responses may vary depending on the instructions and information provided. Practices should review and test custom processes before relying on AI-generated content or values in processes.

When writing a prompt, consider the following:

Consideration Details
The task

Explain what AI should create, summarise, identify, or extract. Focus on a specific outcome rather than combining multiple unrelated requests.

Be clear about what information you need, and use output merge field prompts to provide specific instructions without making your main prompt too long.

The context Explain what information the AI should use, such as the selected document or merge fields. Add merge fields where the prompt needs dynamic information from FYI.
Response format Explain how the response should be structured, such as paragraphs, bullet points, task details, or a short summary.
Rules

Explain what the AI should include, ignore, or do when information is missing. Avoid prompts that are vague or open-ended. 

For example, instead of asking AI to “summarise this”, explain the type of summary required, the audience, the length, and any details that must be included.

Output merge fields

Use Output Merge Fields when later process steps need a specific value from the AI response. Each Output Merge Field can have its own individual instruction that tells AI exactly what value to return and the format to use.

Ensure that the Output merge field prompt is clear, to avoid AI returning no information. Refer to Using Output merge fields.

Understanding what FYI AI analyses

An AI Prompt can use information from a selected document, FYI Merge Fields, the prompt instructions, and Web Search where enabled.

A document doesn't always need to be selected in an AI Prompt or AI Tasks step. For example, you may want AI to draft content using client information supplied through Merge Fields, or research external information using Web Search.

When running an AI Prompt without a document, ensure the instructions provide sufficient context and include any relevant Merge Fields. AI can only use the information made available to it, so missing context may affect the accuracy of the response.

Consider the information required for your prompt:

Information source When to include
Selected document

Select a document when AI needs to analyse its contents, for example, summarising a meeting record, reviewing an email, or extracting information from a document.

FYI AI retrieves only the body of the document. IT can't retrieve the document's FYI filing details or metadata, including To, From, CC included in emails.

No document selected

Use when the prompt doesn't need to analyse a document and can be completed using the instructions and information provided, including FYI Merge Fields. 

For example, drafting a client communication using details supplied in the prompt.

FYI Merge Fields Include Merge Fields to provide additional context, such as client or job information. This is particularly useful when no document is selected or when information is not available in the document itself.
Web Search Enable Web Search when AI needs to research external information, for example, current tax regulations or legislation. Web Search can also be used without selecting a document.

Example AI Prompts

The examples show how an AI Prompt can be structured for common automation scenarios. These examples should be adjusted to suit the practice's process, available context and required output.

For example automations, explore pre-built automations, which you can import directly into your practice to get started with FYI AI.

Triaging a client request

Use this type of prompt when an automation needs to review an incoming email and return structured values that can be used by later process steps.

Example Prompt Example Output Merge Fields and Prompt

Review the selected email and assess only the latest client-authored message.

Determine whether the client is making a new request that requires action by the practice. Ignore earlier quoted messages, signatures, disclaimers, confidentiality notices, unsubscribe text, and previous replies in the email thread.

Return a short assessment with:

  1. Whether the latest message is a new actionable request.
  2. The type of request, if identifiable.
  3. The reason for the assessment.

If the latest message is only thanking the practice, confirming something has been received, asking a follow-up question, or replying without a new request, classify it as not a new actionable request.

Do not draft a reply. 

  • Action Required: Return True if the latest message is a new actionable request. Otherwise, return False.
  • Request Type: Return the type of request, if identifiable. If no request type is identifiable, return Not identified.
  • Reason: Return a short, plain-English reason for the assessment. 
Creating actionable tasks after a meeting

Use this type of prompt when an automation needs to review a meeting record and create follow-up tasks for the team.

Note: Test and review automations that created tasks by AI before relying on them, including the task title, details, assignee, due date and whether any tasks are missing or unnecessary.

Example Prompt

Review the selected meeting record and create tasks only from clear follow-up actions discussed in the meeting.

Use only the information available in the meeting record. Do not create tasks for general discussion points, background information, or actions that are not clearly required.

For each task, include:

  • Subject
  • Background
  • Requirements
  • Assignee, where identified
  • Due date, where identified

If an assignee is not identified, assign the task according to the practice’s configured process. If a due date is not identified, leave the due date blank or use the configured default.

Do not abbreviate important task details. Each task should be clear enough for the assignee to understand what needs to be done without re-reading the full meeting record. 

Was this article helpful?
0 out of 0 found this helpful

Stay Up-To-Date

  • Events

    We host a range of product demos, training webinars, workshops and more.

  • Service Status

    Check for updates on the FYI Platform

  • What's New

    Round-up of new features, fixes, and other important announcements.