# Wolfram Alpha

The **Wolfram Alpha Node** connects your workflow to the WolframAlpha computational knowledge engine. This allows you to ask complex questions and receive answers that are computed in real time, leveraging WolframAlpha’s vast database of facts, algorithms, and computational power.

***

### Available Actions

#### Wolfram Alpha Query

This action takes a natural language query (for example, a math problem, a scientific fact, a data lookup, or a general knowledge question) and returns the computed result as a string.

***

#### Input Parameters

* **query** (required):\
  The question or computation you want to ask WolframAlpha.\
  Examples:
  * "What is the population of France?"
  * "Integrate x^2 dx from 0 to 10"
  * "Weather in New York on July 4, 2020"
  * "Prime factors of 123456"

***

#### Output

* **result**:\
  The answer or computed result from WolframAlpha, returned as a string.

***

#### Best Use Cases

* **Mathematical Computation:**\
  Instantly solve equations, perform calculus, or get step-by-step solutions.
* **Scientific Facts:**\
  Retrieve up-to-date scientific data, constants, or conversions.
* **Data Lookup:**\
  Get real-time data on countries, populations, weather, finance, and more.
* **General Knowledge:**\
  Ask factual questions and get authoritative answers.
* **Workflow Automation:**\
  Use as a “computation engine” in your workflow to process user queries, validate answers, or enrich data.

***

#### Example Usage

* **Input:**\
  `query`: "Derivative of sin(x) \* e^x"
* **Output:**\
  `result`: "e^x \* sin(x) + e^x \* cos(x)"

***

#### Available Actions

The Wolfram Alpha node has a single, powerful action:

| Action Name         | Action ID    | Description                                                                     |
| ------------------- | ------------ | ------------------------------------------------------------------------------- |
| Wolfram Alpha Query | wolframalpha | Runs any query against the WolframAlpha engine and returns the computed result. |

***

#### How to Use in a Workflow

1. Add the Wolfram Alpha node.
2. Set the `query` input (can be static or from an Input node).
3. Connect the output to an Output node, LLM node, or Template node for further processing or display.

***

**Summary:**\
The Wolfram Alpha node is best used for any scenario where you need authoritative, computed answers to factual, mathematical, or scientific questions. It’s a universal “ask anything” computational tool for your workflow.


---

# 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://docs.stackai.com/workflow-builder/apps/wolfram-alpha.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.
