# 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)![](https://4041939653-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvXbyN7GvoMO6ReyVRS6%2Fuploads%2FtEB6x79YvQxogcaCkrnK%2Funknown.png?alt=media\&token=ccffe1bd-bdd5-48d2-a360-8139bdd63124)

&#x20;
