# Using Flow Builder to create a ticket in Inbox

Two of MessageBird's solutions, Flow Builder and Inbox, work together to bring tickets to your Inbox interface. In that sense, every Inbox instance has its corresponding Flow, automating the creation of your tickets:<br>

<figure><img src="/files/UnHoS9Ix7cNH5GrRTHQA" alt=""><figcaption></figcaption></figure>

#### Table of contents <a href="#id-01g1gfm7g9ps9nej6fk50ra187" id="id-01g1gfm7g9ps9nej6fk50ra187"></a>

* [Before getting started](#h_01G1GESZHAHN77945R03RV1NA9)

#### Before getting started <a href="#h_01g1geszhahn77945r03rv1na9" id="h_01g1geszhahn77945r03rv1na9"></a>

You will need:

* A [MessageBird account](https://dashboard.messagebird.com/)
* An [Inbox account<br>](https://inbox.messagebird.com/)

#### Create Inbox Step <a href="#id-01ges63df0eejjsvrsat5pne28" id="id-01ges63df0eejjsvrsat5pne28"></a>

The *Create Inbox* step enables the connection between Flow Builder and Inbox. You can configure several options to match your desired use case:

<figure><img src="/files/2YVNdhOu3fpiTzZIud1D" alt=""><figcaption></figcaption></figure>

* **Tags**: Add or remove [tags](https://inbox.messagebird.com/manager/tags) that will be applied to the created ticket. You can use tags to [route](https://support.messagebird.com/hc/en-us/articles/360004466518-Routing-setup-workflow-) tickets to the right agents.
* **Languages:** Add the language you want to associate with the created ticket and [route](https://support.messagebird.com/hc/en-us/articles/360004466518-Routing-setup-workflow-) tickets to the right agents.
* **Callback URL:** Here, you can set up an URL/webhook to receive updates every time the status of the Inbox ticket changes - from its creation to its resolution. All ticket data, including the status, channel, conversation, contact, tags, sentiment, and the agent will be included.&#x20;
* Enable **Handle long wait times** automatio&#x6E;**:** an automated message in case the ticket isn't picked up within a defined time.&#x20;
* Enable **Handle failures** feature: additional branch handling the case when an error occurs.&#x20;

📝 Any step that comes after the *Create Inbox* step in a Flow will be executed **only after** the ticket created by the step in Inbox has been moved to the *Resolved* status:

<figure><img src="/files/e65dDWHmplcOgIG1JMmE" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ut9VLmOwCBGUnXji1hLd" alt=""><figcaption></figcaption></figure>

📤  Feel free to [contact our Support](https://support.messagebird.com/hc/en-us/requests/new) in case you might need some help!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bird.com/connectivity-platform/steps-catalogue/using-flow-builder-to-create-a-ticket-in-inbox.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
