=== HTML Forms Webhooks ===
Contributors: sozodesign
Tags: html, forms, webhooks, integrations
Requires at least: 4.7
Tested up to: 6.5
Stable tag: 1.0.0
Requires PHP: 8.2
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Send HTML Forms submissions to external URLs with a configurable Webhook action.

== Description ==

HTML Forms Webhooks is an addon plugin for the HTML Forms plugin. It adds a
"Trigger Webhook" form action that sends the submitted form data to an external
URL whenever a form is successfully submitted.

Features:
- Add one or more Webhook actions per form from the form editor's Actions tab.
- Choose the content type: application/json or application/x-www-form-urlencoded.
- Send additional HTTP headers (for example, an Authorization header), with
  support for form field variables such as [EMAIL].
- Manually re-trigger a webhook for any stored submission from the WordPress
  admin submission detail page.

Note: This plugin requires the HTML Forms plugin to be installed and activated.

== Installation ==

1. Make sure you have the HTML Forms plugin installed and activated.
2. Upload the `html-forms-webhooks` folder to the `/wp-content/plugins/` directory.
3. Activate the HTML Forms Webhooks plugin through the 'Plugins' menu in WordPress.
4. Edit a form, open the Actions tab, and add a "Trigger Webhook" action.

== Frequently Asked Questions ==

= What data is sent? =

The submitted form field values are sent as the request body, in the content type
you select for the action.

= Can I re-send a webhook for a past submission? =

Yes. Open the submission from the form's Submissions tab and use the
"Trigger Webhook now" button.

== Changelog ==

= 1.0.0 =
* Initial release: Webhook form action (URL, content type, additional headers) and
  manual per-submission re-trigger.
