Bricksforge Assistant (AI)
The Bricksforge Assistant helps you with AI in different areas of Bricksforge. It supports both OpenAI and Anthropic (Claude) as AI providers.
How to Use
To use the Bricksforge Assistant, you need an API key from your chosen provider:
- OpenAI: Sign up and generate an API key
- Anthropic: Sign up and generate an API key
Navigate to Bricksforge > Tools > AI Assistant, select your provider, and enter your API key. Once connected, the status will change to âConnectedâ and AI features will be available.
AI Implementations
Pro Forms Builder (Beta)
The AI-powered Pro Forms Builder lets you create, modify, and design forms through natural language prompts directly inside the Bricks Builder. Select a Pro Forms element and use the AI textarea to describe what you want.
What It Can Do
Create Forms
- Generate complete forms from a description: âCreate a registration form with name, email, and phoneâ
- Multi-section forms: âCreate a hotel booking form with guest info, stay details, and payment method sectionsâ
- Multi-step wizards: âCreate a 3-step onboarding formâ
- Forms with calculations: âCreate an order form with a price calculator. Each item costs 150 per unit.â
Query Loops Dynamically populate Checkboxes, Radios, Card Radios, Card Checkboxes, and Select fields from WordPress post types: âCreate checkboxes that show the titles of all posts from the post type Coursesâ
The AI automatically sets up the Bricks query loop with the correct post type, dynamic data tags, ordering, and pagination.
Conditions & Validation
- âShow the âcompanyâ field only when âbusinessâ is selectedâ
- âMake the email field required with live validationâ
- âAdd a min/max validation for the number fieldâ
Actions & Settings
- âAdd a confetti animation on submitâ
- âSend the form data to a webhook at https://âŚâ
- âCreate a post of type âbookingâ on submitâ
- âChange the success message to âThank you!ââ
Design & Styling
- âMake the form dark with rounded cornersâ
- âChange the labels to whiteâ
- âStyle the submit button with the primary colorâ
- Supports CSS Variables from AutomaticCSS, Core Framework, and Bricks Style Manager
- Applies styles to Global Classes when âDetect Global Classesâ is enabled
Modify Existing Forms
- âAdd a phone field after the emailâ
- âChange the label of the name field to âFull Nameââ
- âAdd a date picker for the arrival dateâ
Smart Intent Detection
The AI automatically classifies your prompt into one of four categories:
- Structure: Adding/removing fields, changing labels, validation, conditions
- Design: Visual styling (colors, backgrounds, borders, fonts)
- Settings: Form actions, email config, success messages, redirects
This ensures only the relevant processing runs â a design change wonât rebuild the form, and a label change wonât trigger a design call.
Smart Context Gathering
The AI analyzes your prompt to determine what additional data it needs:
- Post Types: When you mention custom post types, query loops, or dynamic content
- Custom Fields: When you reference ACF, Meta Box, or JetEngine fields
- Taxonomies: When you mention categories, tags, or custom taxonomies
- Language: When the form should match the site language
Only relevant data is fetched â simple prompts like âadd a phone fieldâ donât trigger any extra lookups.
Clarification Questions
For vague prompts like âCreate a registration formâ, the AI may ask 1-2 quick questions before building (e.g., which fields to include, layout preference). These appear as choice chips directly in the panel. Clear, specific prompts skip this step automatically.
AI Settings
Click the gear icon next to the textarea to configure:
- Detect Global Classes: When enabled, design changes are also applied to Global Classes for consistent styling across elements
- Auto-create Global Classes (BEM): Automatically creates BEM-named Global Classes for form elements (e.g.,
form___heading,form___submit) - Use CSS Variables: Replaces static values with
var()references from your CSS framework- Select which sources to use: AutomaticCSS, Core Framework, Bricks Native
- Only variables from whitelisted frontend sources are used â builder-only variables are excluded
Tips
- Be specific: âCreate a contact form with first name, last name, email, phone, and messageâ works better than âCreate a contact formâ
- Iterate: Start with a basic form, then modify it step by step: âAdd validationâ, âMake it darkâ, âAdd a honeypotâ
- Use calculations: Pair calculation fields with live-value fields to display computed results: âAdd a calculator that shows the total based on quantity times 50â
- Query loops: Reference your actual post type names: âCreate radio buttons from the âcourseâ post typeâ
Animations
You can use the Bricksforge Assistant to create one or multiple animations for a timeline. Follow these steps to create an animation:
- Open the Bricksforge Panel and switch to the tab âTimelinesâ.
- Create a new timeline or open an existing one.
- Click the âAIâ button beside the â+â button.
- Enter a prompt and click âCreate Animationâ.
The prompt should be a description of the animation you want to create. For example, you could use Move the element 200 pixels to the right.
The AI will then generate the animation and add it to the timeline. First of all, it will try to use existing controls to create the animation.
If for a specific key no control exists, it will use the âAnimation Objectâ field to add the animation data.
If for your desired animation two or more animation tweens are needed, the AI will take care of that. For example, if you want to move an element to the right and then to the bottom, the AI will create two tweens for that.
Tips
Animation Selector
If you donât use a specific selector in your prompt, the AI will use the trigger selector of your timeline. If you want to use a different selector, you can add it to the prompt. For example, you could use Move the element .header-xy 200 pixels to the right.
Be concrete
Be concrete in your prompt. The more specific you are, the better the AI can understand what you want to do. Include details about animation method (fromTo, from, to), delays, durations, and selectors.