Tutorials
Build a Complex Conversational Agent
Learn how to design and implement a complex decision flow in Pathors (restaurant reservation example)
This appendix demonstrates how to use Pathors to build a more complex conversational scenario—a restaurant reservation flow with multiple decision branches and fallback options.
Tutorial Video
Key Learning Points
- Multi-branch decision flow design
- Reservation node and information collection
- Seat availability check and fallback options
- Handling user acceptance/rejection of alternatives
- Node connections and flow completeness
Steps
-
Add a Reservation Node
- Add a “Reservation” node to the conversation flow to collect user info: number of people, time, special requests, etc.
-
Branch Handling
- Check seat availability:
- If available: go to “Register Reservation Info” node and complete the booking.
- If not available: go to “Offer Alternative” node.
- Check seat availability:
-
Alternative Branches
- If user accepts the alternative: go to “Register Reservation Info” node.
- If user rejects the alternative: go to “End” node and thank the user.
-
Node Connections & Save
- Ensure all nodes are connected so the flow can be saved successfully.
-
Test the Flow
- Test the reservation process, verify info collection, branching, and final booking result.