--- alias: tutorials-shiftlogbook-gen-ai-summary pdfexport: true timetoread: true tutorial: full description: "Generate a Cookie Factory shift handover summary from Shift Logbook entries with AI." --- # Generate a Shift Handover Summary with AI This tutorial shows how to create a handover summary for the Cookie Factory production team before the incoming shift reviews the Shift Logbook. ## Before You Start Make sure that: * An Active **Shift Logbook** exists for the Cookie Factory **Area**. * You have permission to create **Shift Logbook** entries. * **AI** is configured and you have access to `AI.ViewSummary`. For complete operation requirements, see [[user-guide-generate-shift-handover-summary|Generate Shift Handover Summary]]. !!! info "Cookie Factory Scenario" The Cookie Factory scenario is an example only. Use a Shift Logbook, Area, and entries available in your environment. Adapt the object names to your own scenario. ## Create Shift Logbook Entries The morning shift at Cookie Factory is ending. Before the next shift starts, the supervisor needs to provide a concise handover that covers the production, quality, and maintenance events recorded during the shift. Create representative **Shift Logbook** entries for the following events: * A production delay at the `Mixing` **Step**. * A quality-related observation for `Cookie01` **Material**. * A maintenance action related to `Chocolate_Oven-01` **Resource**. ## Generate the Summary 1. Open the applicable **Shift Logbook** for the Cookie Factory **Area**. 1. Review the entries created during the shift. 1. Select **View Summary**. 1. Review the generated Shift Handover Summary. ![Generated Shift Handover Summary](../../images/ai_shift_handover_summary_01.png) The summary combines the applicable **Shift Logbook** entries with activity information available for the **Area** during the **Shift**. ## Review the Summary Confirm that the summary addresses the events that require follow-up: * The production delay and its operational impact. * The quality observation for `Cookie01`. * The maintenance action for `Chocolate_Oven-01`. ![Generated Shift Handover Summary result](../../images/ai_shift_handover_summary_02.png) Verify the relevant information against the applicable MES records before the incoming supervisor signs off the **Shift Logbook**. ## Next Steps Continue with [[tutorials-labor-management-shiftlogbook-scenario-3|Scenario 3: Shift Handover and Sign-Off]] when the handover is complete.