---
title: "Attach Sofi-suggested knowledge to tickets"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/sofi/predictions-and-routing/attach-suggested-knowledge/
type: task
application: knowledge
last_updated: 2026-12-03
commit: 6777698daac5
---


Administrators use this page to let agents attach the articles Sofi suggests to a ticket. It also shows how to change the way an attached article reaches the requester.

<Callout type="info">
  **Changed in 2027.1.** You set how an attached article is shared on the knowledge form setting, not in a UI event. Choose a journal, turn the closure note on or off, or write an attach script.
</Callout>

## Before you begin

- You need the `sofi_administrator` role.
- The ticket table needs a form setting whose classifier is a knowledge classifier, such as **Knowledge**. See [Show Sofi suggestions on a form](page:sofi/predictions-and-routing/show-sofi-suggestions-on-a-form).
- The instance must hold published knowledge articles.

## Steps

<Steps>
  <Step>
    Check that **Show Sofi on forms** is on. It is on the **Display** tab of **Sofi settings**, under **AI models, cost & value → Models & settings**. The **Sofi Smart Search** tab then shows an **Attach** button under every suggested article.
  </Step>
  <Step>
    To change how an attached article is shared, go to **Predictions & routing → Intelligent predictions → Form settings**. Open the setting for the ticket table whose **Classifier** is **Knowledge**.

    <Image src="asset:screenshots/admin/sofi-predictions-and-routing-attach-suggested-knowledge/form-settings-menu.png">The Form settings item in the Predictions & routing menu.</Image>
  </Step>
  <Step>
    Under **Knowledge Attach Settings**, set **Knowledge Journal Field** to the journal that receives the article link. Leave it empty for the client journal.
  </Step>
  <Step>
    Clear **Knowledge Stamp Closure Notes** if the closure notes should not record the article.
  </Step>
  <Step>
    To post the article's content instead of a link, enter a **Knowledge Attach Script**. The script replaces the two fields above. This is the shipped script for work tracker items:

    ```javascript
    current.AttachedKnowledge(kbArticle.id);
    current.ClientJournal(kbArticle.Content);
    current.ClosureNotes("Attached knowledge article: " + kbArticle.Number);
    ```
  </Step>
  <Step>
    Save the form setting.
  </Step>
</Steps>

## Result

When an agent attaches a suggested article, the article is linked to the ticket in the **AttachedKnowledge** field. By default a link to the article is placed on the client journal. The closure notes record "Attached knowledge article:" and the article number. A knowledge journal field or an attach script changes this.

The shipped settings differ by table. See the default form settings in [Classifier fields and default classifiers](page:sofi/predictions-and-routing/classifier-fields).

## Related

- [Intelligent search](page:sofi/predictions-and-routing/intelligent-search)
- [Show Sofi suggestions on a form](page:sofi/predictions-and-routing/show-sofi-suggestions-on-a-form)
- [Knowledge articles and their lifecycle](page:knowledge/knowledge-lifecycle)
