v3.1.8 – Blocks for email templates, WhatsApp automation

New — WhatsApp automation and reply workflows

  • Added Send WhatsApp Message to the automation builder, using a saved draft’s approved template and variable mappings for the current contact
  • Combine WhatsApp actions with existing contact, status-change, form, and supported customer-action triggers, plus Delay steps for follow-ups and scheduled dates
  • Added WhatsApp Message Received and WhatsApp Button Reply triggers, with optional exact text or button-ID filters for existing contacts
  • Added Skip follow-ups after a reply to WhatsApp actions, with cancellation checks before queuing and immediately before sending
  • Added independent reply workflow runs and duplicate-message protection so repeated webhook deliveries do not create duplicate enrollments
  • Preserved consent and opt-out handling, added cancellation results to WhatsApp reports, and recorded reply workflow starts and failures in contact activity
  • Keep WhatsApp steps pending when the queue or account is temporarily unavailable, and added database migration checks for workflow storage

New — Gutenberg email blocks and patterns

  • Added Card, Copy Coupon Code, Countdown Timer, and Blog Loop blocks for editable email campaigns
  • Added WooCommerce Product Collection with new arrivals, best sellers, hand-picked products, store currency, and optional sale pricing
  • Added Event Details with a date, time zone, agenda, registration button, and optional calendar-file link
  • Added Featured Story and Brand Header patterns; improved Brand Footer and Testimonial Quote patterns
  • Added shared button controls for alignment, full width, font size and weight, padding, corner radius, and borders

Improved — Email templates and selection

  • Redesigned the built-in template collection with distinct promotional layouts, optimized artwork, and consistent email typography
  • Added Block Starters demonstrating the new blocks; the built-in catalog now contains 73 templates
  • Updated the template gallery with search, purpose descriptions, block badges, desktop/mobile previews, and subject/preheader suggestions
  • Added template selection and Start from scratch to campaign and email-template add/edit dialogs, with Keep current for existing content
  • Added type-aware selection for body, header, and footer templates, replacement confirmation, and server-side source validation
  • Apply templates as editable copies without changing source templates or unrelated sender, audience, and scheduling settings

Fixed — Preview, rendering, and editor behavior

  • Fixed Card and Coupon button layout differences between the editor and email preview, including narrow-screen overflow
  • Added responsive sizing for bundled hero images, omitted empty image placeholders, and preserved email layout styles during sanitization
  • Fixed UTC countdown comparisons and invalid, skipped, or repeated daylight-saving time handling
  • Reuse prepared blog/product content across recipient batches and retries, and refresh it for each new recurrence
  • Added public-content filtering, bounded queries, empty states, and unsafe-link rejection for dynamic blocks
  • Added drag-and-drop ordering, insertion indicators, and keyboard reordering to the campaign List View
  • Corrected the Brand Header image placeholder to avoid Gutenberg invalid-block warnings
  • Prevented add/edit forms from submitting to the wrong save handler or registering duplicate submit listeners
  • Restricted email preview URLs to users with the NextCRM administration capability