How to Send an Alert When a Table Field Exceeds a Threshold

Updated July 2026 • 6 min read • By Fahad Murtaza • By Fahad Murtaza

TableCrafter table builder, connect Gravity Forms, Google Sheets, Airtable, CSV, or JSON data sources
TableCrafter table builder, connect Gravity Forms, Google Sheets, Airtable, CSV, or JSON data sources

Waiting to notice a critical value buried in rows of data is how problems slip through the cracks. TableCrafter's Pro email alert system lets you define a threshold on any numeric field and fire an automatic notification the moment an entry crosses it, no custom code, no third-party automation tools required. WordPress powers 43% of all websites globally (W3Techs, July 2026), and TableCrafter bridges the gap between the data you collect and the tables your users need to see, no custom PHP, no dashboard access required for viewers. The free version on WordPress.org supports CSV, JSON, Google Sheets, and Excel. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST APIs, inline cell editing, export to CSV/PDF, role-based column visibility, and auto-refresh. Every table embeds on any page with a [tablecrafter] shortcode or the native Gutenberg block. WooCommerce powers over 6 million live online stores (BuiltWith, 2026).

What You Need Before You Start?

Threshold alerts are a Pro feature. Before configuring one, confirm the following are in place:

Note: Email alerts fire on data change events, specifically when an entry is updated through inline editing or the Gravity Forms front-end. Alerts do not fire retroactively for entries that already exceed the threshold before the alert rule is created.

How Does Step 1, Open the Table Builder for Your Target Table Work?

Navigate to TableCrafter → Tables in the WordPress admin sidebar. Find the table whose data you want to monitor and click Edit. If you have not created a table yet, click Add New, select your Gravity Forms data source, and publish it before continuing, the alert configuration lives inside the table settings, not as a global plugin setting.

Inside the table builder you will see a tabbed interface. The tabs typically include Columns, Filters, Permissions, and Alerts. Click the Alerts tab.

The column mapping you define here is stored as a JSON configuration in the WordPress database. You can export this configuration using the TableCrafter export tool and import it to another table or another site. This is useful when replicating a table layout across multiple pages or when migrating a table to a staging environment for testing before going live.

How Does Step 2, Add a Threshold Alert Rule Work?

On the Alerts tab, click Add Alert. A rule card expands with the following fields:

Tip: Use {field_value} in both the subject and the body so recipients immediately know what value triggered the alert without logging into WordPress.

A fully configured rule might look like this:

Alert Type:       Field Threshold
Column:           Total Miles
Condition:        Greater than
Threshold Value:  5000
Recipients:       dispatcher@company.com, manager@company.com
Subject:          [Alert] Total Miles exceeded {field_value} on entry #{entry_id}
Message:          Entry #{entry_id} in {form_title} recorded {field_value} miles,
                  which exceeds the 5,000-mile threshold.
                  Review it here: {entry_url}

How Do Step 3, Save and Verify the Configuration Work?

Click Save Table at the top right of the builder. TableCrafter writes the alert rule to the table's stored configuration in the WordPress database.

To confirm the rule is active without waiting for real data to cross the threshold, you can create a test entry in Gravity Forms directly (Forms → the source form → Entries → Add New) with a value that intentionally exceeds your threshold, then immediately edit that entry through the TableCrafter frontend using the inline editor. The alert should fire within seconds.

TableCrafter re-fetches this data on each page load by default. If your data source updates infrequently and your site has significant traffic, enable the built-in caching option in the table's Performance tab. This stores the fetched data for a configurable number of minutes and serves it from WordPress transients, reducing API calls to the source and improving page load time for visitors.

Inline Editing Required for Change-Triggered Alerts: Alerts tied to data changes fire when a value is written back via TableCrafter's inline editor, which calls GFAPI::update_entry_field() through a nonce-validated AJAX request to wp-admin/admin-ajax.php. Direct edits inside the Gravity Forms admin panel do not trigger TableCrafter alert rules.

How Does Step 4, Embed the Table with the Shortcode Work?

If you have not already placed the table on a page, add it with any of the three equivalent shortcodes TableCrafter supports:

[tablecrafter id="42"]
[tablecrafter id="42"]
[tablecrafter id="42"]

Replace 42 with your actual table ID, visible in the URL when you edit the table (post=42). All three shortcodes resolve to the same handler; the aliases exist for backward compatibility with earlier plugin versions.

Once embedded, authorized users editing a cell in the watched column will unknowingly (or knowingly) trigger the alert pipeline whenever their saved value crosses the configured boundary. From their perspective the edit saves normally, no extra confirmation or modal appears.

The configuration you set here applies to every visitor who loads a page containing this table, regardless of whether they are logged in. Role-specific overrides for columns and rows are a separate layer and do not replace these global display settings. Apply global settings first, then add role restrictions as needed for tables that serve multiple user types.

How Does Combine Alerts with Role-Based Permissions Work?

A common pattern is to restrict which roles can edit the threshold column while keeping the data visible to all. For example, drivers on a load tracking table might see their mileage figures but only dispatchers can update them. This prevents accidental alert spam from untrained users entering test values.

Configure this under the Permissions tab of the same table builder:

Both table-level and column-level permission rules are Pro features. The Free tier renders tables as read-only for all visitors, so no inline editing, and therefore no change-triggered alerts, are possible on the free plan.

Pro Tip: Pair threshold alerts with data bars on the same numeric column. Data bars render an inline bar chart inside each cell proportional to the column's min/max range, giving users a visual warning before a value even reaches the threshold that triggers the email.

How Does Troubleshooting Alerts That Do Not Fire Work?

If you followed the steps above but emails are not arriving, work through this checklist in order:

Frequently Asked Questions

How Does What You Need Before You Start Work?

Threshold alerts are a Pro feature. Before configuring one, confirm the following are in place:

What Is TableCrafter?

TableCrafter is a WordPress plugin that turns data from Gravity Forms, Google Sheets, Airtable, Notion, REST APIs, CSV files, and WooCommerce into interactive, sortable, filterable frontend tables. Embed any table on any WordPress page with the [tablecrafter] shortcode or the native Gutenberg block. No PHP or custom development required. The free version supports CSV, JSON, Google Sheets, and Excel. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST APIs, inline cell editing, export to CSV and PDF, role-based column visibility, and auto-refresh.

Does this require PHP or developer skills?

No. TableCrafter is configured entirely through the WordPress admin interface. You choose your data source, map fields to columns, and set display preferences using point-and-click controls. Embedding uses the [tablecrafter] shortcode or the native Gutenberg block.

Is the free version sufficient or do I need Pro?

The free plugin on WordPress.org supports CSV, JSON, Google Sheets, and Excel sources with unlimited tables, rows, and columns. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST API sources, inline cell editing, bulk row actions, export to CSV and PDF, role-based column visibility, and auto-refresh every N seconds.

Ready to try it?

TableCrafter is free on WordPress.org. Pro unlocks inline editing, role-based permissions, and advanced data sources.