=== SheetLink Pro ===
Requires at least: 5.8
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

Premium features for SheetLink Forms. Sold and distributed from sheetlinkwp.com - not hosted on WordPress.org.

== Description ==

SheetLink Pro adds premium features to the free SheetLink Forms plugin. It requires SheetLink Forms to be installed and active, and an active SheetLink licence to enable its features.

* **Primary Destinations** - make Excel Online, Airtable or Notion a rule's only destination (the free plugin offers them as mirrors alongside Google Sheets)
* **Multi-Destination Routing** - deliver one submission to several destinations with automatic retry
* **Multi-CRM Routing** - send submissions to HubSpot, Salesforce, Zoho, Pipedrive, Mailchimp, ActiveCampaign or Kit
* **Two-Way Sync** - edits made in your Google Sheet flow back into WordPress
* **WooCommerce Sync** - orders, refunds and customers delivered in real time
* **Extra Integrations** - MemberPress transactions, LearnDash course completion, Easy Digital Downloads purchases, plus five extra form builders
* **Agency tools** - white-label admin, agency dashboard, branded reports, role-based menu visibility
* **Bulk Site Management** - define a canonical configuration once and roll it out to every licensed site

Activate your licence on the SheetLink → License page of the free plugin; SheetLink Pro uses the same licence and the same settings your site already has.

== Installation ==

1. Install and activate the free SheetLink Forms plugin (from WordPress.org).
2. Upload `sheetlink-pro.zip` via **Plugins → Add New → Upload Plugin** and activate it.
3. Activate your licence key on **SheetLink → License** if you have not already.
4. Your features appear on the **SheetLink → Features** page, alongside the free ones.

== External services ==

The features in this plugin contact the following services. Each is only contacted after you configure and enable the feature that uses it. The free SheetLink Forms plugin documents its own services (Google, Microsoft, Airtable, Notion, Twilio, Meta, and SheetLink's hosted services) in its readme.

= SheetLink Multi-CRM Routing relay (only when Multi-CRM Routing is configured) =

* **What it is:** A relay hosted by SheetLink that forwards a submission onward to the CRM and marketing platforms you configure - HubSpot, Salesforce, Zoho, Pipedrive, Mailchimp, ActiveCampaign or Kit - handling each platform's request format on SheetLink's servers.
* **When it is called:** Once per matching submission, and on test sends, but only after you have added at least one CRM destination with its credentials on the Multi-CRM Routing page. With no destination configured, no calls are made.
* **What data is sent:** The submission payload and its field mapping, this site's activation token, and the credentials you entered for each configured CRM (stored encrypted in your WordPress database and decrypted just before this request so the relay can authenticate to the CRM on your behalf). The relay forwards the mapped fields on to the CRM you selected.
* **Where data goes:** `https://sheetlinkwp.com/api/sheetlinkwp/fanout` over HTTPS, and onward from there to the CRM platform you configured.
* **Privacy considerations:** With this feature enabled, submission data and your CRM credentials pass through SheetLink's servers. List `sheetlinkwp.com` as a data processor in your privacy notice, alongside whichever CRM you have chosen, before enabling it.
* **Opt-out:** Remove your CRM destinations on the Multi-CRM Routing page. No further requests are made.
* **Terms of Service:** [https://sheetlinkwp.com/terms](https://sheetlinkwp.com/terms)
* **Privacy Policy:** [https://sheetlinkwp.com/privacy](https://sheetlinkwp.com/privacy)

= Google Sheets API and Google Drive (Two-Way Sync poll) =

* **What it is:** With Two-Way Sync enabled on a one-click connected Google Sheet, this plugin periodically reads the sheet through Google's official Sheets and Drive APIs to detect rows edited in the sheet, so those edits can flow back into WordPress.
* **When it is called:** On a WP-Cron interval (60 seconds or slower), only while Two-Way Sync is enabled and a Google account is connected through the free plugin's one-click method. A Drive modified-time check short-circuits the read when nothing changed.
* **What data is sent:** Read requests carry only the spreadsheet identifier and the OAuth token already stored by the free plugin. Row contents are read, not written, by this poll.
* **Where data goes:** `https://sheets.googleapis.com/` and `https://www.googleapis.com/drive/v3/` over HTTPS.
* **Opt-out:** Disable Two-Way Sync, or disconnect the Google account. Both stop the poll immediately.
* **Google Terms of Service:** [https://policies.google.com/terms](https://policies.google.com/terms)
* **Google Privacy Policy:** [https://policies.google.com/privacy](https://policies.google.com/privacy)

= SheetLink backend (Two-Way Sync relay and Bulk Site Management) =

* **What it is:** The classic Two-Way Sync method receives sheet edits via a relay at SheetLink (your Apps Script posts the edit to the relay, which delivers it to this site's REST endpoint); Bulk Site Management fetches your saved network template.
* **When it is called:** The relay is inbound - this plugin registers the receiving endpoint and makes no outbound call for it. The network template is fetched only when you open or apply it on the Network Template page.
* **What data is sent:** The template fetch sends this site's activation token. Incoming relay requests carry the edited sheet row and are verified before processing.
* **Where data goes:** `https://sheetlinkwp.com/api/sheetlinkwp/` endpoints over HTTPS.
* **Terms of Service:** [https://sheetlinkwp.com/terms](https://sheetlinkwp.com/terms)
* **Privacy Policy:** [https://sheetlinkwp.com/privacy](https://sheetlinkwp.com/privacy)

Every other feature in this plugin (White-Label, Branded Reports, Agency Dashboard, Role Access, Advanced Routing's local delivery, WooCommerce Sync's delivery through your configured destinations, Extra Integrations) runs on your own WordPress server and contacts nothing beyond the destinations you configured in the free plugin.

== Changelog ==

= 1.0.0 =
* Initial release. Contains the premium features formerly gated inside SheetLink Forms 1.16.x and earlier: Advanced Routing (Multi-Destination Routing), White-Label with per-client profiles, Agency Dashboard, Branded Reports, Role Access, WooCommerce Sync, Extra Integrations, Multi-CRM Routing, Two-Way Sync, Bulk Site Management, and Excel/Airtable/Notion as a rule's primary destination. Settings, licences and rules carry over unchanged - if a feature was configured before the split, it works identically after installing this plugin.
