# Show Omnichannel Widget URL as a Custom Attribute in Inbox

In this guide, you’ll learn how to display the Omnichannel Widget’s URL in Inbox so that you can see which page your customer’s last Live Chat was sent from.&#x20;

&#x20;

This visibility is important for Inbox agents, especially when you have multiple Omnichannel Widgets for different brands pointing to the one Inbox. It is also useful for agents to have more context when talking to your customers.

&#x20;

**Step 1: Go to Flow Builder**

Go to your Inbox flow in Flow Builder. This is the flow that has both Live Chat enabled and creates a ticket in Inbox.

&#x20;

**Step 2 Update Inbox contact**

Drag the “Update Inbox Contact” step to your flow. Make sure you add it before the “Create Inbox Ticket” step.&#x20;

&#x20;

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

&#x20;

**Step 3: Create a custom attribute**

Click “Create custom attribute”. Here you can set the Key and Value. You can name the Key whatever you like, so your agents will know what the attribute means -- for example, “Widget URL”. You need to set the Value as “**{{message.metadata.widgetUrl}}”.**

&#x20;

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

&#x20;

When you click “Save”, the variable will update to the view below.

&#x20;

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

&#x20;

**Step 4: Publish!**

You’re all set. All you need to do is hit “Publish” to commit your changes.&#x20;

&#x20;

**Step 5: View the Omnichannel Widget URL in Inbox**&#x20;

Now all your incoming Live Chat messages arriving in Inbox will pass the Widget URL and display it under the Inbox contact as a custom attribute below “Extra info”.&#x20;

<figure><img src="/files/3LBS7szIHmJfdjwwbVf1" alt=""><figcaption></figcaption></figure>


---

# 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/using-live-chat/show-omnichannel-widget-url-as-a-custom-attribute-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.
