WP Manifestindependent plugin directory
manifest / forms / wsform-normalize-webhook

WSForm Normalize Webhook

This plugin has the sole intention of providing a better webhook format than WSForm does by itself.

★ 2stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/juvojustin/wsform-normalize-webhook/archive/refs/heads/main.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

This plugin has the sole intention of providing a better webhook format than WSForm does by itself.

Main benefits:

  • Additional information for each field such as:
    • Label
    • Sectionname
    • Groupname
    • Fieldtype
  • Grouping of repeatable sections to get information on a per-row basis

How to set up

To use this plugin Advanced Custom Fields Pro needs to be installed. It provides the option page and input fields to map hooks with the webhook url.

That´s it!

Example Payload

{
  "0": {
    "label": "Label of Field with ID 0",
    "section": "Section title",
    "group": "Group title",
    "type": "text",
    "value": [
      "foo"
    ]
  },
  "section_8": {
    "label": "Section title",
    "rows": {
      "1": {
        "84": {
          "label": "Label of Field with ID 84 in row 1 of section 8",
          "type": "radio",
          "value": [
            "foo"
          ]
        },
        "85": {
          "label": "Label of Field with ID 85 in row 1 of section 8",
          "type": "checkbox",
          "value": [
            "bar"
          ]
        }
      },
      "2": {
        "84": {
          "label": "Label of Field with ID 84 in row 2 of section 8",
          "type": "radio",
          "value": [
            "foo2"
          ]
        },
        "85": {
          "label": "Label of Field with ID 85 in row 2 of section 8",
          "type": "checkbox",
          "value": [
            "bar2",
        "bar3"
          ]
        }
      }
    }
  }
}