---
sourceDocument: Xanadu Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/customer-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Preparation for creating a decision tree

# Preparation for creating a decision tree {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Before configuring a decision tree, process analysts are recommended to document the flow of the decision tree using a flow chart including the questions, answers, associated paths, and guidances.

Anita, who is a process analyst at the StellarVest bank wants to create a decision tree that enables agents to troubleshoot a failed credit card transaction.

Anita first creates a flowchart to document the flow of a decision tree to determine the questions, answers, and possible guidances to configure.

{#preparation-for-creating-a-decision-tree__table_rw4_xdt_jzb__entry__4}

| No. | Element | Name | Description |
|-|-|-|-|
| 1 | Start node | [Card holder and transaction details](https://servicenow-prod.fluidtopics.net/UXYvBgcfu_iVHmDjBcRkUw "Add questions to ask for credit cardholder details and transaction details and configure answer types in a start node in Decision Tree Builder.") | Start node that collects customer, credit card, and transaction details. |
| 2 | Path | [Amount is debited](https://servicenow-prod.fluidtopics.net/6aLvjImtSP1ajzEcRqzGIQ#configure-path-for-amount-debited "Configure a path for the amount-debited condition for the next guidance node.") | Path with condition: amount is debited. |
| 3 | Guidance node | [Initiate transaction tracking](https://servicenow-prod.fluidtopics.net/cESoV0TUyU7sG7WnkvRpGw "Configure a guidance node in Decision Tree Builder so that agents can initiate the transaction tracking.") | Guidance to initiate transaction tracking when amount is debited. |
| 4 | Question node | [Further assistance needed](https://servicenow-prod.fluidtopics.net/p2_042vgbZBOfGclgm8PfA "Add a question node to ask users whether they need further assistance.") | Ask whether the customer needs further assistance. |
| 5 | Guidance node | Provide more options | Guidance to provide more options such as talk to an agent or request a new card. |
| 6 | Path | [Amount is not debited](https://servicenow-prod.fluidtopics.net/6aLvjImtSP1ajzEcRqzGIQ#configure-path-for-amount-not-debited "Configure a path for the amount-not-debited condition for the next question node.") | Path with condition: amount is not debited. |
| 7 | Question node | [Failure codes](https://servicenow-prod.fluidtopics.net/d1qqETDlODKdKHyh_PAGMA "Add a question to ask for the failure code that the customer received after a failed credit card transaction.") | Collect transaction failure codes when amount is not debited. |
| 8 | Path | [Error 200](https://servicenow-prod.fluidtopics.net/uf82lPzBCSFyDBD1x9TJMg "Configure a path for each failure code condition to provide appropriate guidance to agents.") | Error code received is 200. |
| 9 | Guidance node | [Reassign case](https://servicenow-prod.fluidtopics.net/M6JFQzRfNoTnBDOi7iaWXA "Associate guidances to paths with different failure code conditions.") | Guidance to reassign the case to someone else. |
| 10 | Path | [Error 300](https://servicenow-prod.fluidtopics.net/uf82lPzBCSFyDBD1x9TJMg "Configure a path for each failure code condition to provide appropriate guidance to agents.") | Error code received is 300. |
| 11 | Guidance node | [Create work order](https://servicenow-prod.fluidtopics.net/M6JFQzRfNoTnBDOi7iaWXA "Associate guidances to paths with different failure code conditions.") | Guidance to create a work order for dispatching a new credit card. |
| 12 | Path | [Error 500](https://servicenow-prod.fluidtopics.net/uf82lPzBCSFyDBD1x9TJMg "Configure a path for each failure code condition to provide appropriate guidance to agents.") | Error code received is 500. |
| 13 | Guidance node | [Assign IT technician](https://servicenow-prod.fluidtopics.net/M6JFQzRfNoTnBDOi7iaWXA "Associate guidances to paths with different failure code conditions.") | Guidance to assign an IT technician to resolve the issue. |
[Table 1. Flow chart for decision tree]

{#preparation-for-creating-a-decision-tree__table_rw4_xdt_jzb}

