You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -117,18 +117,30 @@ You'll start with a default template that includes a "Call Start" node. We'll mo
117
117
<Steptitle="Add Customer Verification Node">
118
118
Click the + button below the greeting node and add a new **Conversation** node:
119
119
120
-
**Prompt**:
120
+
**Condition**:
121
+
```txt
122
+
Intent identified
123
+
```
124
+
125
+
**First Message**:
121
126
```txt
122
127
Now I need to verify your information. Can you please provide your phone number or full name so I can look up your account?
128
+
```
129
+
130
+
**Prompt**:
131
+
```txt
132
+
You are collecting customer identification information to look them up in the system.
123
133
124
-
If they provide a phone number, extract it. If they provide a name, extract it.
125
-
Be friendly and reassuring about privacy.
134
+
If they provide a phone number, extract it in a clean format (numbers only).
135
+
If they provide a name, extract their full name.
136
+
Be friendly and reassuring about privacy. Keep responses under 25 words.
126
137
```
127
138
128
139
**Extract Variables**:
129
140
- Variable: `phone_number`
130
141
- Type: `String`
131
142
- Description: `Customer's phone number if provided`
143
+
<br />
132
144
- Variable: `customer_name`
133
145
- Type: `String`
134
146
- Description: `Customer's full name if provided`
@@ -137,91 +149,274 @@ You'll start with a default template that includes a "Call Start" node. We'll mo
137
149
<Steptitle="Add Customer Lookup Tool Node">
138
150
Add a **Tool** node:
139
151
152
+
**Condition**:
153
+
```txt
154
+
Customer information collected
155
+
```
156
+
140
157
**Select Tool**: Choose your pre-configured customer lookup tool from the dropdown. This tool will use the extracted `phone_number` and `customer_name` variables to find the customer in your database.
141
158
</Step>
142
159
143
160
<Steptitle="Add Intent Routing Logic">
144
161
Create branching paths based on the customer's intent. Add multiple conversation nodes:
145
162
146
163
**Schedule New Appointment Node**:
147
-
- **Prompt**: `Great! I can help you schedule a new appointment. What type of service would you like? We offer haircuts, beard trims, shampoo and styling, and full grooming packages.`
164
+
165
+
**Condition**:
166
+
```txt
167
+
Customer verified and intent is schedule
168
+
```
169
+
170
+
**First Message**:
171
+
```txt
172
+
Great! I can help you schedule a new appointment. What type of service would you like? We offer haircuts, beard trims, shampoo and styling, and full grooming packages.
173
+
```
174
+
175
+
**Prompt**:
176
+
```txt
177
+
You are helping the customer schedule a new appointment.
178
+
179
+
Listen for the service they want and any preferred dates/times they mention.
180
+
Be enthusiastic and helpful. Keep responses under 30 words.
181
+
If they're unsure about services, briefly describe each option.
182
+
```
148
183
149
184
**Reschedule Appointment Node**:
150
-
- **Prompt**: `I can help you reschedule your appointment. Let me first look up your current booking details.`
185
+
186
+
**Condition**:
187
+
```txt
188
+
Customer verified and intent is reschedule
189
+
```
190
+
191
+
**First Message**:
192
+
```txt
193
+
I can help you reschedule your appointment. Let me first look up your current booking details.
194
+
```
195
+
196
+
**Prompt**:
197
+
```txt
198
+
You are helping the customer reschedule an existing appointment.
199
+
200
+
Be understanding and accommodating. Look up their current appointment first.
201
+
Keep responses under 25 words while being empathetic.
202
+
```
151
203
152
204
**Cancel Appointment Node**:
153
-
- **Prompt**: `I can help you cancel your appointment. Let me look up your current booking to confirm the details.`
205
+
206
+
**Condition**:
207
+
```txt
208
+
Customer verified and intent is cancel
209
+
```
210
+
211
+
**First Message**:
212
+
```txt
213
+
I can help you cancel your appointment. Let me look up your current booking to confirm the details.
214
+
```
215
+
216
+
**Prompt**:
217
+
```txt
218
+
You are helping the customer cancel their appointment.
219
+
220
+
Be understanding and offer to reschedule instead if appropriate.
221
+
Confirm cancellation details before proceeding. Keep responses under 25 words.
222
+
```
154
223
</Step>
155
224
156
225
<Steptitle="Configure Edge Conditions">
157
226
Connect the nodes with conditional edges:
158
227
159
228
**To Schedule Appointment Node**:
160
-
- Condition: `if the user said yes` (AI condition)
0 commit comments