How to Enable and Use Pre-Prompt for Your Agent
This guide will help you enable the Pre-Prompt feature for your CustomGPT.ai agent, allowing your AI Agent to automatically trigger the first response as soon as the conversation is opened.
What It Does
The Pre-Prompt feature automatically sends the initial prompt as soon as the conversation is opened.
How to Enable Pre-Prompt
Step 1: Sign in
a) Sign in to https://app.customgpt.ai/.
Step 2: Deploy Project
a) Click the Deploy Project icon.
b) Enable "Public Sharing" for the AI Agent by sliding to the right.
Step 3: Go to Deployment Options
a) Navigate to any of the supported deployment options (Embed, Live Chat, Website Copilot, Instant Viewer). Due to it's nature, Pre-Prompt is not available for Search Generative Experience deployment option.
Step 4: Scroll to Expert Mode
a) Locate the Expert Mode section.
Enabling this feature will add placeholder variable to the code snippet. However, for the integration to work as intended, you need to configure this value according to your specific requirements.
Step 5: Enable Pre-Prompt Integration
a) Turn on the Pre-Prompt Integration. This feature triggers the first message to the AI Agent as soon as the conversation is opened. For example, you could push form submissions as the initial message.
This is not a welcome message. The AI Agent will start responding immediately upon page load and will consume 1 query credit.
Step 6: Update the Code Snippet
a) If you’ve already installed the code snippet you'll need to update it on your website for the Pre-Prompt to function properly. It is necessary to either:
- Replace code snippet
- Add this part to existing code snippet: prompt="PLACEHOLDER"
Note: Replace PLACEHOLDER with a message that will be used as the initial prompt.
How to Disable Pre-Prompt
To disable the Pre-Prompt feature, you can:
a) Turn the Toggle Off
- Disabling the toggle will stop the Pre-Prompt from triggering.
b) Remove the Code Snippet
- Remove the prompt="PLACEHOLDER" line from your code snippet.
Congratulations! You've successfully enabled the Pre-Prompt feature for your CustomGPT.ai agent. Your AI Agent is now set to automatically respond as soon as the conversation starts, providing an immediate and engaging user experience. ✔
Updated 3 months ago