Skip to content

A WordPress contact form that reaches Slack and email, without another plugin

Send WordPress form submissions to Slack, email or a webhook with a Custom HTML block, or with the plugin you already use.

2 min read

On this page

Most WordPress sites collect messages with a form plugin, and most form plugins email the site admin and stop there. When a submission needs to reach a Slack channel, a shared support inbox or a CRM, the usual answer is another plugin, then an add-on for that plugin, then a Zapier account. This guide shows two lighter ways to send a WordPress form anywhere, both ending in the same place: a Formpik flow that delivers every submission where your team works.

Two ways to connect WordPress

  • No plugin at all. Add a Custom HTML block with a small form that posts straight to Formpik.
  • Keep your form plugin. Many plugins can send each entry to a webhook. Paste your Formpik endpoint there, and keep the plugin's look and features.

Step 1: Create the form and a WordPress source

In Formpik, create a form with the fields you want to collect, for example name, email and message. Add a source and pick WordPress. The source page shows your endpoint address and an HTML snippet built from your fields.

Option A: A Custom HTML block

  1. Open the page in the block editor and add a Custom HTML block where the form should appear.
  2. Paste the snippet from the source page. It already has the right action, method and input names.
  3. Update the page and send one test submission.

The snippet includes the Formpik script, so visitors stay on the page and see a success message under the form. Style it with your theme's CSS like any other form.

Option B: Your existing form plugin

If your plugin offers webhooks (often in a paid tier or an add-on), open its webhook settings and paste the endpoint URL. Then make sure each field is sent under a name that matches a field key in Formpik. If you are not sure what names the plugin sends, turn on Learn new fields automatically in the form's settings: the first submission adds every field it carries, and you can rename the labels afterwards.

Step 2: Send it to Slack and email

Create a Slack app with incoming webhooks for the channel that should hear about new messages, and add it in Formpik as a Slack destination. Then build a flow:

  1. Form submitted as the trigger.
  2. Check answers and spam, so invalid and spam submissions stop here.
  3. Post to Slack with a short message, for example New message from {{name | someone}}, and every answer listed under it.
  4. Send email to your shared inbox, with {{email}} as the reply-to address.

Why not just email the admin?

An email to one person is a single point of failure. If they are away, the lead waits. A flow sends the same submission to a channel the whole team sees, keeps a copy in an inbox you can search, and records each step it ran, so you can tell exactly where a message went.

Keep WordPress spam out

WordPress forms are a favourite target for bots. Formpik's hidden spam trap catches most of them without a puzzle, and the hourly limit per visitor stops floods. You can also list your site under Allowed websites, so the endpoint refuses posts from anywhere else.

References

Keep reading

More from the blog