Skip to content

v1.3.0 - Admin Portal for Webhook Management

Choose a tag to compare

@pmmikejackson pmmikejackson released this 21 Oct 19:34
· 15 commits to main since this release

What's New in v1.3.0

🎉 Major Feature: Admin Portal for Webhook Management

This release adds a comprehensive admin portal that allows you to manage, resend, and monitor Gravity Forms webhook data.

New Features

1. Standalone Webhook Manager

  • New menu item in WordPress admin: "Webhook Manager" with network icon
  • Tabbed interface: "Resend Entries" | "Webhook Log"
  • Clean, WordPress-style UI integrated seamlessly with your admin panel

2. Entry List & Bulk Resend

Entry Management:

  • View all form entries in a sortable table
  • Filter entries by specific form or view all forms together
  • Display Entry ID, Company Name, Form, Date, and Status
  • Bulk selection with "Select All" checkbox

Smart Company Detection:

  • Automatically finds and displays company name from form entries
  • Searches for fields with labels containing: company, company_name, business_name, organization
  • Helps you quickly identify which entry belongs to which company

Flexible Resend Options:

  • Specific Form Mode: Select which webhook(s) to resend to
  • All Forms Mode: Automatically sends each entry to all configured webhooks for its form
  • Bulk process multiple entries at once

3. Webhook Resend Functionality

  • Actually sends HTTP POST requests to webhook URLs
  • Uses your existing field mapper for consistent data transformation
  • Sends data as JSON with proper headers
  • Handles HTTP errors and responses gracefully
  • Real-time success/error notifications

4. Database Logging System

New Table: wp_gf_webhook_log

Records Every Webhook Attempt:

  • Entry ID and Form ID
  • Webhook name and URL
  • Success or failure status
  • HTTP response codes
  • Error messages (for troubleshooting)
  • Timestamp of attempt

5. Single Entry Resend

Metabox on Gravity Forms Entry Detail Pages:

  • Appears in sidebar when viewing any form entry
  • Shows all webhooks configured for that form
  • Checkbox selection for which webhooks to resend
  • Recent webhook history (last 5 attempts) for that specific entry
  • Color-coded success/failed indicators with response codes
  • One-click resend from entry detail view

6. Comprehensive Log Viewer

Advanced Filtering:

  • Filter by status (success/failed)
  • Filter by form
  • Search by entry ID, webhook name, or URL

Features:

  • Pagination (50 entries per page for performance)
  • Clickable entry IDs that link directly to entry details
  • Color-coded status (green for success, red for failed)
  • HTTP response codes and error messages
  • Full date/time stamps
  • Complete audit trail of all webhook activity

Use Cases

Troubleshooting Failed Webhooks

  1. Check the Webhook Log for failed attempts
  2. View error messages and response codes
  3. Fix the issue with your webhook endpoint
  4. Resend failed entries from the admin portal

Bulk Resend After System Changes

  1. Updated your webhook endpoint URL
  2. Filter entries by form
  3. Select multiple entries
  4. Resend all to updated webhook

Testing Webhook Integrations

  1. Submit test entries through your forms
  2. Use admin portal to resend to different webhooks
  3. Verify data mapping is correct
  4. Check log for successful delivery

Compliance & Audit Trail

  • Complete history of all webhook attempts
  • Track when entries were resent
  • Monitor webhook reliability over time
  • Identify patterns in webhook failures

Technical Details

  • Database Migration: Automatically creates wp_gf_webhook_log table on plugin activation
  • Security: All forms use WordPress nonces and capability checks (manage_options)
  • Performance: Pagination prevents memory issues with large datasets
  • Compatibility: Uses existing modify_webhook_data() for consistent field mapping with v1.2.x

Upgrade Notes

  • Backward Compatible: All v1.2.1 features continue to work
  • New Database Table: Will be created automatically on activation
  • No Configuration Needed: Admin portal is ready to use immediately after update

Previous Features (Still Included)

From v1.2.1:

  • Fix duplicate field labels by prioritizing admin labels
  • Automatic duplicate detection with field ID appending

From v1.2.0:

  • Complete field mapping coverage
  • Admin label priority over regular labels
  • Comma-separated output for fields 174 and 175

From v1.1.0:

  • Enhanced field mapping for complex field types
  • Sub-field handling for name, address, date, time fields

Installation

Download the plugin ZIP file below and install through WordPress admin panel (Plugins → Add New → Upload).


🤖 Generated with Claude Code