---
title: Understand the create-incident flow and the end of the chat
description: How a chat with your bot becomes a TOPdesk incident, card by card, and what happens when the chat ends or the user leaves.
---

[Skip to content](https://customer.ebbot.ai/knowledge/topdesk-create-incident-flow#main-content)

[Customer portal](https://customer.ebbot.ai/support?hsLang=en)

[![](https://customer.ebbot.ai/hs-fs/hubfs/logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png?width=1032&height=309&name=logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png)](https://customer.ebbot.ai/?hsLang=en)

- [Status](https://status.ebbot.ai/)
- [Developer docs](https://docs.ebbot.ai/)

Open main navigation

Close main navigation

- [Status](https://status.ebbot.ai/)
- [Developer docs](https://docs.ebbot.ai/)
- [Customer portal](https://customer.ebbot.ai/support)
- [Ask our support](https://customer.ebbot.ai/knowledge#ask-our-support)

[Ask our support](https://customer.ebbot.ai/knowledge?hsLang=en#ask-our-support)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Ebbot Knowledge Base](https://customer.ebbot.ai/knowledge?hsLang=en)
2. [TOPdesk](https://customer.ebbot.ai/knowledge/topdesk?hsLang=en)

# Understand the create-incident flow and the end of the chat

## See how a chat with your bot becomes a TOPdesk incident, card by card, and what happens when the chat ends.

## Understand the flow

The create-incident flow is a scenario in **Scenarios → Builder** that turns a chat into a TOPdesk incident. It mixes TOPdesk cards with normal bot reactions and user inputs. Filters on the cards decide when each card runs.

This article describes the standard flow. Your bot can differ, because flows are adapted to each organisation. See "How Ebbot works with TOPdesk: standard and customised". The TOPdesk connection must be set up before the cards work. See "Connect TOPdesk to Ebbot App".

## See how the flow starts

The user doesn't have to type a special word. EbbotGPT has the incident scenario available as a tool, and starts it when answering is not enough and the conversation needs an incident.

## Follow the flow step by step

🔍 Start here:

1. **The bot identifies the user.** The **Search For User** card looks the user up in TOPdesk and fetches their contact details. If the user was already identified, for example because they are logged in to the Self-Service Portal, this step is skipped. If the search finds nothing, the bot asks for an email address, searches again, and asks for a name only if it is still missing. See "Look up the caller and their assets in TOPdesk".
2. **The bot gets a description.** The bot asks the user to describe the issue. In a variant, EbbotGPT writes a short summary of the chat instead, so the user doesn't have to repeat the problem. The summary variant is an add-on that Ebbot builds for you on request.
3. **The bot offers an attachment.** The bot asks if the user wants to add a screenshot. If yes, a **Multi File Upload** card collects the files. They are only collected here. They are added to the incident after it exists.
4. **The user confirms.** The bot shows the description with two buttons: submit, or add something more. Adding more loops back until the user submits.
5. **The fields are staged.** The **Incident Attribute Form** card collects the fields for the incident: the contact details, the description, a short title and a support level. Routing fields, such as operator group and category, can be empty or filled by an earlier step.
6. **The incident is created.** The **Create Incident in TOPdesk** card sends the staged fields to TOPdesk. See "Create and update incidents with the TOPdesk cards".
7. **On success,** the **Add Transcript to Incident** card adds the chat to the incident, and the **Upload files to Incident** card adds the files if the user chose to attach any. The bot shows the user the incident number. See "Attach the chat transcript and files to an incident".
8. **On failure,** the bot shows an error message with two choices: try again, or try later, which ends the conversation.

## Keep the cards in the right order

The order matters for two reasons:

- **Create Incident in TOPdesk** only sends fields that are already staged. The **Incident Attribute Form** and any card that sets a routing field must run before it.
- The transcript and file cards need the incident number. They can only run after a successful create, even if the files were collected earlier in the chat.

If an incident is created but a field is empty, the card that sets that field ran too late or didn't run at all. Check the order and the filters on each card. A filter that compares with the wrong value, for example `yes` when the card writes `Ja`, skips the card without any error.

## Know what happens when the chat ends

**After a successful incident,** the incident number is shown in the chat and the transcript is added to the incident, often as an internal note that the user doesn't see. The bot may ask if there is anything else before it ends.

**When the chat closes,** the bot can ask the user to rate the conversation and offer to start a new one. What is shown at the end is part of your own setup.

**If the user leaves in the middle,** for example closes the browser or stops answering, normally nothing is created in TOPdesk. An incident only exists if the flow reached the **Create Incident in TOPdesk** card. A user who leaves has often already got the help they needed. If you want unfinished conversations logged in TOPdesk as well, that can be set up for you. Contact our support.

**If the bot can't help,** it can offer to hand the conversation to an agent in **Live chat**, for example when the user asks for a person. Whether and when handover is offered is part of your own setup. The handover goes to your Live chat agents in Ebbot App, not to TOPdesk operators.

### 💡 Pro-Tip

Test the whole flow with a test bot that points to your TOPdesk test environment before you change the live bot. Then you can try new filters and card orders without creating real incidents. See "Connect TOPdesk to Ebbot App" for how to give a test bot its own connection.

- [Getting started](https://customer.ebbot.ai/knowledge/getting-started#main-content)
- [EbbotGPT: knowledge and AI answers](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#main-content)

    - [Knowledge and sources](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#knowledge-and-sources)
    - [Persona and configurations](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#persona-and-configurations)
    - [Troubleshoot answers](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#troubleshoot-answers)
- [Live chat](https://customer.ebbot.ai/knowledge/live-chat#main-content)
- [Chat widget](https://customer.ebbot.ai/knowledge/chat-widget#main-content)
- [TOPdesk](https://customer.ebbot.ai/knowledge/topdesk#main-content)
- [Account, login and security](https://customer.ebbot.ai/knowledge/account-login-and-security#main-content)
- [Ebbot Automations](https://customer.ebbot.ai/knowledge/ebbot-automations#main-content)
- [Scenarios and bot builder](https://customer.ebbot.ai/knowledge/scenarios-and-bot-builder#main-content)
- [Dashboards and chat history](https://customer.ebbot.ai/knowledge/dashboards-and-chat-history#main-content)
- [Channels and integrations](https://customer.ebbot.ai/knowledge/channels-and-integrations#main-content)

    - [Channels](https://customer.ebbot.ai/knowledge/channels-and-integrations#channels)
    - [Developer resources](https://customer.ebbot.ai/knowledge/channels-and-integrations#developer-resources)

- [ebbot.com](https://www.ebbot.com/)
- [Status](https://status.ebbot.ai/)
- [Developer docs](https://docs.ebbot.ai/)
- [Trust center](https://trust.ebbot.com/)
- [LinkedIn](https://www.linkedin.com/company/ebbot/)

[![](https://customer.ebbot.ai/hs-fs/hubfs/logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png?width=1032&height=309&name=logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png)](http://ebbot.com)

© 2026 Hello Ebbot AB