> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedule an automatic reporting cycle

> Schedule automatic reports to run queries at set intervals and deliver recurring insights.

Scheduling an automatic reporting cycle lets you set a time interval to execute queries on your data and report the results.
For example, if you set a one-month time interval, then a query runs each month and produces a report.

This is incredibly helpful when you need to get the latest insights.

## Prerequisites

* Appropriate permission: `nx1_ask`
* An existing domain created using [DataHub](/platform-components/datahub)
* A previously ingested dataset within a DataHub domain

## Schedule a report

<Tabs>
  <Tab title="Web portal" icon="browser">
    1. Log in to NexusOne.
    2. On the top navigation bar, hover your mouse over **AI** and then select **Ask**.
    3. Select a domain relevant to your data.
    4. Query the data using one of the following methods:
       * Select a suggested query from the list.
       * Enter a question in the "Add an analysis" field.
    5. You should see a [Metabase](/platform-components/metabase/metabase-in-nx1) dashboard to analyze the data.
    6. Click the calendar icon to schedule a report.
       1. Enter a report name.
       2. Select a time interval. The options include `None`, `Every 3 hours`, `Daily`, `Weekly`, `Monthly`, and `Quarterly`. On the first schedule, the job/DAG on Apache Airflow automatically runs. Recurrent runs depend on your selected schedule option.
    7. Click **Schedule**.
    8. After completion, click **View Schedule** to view the DAG on Apache Airflow.
  </Tab>

  <Tab title="REST API" icon="code">
    Use the following API endpoints to:

    * [Retrieve queries](/api-reference/endpoints/queries-formerly-cards/retrieves-queries).
    * [Schedule a query/card](/api-reference/endpoints/queries-formerly-cards/schedules-a-querycard).
  </Tab>
</Tabs>

## Additional resources

* For full instructions about how to ingest a file in NexusOne, refer to
  [How to ingest a file](/documentation/data-pipeline/tasks/ingest/ingest-a-file).
* For more information about roles or permissions, refer to [Govern Overview](/documentation/govern/overview).
