Do you want to receive notifications of Contact Form 7 form submissions in your Slack account? Do you want to send all of the CF7 form fields data to your Slack channel?
Setting up form notifications on a Slack channel is a great way to stay up to date on new Contact Form 7 form submissions as they come in. This post will show you how to connect your Contact Form 7 forms to Slack.
How to integrate Contact Form 7 and Slack – Step-by-Step Tutorial
How to Connect Contact Form 7 and SlackÂ
When a visitor submits a new entry, Contact Form 7 can be configured to send a notification to a specific Slack channel or individual Slack user. This way, you can keep your entire team informed of form submissions as they occur.
The best way to accomplish this is to use Tablesome which is a Contact Form 7 Slack Integration plugin.
You can easily start a Tablesome free trial here.
Contact Form 7 Slack Integration using Tablesome
When a user submits a Contact Form 7 form on your WordPress website, Tablesome will send a notification to Slack.
You can direct the form submission notification to the following locations:
- Send a Channel message – a new message will be posted to the #channel you specify
- Send a message to a Slack user
Aside from sending a message, you can also perform the following Slack actions:
- Sign up new users
- Make a new channel
Here are the steps to connect Contact Form 7 with Slack
- Install Contact Form 7 plugin
- Create a New Form
- Install Tablesome Plugin
- Create an API for WordPress Slack Integration
- Create a Contact Form 7-Slack Workflow
- Create a Slack Bot
- Get Slack Notifications From Contact Form 7
Trigger Messages based on Conditions
Tablesome allows you to trigger notifications based on user input if you don’t want notifications for every Contact Form 7 submission.
In the workflow, you can configure CF7 form fields to send notification only if certain conditions are met. For example, send notifications only
- when a specific user / user role submits a form
- after payment is received
- when form is submitted from specific countries
- when a form is submitted with a specific value in a specific field
Contact Form 7 – Slack API Integration
You can create a custom API integration using Tablesome to connect Slack and Contact Form 7. You have to copy the API credential from Tablesome and paste it to your Slack account and it will be connected.
Setup a Custom Message for Slack Notifications
Tablesome also allows you to customize the notification message that appears whenever there is a new submission.
You can create a custom message, and every field submitted will be added to it, allowing you to send all data from forms directly to the Slack channel.
Creating a Slack Bot
If you want to send notification to a Slack Channel you will have to create a bot with Tablesome and link it to the specific Slack Channel.
This bot is not necessary if you are sending notifications to a single Slack user.
After the bot is added to the channel, your Slack is ready to get a notification every time there’s a new submission.