# How to Create a Knowledge Graph

## Knowledge Graph Tutorial

You can create a guided knowledge flow that gives users detailed context and guides them to  the most relevant knowledge base article content.

As an example, when users ask a question about how to send a meeting invite, itmight be related to other collaboration tools such as Zoom, Slack, MS Teams. Theexample guides users to the article content that serves their needs.Comment

<div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCCtlArfI3VtLzew9kE1P%2Fuploads%2FugLAlx7GRC80RX2OdNCy%2Fimage.png?alt=media&#x26;token=e2948d08-7e04-4269-8c82-1467864e4a80" alt=""><figcaption></figcaption></figure></div>

To start, create a new intent called **KB Article Flow** and select **Intent Fulfillment** as the **Knowledge Flow**.&#x20;

In the screenshot below, the name of the new intent is **KB FlowArticle**, and the category is selected as a **Knowledge Flow**.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCCtlArfI3VtLzew9kE1P%2Fuploads%2FFpEoXOgZ0OwUYFSE9jKG%2Fimage.png?alt=media&#x26;token=0e254499-3d58-4e33-90ba-f2963ff6b27e" alt=""><figcaption></figcaption></figure>

Next, build the new workflow using the **AI Workflow Studio**.

Add a new user input node. It is used to define multiple options for the userinput variable. The example offers five options to the user: Cisco Webex, Microsoft Teams, Zoom, Slack, Other. They are displayed as buttons.

![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCCtlArfI3VtLzew9kE1P%2Fuploads%2FAqKLJIoHXRj5MoTNf0Wr%2Fimage.png?alt=media\&token=63bafc28-fba8-4de6-afd8-dd99833f70df)

Add a **Decision** node and define five decision branches accordingly (refer how to determine the user **Input** value in the decision branches).

Associate a **Message** node under each decision branch (refer to how to display messages). As shown below, under the dropdown menu of **Select the data to display**, select the **Knowledge Content** tab and click **OK**.

<figure><img src="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2F200CI5jwYHKSWbWsWuFU%2Flast_knowledge_graph.png?alt=media&#x26;token=d78893a4-85b8-4f36-affe-160381e92345" alt=""><figcaption></figcaption></figure>
