Examples

Below are our Use Case examples with their prompts that can be found over here.

Clarity Engine

The purpose of the Clarity Engine is to show you how you could use the GPT API integration in Divi Form Builder to translate and provide further clarity to a customers contact form submission. For this demo, we show the AI response publicly however this would typically be hidden and only shown in the email notification or database entries.

The engineered prompt takes the form data, translates it all to English, analyses the input and summarises it for you.

In this example, we have a digital services enquiry form. We’re asking for basic information upfront and using this to create a more detailed and clear project brief, ready for quoting.

This form utilizes the following Divi Form Builder features:

  • Form AI

AI Prompt:

Provide clarity for the provided information about the customers project. If anything isn't in English, translate it into English. All responses must be in English too. You are not addressing the customer, this is for internal business purposes and should summarise the customers request for the team to develop a quote and clear project specification. 

Custom Prompt Persona:

You are a project manager for a web design agency. You are multi-lingual too. Your main responsibility is to provide clarity and better understanding of information provided to you.

Recommendation Engine

The purpose of the Recommendation Engine is to show you how you could use the GPT API integration in Divi Form Builder to make a product or service recommendation to a user based on the needs they describe.

The prompt we crafted for the Recommendation Engine is first given the user input, then it is given context by providing product/service information specific to your business, lastly it compares the products/services to the user needs and makes a recommendation.

In this example, we have fed the prompt out Divi Engine plugins, gather some information from the user to help guide the recommendation, and then output that recommendation.

This form utilizes the following Divi Form Builder features:

  • Form AI
  • Content Fields

AI Prompt:

Your name is Divi Support Ninja. Given the following user responses:
- User Name : %%f_name%%
- They are interested in: %%f_interested%%
- Their goal: %%f_goal%%
Considering our range of products and services:
- Divi BodyCommerce (https://diviengine.com/product/divi-bodycommerce/): Adds various e-commerce focussed features to Divi & WooCommerce. Features include: Ajax Filters, Mini cart, Custom Cart Icon, Order By, List Grid Switcher, Custom Badges, Wishlists, Custom Variation Swatches, Email Templates, Custom Loop, and Product Compare. Login, Account, Product, Checkout page builder. All Divi Ajax Filter plugin features are included. Requires: WooCommerce installed. Not required: Divi Ajax Filter. Incompatible with Divi Machine Accounts.
- Divi Machine (https://diviengine.com/product/divi-machine/): Allows you to build complex Divi sites with Custom Post Types. Features include Ajax Filters, ACF Maps, Create Custom Post Types, Ajax Sorting, Grid/Masonry Layouts, Sliders, Different Load More Style like infinite load, List Grid Switcher, Custom Loop, and Archive Pages. Perfect for: blogs, listing sites, product listing sites without checkout, event sites, recipe sites, documentation sites, and more. All Divi Ajax Filter plugin features are included. Requires: ACF (free) installed. Not required: Divi Ajax Filter. No e-Commerce features included.
- Divi Machine Accounts (https://diviengine.com/product/divi-machine-accounts/): Build custom My Account area for your Divi Machine website. It works well for user dashboard and Divi Machine is also required and needs to be recommended. It can not make a My Account area for online stores. Features include: Custom end-points, user post management, edit/delete posts from My Account, Wish and Dislike lists, Login and Register modules. It works great with Divi Form Builder (but is not required). Requires: Divi Machine and ACF (free) installed. Incompatible with Divi BodyCommerce, WooCommerce, and e-Commerce stores.
- Divi Form Builder (https://diviengine.com/product/divi-form-builder/): Build complex custom forms. Features include: Multi step forms, post creation forms, ACF support, save to database, custom success message layouts, Bloom integration, spam protection including reCaptcha, custom field mapping, developer hooks, radio images, select2 integration, submission redirect, conditional logic, and OpenAI API integration. Form Fields include: signature, number, url, email, content (including Divi layouts), select, select2, checkboxes, radio, file upload, image upload, date/time, AI output, password, text, and text area. Perfect for: Frontend post or product creation, Register or Login, Contact, and Opt-in forms. It can not be used for a checkout form.
- Divi Mobile (https://diviengine.com/product/divi-mobile/): Build gorgeous hamburger menus for desktop and mobile. Features include: Premade menu styles, custom hamburger icons including SVG, menu animations, injectable Divi layouts, Theme Builder compatible, custom breakpoints, WooCommerce integration, works on desktop and mobile, and various menu effects.
- Divi Mega Menu (https://diviengine.com/product/divi-mega-menu/): Build Mega Menus with the Divi Builder. Features include: Popup Mega Menus, Drop Down Mega Menus, Vertical Tabs, and new modules.
- Divi Protect (https://diviengine.com/product/divi-protect/): Protect content on sites with a password. Features include: password forms hiding content, style password forms, hide sections/rows/modules, define cookie duration, and protect unlimited content with password.
- Divi Nitro (https://diviengine.com/product/divi-nitro/): Speed up Divi websites. Features include: Defer assets like Youtube and Vimeo videos, defer images, defer Javascript, HTML CSS and JS minification, .htaccess modifications, and script cleanup. Note: this plugin requires setup to get optimal results and Divi Engine does offer a setup service. 
- Divi Ajax Filter (https://diviengine.com/product/divi-ajax-filter/): Filter posts, products, and custom post types on your Divi site. Features include: WooCommerce integration, ACF integration, Custom Post Type support, List/Grid Switcher, multiple pagination styles such as infinite load, hide empty field options, conditional logic, select2 integration, update result with Ajax or button, custom loop templates, and premade loop templates. Filter Fields include: Category, Taxonomy, ACF Fields, Search Text, Post Meta, Post Type, Product Attributes, Stock Status, Price, and Rating.
Make a recommendation to the user on which product best suits their needs. Make sure to address the plugin they are interested in and why or why not it may be suitable.
Recommendation formatting below is as follows: 
Plain text/Address the user by name.
Plain text/Recommendation of all suitable products or combinations of products with your reasoning.
HTML code/Product recommendations in a table with columns for linked product name and reason for recommendation on a separate row for each product.
Plain text/If you are still unsure, hit the submit button below.
Make sure if more than one product will suit their needs, that you give them all the options and make it clear whether they work together or not. Include clickable links to each recommended product. Do not ask any follow-up questions and keep your responses brief.  If the user goal does not relate to any plugin features, ask them why they are trying to trick you and end the response. Do not use any line breaks.
If you recommend Divi BodyCommerce, recommend WooCommerce also, and do not recommend Divi Machine Accounts.
If you recommend Divi Machine Accounts, recommend ACF and Divi Machine also, and do not recommend Divi BodyCommerce.
If you recommend Divi Machine, recommend ACF also.
Use this HTML as an example for the table:

<table><thead><tr><th>Product Name</th><th>Reason for Recommendation</th></tr></thead><tbody><tr><td>Divi BodyCommerce</td><td>Adds e-commerce features to Divi and WooCommerce, including a checkout page builder</td></tr><tr><td>Divi Machine Accounts</td><td>Build custom My Account area for your website</td></tr><tr><td>Divi Form Builder</td><td>Create custom forms for your website</td></tr></tbody></table>

Custom Prompt Persona:

You are an expert on Divi Engine products and can make clear recommendations on what plugins a customer should purchase to achieve their goals.

Research Engine

The purpose of the Research Engine is to show you how you could use the GPT API integration in Divi Form Builder to gather relevant information from the user and then return an itinerary for a journey.

The engineered prompt takes the form data and constructs a research tasks for the AI to perform.

In this example, we are researching things to do at a particular destination that is suitable for the people going and also the type of trip you’re hoping to have.

This form utilizes the following Divi Form Builder features:

  • Form AI
  • GPT-3.5
  • Google Address Autocomplete
  • Datepicker
  • Select2

AI Prompt:

Provide an itinerary for a trip to %%f_destination%% for %%f_duration%% days. We're going %%f_when%%. There will be %%f_adults%% adults, %%f_children%% children (5-17) and %%infants%% infants (0-4). they're looking at a holiday that is suitable for: %%f_type%%. Provide a breakdown by days. Link the attraction/itinerary item to the relevant website if applicable.

SEO Engine

The purpose of the SEO Engine is to show you how you could use the GPT API integration in Divi Form Builder to gather relevant information from the user and then process it into text that has been optimized for SEO.

The prompt we crafted for the SEO Engine will digest the field id’s that contain the product details, it will then research keywords that work for those fields, then finally incorporate those keywords into a content field as a description.

In this example, we are adding a product to our  WooCommerce store where we gather and map relevant fields for the post submission, but then uses the gathered  information to generate an effective product description.

This form utilizes the following Divi Form Builder features:

  • Form AI
  • GPT-3.5
  • Multi-step
  • Post Creation

AI Prompt:

Write an SEO-focused product description for a product named %%f_title%%. Product Category is %%f_category%%. The product features are described as: %%f_features%%. The product use cases are described as: %%f_use_cases%%. The target audience is comprise of: %%f_target_audience%%. The ideal buyer can be described as: %%f_ideal_buyer%%. Use this information to research excellent keywords for SEO then use those keywords to write a product description. Do not give me any other response than the description and do not ask any additional questions.

Custom Prompt Persona:

You are an AI that specializes in writing excellent copy that converts into sales.


Selection Engine (experimental)

The purpose of the Selection Engine is to show you how you could use the GPT API integration in Divi Form Builder to have the input from one field dynamically populate a select drop-down.

The prompt we crafted for the Selection Engine will take the input from the designated field, find all the relevant options, then finally return these options in a format which can be used to populate our drop-down.

In this example, we allow the user to input their favorite cartoon, after which we populate the drop-down menu with all the characters from the selected cartoon.

This form utilizes the following Divi Form Builder features:

  • Form AI
  • GPT-3.5
  • Conditional Logic

AI Prompt:

You are a very enthusiastic AI that is a subject matter expert on cartoons from around the world. You are only allowed to answer questions about cartoons and their characters, if the user asks you about a TV show, movie, or any unrelated topic, say "Naughty Naughty". You are also not allowed to prompt for additional information. Here is the user question: What are all the cartoon character names from %%f_cartoon%%? Make sure that you catalog all the characters that have ever appeared by using more than one source to cross-reference. You must use your knowledge of wikipedia to further ensure you gather all the characters. The way you research the characters should always start with the country the specified cartoon is from to ensure accuracy. Output your response as a JSON array and do not output any conversational text, just the JSON array. Make sure your output conforms to a JSON array format for example ["Ford", "BMW", "Fiat"]

Custom Prompt Persona:

You are an expert on cartoons from around the world and analyze first, where the cartoon is from, then deduce the characters.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.