# STT + Cloud Function + Cloud Task

> With Cloud Tasks, you first [create a queue](https://cloud.google.com/tasks/docs/creating-queues), optionally configure it, then add tasks to the queue using the provided SDK. An individual task can be configured to [make an HTTP request](https://cloud.google.com/tasks/docs/creating-http-target-tasks) with a payload that describes the work to be done. I like to think of the HTTP function as a kind of “future callback” that receives instructions on what to do at the time it was invoked.

from&#x20;

{% embed url="<https://medium.com/firebase-developers/how-to-schedule-a-cloud-function-to-run-in-the-future-in-order-to-build-a-firestore-document-ttl-754f9bf3214a>" %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://textav.gitbook.io/firebase-react-notes/stt/stt-+-cloud-function-+-cloud-task.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
