How to Create Chatbot with Voiceflow
How to Create a Chatbot Flow in Voiceflow
This guide provides step-by-step instructions on how to create a chatbot flow in
Voiceflow. It covers setting up a knowledge base, adding data sources, configuring AI
responses, and creating a demo response. By following this guide, you can create a
chatbot that can provide accurate and helpful responses to customer queries,
specifically regarding Nike's return policies.
1
Navigate to https://creator.voiceflow.com/workspace/0NjXaZPlnq
2
Click "Designer"
Made with Scribe - https://scribehow.com
1
3
Build your knowledge base to add context for the chatbot's training data.
4
Click on "Knowledge base".
Made with Scribe - https://scribehow.com
2
5
Click "Add Data Source"
6
Click on "Data Source" and then "URL(s)"
Made with Scribe - https://scribehow.com
3
7
Once you've added your data source (PDF, URL, Doc, etc) , go back to the designer
section.
8
Click on "Talk" on one of the side icons, drag "Text" onto the canvas, and type in
the following: "What can I help you with today? I'll look through our
documentation to answer your question before connecting you to an agent." as
the chat bot's greeting response.
Made with Scribe - https://scribehow.com
4
9
10
Click here to create the "last utterance" variable
Click the "Select or create variable" field.
Made with Scribe - https://scribehow.com
5
11
Once you've created the {last_utterance} variable, click on the "AI" icon and select
"Set AI" in order to set an action of Sentiment Classification.
12
Click here.
Made with Scribe - https://scribehow.com
6
13
Click the "AI" icon and select "set ai" again
14
Enter this "Based on the user's last utterance, classify the user's utterance.
For example: mad, frustrated, confused, curious, scared, bored, annoyed.
User's last utterance:
{last_utterance}" into the "SET AI - SENTIMENT CLASSIFICATION" prompt and
apply the {last_utterance} variable to it for ai response continuity.
Made with Scribe - https://scribehow.com
7
15
Click this search field. Select either Chat GPT 3.5 (turbo) or Claude Instant 1.2
16
For a more accurate and narrow response. Select System and more "context" to
aid with the data training. E.x. "You are a Nike customer assistant"
Made with Scribe - https://scribehow.com
8
17
Click on "AI' and select "AI response" type the following in the prompt: "Please
answer the following user question as concisely as possible with numbered steps:
Example:
Step 1:
Step 2:
etc.""
apply to {last_utterance}
Prompt settings: Chat Gpt 3.5 or Claude Instant 1.2
Made with Scribe - https://scribehow.com
9
18
Also, select "Knowledge base" instead of "AI model" in the "Answer Question" AI
response box because the AI agent will take data from the "Data source" and use
that information to formulate a response. Click here.
19
Click here to see a demo response of how the chat bot is operating.
Made with Scribe - https://scribehow.com
10
20
Click the "Start typing..." field.
21
Type "My package is damaged and I would like to return it. How can I return it?"
Made with Scribe - https://scribehow.com
11
22
Apologize for the cut-off, but here's one of the many examples the chatbot will
respond to customers with regarding Nike's return policies.
23
The final response should provide a step-by-step process for how the customer
can return their damaged item.
Made with Scribe - https://scribehow.com
12