> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/apps/s/sedaro/using-violet-data-in-sedaro.md).

# Using Violet data in Sedaro

### Link Violet data to a Sedaro simulation

Using [Workflows](/features/workflows.md), you can link a Sedaro simulation to data in Violet and have it trigger a re-run whenever data changes.

1. First, create a Sedaro integration in Violet, and make sure it is fetching **branches.**&#x20;
2. Head to the desired branch's page in Violet and select what you want to modify.

   ![](/files/ZItv488UeID8Kt6EjxmI)
3. On the selected sub-component detail page, linkable properties will have a link symbol next to them. Click on the link icon and use the keyword search to select the Violet value (e.g. a parameter value, a data property from an integration, etc.) that you want to link. The new, live-linked value will display on the properties list and will be pushed to Sedaro.
   1. Be careful, as the selected linked entity value will immediately be pushed to Sedaro and will overwrite any existing values.

      ![](/files/SujnzIDmNe39pxv8RQQI)
4. Whenever the linked value changes, the new value will be pushed to Sedaro.
5. To unlink this value, hit the unlink button next to the property. This will save this property to the current value, and will stop updating whenever the linked entity changes.

### Starting a Simulation

You can also initiate a simulation in Sedaro from a selected branch within Violet.

1. To start a simulation, find the branch in Violet you want to run, select **Start Simulation** under **Available Sedaro Functions**, and select **push**.
2. To configure a simulation to re-run whenever a linked value changes:

   1. Link your desired data by following the [Link Violet data](#link-violet-data-to-a-sedaro-simulation) instructions above. Remember the Violet ID of your linked data
   2. Navigate to [Workflows](https://app.violetlabs.com/workflows/) and click **+Workflow** (or find Workflows [here](https://app.violetgov.com/workflows/) if you're on VioletGov)
   3. Give your workflow a name, and select **Activity** as the type, then **Linked Property Value Changed.**
   4. For **Enter the ID of the Violet Entity to Watch**, enter the Violet ID of the Sedaro data linked in step (a).
   5. Select **Select an Entity Specific Action** as the action.
   6. For **Enter the ID of the Violet Entity to get a list of available actions,** enter the Violet ID of the branch you will run the Simulation on.
   7. Under **Entity Actions**, select **Start Simulation**, then save the workflow.

   ![](/files/xlsHOr4hxKaARoIpbzcn)

   Now, whenever a linked entity value changes on the selected subcomponent, a new simulation will start in Sedaro.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.violetlabs.com/apps/s/sedaro/using-violet-data-in-sedaro.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
