Skip to main content

How to Notify Discord on Google Form Submit

Send a message to a Discord channel when a user submits a Google form by following the steps below.

  1. Create Incoming WebHook in Discord:

    • Open your Discord server and go to the channel where you want to receive notifications.
    • Right-click on the channel name, select "Edit Channel," and go to the "Integrations" tab.
    • Click on "Create Webhook" and customize it as needed. Copy the Webhook URL.
  2. Create a WebHook in Form Email Notifications:

    • Open the Form Email Notifications add-on and click on "Setup Webhooks."
    • Click on "Add Webhook" to create a new Webhook.
    • Fill in the following fields in the Webhook creation window:
      • Webhook Name: Discord Integration
      • URL: Paste the Discord Incoming WebHook URL you copied.
      • Request Method: Select POST.
      • Headers: Leave as is with a default header (Content-Type: application/json).
      • Request Body: Use the following JSON template:
        {"content": "New response for Google form <{{ Form Publish Url }}|{{ Form Name }}>"}
    • Click on Save to create your webhook.
  3. Test Your Webhook:

    • You can test the webhook before saving by clicking the "Test" button on the Webhook Editor Window.
    • If you receive a status code as 200, it means your test was successful.
  4. Submit the Google Form:

    • Open the Google form preview by clicking on the Preview button on the top right of the Google form window.
    • Submit the form, and if everything is configured correctly, you should receive a notification in your Discord channel.
note

The process to create webhook and the json format may have changed after this page was written .Please check Discord developer document for more details.