{% extends "base_project.html" %} {% load humanize static hc_extras %} {% block title %}Google Chat Integration for {{ site_name }}{% endblock %} {% block content %}

Google Chat

{% if request.user.is_authenticated %}

If your team uses Google Chat, you can set up {{ site_name }} to post alerts directly to an appropriate Google Chat space when a check goes up or down.

{% else %}

{{ site_name }} is a free and open source service for monitoring cron jobs, background processes and scheduled tasks. When {% site_name %} detects a problem, it can notify you by posting to a Google Chat space. To set up the Google Chat integration, please log into {{ site_name }}:

{% endif %}

Setup Guide

From a browser, log into your Google Chat account, and go to the space where you want to post {% site_name %} notifications.

Next to the space title, click the down arrow, and then click Apps & integrations.

Screenshot

Click + Add webhooks.

Screenshot

In the Name field, enter {% site_name %}.

Click Save.

Screenshot

Copy the the webhook URL and paste it in the form. Done!

Screenshot
{% if project %}

Integration Settings

{% csrf_token %}
{% if form.url.errors %}
{{ form.url.errors|join:"" }}
{% endif %}
{% endif %}
{% endblock %}