# Sector Outlook and Forecast Update (`fifthrow/sector-outlook-change-decisions`) Actor

Decide whether your sector or market outlook, or a planning assumption built on it, should change and by how much. Add your planning question; the App researches what credible published outlooks said about a year ago, checks it against the latest... Returns HTML, Markdown, JSON, and dataset rows.

- **URL**: https://apify.com/fifthrow/sector-outlook-change-decisions.md
- **Developed by:** [FifthRow](https://apify.com/fifthrow) (community)
- **Categories:** AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$23.44 / sector outlook and forecast update report

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Decide whether your sector or market outlook, or a planning assumption built on it, should change and by how much. Add your planning question; the App researches what credible published outlooks said about a year ago, checks it against the latest public evidence, rebuilds the forecast range, tests your assumption against it, and returns a dated update with the call, the drivers that moved, scenarios, sensitivities and indicators to watch.

It returns a decision report in HTML, Markdown, JSON, and dataset rows.

### Runtime

Typical runtime: about 50 minutes.

### Summary

This update assesses the outlook for {SECTOR_OR_MARKET} over {FORECAST_HORIZON} and answers {PLANNING_QUESTION}. It compares credible published outlooks from a dated prior period with current public evidence, identifies which assumptions and market drivers have changed, and shows how those changes affect the forecast. Scope, measure, units, and evidence limitations remain visible so decision-makers can distinguish comparable findings from indicative estimates.

The final update includes a prior-versus-current forecast comparison, a driver bridge, named scenarios, ranked sensitivities, and a test of the planning assumption against the revised range. It also identifies indicators to monitor, proposed triggers for review, and the conditions that could change the call. Together, these findings help market owners decide whether to keep, revise, or widen their planning assumption for {SECTOR_OR_MARKET} over {FORECAST_HORIZON}.

### Methodology

The analysis defines {SECTOR_OR_MARKET}, its measure, and the years and units in {FORECAST_HORIZON}, then establishes a reference date for the prior outlook. It reviews dated public forecasts, separates like-for-like evidence from near-scope evidence, and records each source’s scope, assumptions, ranges, and publication date. Published actuals and current evidence are compared with the prior only where their measure and scope support a meaningful comparison.

The prior is used as the starting point for rebuilding the forecast range. Changed drivers are assessed using sourced evidence; contributions are bridged to the updated central value, with assumptions and residuals made explicit. Scenario cases and single-driver sensitivities are kept distinct, and {PLANNING_QUESTION} is tested against the updated range rather than treated as market evidence. Figures, dates, and evidence status are checked for traceability, while comparability limits and unresolved gaps are retained in the analysis.

### Inputs

- `FORECAST_HORIZON` (text): Forecast Horizon. Years and unit to forecast; add a date to compare against, or the App uses outlooks from about 12 months ago. Example: 2026 to 2030, annual share; compare with outlooks from March 2025
- `PLANNING_QUESTION` (text): Planning Question. Your planning assumption and the decision at stake; a line or two is enough. Add an earlier view of your own only if you want it checked (Buyer-stated). Example: We size 2028 capacity on 45% share in 2030; keep, move or widen?
- `SECTOR_OR_MARKET` (text): Sector Or Market. Sector or market and the measure to forecast. Example: New battery-electric cars in the EU27, BEV share of new registrations

### Outputs

Finished runs write files to the Actor **key-value store**, plus tabular rows in the default dataset.

#### HTML report (`REPORT.html`)

A self-contained HTML brief for reading the result in a browser. Use this when you want the formatted decision output,
including headings, lists, and cited source links from the App run.

#### Markdown report (`REPORT.md`)

A portable markdown document with the same narrative as the HTML report. Use this when you want to paste the output
into docs, tickets, or another markdown editor without HTML chrome.

#### Structured JSON (`OUTPUT`)

Machine-readable JSON in the key-value store under the `OUTPUT` key. The object includes:

- `id`, `status`, `ready`: App run identity and completion state
- `title`, `catalog_url`: display title and FifthRow catalog URL
- `started_at`, `finished_at`, `duration_seconds`: run timing
- `summary`: executive summary text
- `company_impact`: implied impact narrative, when the App produced one
- `sections`: sectioned App results
- `answers`: visible answer objects (title, markdown, sources)
- `questions`: Q\&A objects produced by the run
- `sources`: deduplicated source URLs
- `dataset_items`: source rows for the default dataset (oversized dataset writes may omit markdown)
- `report_markdown`: full markdown body also stored as `REPORT.md`

#### Dataset rows

The default dataset stores rows (`run`, `summary`, `company_impact`, `answer`, `qna`)
with `title`, `markdown`, and `sources`. Rows that exceed the dataset item size limit are stored with empty markdown.

# Changelog

This Actor's version history is a separate document: https://apify.com/fifthrow/sector-outlook-change-decisions/changelog.md

# Actor input Schema

## `FORECAST_HORIZON` (type: `string`):

Years and unit to forecast; add a date to compare against, or the App uses outlooks from about 12 months ago. Example: 2026 to 2030, annual share; compare with outlooks from March 2025 Suggested examples: Next year, annual volume; Next quarter, market share; Last month, installed capacity. Other clear text values are also accepted.

## `PLANNING_QUESTION` (type: `string`):

Your planning assumption and the decision at stake; a line or two is enough. Add an earlier view of your own only if you want it checked (Buyer-stated). Example: We size 2028 capacity on 45% share in 2030; keep, move or widen? Suggested examples: Hold planned factory capacity; Expand regional sales coverage; Delay the investment decision. Other clear text values are also accepted.

## `SECTOR_OR_MARKET` (type: `string`):

Sector or market and the measure to forecast. Example: New battery-electric cars in the EU27, BEV share of new registrations Suggested examples: EU battery-electric car share; US rooftop solar capacity; Global lithium demand. Other clear text values are also accepted.

## Actor input object example

```json
{
  "FORECAST_HORIZON": "Next year, annual volume",
  "PLANNING_QUESTION": "Hold planned factory capacity",
  "SECTOR_OR_MARKET": "EU battery-electric car share"
}
```

# Actor output Schema

## `OUTPUT` (type: `string`):

Complete structured JSON result stored as KVS OUTPUT.

## `markdown` (type: `string`):

Portable markdown report stored as KVS REPORT.md.

## `overview` (type: `string`):

Run overview plus summary, company impact, answers, and Q\&A as default dataset items.

## `report` (type: `string`):

Self-contained HTML report stored as KVS REPORT.html.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "FORECAST_HORIZON": "Next year, annual volume",
    "PLANNING_QUESTION": "Hold planned factory capacity",
    "SECTOR_OR_MARKET": "EU battery-electric car share"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fifthrow/sector-outlook-change-decisions").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "FORECAST_HORIZON": "Next year, annual volume",
    "PLANNING_QUESTION": "Hold planned factory capacity",
    "SECTOR_OR_MARKET": "EU battery-electric car share",
}

# Run the Actor and wait for it to finish
run = client.actor("fifthrow/sector-outlook-change-decisions").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "FORECAST_HORIZON": "Next year, annual volume",
  "PLANNING_QUESTION": "Hold planned factory capacity",
  "SECTOR_OR_MARKET": "EU battery-electric car share"
}' |
apify call fifthrow/sector-outlook-change-decisions --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fifthrow/sector-outlook-change-decisions"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KDasrLltuBrgDSOSz/builds/jFbmsbrTz53KiqqdC/openapi.json
