How to Send a Message to a Slack Channel from a WordPress Form?

Key Takeaways

  • Connects the Nexter Blocks Form block to a Slack channel for real-time alerts on WordPress form submissions.
  • Requires a Slack User OAuth Token and a Channel Name to send messages to the selected Slack channel.
  • Utilizes the Action After Submit tab in the Form block settings to configure Slack notifications with the User OAuth Token and channel name.
Table of Contents

Want real-time alerts in Slack whenever someone submits your WordPress form? By connecting your form to a Slack channel, you can instantly notify your team, track leads, or manage support requests without missing a beat. 

With the Form block from Nexter Blocks, you can easily connect a Slack channel to your WordPress form.

To check the complete feature overview documentation of the Nexter Blocks Form block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

Learn via Video Tutorial

Youtube video

For this, you must have a Slack User OAuth Token and a Channel Name.

Get a Slack User OAuth Token

Create an account in Slack if you don’t already have one. Once you are logged into your account, follow the steps – 

Note: You must have a workspace in your Slack account; if not, then create a workspace in Slack.

1. Go to the Slack API.

2. Click on Your apps in the top menu.

How to Send a Message to a Slack Channel from a WordPress Form?

3. On the next page, click on the Create an App button.

How to Send a Message to a Slack Channel from a WordPress Form?

4. It will open a pop-up; click on From scratch.

How to Send a Message to a Slack Channel from a WordPress Form?



5. In the next screen, add your app name.

6. Then select the appropriate workspace and click on the Create App button.

How to Send a Message to a Slack Channel from a WordPress Form?

7. In the Settings page, click on OAuth & Permissions from the left sidebar.

How to Send a Message to a Slack Channel from a WordPress Form?


8. In the OAuth & Permissions page, scroll down to the Scopes section. In the User Token Scopes section, add the necessary scopes. For example, to read messages, add channels: history; to post messages, add chat: write.

9. Then scroll up to the page and click on the Install to (Your Workspace Name) button.

How to Send a Message to a Slack Channel from a WordPress Form?

10. If you are the admin of the workspace, then just click on the Allow button, and your app will be installed.

How to Send a Message to a Slack Channel from a WordPress Form?

On the next screen, you’ll see your User OAuth Token; copy it into a notepad.

How to Send a Message to a Slack Channel from a WordPress Form?

Find a Slack Channel Name

In your Slack app, all the names under the Channel dropdown are channel names. A Slack channel name starts with #, so copy the channel name where you want to send the messages.

How to Send a Message to a Slack Channel from a WordPress Form?

Use the Form Block

Now, add the Form block to the page and select the appropriate form type, then follow the steps –

1. Add the required form fields and customize them as per your requirements.

2. Then select the main form block and go to the Action After Submit tab and select Slack from the Options dropdown.

3. Now you’ll see the Slack tab, open it.

4. Then add your User OAuth Token and the channel name where you want to send the message in the User OAuth Token and Channel Name fields.

Note: Make sure to add the channel name with # in front.

Now, when a user fills out your form, it will add a message in your selected Slack channel.

About the Author

Photo of Aditya Sharma CMO of Nexter
CMO at POSIMYTH Innovations · Nexter · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!