# November 27: Bot Update: Contact Source Details Available Inside Bot Flow

### &#x20;<a href="#d1oyckuy93cw" id="d1oyckuy93cw"></a>

#### What was happening earlier? <a href="#nhx98l5kba1r" id="nhx98l5kba1r"></a>

●      The bot could only access CTWA (Click-to-WhatsApp Ad) details like Source URL and Source ID *during the chat session* and only when the conversation was assigned to the bot.

#### What’s new now? <a href="#ncbv6s4pa2wv" id="ncbv6s4pa2wv"></a>

●      These CTWA details (Source URL and Source ID) are now saved directly in the contact’s profile.

●      This means the bot can use these details at any time during the flow, not just during the active session.

#### Why does this help? <a href="#id-3tjqe8h4mqxu" id="id-3tjqe8h4mqxu"></a>

●      Bots can tailor responses better based on where the customer came from.

●      You can use these source details in conditions, messages, or routing inside your bot flow.

#### Step-by-step guide on how it works? <a href="#id-9mzutzs2xdmm" id="id-9mzutzs2xdmm"></a>

1. A customer clicks a CTWA ad and starts a conversation.
2. The system automatically saves the ad’s Source URL and Source ID in the contact details.
3. When building a bot flow, you can now use these fields anywhere.
4. The bot can personalize logic or messages based on these details.

![](file:///C:/Users/lenovo/AppData/Local/Packages/oice_16_974fa576_32c1d314_25a8/AC/Temp/msohtmlclip1/01/clip_image003.gif)![](/files/KQe5KJBbjXtp2HOn24Y2)

&#x20;


---

# 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://changelog.gallabox.com/november-2025/november-27-bot-update-contact-source-details-available-inside-bot-flow.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.
