Post Google Forms Responses to Discord Channels

Learn how to automatically send form responses collected through Google Forms on a Discord channel with the help of Document Studio. The tutorial also provide instructions on how to use Apps Script to post form responses to Discord using webhooks.

Discord is a popular instant messaging and group-chatting platform, used by millions of people. Notably, it has gained significant traction within colleges and gaming communities. This tutorial shows how you can automatically post Google Form responses to a specific Discord channel with the help of Document Studio.

Google Forms to Discord Channel

Send Google Form Responses to Discord

Imagine a college Discord server with dedicated #tech and #science channels for different societies. Student volunteers can fill in a Google Form and indicate which society they would like be a part of. When the respondent submits the Google Form, an instant notification is sent to the respective Discord channel.

To get started, go to the Discord channel where the Google Form notifications should be delivered and click the Settings icon to copy the webhook URL for that channel.

Discord Webhook URL

Now that you have generated the Discord webhook URL, go to your Google Form and create a new workflow in Document Studio. On the Conditions tab, specify the condition Preferred Society Exactly Match Tech Society since we want to notify a different Discord channel for each society.

On the Tasks tab, add the Discord task and add the webhook URL that you’ve generated in the previous step. For the message body, you can use any question title from the Google Form and these will be replaced with actual users submitted by the Google Form respondent.

Save the workflow and you’ll automatically receive notifications in Discord when the form is submitted.

Google Forms to Discord Automation

Send to Discord with Apps Script

If you are curious to know how these messages are posted to Discord from Google Forms, the answer is Google Apps Script.

The script will transform the Google Form response into a JSON message and then make an HTTP POST request to the webhook URL to post a message to the Discord channel.

Here’s a simplified snippet of the script:

const postMessageToDiscord = (formData) => {
  var discordUrl = '';

  var params = {
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    method: 'POST',
    payload: JSON.stringify({ content: formData }),
    muteHttpExceptions: true,

  var response = UrlFetchApp.fetch(discordUrl, params);


Also see: Send Google Forms to Slack

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory


Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.