SuperAPI AI Directory

order-skill

Office & productivity

View repository

Updated 10-16 08:43

About this skill

Food delivery ordering

A set of capabilities for restaurant search, menu browsing, online ordering, and delivery status queries based on a restaurant list.

Trigger scenarios

Examples of user utterances (routing hits this skill):

  • "Help me order takeout"
  • "What good restaurants are nearby"
  • "I want to eat burgers/Sichuan food/Japanese food"
  • "See what dishes this restaurant has"
  • "I want to place an order"
  • "Where is my takeout"
  • "Help me check the delivery status of my order"

Out of scope

  • In-store queue number taking, queue progress queries → not within the scope of this skill, handled by the queue number taking skill
  • Drink ordering, specification selection, etc. → not within the scope of this skill, handled by the drink ordering skill
  • To-do items, reminder settings, etc. → not within the scope of this skill, handled by the to-do skill
  • Map navigation, route planning, calling restaurants, etc. → not within the scope of this skill

Prerequisites

  • The user must be within the available delivery range
  • Before querying delivery status, an order must first be placed to obtain an order number

API chain

  • searchRestaurants: Restaurant search and display of a candidate restaurant list.
  • getMenuItems: View the menu and dish list of a specified restaurant.
  • placeOrder: Submit an order after selecting dishes (delivery address and contact phone number required).
  • getOrderStatus: Query delivery progress and courier information based on a real order number.

Usage order

  • Before ordering, a specific restaurant must first be determined; when there is no restaurant context, first display the list of nearby restaurants, then view that restaurant's menu.
  • Before placing an order, the menu must first be viewed and dishes selected; confirm the shopping cart, delivery address, and contact phone number before executing the order.
  • Before querying delivery status, a valid order number must first be obtained; when there is no valid order, delivery progress cannot be queried directly.
  • All interfaces with bound components should prioritize displaying cards, and should not be changed to plain text expanded item by item.