Skip to content

Add a Wix form that sends answers to email and Slack

Put a Formpik form on a Wix site with an Embed HTML element or a share link embed, then send every answer to email and Slack.

2 min read

On this page

Wix has its own form tools, but sometimes you want answers to go further: to the right person by topic, into a Slack channel, to your CRM through a webhook, with spam checks on the way. The simplest route is to place a Formpik form on your Wix page. There are two ways to do it, and both take a few minutes.

Option 1: an HTML form in an Embed HTML element

This gives you full control over the markup and works with your own styles.

  1. In Formpik, create a form and add a source, choosing Wix. The source shows an HTML snippet with your endpoint and every field already in it.
  2. In the Wix Editor, add an Embed HTML element where the form should appear.
  3. Paste the HTML snippet into it and adjust the size of the element so the whole form shows.
  4. Publish the site and send one test submission.

Wix shows embedded HTML inside a frame of its own, so style the form inside the snippet rather than with your Wix theme. Keep the input names exactly as they are: each one matches a field key in Formpik.

Option 2: embed the form's own page

If you would rather not touch HTML, publish the form from its Share tab. Formpik hosts it on its own page, and the Share tab gives you embed code that draws the form inline or opens it as a pop-up. Paste that code into an Embed HTML element the same way. The form looks the same everywhere you show it, and you change it in Formpik without editing the Wix page again.

Send the answers where they belong

Every submission runs the form's flow. A good starting point:

  1. Validate, so answers that break a rule stop here.
  2. Send email to your team with {{submission.all_fields}} in the body.
  3. Post to Slack with a short line, such as New enquiry from {{name}} about {{topic}}.
  4. Reply to sender with a short thank you, so people know the message arrived.

As the form grows, a Route by answer step can send each topic to a different person or channel.

Keep the old Wix form for a while

If you are replacing an existing Wix form, keep it unpublished rather than deleted until the new one has run for a week. That way you can compare and nothing gets lost while you switch.

References

Keep reading

More from the blog