How to Find the Chat ID in Google Chat


Integrating Google Chat with viaSocket requires the Chat ID of the person you want to send a direct message to. This unique identifier is necessary to ensure that your automated messages are sent to the correct individual. This guide will walk you through the steps to find the Chat ID for direct messaging in Google Chat.

Steps to Find the Chat ID in Google Chat

  1. Open Google Chat

    • Log into your Google account and open Google Chat. You can access it directly through Google Chat or via the Gmail interface.

  2. Navigate to the Direct Message

    • Click on the conversation with the person you want to send automated messages to. This should be a direct (one-on-one) chat with that individual.

  3. Locate the Chat ID in the URL

    • Once the direct message is open, look at the URL in your browser’s address bar. The URL format should look something like this:
      https://mail.google.com/chat/u/0/#chat/dm/abc123xyz

    • In this example, abc123xyz is the Chat ID. The Chat ID appears after /dm/ in the URL.

  4. Copy the Chat ID

    • Highlight the Chat ID portion of the URL (everything after /dm/) and copy it. Make sure you do not include any additional characters or spaces.

  5. Enter the Chat ID into viaSocket

    • Go to viaSocket and open the workflow where you are setting up the Google Chat integration.

    • In the Configuration settings, find the input field labelled "Chat ID" and paste the copied Chat ID into this field.

  6. Save and Test

    • Save your configuration settings in viaSocket and run a test to ensure the integration is functioning correctly. If the Chat ID is correct, the test message should be delivered successfully to the intended person.

Important Notes

By following these steps, you can easily locate and use the correct Chat ID to automate your direct messaging workflows with viaSocket, ensuring seamless and efficient communication.