Open Your Dashboard and Access the Flows
- Log In: Start by logging into your chatbot builder’s dashboard.
- Go to Flows: In the main menu, find and click on the Flows section.
Create a New Flow (If Needed)
- Add a New Flow: If you don’t already have a welcome flow, click the Add button to create one.
- Name Your Flow: Give it a simple title like
Welcome Message, then click Continue.
Set Up a Basic Static Welcome Message (Optional)If you’d like a simple, non-AI greeting:
- Add a Send Message Step: Click the + button or double-click in the Flow area to add a new step. Select Send Message.
-
Write Your Greeting: Type something like:
- Publish Your Flow: Click Publish, then Preview your bot. You’ll see your new welcome message displayed to the user the first time they interact with the bot.
Add an AI-Generated Welcome Message
- Create an AI Step: Add another Send Message step. This new step will become the starting step of your flow.
- Rename the Step: Click on the step’s title and rename it to something like
Generate Text for Welcome Message. - Add an OpenAI Action: Inside this step, click Add Content / Actions, choose OpenAI, and select the Generate Text element.
Provide Instructions for the AI
-
Set Your Prompt: In the instructions, tell the AI what you want it to do. For example:
This instructs the AI to create a welcome greeting related to “Ryan’s restaurant.”
-
Create a Custom Field:
- Click Add New Custom Field and name it something like
welcome_message_text. - This will store the AI’s response so you can display it later.
- Click Add New Custom Field and name it something like
- Remove User Input Requirement: Since this is a welcome message and there’s no user input yet, make sure you don’t rely on the user’s last input. Just use the instructions you provided.
- Disable Unnecessary Connections: If there’s an option like “Connect user to human,” disable it for this step, since we only need the AI to generate text.
Connect and Display the AI’s Response
- Connect the Steps: Drag the Continue arrow from the OpenAI step to a new Send Message step.
- Use the Dynamic Variable: In this new Send Message step, remove any static text and insert the variable you created (
{{welcome_message_text}}).
Publish and Test Your Welcome Message
- Click Publish: After making your changes, hit Publish.
-
Preview Your Chatbot: Refresh your preview to see the updated welcome message. You’ll now see an AI-generated greeting like:
