Services Plugins FAQs

Air Chat & Messaging Pro Issue

Hello! I want to use Air Chat for my p2p marketplace but i have some issues.
The workflow is as follows: User1 lands on a product page listed by Seller (User2) . On the page, there is an “Ask Seller” button that redirects the user to the chat. However, I can’t find a way to display the conversation with the current User2 in the chat. Instead, it shows the first conversation created with another user. How can I set it up so that the chat displays the conversation with the current seller? I hope I’ve explained the situation clearly enough for the problem to be understood. Thank you!

Hi @AlexOlteanu ,

Thank you for reaching out and apologies for the delayed response! :blush:

It sounds like the chat isn’t opening the correct conversation with the seller when a user clicks “Ask Seller.” Here’s how you can fix it:

:one: Create a Unique Conversation for Each Seller
The Air Chat plugin generates a new conversation based on user IDs. To make sure User1 sees the conversation with the correct seller (User2), you need to pass the correct IDs to the chat.

  • You should use the “Start a new conversation” action with the User1 and User2 IDs (the seller’s user ID).
  • Make sure you’re storing this conversation in a way that associates User1 with User2 specifically (e.g., creating a relationship between the users and the conversation in your database).

:two: Display the Correct Conversation
When User1 clicks the “Ask Seller” button, you need to make sure the workflow fetches the conversation based on User1’s and User2’s IDs, rather than showing a random conversation. Here’s how you can do it:

  • Use a search in your workflow to find the conversation based on User1’s and User2’s IDs.
  • Pass the conversation ID into the chat window, ensuring that the conversation shown is the one between User1 and User2.

:three: Condition for Existing Conversation
Before starting a new conversation, check if one already exists between User1 and User2. You can do this by searching the conversations for that pair. If a conversation exists, pass that conversation ID to the chat element, otherwise, create a new one.

Also, I’d recommend comparing your setup with our demo page to see if anything is missing. You can also check out our documentation for more details on setting up the plugin.

Try these steps, and let me know if you need further assistance! :rocket:

Regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi @AlexOlteanu ,

I wanted to follow up and see if you had a chance to review my previous message regarding the issue with the Air Chat plugin. Let me know if any of the suggestions helped or if you’re still having trouble.

If the issue persists, sharing a screenshot of your setup (particularly the workflow for starting and displaying conversations) would be really helpful.

Looking forward to your update!

Best,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3