Google Chat, developed by Google, is a versatile messaging and collaboration platform that has evolved from Google Talk and Google Hangouts. It offers features like instant messaging, group chats, seamless file sharing, integration with Google Workspace apps, video conferencing, notifications, and robust search functionality.
Available on various platforms, Google Chat is well-suited for both personal and professional communication, providing users with a one-stop solution for efficient and organized messaging and collaboration.
Integrating Google Chat with Salesforce offers several benefits, much like Slack and Microsoft Teams integrations, but with some unique aspects.
1. Enhanced Collaboration: Integrating Google Chat with Salesforce allows teams to discuss, share updates, and collaborate seamlessly within the context of customer relationships and sales opportunities. It offers a centralized platform for real-time communication alongside customer data, streamlining decision-making and customer support.
2. Streamlined Workflows: Users can automate and simplify tasks by integrating Google Chat with Salesforce, allowing for the creation of custom workflows and automated notifications. This integration can improve efficiency, reducing manual data entry and enabling quick responses to customer inquiries or hot sales opportunities.
3. Improved Customer Engagement: By connecting Google Chat with Salesforce, teams can access action custom needs in real-time, making it easier to provide personalized service. This helps in understanding customer needs, providing quicker resolutions, and ultimately enhancing customer satisfaction.
Google Chat integration with Salesforce can enhance productivity and collaboration within a sales or customer support team. Here are some examples of how this integration can be utilized:
1. Real-time Lead and Opportunity Updates: Receive immediate Google Chat notifications for important lead and opportunity changes in Salesforce to facilitate quick decision-making by sales teams.
2. Case Management: Integrate Salesforce cases with Google Chat for efficient handling of customer support cases. Notifications in the chat room help support teams allocate and address cases effectively.
3. Automated Task Assignments: Automate task assignment notifications in Google Chat when tasks are created or updated in Salesforce, ensuring timely task completion.
4. Meeting Scheduling: Simplify client meeting scheduling by pulling availability data from Salesforce and sharing it within Google Chat rooms, streamlining the process.
5. Document Sharing and Collaboration: Collaborate on important documents related to Salesforce records by sharing Google Docs, Sheets, or Slides directly within Google Chat rooms, making it easier to work on proposals, reports, and presentations collaboratively.
Omnitoria harnesses the power of Google Chat Integration with Salesforce to enhance our sales processes. Whenever users on the Salesforce AppExchange provide us with their contact information to access our Demo video or when a new lead installs Declarative Webhooks in their Salesforce organization, our system automatically posts messages to our Sales Google Space.
Our Google Chat integration with Salesforce streamlines communication within our sales team, ensuring that critical information reaches the right people promptly. This not only accelerates follow-ups but also allows us to provide timely support and guidance to potential customers, ultimately increasing our sales opportunities and fostering more meaningful interactions with our prospects.
Now, I bet you’d like to see what we’re about to build in in action. Here you go!
In summary, integrating Google Chat with Salesforce offers a tailored solution for organizations that rely on Google Workspace and Salesforce. It provides a tightly integrated experience within Google’s ecosystem, which can be advantageous for users already immersed in Google’s productivity tools.
You should be well-equipped to complete the authentication process for your project and gain access to the Google Chat API through Salesforce.
Hopefully you will see the following success message:
At Omnitoria, we want to make the API callout from Salesforce to the Google Chat API to notify our sales team when someone watches our demo video or installs Declarative Webhooks.
If you’re not a Salesforce ISV, you may not know that we employ a partner org to add leads as Campaign Members when someone watches a gated demo or installs our applications. This enables us to trigger callouts and send messages to our sales team in a Google Space, similar to the one we configured earlier.
You can easily adapt this to any situation where you are adding a Campaign Member to a campaign and you want to know about it. Let’s demonstrate.
Go to the Declarative Webhooks App and Create a Callout Template:
The final result will look like the following:
Click Save and Continue.
There’s not any configuration you have to do to the Callout Headers and you can accept the default:
Click Save and Continue.
The Request Body is extraordinarily simple for the Google Chat API and has the following form:
{"text" : "some text"}
I’m going to create a little magic in the text node by making it a formula so we can post different messages for different Campaigns. This will make our Callout template re-usable for multiple notifications. Create the “text” node as follows:
“AppExchange – Watch a Demo”, “Declarative Webhooks demo video watched on the Salesforce AppExchange by ” & FirstName & ” ” & LastName & IF(ISBLANK(Title), “”, “, ” & Title & “,”) & ” at ” & CompanyOrAccount & ” with email address ” & Email & “. For more information go to: ” & “https://omnitoria.lightning.force.com/” & LeadOrContactId,
“Welcome Email”, “Declarative Webhooks installed from the Salesforce AppExchange by ” & FirstName & ” ” & LastName & IF(ISBLANK(Title), “”, “, ” & Title & “,”) & ” at ” & CompanyOrAccount & ” with email address ” & Email & “. For more information go to: ” & “https://omnitoria.lightning.force.com/” & LeadOrContactId,
“Something happened. I don’t know what.”
)
In the formula, you may observe that we’re examining the Campaign Name and generating distinct messages to post on Google Spaces. This differentiation is based on whether an individual merely viewed the demo or installed Declarative Webhooks.
When you click Done it will look like this and you will click Save and Continue:
There’s nothing really from the Google Chat API Callout Response that I am interested in mapping back to Salesforce so in this case I will leave the Response Body Template alone and click Save and Continue.
Again, I’m not mapping anything back in the response to Salesforce so configuring Response Actions isn’t necessary in this case and we should proceed to clicking Save and Close.
The final callout template will look like this:
Now it’s time to automate the process of posting messages to our Google Space from Salesforce. To do this, we simply need to create a Record-Triggered Flow as follows:
Next add a Decision element called ‘Which Campaign?” Add the following Outcomes:
The final step is to Invoke our Callouts, but we can actually use the same Callout Template for each because we planned it that way. Simply:
Your flow will look like the following:
We’ve successfully set up our Salesforce Flow to automatically post a message in our Google Space when a Campaign Member is added to either our “Demo Video Watched” campaign or our “Install” campaign.The kean observer might have noticed a second Apex Action called ‘Add to List and Journey’ in the flow above. We’ll dive into the details of that another time. It’s worth noting the significant power that comes with automating and sequencing multiple integrations together.
We’ve explored the integration of Google Chat with Salesforce, a powerful combination for enhancing collaboration and automating workflows. Google Chat offers a robust messaging and collaboration platform, and when integrated with Salesforce, it brings several benefits, such as improved collaboration, streamlined workflows, and enhanced customer engagement.
We’ve compared this integration with alternatives like Slack and Microsoft Teams, highlighting its advantages for organizations already using Google Workspace and Salesforce. Additionally, we’ve provided examples of how businesses can leverage this integration to boost productivity and improve customer support.
To demonstrate the practicality of this integration, we shared a real use case from Omnitoria, where it streamlines communication within the sales team, ensuring timely follow-ups and support for potential customers.
Finally, we’ve guided you through the steps to integrate Salesforce with the Google Chat API, showing you how to create a project in Google Cloud, authenticate it from Salesforce, and implement an API callout to post messages in Google Chat. The potential for automating and sequencing multiple integrations together opens up new possibilities for efficiency and effectiveness in your operations.
Thank you for joining us on this journey of integration and automation.
Thank you for following this quick guide.
If you want to learn more about Declarative Webhooks, please follow the links below:
More Integration Guides
© Omnitoria, All Rights Reserved.