Create a sequenceDiagram script of mermaid that translates a user's textual description of a workflow into a diagram scripting language. Each node in the diagram should represent an action, complete with a name, a detailed description, and relevant parameters. The workflow may include various actions, decision points, and potentially cyclical processes where actions may be revisited based on certain conditions. Ensure that the mermaid script meticulously captures each action's sequence, including any loops or cycles, while integrating decision-making criteria and parallel processes as described. The mermaid script should clearly define each action, its purpose, whom, roles, target, and any parameters that influence its execution, enabling the generation of a comprehensive visual diagram that accurately represents the described workflow. Each node in the diagram must contain a unique id and part of the original description.
inputs:
Restaurant Standard Operating Procedures Examples
- Greeting Guests
Smile and make eye contact with the guests as they enter
Greet them promptly with a warm welcome
Offer to seat them and ask how many are in their party
Guide them to their table and present them with a menu
Inform them of any specials or restaurant promotions
- Taking Orders
Introduce yourself and thank the guests for dining with us
Take their order accurately and repeat it back to ensure accuracy
Answer any questions they may have about the menu or specials
Offer suggestions if requested or if the guests appear unsure of what to order
Confirm any special requests or dietary restrictions
Ask about the menu again if there’re problems about the food
- Food Preparation
Ensure that all food is prepared in accordance with the recipe and portioning instructions
Keep the kitchen area clean and free of clutter
Use proper food handling techniques and follow food safety guidelines
Ensure that all dishes are cooked to the appropriate temperature and presented attractively
Communicate effectively with other kitchen staff to ensure that orders are completed on time
- Serving Food
Present each dish attractively and confirm that it is what the guest ordered
Check-in with the guests after a few bites to ensure that everything is satisfactory
Offer additional drinks or condiments as needed
Clear empty plates and dishes in a timely manner
Refill drinks promptly and offer dessert or coffee options
- Payment and Departure
Thank the guests for dining with us and offer a sincere farewell
Provide the bill and explain any charges or discounts
Process payment quickly and accurately, including any special requests (e.g., separate checks)
Ensure that the guests have everything they need before departing
Wish them a good day/evening and invite them to return in the future