> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Sample Flows ## Article: Sample Flows ## Article Link: https://dev.wix.com/docs/api-reference/business-management/ai-site-chat/widget-settings/sample-flows.md ## Article Content: # Widget Settings: Sample Use Cases and Flows This article shares some possible use cases your app or site could support, as well as a sample flow that could support each use case. This can be a helpful jumping-off point. ## Retrieve and update widget settings To retrieve and update the widget settings: 1. Call [Get Widget Settings](https://dev.wix.com/docs/rest/business-management/ai-site-chat/ai-site-chat/widget-settings/get-widget-settings.md) to retrieve the current settings. 1. Update the settings retrieved. For example, update the intro message. 1. Call [Set Widget Settings](https://dev.wix.com/docs/rest/business-management/ai-site-chat/ai-site-chat/widget-settings/set-widget-settings.md), specifying the updated settings, to save the updated settings. ## Display a message if the AI assistant is offline. To display a message if the AI assistant is offline: 1. Call [Get Widget Settings](https://dev.wix.com/docs/rest/business-management/ai-site-chat/ai-site-chat/widget-settings/get-widget-settings.md). 1. Check the value of `assistantOnline` in the response. 1. If it's `false`, display a message on the site.