🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Google Chat Premium Add-on Setup Guide

Updated 7 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Step 1: create the webhook in Google Chat
  4. Step 2: install and set a default space
  5. Step 3: add a message to a form
  6. Space webhook address
  7. Format, title, subtitle and message
  8. Fields in the card
  9. Buttons
  10. Threads
  11. Conditional logic
  12. What the add-on writes to the entry
  13. Security
  14. For developers
  15. Troubleshooting
  16. Nothing arrives in the space.
  17. Several feeds fire at the same moment and one fails with HTTP 429.
  18. The View entry button asks me to sign in.
  19. Can I use a Google Chat app or a user account instead of a webhook?
  20. Uninstall

Video walkthrough

Gravity Forms Google Chat Add-On Setup Guide: Webhook, Card and Feed (WordPress Side)
Video setup guide: Gravity Forms Google Chat Watch on YouTube

The Gravity Forms Google Chat Premium Add-on posts a message to a Google Chat space every time a Gravity Forms form is submitted. The message is a card with a title, the fields you choose and buttons that open the entry or any page you want, or a plain text message if you prefer. It uses an incoming webhook of your own space, so nothing goes through GravityExtra. This guide covers the setup, every setting, what the add-on writes to the entry and what it does when Google Chat does not answer.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • A Google Chat space where you may add a webhook. If the Webhooks entry is missing from the space menu, your Workspace administrator may have to allow it.
  • A GravityExtra license key for this add-on.

The add-on follows the Google Chat incoming webhook guide and the Cards v2 reference of the Google Chat API v1 (both pages were last updated on 9 October 2026 and were read on 23 October 2026). A message is one POST with a JSON body to the webhook address, and Google answers with the name of the new message. Google allows one request per second for each space; the add-on spaces its retries to respect that.

Step 1: create the webhook in Google Chat

  1. Open the space in Google Chat and open the space menu at the top.
  2. Choose Apps and integrations, then Webhooks, and add a webhook. Give it a name, for example Website forms, and save.
  3. Copy the address. It starts with https://chat.googleapis.com/v1/spaces/ and contains a key and a token.

Treat the address like a password. Anyone who has it can post to the space. That is why the add-on stores it encrypted and never shows it again.

Step 2: install and set a default space

  1. Upload and activate the add-on in Plugins.
  2. Open Forms → Settings → Google Chat.
  3. Enter your license key and press Activate License. Without an active license nothing is posted; the entry is still saved and a note tells you why.
  4. Paste the webhook address into Webhook address and save. This is the default space: every feed that has no address of its own uses it.
  • The address is encrypted with AES-256-GCM before it reaches the database, with a key made from your site’s own security salts. A copy of the database alone cannot read it.
  • After saving, the field stays blank and a hint shows the space id and the last four characters of the token. Leave the field blank to keep the saved address, type a new address to replace it, or type the word remove to delete it.
  • Only a real Google Chat webhook address is accepted: https, the host chat.googleapis.com, a space id, a key and a token. Anything else is refused and not saved, so the add-on can never be pointed at another server.
  • If your server has no OpenSSL with AES-256-GCM the address is not saved at all (it is never stored in clear text). Define GEGC_WEBHOOK_URL in wp-config.php instead.
  • Card picture is optional: an https address of a small round picture, such as your logo, shown in the card header.
The Google Chat settings screen in Gravity Forms: the license box and the default space webhook field, blank, with a hint that an encrypted address is stored and only the space id and the last characters of the token are shown
The add-on settings: one default space. The saved address is encrypted and never shown again.

Step 3: add a message to a form

  1. Open the form and go to Settings → Google Chat.
  2. Press Add New and give the feed a name that tells you what it does, for example Sales alert.
  3. Choose the options below, then save.

Space webhook address

Leave it blank to use the default space. Type a different address to send this feed to another space, for example a VIP space for the sales team. It is encrypted when you save and the field is blank when you come back; the hint shows which space the feed uses.

Format, title, subtitle and message

  • Card shows a header with the title and the subtitle, an optional text paragraph (the Message box) and a list of fields. Plain text message posts only text; the Message box is the whole message.
  • Title, subtitle, message and extra button all accept Gravity Forms merge tags, for example New {form_title} submission or Entry #{entry_id}.
  • What a visitor typed is always shown as plain text. Tags, links and formatting in an answer are removed, so a submission can never put clickable links or markup into your space.

Fields in the card

  • Every field that was filled in lists the answers in form order and leaves out empty fields, section titles, HTML blocks, passwords, captchas and card numbers.
  • Chosen fields only shows a list of the form fields to tick.
  • No fields posts only the header, the message and the buttons.
  • A card shows at most 60 fields, each value is cut at 500 characters, and the whole message is kept under 30,000 bytes. If something is left out, the card says how many fields are in the entry.

Buttons

View entry adds a button that opens the entry in the WordPress admin (the person must be signed in with permission to see entries). You can add one more button with your own text and an https link; the link accepts merge tags, so it can open a calendar, a CRM record or a support page for this submission. Google Chat opens only web links; an address that does not start with http or https is dropped.

Threads

  • Every message on its own is the default.
  • One thread per form collects every submission of a form in one thread.
  • One thread per entry keeps several feeds of the same entry together, for example a card to the team space and a note to a manager.
  • Custom thread key lets you group by anything, such as the plan or the city, with merge tags. The key is cleaned to letters, digits and a few signs.

The add-on sends the thread key and the reply option REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD, so a new key opens a thread and the same key continues it.

The Google Chat feed editor: space webhook address, card format, title and subtitle with merge tags, chosen fields, the View entry button, an extra button, a custom thread key and conditional logic that posts only for the Premium plan
A feed: where it posts, what the card shows, the buttons, the thread and the condition.

Conditional logic

Turn on conditional logic to post only when the entry matches: only the Premium plan, only a country, only when a box is ticked. Several feeds per form are fine; each has its own space, format and condition.

What the add-on writes to the entry

Every post leaves a note on the entry: the space (the id and the last four characters of the token, never the key or the full token) and the name Google returned for the message. If a post fails the note says why, for example HTTP 404 NOT_FOUND when the webhook was deleted, or HTTP 429 RESOURCE_EXHAUSTED when the quota was used up. The note uses the HTTP code and the status word only, because Google says the text of an error message is not part of the API.

A Gravity Forms entry screen with two notes that say a Google Chat message was posted to a masked space, with the Google message name
Every post is written to the entry as a note, with the space masked.
  • A failed post never blocks the form and the visitor never sees an error.
  • The same message is never posted twice for one entry and feed, even if Gravity Forms runs the feed again or a payment add-on delays it.
  • Quota, busy and server errors (HTTP 429 and 5xx) and lost connections are tried up to three times, waiting about 1.1 and then 2.2 seconds, as the webhook guide recommends. Other errors are not retried.
  • Without an active license the entry is saved and a note says nothing was posted.

Security

  • Webhook addresses, in the settings and in every feed, are encrypted at rest and never printed on screen, in a note or in the debug log.
  • Requests go only to chat.googleapis.com over a verified TLS connection.
  • Everything a visitor typed is escaped before it goes into a card.
  • Settings need the Gravity Forms settings capability and feeds need the form editing capability.

For developers

  • gfgooglechat_message filters the message array (text and cardsV2) before it is posted.
  • gfgooglechat_request_args filters the request arguments, for example a longer timeout. Do not log them.
  • gfgooglechat_max_attempts and gfgooglechat_retry_ms change the number of tries and the first wait.

Troubleshooting

Nothing arrives in the space.

Open the entry and read the notes. HTTP 404 means the webhook was deleted or the address is wrong; create a new webhook and replace the address. No note at all usually means the feed condition was not met, the feed is switched off or the license is not active.

Several feeds fire at the same moment and one fails with HTTP 429.

Google allows one request per second for each space. The add-on retries after a short wait, which is enough for a few feeds. For many feeds on one submission, send them to different spaces or use one feed with a longer message.

The View entry button asks me to sign in.

That is intended: the entry is only for people who may see entries. The button opens the entry page in the WordPress admin.

Can I use a Google Chat app or a user account instead of a webhook?

This version posts through incoming webhooks only. That needs no Google Cloud project and no sign-in, and the address is the only secret.

Uninstall

Deleting the add-on removes its settings, including the encrypted default webhook. Feeds are kept by Gravity Forms in the feed table and entries and their notes are left as they are.

See the Google Chat add-on

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr