how-to-get-slack-notifications-from-wordpress-forms

How to Get Slack Notifications From WordPress Forms

Are you looking for a simple way to get Slack notifications from your WordPress forms?

Setting up form notifications on a Slack channel is a very useful way of staying informed about any new entries as they’re submitted.

In this tutorial, we’ll walk you through how to integrate your WordPress forms with Slack.

Create Your WordPress Form Now

How WordPress Slack Notifications Work

WordPress forms can be set up to send a notification to a specific channel or individual user whenever a visitor submits a new entry. In this way, you can keep your whole team notified about form submissions as they happen.

One of the best ways to get this done is by using the combination of two popular WordPress plugins: WPForms Pro and Uncanny Automator.

WPForms is the best WordPress Form Builder plugin. Get it for free!

We’re going to show you, step-by-step, how it all works.

How to Get Slack Notifications From WordPress Forms

Setting up WordPress forms to get notifications from Slack is a fairly simple process as you’ll see from the steps below:

Ready? Let’s get started!

Step 1: Install the WPForms Plugin

The first thing you need is a WordPress form plugin that can be integrated with Slack. WPForms is a top-rated form building tool for WordPress sites with the most user-friendly interface and a valuable set of features. It also connects with Slack seamlessly for form submission notifications.

So the first thing you need to do is to install and activate the WPForms plugin on your site.

You’ll need WPForms Pro or a higher plan to connect WPForms with Slack

WPForms pricing

After WPForms is installed and active on your site, go ahead and install Uncanny Automator, which will enable you to automate processes between Slack and WPForms.

Step 2: Install the Uncanny Automator Plugin

Uncanny Automator homepage

Uncanny Automator is one of the best WordPress automation plugins. The plugin makes it possible to connect your websites, apps, and plugins, allowing you to automate their various functions. You can even set up functions in one app or plugin to trigger actions in another.

That’s exactly what we’re trying to do by triggering a notification in Slack each time a user submits a form on your WordPress website.

Uncanny Automator is available for installation from the WordPress plugin directory. WPForms also comes with a native Uncanny Automator integration, so it’s quite easy to install and activate it.

Step 3. Create a New Form

To get started in earnest, let’s create a new form. From the WordPress dashboard click WPForms » Add New.

Add new form in WPForms

This will open a form setup screen. Here, you need to add a name to your form and select the form template you want to use. You can choose any template according to your business needs.

WPForms-template-library

WPForms’ template library offers 400+ prebuilt form templates, including:

Here, we’ll go with a Simple Contact Form template.

simple-contact-form-template

The Simple Contact Form template comes with 4 fields by default:

  • Name
  • Email address
  • Website / URL
  • Message

You can add more fields to your form by dragging them from the form fields panel on the left.

customize simple contact form

Once you’re done adding form fields, the next thing to do is add an automation to it. This is what will make it possible for your website to send notifications to Slack each time a user submits a form.

At this point, it’ll be time to connect WPForms and Uncanny Automator. Make sure to Save your form before proceeding.

Save button to save your form

Let’s go over the steps for integrating WPForms with Uncanny Automator now.

Step 4. Connect WPForms With Uncanny Automator

Once you’ve saved your form, navigate to the left sidebar and click on Marketing.

wpforms marketing

This will open up a range of native WPForms marketing integrations. Click Uncanny Automator » Activate now (you won’t see this on the screen if you’ve already activated the plugin).

install Uncanny Automator

Then click on Yes, install and activate.

Install Uncanny automator

If all goes well, you’ll then see a popup box showing that the installation has worked successfully.

Click Yes, save and refresh to wrap the process up.

save and refresh

Great! You’re now ready to use Uncanny Automator to create an automation recipe for WPForms and Slack.

Step 5: Integrate Uncanny Automator With Slack Workspace

Now, when you click Uncanny Automator from the Marketing tab of the WPForms form builder, you’ll be prompted to create an automation. Click on Create Automation.

create automation

This will open up the Uncanny Automator editor on your WordPress, where you can define your automation recipe to determine how your integrations should behave.

As you scroll down this page, click on the Add Action button under Actions

add action

Before you can create a recipe, you must first connect your Slack workspace with Uncanny Automator. Click on the Slack logo to proceed.

create automator account

You’ll see a popup open with two steps. The first is to sign up for a free Uncanny Automator account. You can do this by clicking on Sign Up.

sign up uncanny automator

Once this is done, the second thing to do is connect your Slack account to Uncanny Automator. Click Connect Account.

connect integration

In the new window, click Connect Slack Workspace » Allow.

Once this is done, you’ll be redirected back to the Uncanny Automator dashboard on your WordPress website.

Step 6: Configure a New Uncanny Automator Recipe

From the Uncanny Automator editor screen, give a name to your recipe.

Recipe title

Recipes have two main parts: a trigger, and an action. The trigger is the first event that leads to a follow-up event, which is the action.

In this case, the trigger will be the submission of a form, and the action will be a notification in Slack.

The trigger will already be selected as the form you chose to connect Uncanny Automator with earlier.

All that remains is determining the action event for your form submission trigger. Scroll down to the Actions section and click Add Action.

add action

After that, select Slack from the list of available apps.

uncanny automator action

You’ll then be able to choose from 3 basic actions:

  • Create a new channel.
  • Send a direct message to a Slack user.
  • Send a message to a channel.

uncanny automator actions

Depending on where you want the form submission notification to, you can either select Send a direct message to a Slack user or the Send a message to a channel option.

For this example, we’re going to send a message to a channel.

You’ll now have to select a channel from the Slack Channel dropdown.

automation send channel

Plus, you can edit the notification message that you’d like to see to inform you every time there’s a new submission.

slack notification message

We’ve gone with a simple notification message: “Hi! You have a new form submission!” When we test this automation out in the next step, we’ll be looking out for this message in Slack.

Click Save, and your form will be set up to send notifications to Slack each time a user makes a submission.

save recipe

Now, there’s just one more thing to do, and that’s toggle the recipe status from Draft to Live.

Uncanny Automator live

One thing to remember is that if you choose to have the notification sent to a channel rather than a single user, you’ll have to add the Uncanny Automator bot to that Channel in Slack.

In the channel you’ve chosen, type in @Uncanny Automator.

add bot

Press enter and choose Add to Channel.

add new person

This will add the bot to the channel, all ready to leave a notification every time there’s a new submission.

Let’s test this out and see how it works!

Step 7: Get Slack Notifications From WordPress Forms

You’ve successfully set up the automation. All that remains now is to publish the form.

Go to the Forms Overview page by clicking on WPForms » All Forms.

Find the form we created in Step 3 and click Edit. Once in, click Embed from the options on the top right corner of the page.

form builder embed button

You can choose to embed this form in an existing page or a new one. The process is nearly identical for both options but if you chose to embed it in a new page, you’ll need to give the new page a name before you then click Let’s Go to move on.

Naming a new page to embed your form on

Your form will then open up on the new page. Publish this page, then open it up on the frontend of your website to see the live version of the page with your form embedded in it.

form frontend

You’ll want to fill out and submit this form the way a regular user would. If you’ve followed all the steps so far, you should then have a notification waiting in Slack!

Slack new notification

And that would be it! You can now get Slack notifications from WordPress forms and never miss out on a new entry!

Create Your WordPress Form Now

Next, Create Custom Zoho CRM Forms in WordPress

We hope this guide helped you to automatically create Slack notifications from WordPress forms. Next, you might be interested in learning how to create custom Zoho forms in WordPress.

You might also be interested in learning how to get an SMS notification from your contact form.

What are you waiting for? Get started with the most powerful WordPress forms plugin today.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.