> 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-solutions/blog/sample-flows.md ## Article Content: # Blog: Sample Use Cases & Flows This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful jumping off point as you plan your implementation. ## Periodically send an email with latest posts to blog subscribers Notify a blog's subscribers about new posts. 1. Call [Query Posts](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/query-posts.md) and filter for recent posts. ::::tabs :::REST_TAB ```json { "filter": { "firstPublishedDate": { "$gt": "" } } } ``` ::: :::SDK_TAB ```js const query = services.queryPosts().gt("firstPublishedDate", ""); ``` ::: :::: 2. Extract the following data from the post payload: - `title` - `excerpt` - `url` 3. Create a templatized email with the extracted information and send to subscribers. ## Send out a social media post when a new blog post is marked as featured Market a blog by creating a post on social media with featured blog content. This flow relies on having permission to access the relevant social media accounts. 1. When the [Post Created event](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/post-created.md) is triggered, you'll receive the post in the response. 2. Extract the `entityId` and use it to call [Get Post](https://dev.wix.com/docs/rest/business-solutions/blog/posts-stats/get-post.md). Check to see whether the post has been marked as featured. 3. If `featured` is set to true, extract desired fields from the Get Post response for the social media post. For example, you may want a social media post to include the following information: - `title` - `url` - `excerpt` - `minutesToRead` - `media` 4. Create a social media post to include the desired data, then post it to social media.