=== Webhooks for Contact Form 7 ===
Contributors: pedrotalaia
Tags: contact form 7, webhook, automation, integration
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.1.4
Requires Plugins: contact-form-7
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Send Contact Form 7 submissions to any webhook endpoint with optional Bearer token authentication.

== Description ==
Webhooks for Contact Form is a WordPress plugin that extends Contact Form 7 by allowing you to send form submissions to any webhook endpoint. This enables easy integration with external services, automation tools, and custom workflows.

== Features ==
* Send Contact Form 7 submissions to any webhook URL
* Supports custom headers and payloads
* Easy setup and configuration
* Compatible with popular automation platforms

== Installation ==
1. Download the plugin from the WordPress Plugin Directory or from your repository.
2. Upload the `webhooks-for-contact-form-7` folder to your WordPress plugins directory.
3. Activate the plugin via the WordPress admin dashboard.

== Configuration ==
1. Go to the plugin's Settings page under **Settings > Webhooks Contact Form**.
2. Add your webhook URL in the provided field.
3. Optionally configure custom headers and payload format.

== Per-form mode ==
You can choose between a single global webhook for all forms or a per-form webhook configuration:

* One webhook for all forms — set a single Webhook URL and optional Bearer Token used for every Contact Form 7 submission.
* One webhook per form — configure a distinct Webhook URL (and optional Bearer Token) for each Contact Form 7 form on your site. Leave a per-form URL empty to fall back to the global URL.

### Visual guide
Include these two images in `assets/images/` to help users configure the plugin (filenames shown):

![Global settings mode and webhook fields](assets/images/cf7-webhook-settings.png)

![Per-form settings table with URL, Bearer token and extra fields](assets/images/cf7-webhook-per-form.png)

These images show the Settings page where you toggle modes and the table that appears when "One webhook per form" is selected.

== Frequently Asked Questions ==
= Can I send data to multiple webhooks? =
In version 1.1.3, the plugin supports two modes: a single global webhook for all forms or a per-form configuration.

If you are using version 1.1.2, the plugin only supports one webhook per form. 
For multiple endpoints, update to version 1.1.3.

= Is the plugin secure? =
Yes, data is sent securely. Always use HTTPS endpoints for webhooks.

== Changelog ==
= 1.1.4 =
* Changed the plugin name for better clarity.
* Tested the plugin with the Wordpress Version 7.0 and made sure it's stable.
* Changed the plugin icon to make it more align with the brand.

= 1.1.3 =
* Changed the plugin name to "Webhooks for Contact Form" for better clarity.
* Stable version with 1 webhook per form and optional Bearer token authentication.

= 1.1.2 =
* Changed the plugin name in the header to "WODS Webhook for Contact Form 7" for better clarity.
* Stable version with 1 webhook per form and optional Bearer token authentication.

= 1.1.1 =
* Added optional Bearer token authentication.
* Improved error handling and logging.

= 1.1.0 =
* Initial release.