Skip to content
Guide

How to post to a Discord channel from a form, a Google Sheet or a webhook

Post a readable message to a Discord channel when a form is submitted, a row is added to Google Sheets or a webhook arrives. A channel webhook, no bot.

Updated

A Discord channel is where many small teams and communities already look all day, so it's a good place for things that happen elsewhere: a form someone filled in, a row added to a spreadsheet, a webhook from another app. Discord's channel webhooks make posting easy, but they want JSON in Discord's own format. This guide puts a small workflow in between: it starts from a form, a Google Sheet or any webhook, and posts a readable message. No bot to host.

  1. Trigger

    When a form is submitted

    Fields: Name, Email, Message.
  2. Step 1

    Post to Discord

    “**New message** from Trigger → Name: Trigger → Message”
The workflow you'll build, with a form as the trigger. Two other triggers are below.

Before you start

  • A Foliot account. The free plan is enough to build and test this.
  • A Discord server where you can manage the channel's webhooks.

Create a Discord channel webhook

  1. In Discord, open the channel's settings (the gear next to its name), go to Integrations → Webhooks and click New Webhook. Give it a name and avatar if you like; that's how the posts will appear.
  2. Click Copy Webhook URL. It starts with https://discord.com/api/webhooks/ and works like a password, so keep it private.

Set it up in Foliot

1. Create the workflow and build the form

Create a new workflow and choose When a form is submitted. A new form starts with a Name and an Email field; add a long-text Message. Open the Form link and submit it once: while the workflow is off, the form is in test mode and the answers become sample data.

2. Add the Post to Discord step

Click + after the trigger and choose Post to Discord. Under the Discord connection, add a new one and paste the webhook URL; Foliot stores it encrypted and never shows it in run history. Then write the message, picking data where you need it:

**New message** from [Trigger → Name] ([Trigger → Email])
> [Trigger → Message]

The bracketed parts are chips you pick with + Data. Discord's formatting works: **bold**, *italic*, > quote, and links show as you paste them.

3. Test the step, then turn the workflow on

Test this step posts a real message, so check the channel. When it looks right, switch the workflow on and share the form link, or embed the form on your site with Put this form on your website.

From a Google Sheet instead

To post when a row is added to a spreadsheet, start the workflow with When a row is added to Google Sheets: connect your Google account, pick the spreadsheet and tab. Foliot checks the tab every 5 minutes and starts one run per row added at the bottom, with each column as a chip named after its header, like Trigger → Customer. Only new rows at the bottom count; edits and rows inserted in the middle don't. The Post to Discord step is the same. See the Sheets trigger guide for its limits.

From any webhook

If another app can send a webhook (a shop, a form tool, a monitoring service, your own code), start with When a webhook is received and point the app at Foliot's URL. Every field of the request becomes a chip. This is how to get a tool that doesn't speak Discord's format into a channel without writing a translator yourself. See webhook to Slack for the same idea with Slack.

Useful variations

  • Only some submissions: a Filter, “Only continue if Trigger → Topic is Bug”.
  • Different channels: one webhook per channel, each saved as its own connection, and a Branch that picks the step for each.
  • Long messages: Discord allows 2,000 characters. A Format step with Truncate keeps the first N characters of a long answer.
  • Keep a copy: add Add row to Google Sheets or Send email after the Discord step.

Good to know

  • Foliot only posts. It can't read messages, reply in threads, react, or act as a bot. The message goes to the channel the webhook was made for.
  • Up to 2,000 characters per message, Discord's own limit.
  • Each submission, row or webhook is one run: 500 runs a month on the free plan, 10,000 on Pro ($12 a month).
  • The hosted form has a hidden honeypot field and a limit of 10 submissions a minute per visitor, and takes up to 100 submissions a day (1,000 on Pro).

Other ways to do it

  • Post straight to the Discord webhook from a tool that lets you shape the JSON body ({"content": "…"}). Some form builders and monitoring tools do; many don't.
  • A Discord bot you write and host, when you need replies, reactions or slash commands.
  • Zapier or Make, which have Discord actions. See Foliot vs Zapier.

Questions

Do I need a Discord bot?

No. Foliot posts through a channel webhook you create in the channel's settings (Integrations → Webhooks). A bot is only needed to read messages or reply, which Foliot doesn't do.

Can it post when a Google Sheet changes?

When a row is added at the bottom of a tab, yes: the Sheets trigger checks every 5 minutes. Edits to existing rows and rows inserted in the middle don't start runs.

How long can the message be?

Up to 2,000 characters, Discord's limit. Use a Format step to truncate long answers.

Is it free?

Foliot's free plan includes 500 runs a month and 5 active workflows; each post is one run. Pro is $12 a month for 10,000 runs.