> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/videos/all-videos/page-1/salesforce-lwc-tutorial-weather-api-+-dispatch-scheduler-no-apex.md).

# Salesforce LWC Tutorial: Weather API + Dispatch Scheduler (No Apex)

LWC · 9:32

A dispatch board in one LWC: Events read with GraphQL, a weather API, and rules that refuse a move before saving.

{% embed url="<https://www.youtube.com/watch?v=7gi-zfWtbAg>" %}

## Chapters

* [0:00 Welcome](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=0)
* [0:21 What we build](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=21)
* [0:35 The need](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=35)
* [0:52 Why code](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=52)
* [1:39 Why not code it yourself](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=99)
* [2:52 The plan](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=172)
* [3:01 Before you start](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=181)
* [3:25 Create the component](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=205)
* [3:38 The template](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=218)
* [4:16 Read the visits, no Apex](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=256)
* [4:55 Get the forecast](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=295)
* [5:15 Build the view](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=315)
* [5:43 The rules](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=343)
* [6:39 Metadata and deploy](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=399)
* [6:51 Put it on a page](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=411)
* [7:08 The Trusted URL](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=428)
* [7:35 Test it](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=455)
* [8:05 Dynamic Component or LWC](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=485)
* [8:27 Pro tips](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=507)
* [9:03 Recap](https://www.youtube.com/watch?v=7gi-zfWtbAg\&t=543)

## Related documentation

[Follow the documentation](https://docs.avonnicomponents.com/lwc-components/getting-started/product-tour)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/videos/all-videos/page-1/salesforce-lwc-tutorial-weather-api-+-dispatch-scheduler-no-apex.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
