Hello Bricksforge Team,
The Email Designer is an absolute masterpiece. The integration of global styles, Twig logic, and native layout components makes it one of the best visual email builders in the WordPress ecosystem.
Looking at the documentation, we can currently trigger templates globally via wp_mail intercepts or programmatically via the bricksforge_send_mail() PHP function.
However, there is a massive strategic opportunity to expand this feature into an enterprise-grade utility: A Native REST API / Webhook Endpoint with Token Authentication.
The Concept:
Allow the Email Designer to expose a secure custom endpoint (e.g., /wp-json/bricksforge/v1/send-email) protected by a secure API Password/Token.
How it would work:
External Trigger: Any external tool (like Flowmattic, n8n, an external app on Coolify, or fluentCart webhooks) sends a JSON POST request to the WordPress site.
The Payload: The request contains the target template_id, the recipient’s email (to), and a dynamic object of variables.
The Engine: Bricksforge validates the token, captures the JSON data, maps the payload properties to the Twig template engine (e.g., variables passed in the JSON become available as {{ payload.variable_name }}), and fires the email.
Why this is a High-Value Win for Bricksforge:
Ultimate Interoperability: It turns the Bricksforge Email Designer into a central, high-performance transactional email hub for the entire agency stack. We would no longer need to design ugly HTML emails inside external automation builders; we could design everything inside Bricksforge and just hit the webhook.
Marketing Differentiator: No other WordPress page builder addon offers a visual email designer that doubles as a webhook-driven transactional email server.
Since you already have the core rendering function (bricksforge_send_mail), wrapping it inside a secure WP REST API controller should be a relatively straightforward architecture upgrade with massive ROI for agency workflows.
What are your thoughts on adding an API/Webhook trigger to the Email Designer roadmap?
Best regards,
Jayron Castro
CEO, Kstros.com