🔄 Bidirectional Integration Between Google Chat and Slack Using N8N Cloud

Hey everyone,

I’m trying to integrate Google Chat and Slack using N8N Cloud, allowing my team to communicate with customers in a Google Chat group directly from Slack, and ensuring that customer responses in Google Chat are forwarded back to Slack.

What I’ve set up so far:

:white_check_mark: Google Chat Webhook: I have a webhook URL generated by Google Chat to receive messages.

:white_check_mark: Slack Webhook: I created a webhook in N8N to receive messages from Slack.

:white_check_mark: N8N Cloud: I’m using workflows in N8N to process and forward messages.

Main Issues I’m Facing:

:one: Slack is not verifying my N8N webhook URL because it expects a “challenge” parameter in the initial verification request. How can I configure my N8N Webhook to correctly respond to Slack’s “challenge” parameter?

:two: Google Chat does not allow external webhooks (like the one from N8N); it only generates its own webhook URL. How can I make Google Chat send messages to N8N?

:three: What’s the best approach to handling bidirectional communication between Google Chat and Slack using N8N ?

Any advice or example workflows in N8N would be highly appreciated! :rocket:

Thanks in advance! :raised_hands:

  1. You would use the Respond to Webhook node if I understand correctly
  2. If I understand right, that is because what you are generating is a message receive webhook, to send messages to google chat.
  3. I would use the google chat, get a message node on n8n, and the slack send a message node, and vice versa.

I am not familiar enough with google chat, but you may be able to set up appscripts on google’s end to send a webhook request to n8n on new messages. But you could use the slack On new message to trigger it. Otherwise you will have to manually check for new google chat messages every x minutes.