Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/create-pop-ups-with-ai

# Create Pop-ups with AI

> [!WARNING]
>
> Pop-up creation using AI is currently a Beta feature. To enable the feature, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Enable%20Pop-up%20creation%20using%20AI\&body=Hi%0A%0ACould%20you%20please%20enable%20Pop-up%20creation%20with%20AI%20feature%3F).

Consider you are just notified about a webinar happening tomorrow, and you need to roll out a Pop-up to your end users. Whatfix helps you create brand-compliant Pop-ups within minutes with the help of AI. Choose from different Pop-up templates instantly generated by AI and customize it based on your needs.

Here’s an introductory video on AI Pop-up:

[Create a Pop-up using AI on Whatfix](https://player.vimeo.com/video/1089953740?badge=0\&autopause=0\&player_id=0\&app_id=58479)

> [!INFO]
>
> Expand the respective accordions for more details.

**Create the AI Pop-up on Whatfix Studio**

Use the following steps to create AI Pop-ups:

1. Log in to the application where you want to create content, and then launch **Whatfix Studio**. ![CLM\_editor plug in2](/images/f6/CLM_editor-plug-in-2-f67cdef9.png)
2. On the Whatfix Studio, click **Popup**. ![clm\_studio\_pop-up](/images/35/clm_studio_pop-up-35671384.png)
3. Choose the color theme using the **Theme** dropdown. ![2024-10-18\_16-49-43.png](/images/f5/2024-10-18_16-49-43-1-f5099a90.png)

   Note:

Use custom color by entering the hex color code in the text box. ![Add hex color code for Pop-ups before you select a template](/images/c5/Studio_Pop-ups_hexcolor_code-c5c40d28.png)

1. Next to **Create popup with AI**, click **Create**.![Create AI Pop-ups on Studio](/images/51/Studio_Create_AI_Pop-ups_new-5106b38f.png)
2. Under **Write a prompt**, explain your use case using a prompt.![Create an AI Pop-up on Studio](/images/ac/Studio_Create_AI_Pop-ups_Create_new-ac28556b.png)

> [!INFO]
>
> For more information on the character limit, see [What's the character limit for prompts in AI Pop-ups?](https://support.whatfix.com/studio/docs/whats-the-character-limit-for-prompts-in-ai-pop-ups)

3. Click **Create**.

![Click Create to create AI Pop-ups](/images/70/Studio_Create_AI_Pop-ups_ClickCreate_new-7081edbb.png)
4\. Click **Select** on the Pop-up template that you need.

![Select the AI Pop-up templates on Studio](/images/87/Studio_AI_Pop-ups_SelectTemplates-87a9d55c.png)

> [!INFO]
>
> - Sometimes, you can get up to three different Pop-up templates to choose from depending on your use case. The AI understands and suggests the Pop-up templates, intuitively, based on the prompts that you add.
> - You have the option to add AI generated images on your Pop-ups. Write your prompts and enable the **Include AI generated image** toggle to start creating AI Pop-ups with images. [Can I add images to an AI generated Pop-up?](https://support.whatfix.com/studio/docs/can-i-add-images-to-an-ai-generated-pop-up)
>
> ![Create AI generated images for your pop-ups](/images/c1/Studio_AI_Pop-ups_CreateAI_Image-c1a6f686.png)
>
> - You also have the option to **Edit** your prompts further.![Edit the Pop-up created using AI to re-create the templates](/images/a0/Studio_AI_Pop-up_Edit-a01cd8c4.png)
> - If you are not happy with the output, use the **Re-Create** button to generate different Pop-up templates. Whatfix generates upto 3 different Pop-up templates.
>
> ![Re-create the AI pop-ups on studio](/images/35/Studio_AI_Pop-up_Edit_Re-create-35920a74.png)
>
> - Once you save the Pop-up, you cannot edit it further using Studio, and you have to create another Pop-up from scratch. Any changes you make are lost if you do not save the Pop-up during the creation step.
> - Once you select a template, it appears on your screen. You can tweak the appearance of the Pop-up further by using several customization options on the Whatfix Dashboard.

**Customize the AI Pop-up on Whatfix Dashboard**

Whatfix enables you to make further modifications to the AI generated Pop-up to ensure it’s brand compliant. Here are the ways to customize the Pop-up further on Whatfix Dashboard.

1. On your Whatfix Dashboard, click **Widgets**.

![Click Widgets on the Dashboard](/images/a0/DB_Click_Widgets-a01194c1.png)
2\. Click **Pop-ups**.

![Click Pop-ups under Widgets on the Dashboard](/images/91/DB_Click_Popup-1-91c099c3.png)
3\. Click the **Edit** icon of the Pop-up that you have created.

![Click the edit icon of the Pop-up on the dashboard](/images/76/Click_edit_Pop-up-7602a17e.png)
4\. Using the Drag and Drop feature, move or re-position different rows on the Pop-up, both vertically (row-wise) and horizontally (column-wise).

![Use Drag Handlers to re-position the Pop-up content](/images/7f/Dashboard_AI_pop-up_Drag_Handlers-7f1c9d17.png)
5\. On the Pop-up template, edit the **Button** **Name** of your Pop-up. ![Edit the Button text of the AI pop-up on Dashboard](/images/fc/Dashboard_Ai_Pop-up_click_Button-fcb2a6c2.png)
6\. To customize the **Button** text, hover your cursor over the text and then double-click to open the Rich Text Editor. ![Open the rich text editor on the button of the pop-up created using AI](/images/c4/Dashboard_Create_AI_pop-ups_RichTextEditor-c4677bf2.png)

**Following are the possible modifications within the button configuration menu:**

a. To change the button configurations, hover your cursor over the button, and then click to open the button configuration menu. ![Open the button configuration menu of the AI pop-up](/images/34/Dashboard_AI_Pop-up_Button_Configuration-34d75521.png)

b. Click the dropdown next to **Action**, and then select the button action. ![Click the Action dropdown in the AI pop-up next to Action](/images/3a/Dashboard_AI_Pop-up_Button_Configuration_Click_Action-3aad40c5.png)

Understand the different types of **Button Action**, as well as their behavior and descriptions, in the following table:

| Button Action | **Behavior**                                                                                                                                                  |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Start Flow    | When the user clicks this button, they are taken to a Whatfix Flow that is attached to the button.                                                            |
| Attach URL    | When the user clicks this button, they are taken to the URL that is attached to the button.                                                                   |
| Skip          | When the user clicks this button, the Pop-up is omitted and they continue to see the Pop-up until they click the **Close** or **Don't show me again** button. |
| Close         | When the user clicks this button, they close the Pop-up.                                                                                                      |

c. Change the button Type to **Primary** or **Secondary**.

- Primary Button represents the single, most important action a user should take on a screen.
- Secondary Button represents any supporting actions that complement the primary goal.

![Gif showing the button types for the Pop-up created using AI](/images/7e/Dashboard_AI_pop-up_Button-Type_GIF-7e3f7c59.png)

d. Click the **Button Style** icon to change the **Color**, **Hover color**, and **Corner radius** of the button.

![Click Button Style on the Pop-up created using AI](/images/c8/Dashboard_AI_pop-up_Button-Style.GIF-c845c4cb.png)

e. On the Rich Text Editor, click the + icon to open the **Add Component** dialog box. Add **Text,** **Button**, **Image**, **Video**, and/or **Audio** to the Pop-up.

![Click icon on the button of the Pop-up created using AI](/images/66/Dashboard_AI_pop-up_Button_Click-Plus-icon-66f49cdd.png)

f. Make additional modifications such as **Button Resize**, **Horizontal Align**, and **Vertical Align** on the AI generated Pop-up.

![Make further modifications on the Button of an AI Pop-up such as Button Resize, Horizontal Align, and vertical Align.](/images/51/Dashboard_Ai_Pop-up_Button_modifications.GIF-51233fe5.png)

> [!WARNING]
>
> When you make changes to the Pop-up using the Drag Handlers, you may unfortunately not be able to undo certain changes. In that case, you may need to re-create the Pop-up. For more information, see [Can I undo the changes made with the Drag Handlers?](/web/can-i-undo-changes-made-with-the-drag-handlers)

**Configure the AI Pop-up on Whatfix Dashboard**

1. On the Whatfix Guidance dashboard, click **Widgets**. ![ia\_left\_nav\_widgets](/images/d4/ia_left_nav_widgets-d468b7f8.png)

2. Click **Pop-ups**. ![ia\_widget\_popups](/images/f2/ia_widget_popups-f2f9e0ad.png)

3. Hover your cursor over the Pop-up segment you want to configure, and then click the **Edit** icon. ![CLM\_DB\_Click\_edit\_icon.png](/images/7f/CLM_DB_Click_edit_icon-7f5dddac.png)

4. Click **Set Visibility Rules**. ![Set visibility rules for pop-ups created using AI](/images/5e/Dashboard_Ai_Pop-up_click-Visibility-Rules-5eaf8648.png)

> [!WARNING]
>
> - Set the **Where** Visibility Rules for the Pop-up to appear on a specific page in the application. For more information, see [Visibility and Display Rule Conditions.](/web/visibility-and-display-rule-conditions-1)
> - Set the **When** Visibility Rules for the Pop-up to appear at the desired time and date. For more information, see [Schedule Pop-ups](/web/scheduling-pop-ups).

2. Click **Save**. ![Add new visibility rules to widgets and click Save](/images/22/Dashboard_Widgets_New-Visibility-Rules_Save-22bdf167.png)
3. Once you are done creating the Pop-up, select the widget, and then click **Send to ready**.

![](/images/10/clm_db_send_to_ready_button-10028ee6.jpg)
4\. Go to the **Ready** Stage, select the segment, and then click **Publish**.

![Publish content on Whatfix Dashboard](/images/35/db_clm_publishcontent-35124854.png)

> [!WARNING]
>
> - End-users who skip the Pop-up repeatedly see it until they perform an action that counts as an interaction, or else the Pop-up reaches its maximum occurrence limit and stops appearing further.
> - Pop-up creation using AI currently support English language content only.

The following sections explain how to prompt the Pop-up using AI feature, its capabilities, and its limitations.

### Sample prompts

Write a prompt that describes the message you want the Pop-up to convey. Use the following sample prompts as a starting point, and then edit the details based on your use case:

- Announce a product webinar scheduled for tomorrow at 3 PM and invite users to register.
- Notify users about scheduled application maintenance this weekend and share the expected downtime.
- Introduce a newly released reporting feature and highlight its main benefit.
- Invite users to share feedback about the latest product update.
- Remind users to reset their password before the end of the month.

> [!INFO]
>
> Whatfix does not use your prompt inputs or generated Flow content to train AI models. For more information, see [Data Security and Privacy Policies for Whatfix AI features](/web/data-security-and-privacy-policies-for-whatfix-ai-features).

### Capabilities

The following are the capabilities of Pop-up creation using AI:

- Pop-up creation using AI generates ready-to-use Pop-up templates from a text prompt that describes your use case.
- The feature suggests up to three Pop-up templates for a single prompt; based on your requirements, you can choose the closest match.

### Limitations

The Pop-ups using AI feature enables you to create Pop-ups faster, but it requires your review. You must review the AI-generated Pop-up before you publish it to your end users.

The following are the limitations of Pop-up creation using AI:

- Pop-up creation using AI supports **English** language content only.
- The generated text and image can contain inaccuracies, so review them for accuracy, tone, and organizational brand compliance before you publish the Pop-up.
- The AI can generate incorrect dates, times, or links, so verify these time-sensitive details before you publish the Pop-up.

The Whatfix Rich Text Editor enables you to format content using multiple options. It also enables you to link and include multimedia content.

![](/images/bf/image-1720150380939-bf712686.png)

The primary button is associated with a positive user action based on the Pop-up's contents. For example, trigger a flow or open a URL.

The Secondary Button is used to close or dismiss the Pop-up without triggering any specific action.

Drag Handlers are used to move or reposition the component within the Pop-up.
