Adding AI to Live Forms
This article will clearly guide you on how to create and use AI prompts within live forms.
Prerequisite:
Before integrating AI into a live form, ensure you have already created your AI prompt.
Understanding AI Prompts:
AI prompts can run automatically behind the scenes or in real-time as users interact with forms and other components. Here are some practical ways you can utilize AI prompts in live forms:
-
Single-field AI Prompt:
Attach one or more AI prompts directly to a single field. The AI will take the field's input value, process it, and then automatically update the same field with the AI-generated response.
Use cases include:-
Automatically correcting grammar and spelling.
-
Expanding short text entries into more comprehensive descriptions.
-
-
Multi-field AI Prompt:
AI prompts can also take input from multiple fields and simultaneously update multiple fields based on the generated responses.
Example:-
You enter a single social media post description into Field 1.
-
The AI generates tailored posts for three different social networks.
-
Each network-specific post is then automatically updated into separate, designated fields.
-
This allows you to efficiently streamline and automate complex tasks directly within your forms, enhancing productivity and user experience.
Adding AI Prompt to a single field
Open any form where you want to add prompt and click to edit the specific field to open up additional options.
In the pop up window, select AI Prompts and add choose the prompt from the list of your preconfigured prompts.
You can name the prompt whatever you wish, this will be what will appear to the user of the app. Next, you need to choose which Dynamic Variable this field should replace and which response value should be returned. In this example, for Expanding the text, we only have one dynamic variable, if you have more than one you have to keep in mind only one value can be assigned.
You can add multiple prmpts and even add grouping to keep each set of prompts under their own group.
The end result will look like this with grouping enabled:
When a user selects Expand or Correct Grammer, it will take any text from this field, set that value as the Dynamic Variable and update the field with the Response from the AI.
Adding AI Prompt to multiple fields
To add AI to multiple fields, you must add the AI Prompt button into your form.
Open the new AI Prompt button and configure it by doing the following:
1) Select which AI Prompt should be utilized
2) Set the fields that should be used as the dynamic variables
3) Select the fields that should be updated from the response.
In this AI Prompt we have only one Dynamic Variable called New Feature:
We hav 3 responses in this AI prompt:
So this prompt will take the first fields value, get back 3 responses and update the other 3 values:
We'd love to hear your feedback.