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

# Runchat Node

> Reference for the Runchat node in Grasshopper. Run a published Runchat workflow as a component, with input and output parameters that match what you published.

<Frame>
  <img src="https://mintcdn.com/runchat/Suja3qBAMuuTyW__/images/runchatgh.webp?fit=max&auto=format&n=Suja3qBAMuuTyW__&q=85&s=b56c3fad52640e373c85f0fee3d929bf" alt="The Runchat node in Grasshopper" width="1200" height="1139" data-path="images/runchatgh.webp" />
</Frame>

The Runchat node executes a **published Runchat workflow** from inside Grasshopper. It is not a generic AI component, it loads the exact inputs and outputs you published in Runchat and exposes them as parameters on the node.

<Warning>
  The node will not run until you link a Runchat API key. Right-click the node and choose **Get API Key** if you don't have one, then **Set API Key** to paste it in. The key is stored locally per machine, see the [plugin setup guide](/plugins/grasshopper#3-link-your-api-key) for the full flow.
</Warning>

## How it works

1. Build and publish a workflow in [runchat.com](https://runchat.com) with the inputs and outputs you want exposed.
2. Copy the workflow ID from the URL.
3. Drop a Runchat node onto the Grasshopper canvas. It starts with a single `ID` parameter.
4. Right-click the `ID` parameter, set the workflow ID, and the node rebuilds with matching inputs and outputs.
5. Wire Grasshopper data into the inputs and run. Results come back asynchronously, so Grasshopper stays responsive while the workflow runs.

<iframe width="100%" height="400" src="https://www.youtube.com/embed/EhhcSL113J8" title="Grasshopper Runchat component setup" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

<Tip>
  See it end to end in the [Grasshopper plugin walkthrough](/plugins/grasshopper).
</Tip>

## Input and Output Parameters

The parameters on the node match what you published in Runchat. If you change what is published (add a new input, rename an output), use **Reset Runchat** from the right-click menu to reload the schema.

All values are cast to strings. If your workflow returns a JSON object, use the `JSwan` plugin to deserialize it and access individual properties.

## Right-click menu

**Load New Runchat**

Resets the component back to its initial state with a single `ID` parameter so you can load a different workflow.

**Open Artifacts**

Opens the artifacts view to browse all images generated by this workflow.

**Reset Runchat**

Re-loads the Runchat schema (input and output parameters) for this component. Use this whenever you add or remove published parameters in your workflow on runchat.com.

After resetting you may need to re-connect inputs and outputs.

Reset also clears any state on the workflow instance. By default, the first run creates a new instance (copy) of your Runchat and every subsequent run reuses it, so the workflow can reference previous state (for example, building chat history with a Loop node). Reset to start fresh.

**Open Documentation**

Launches this site.

**Get an API Key**

Opens [runchat.com/signup/grasshopper](http://runchat.com/signup/grasshopper) to log in or sign up, then redirects to the dashboard to create a new key.

**Set API Key**

Paste your API key and click Commit Changes. The key is saved as a local environment variable, so you only need to set it once per machine and it is never written to the Grasshopper file.

## Next steps

* [Runchat for Grasshopper](/plugins/grasshopper): plugin setup and the chat agent
* [Components → Utilities](/node-reference/grasshopper/components/utilities): screenshot, GLB import, projection, viewport preview helpers
* [Grasshopper Examples](/node-reference/grasshopper/examples): downloadable definitions
