Using Output Merge Fields

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

Output Merge Fields allow specific values generated by an AI Prompt step to be stored separately from the overall AI prompt response, so they can be used as merge fields in later automation steps.

Output Merge Fields

Output Merge Fields capture specific values from the AI response, which can then be used as Merge Fields in subsequent automation steps.

A mandatory Response Output Merge Field is always included, which returns the general AI response. Additional Output Merge Fields can be configured to capture individual values separately, such as a document name, cabinet, or date.

Each Output Merge Field is assigned one of the following types:

  • Text: Returns a text value.
  • Number: Returns a numeric value.
  • Date: Returns a date value.

The selected type determines where the Output Merge Field can be used in subsequent automation steps. Individual prompts can also be added to each Output Merge Field to guide the AI response.

Creating Output Merge Fields prompts

Instructions can also be added to individual Output Merge Fields to help AI return the required value in the correct format. For example, if the main prompt asks AI to review an email, an Output Merge Field called Draft Email Required could include instructions explaining what to return if the email requires a response.

When creating Output Merge Field prompts, provide clear, concise instructions that specify exactly what information AI should return. Clear instructions help AI return the expected values while reducing the risk of generating inaccurate information.

To create a new Output Merge Field:

  1. From the AI Prompt Editor, define the new Output Merge Field. For example, Draft Email Required.
  2. Click and drag the horizontal separator line to decrease the height of the prompt and display additional Output Merge Fields.
    5048_AI_Prompt_window_horizontal_separator.gif
  3. Select from the Output Merge Field Type:

    • Text: Returns a text value.
    • Number: Returns a numeric value.
    • Date: Returns a date value.

    5045_AI_Prompt_Output_Merge_Field_Type.gif

  4. Click the drop-down arrow to open the Merge Field Prompt field.
    5046_AI_Prompt_Output_Merge_Field_drop-down.gif
  5. Add additional instructions for the selected Output Merge Field prompt field.
    5047_AI_Output_Merge_Field_prompt_field.gif
  6. Save the AI Prompt

Adding Output Merge Fields to process steps

Once an AI Prompt step has been configured, its Output Merge Fields can be selected in subsequent automation steps where Merge Fields are supported.

  1. Add an AI Prompt step to the automation and configure the required Output Merge Fields.
  2. Add a subsequent automation step, for example, Alter Document.
  3. For the field to be updated, click the Merge Field icon.
    5333_Alter_document_step_merge_field_select.gif
  4. The Merge Field editor window displays. Expand the available Merge Field sections and select the required Output Merge Field from the previous AI Prompt step.
  5. Save the Merge Field and complete the remaining automation step configuration.
    5334_Alter_document_step_AI_output_merge_fields.gif
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.