# How create a private chat regarding ad

**URL:** <https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422>\
**Category:** Ask for Help\
**Created:** [July 24, 2025, 8:56pm UTC](https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422 "2025-07-24T20:56:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabiogasppar](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@fabiogasppar](https://community.glideapps.com/u/fabiogasppar)\
**Post date:** [July 24, 2025, 8:56pm UTC](https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422/1 "2025-07-24T20:56:11Z")

</div>

Hello, I need help creating a private chat for the advertising website I’m building. The chat should be sent from the ad.

---

<div class="post-metadata">

**Author:** ![discourse\_ai\_spam](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@discourse\_ai\_spam](https://community.glideapps.com/u/discourse_ai_spam)\
**Post date:** [July 24, 2025, 8:56pm UTC](https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422/2 "2025-07-24T20:56:13Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [July 24, 2025, 9:40pm UTC](https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422/3 "2025-07-24T21:40:21Z")

</div>



---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 25, 2025, 12:13am UTC](https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422/4 "2025-07-25T00:13:04Z")

</div>

What do you mean by “the chat should be sent from the ad”? Does clicking an ad start a chat?

---

<div class="post-metadata">

**Author:** ![fabiogasppar](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@fabiogasppar](https://community.glideapps.com/u/fabiogasppar)\
**Post date:** [July 25, 2025, 12:25am UTC](https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422/5 "2025-07-25T00:25:58Z")

</div>

yes, like on a car listing website

---

<div class="post-metadata">

**Author:** ![c0bbler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/c0bbler/32/68741_2.png) [@c0bbler](https://community.glideapps.com/u/c0bbler)\
**Post date:** [July 25, 2025, 5:50pm UTC](https://community.glideapps.com/t/how-create-a-private-chat-regarding-ad/83422/6 "2025-07-25T17:50:39Z")

</div>

I can share a bit of how I do this in my application.

I have users who can create proposals to each other. Once the proposal is created, I have a messages tab where they can have a DM conversation specific to the proposal.

You’ll want to watch [this video](https://www.youtube.com/watch?v=c0vW0GFc2io) as a precursor.

What I do for this case is host different columns for the IDs of the various entities messages might be associated with, directly in the messages table. When a message is sent from the entity it is associated with (proposal), I store a screen value for the proposal ID in the message table. In the UI, I leverage row owners instead of filters for the sender/receiver, and then filter the conversation view to only include that proposal ID matching the screen proposal ID, thus showing a private conversation on the same screen as my proposal.

I have other entities than proposals where conversations can be associated, for this I store them in additional columns and do the same thing for those other associated entities. For DMs between users, I use the “unique identifier” special value, and then make sure in all messages interface to include that value in the messages save fields on the right-side component configuration. This ensures the conversation value is always passed between subsequent replies.
