# Sending webhook to Google Spaces

**URL:** <https://forums.distill.io/t/sending-webhook-to-google-spaces/1728>\
**Category:** Help and Support\
**Created:** [March 9, 2023, 2:53am UTC](https://forums.distill.io/t/sending-webhook-to-google-spaces/1728 "2023-03-09T02:53:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSKG](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@SSKG](https://forums.distill.io/u/SSKG)\
**Post date:** [March 9, 2023, 2:53am UTC](https://forums.distill.io/t/sending-webhook-to-google-spaces/1728/1 "2023-03-09T02:53:04Z")

</div>

![image](https://forums.distill.io/uploads/default/original/1X/2194304d22114ad59d11a6d2d0f9ae206ec0fc49.jpeg)

Hello,  
I’m just starting using Distill for my busisness.  
Usually I use Email Alerts for notification, but I really want to post it to Google Spaces, in which multiple users are in.  
I got an webhook URL for Google Spaces as attached, but don’t know what options and headers I have to add.  
Or is there anything I need to do on Google?  
I look forward to hearing from you soon.

Thanks.

Kiyo

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [March 9, 2023, 7:48am UTC](https://forums.distill.io/t/sending-webhook-to-google-spaces/1728/2 "2023-03-09T07:48:15Z")

</div>

Hello Kiyo,

Welcome to the community forum and thanks for posting your question.

I just checked out Google Spaces docs at [Send messages to Google Chat with incoming webhooks &nbsp;|&nbsp; Google Developers](https://developers.google.com/chat/how-tos/webhooks). Following are the main things to consider:

1. The authorization key and token. In the examples, it is part of the URL. It looks like ` https://chat.googleapis.com/v1/spaces/AAAAGCYeSRY/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=u9IG_MuTBXw-tnqupPrPNinY2spKFcRBDp6dSldGUAw%3D`
2. The message sent should be in JSON format. Distill does that by default. A header doesn’t need to be added. Please remove the empty header from the headers list.
3. The message body should contain a field named `text`. There should not be any other field in the body.

Fields in the screenshot already contains `text`. Can you remove others (`id`, `name`, and `url`) and try again?

Let me know how it goes or reach out if you need any help.

Thanks for using Distill for your business and wish you all the best!

---

<div class="post-metadata">

**Author:** ![SSKG](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@SSKG](https://forums.distill.io/u/SSKG)\
**Post date:** [March 9, 2023, 8:16am UTC](https://forums.distill.io/t/sending-webhook-to-google-spaces/1728/3 "2023-03-09T08:16:56Z")

</div>

Hello ajitk!

Thank you so much for prompt attention.  
I’ve just edited the options as you advised and it does work!!!  
My body shivers with excitement 🙂  
I thought all the options were to be added, but that’s wrong.  
only [text] option is needed.

Now I can do what I thought I was going to do and my colleagues will be happy.  
Thank you so much again.

 ![無題](https://forums.distill.io/uploads/default/original/1X/c79c08d82979575c140a317e651918ed95d2c4a8.jpeg)

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [March 9, 2023, 12:26pm UTC](https://forums.distill.io/t/sending-webhook-to-google-spaces/1728/4 "2023-03-09T12:26:33Z")

</div>

Glad to know that it worked! And thanks for the update. 😃
