Super Easy Contact Form with Slack Webhooks and React
Creating an email contact form is good, but creating a contact form with Slack webhooks is great. Not only is it easier than setting up an email form, but there are so many use cases for it.
For instance, let’s say you have a customer service or sales team. Wouldn’t you want a message going to that whole team instead of just one email account? It can also be much easier to add a team member or create a new channel to accommodate a team.
*** Scroll To The End For A Video Tutorial ***
Slack Setup
To get up and running, you’ll need to have a Slack account and channel set up. If you don't already have an account go to https://slack.com and sign up. Then create a channel and call it whatever you’d like. For this demo, I’m just going to call my channel “contact”.
Creating a Slack Webhook
To send our contact form submission to Slack, we’ll need to set up a webhook. Sign in to Slack and click on “Apps” on the left-hand side then App Directory.
In the search box search for “webhooks” and select Incoming Webhooks.