=== anyCRM Forms ===
Contributors: kvlkstudio
Tags: crm, contact form, leads, contact form 7, wpforms
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sends requests from your contact forms to anyCRM as orders or clients — for cafes, restaurants, salons and any business taking requests on its site.

== Description ==

Every request sent through a form on your site lands in [anyCRM](https://anycrm.io/) the moment it is sent: as a new order when you take orders in anyCRM (a cafe, a shop), or as a client with the request in their notes (services). You get notified by email, push or Telegram, as set in anyCRM.

Works with the form plugin you already have:

* Contact Form 7
* WPForms (Lite and Pro)
* Elementor Pro Forms
* Gravity Forms
* Fluent Forms
* Ninja Forms
* Formidable Forms

No form plugin? Use the built-in `[anycrm_form]` shortcode.

Nothing to map by hand: name, phone, email and message are recognised by field type and label (English, Ukrainian and Russian), every other field goes into the notes. Requests are sent after the visitor already has their answer, so forms stay fast, and anything anyCRM could not take right away is sent again automatically.

= Shortcode =

`[anycrm_form title="Book a table" fields="name,phone,message" button="Send" success="Thank you! We will call you back."]`

`fields` takes any of `name`, `phone`, `email`, `message`.

= For developers =

The `anycrm_forms_lead` filter gets every request before it is sent; return `null` to skip it.

= External service =

This plugin sends form requests to anyCRM (https://app.anycrm.io), the CRM you connect it to: the form's title, the page it was sent from and the fields the visitor filled in. Nothing is sent before you connect the site. [Terms](https://anycrm.io/terms/), [Privacy policy](https://anycrm.io/privacy/).

== Installation ==

1. Install and activate the plugin.
2. In anyCRM, switch on Modules → Website forms and press “Plugin key”.
3. In WordPress, open anyCRM Forms, paste the key and press Connect.
4. Send a test request through any form on the site.

== Changelog ==

= 1.0.0 =
* First release.
