=== Formgong for Contact Form 7 ===
Contributors: formgong
Tags: contact form 7, cf7, telegram, google sheets, leads
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Get every Contact Form 7 submission in Telegram, Google Sheets and an inbox too, even when WordPress mail fails. Your forms stay as they are.

== Description ==

Contact Form 7 sends each submission as an email from your WordPress host. When the host's mail breaks, the visitor still sees "Thank you for your message", and the message is gone.

This plugin sends a copy of every Contact Form 7 submission to Formgong, before Contact Form 7 sends its own email. Formgong then delivers it to:

* Telegram, the moment it arrives
* Google Sheets, one row per submission
* your webhooks
* the Formgong inbox, where you can search, export and reply

Your forms, fields, design and Contact Form 7's own email stay exactly as they are. Nothing changes for your visitors.

Formgong has a free plan. You need a Formgong account to get the platform link the plugin sends to.

= What is sent =

Only submissions that pass Contact Form 7's validation and spam checks. For each one: the answers with readable labels ("your-email" becomes "Email"), the form name, the site language, the page address without its query string, and the visitor's browser. Uploaded files are not sent; they stay in Contact Form 7's email. CAPTCHA and quiz answers are not sent.

The plugin talks only to the Formgong link you paste. It adds nothing to your pages, loads no scripts and sets no cookies.

= External service =

This plugin sends form submissions to Formgong (https://formgong.com), a service that receives and delivers form messages. It sends data only after you paste your own Formgong platform link, and only when a Contact Form 7 form is submitted, or when you click "Save and send a test". Terms: https://formgong.com/en/terms/. Privacy policy: https://formgong.com/en/privacy/.

== Installation ==

1. Install and activate Contact Form 7 and this plugin.
2. In Formgong, open your form → Settings → Platforms, choose Contact Form 7 and click Add platform. Copy the link.
3. In WordPress, go to Contact → Formgong, paste the link and click Save and send a test.
4. Send one of your forms. The submission appears in Formgong.

== Frequently Asked Questions ==

= Does Contact Form 7 still send its email? =

Yes. The plugin does not change Contact Form 7's mail settings. If you only want Formgong, turn on "skip_mail: on" in the form's Additional Settings.

= What if Formgong cannot be reached? =

The submission still goes through Contact Form 7 as usual. The plugin waits at most 5 seconds and shows the last result on its settings page.

= Can I send different forms to different Formgong forms? =

Not in this version: every Contact Form 7 form on the site goes to the one link you paste.

= Are submissions sent twice if the visitor double-clicks? =

No. Each submission carries its own key, and Formgong stores a repeated one only once.

== Changelog ==

= 1.0.0 =
* First release: sends each Contact Form 7 submission to a Formgong platform link, with a test button and the last result.
