# Writeback cards
Back to: [Index of cards](../cards-index/index.md)
**Action buttons** can be added to your Quiver analysis canvas, time series charts, and dashboards to allow users to write data back to the Ontology. Example writeback actions include creating objects, updating properties on existing objects, or modifying object links.
* [Add and configure an action button](#add-and-configure-an-action-button)
* [Invoke Ontology actions directly from a time series chart](#invoke-ontology-actions-directly-from-a-time-series-chart)
* [Use selection boundary values as input to Ontology actions](#use-selection-boundary-values-as-input-to-ontology-actions)
* [Customize the button display](#customize-the-button-display)
### Examples
This capability can be used to enhance a variety of workflows, including:
**Example: Create an `Annotation` object instance**
Within a time series chart, you can create an object that captures context on an observed phenomenon, such as reasons for a machinery malfunction or a market macro event that affected a stock index. The start and end temporal values of the x-axis selection are passed as inputs to the `Create annotation` Ontology action, resulting in an annotation event. The ability to annotate the plot with multiple events provides greater clarity on the data visuals at hand.

**Example: Adjust operational values**
You can also invoke an Ontology action to update a property value based on an observed phenomenon. For example, the time series chart below displays two curves that show the predicted total cost per barrel for two types of products, Gasoline (in blue) and Diesel (in red). Today’s actual total cost per barrel (y-axis) for Gasoline (dark blue dots) ranges from 6.35 to 8.45 cents/barrel. This is far from the minimal predicted total cost of 6.01 cents/barrel. To lower the production cost, you can adjust the DRA concentration rate from 15 ppm to a value closer to 6.5 ppm. Select a range around 6 on the x-axis, then select the **Adjust DRA level** Ontology action, which is automatically set with the selection boundary values.

## Add and configure an action button
To add an action button to an analysis:
1. Open the [search bar](../analysis-toolbars/index.md#search-bar) by selecting **Search cards** from the analysis top bar.
2. Search for `action` or navigate to the **Writeback** category on the left.
3. Select the **Action button** card.

To configure an action button card:
1. Find the action button in the **Parameter** panel.
2. Open the action button editor by selecting the **Configure** cog wheel icon.
3. Select an existing Ontology [action](../../action-types/overview/index.md) from the dropdown menu. If the action does not exist yet, you will need to [create a new action](../../action-types/getting-started/index.md) in the Ontology.
Selecting the action button displays a form to fill out the inputs and submit the action. In the action button editor, default inputs can be provided.
For example, in the following image, the `Event start` parameter is configured with a default value of January 1, 2010.
Selecting the action button shows January 1, 2010 as the input value for the `Event start` parameter. Users can still edit this value before submitting the action.
## Invoke Ontology actions directly from a time series chart
It is possible to expose **Ontology action** buttons directly from the selection menu of a time series chart. To add an action button to a time series chart selection menu:
1. Open the time series chart editor by selecting the **Configure** cog wheel icon on the card header.
2. Under the **Action Buttons** section, open the dropdown menu and select an existing action button from the analysis or create a new one. The Ontology action button will now be visible in the selection menu.
## Use selection boundary values as input to Ontology actions
When an Ontology action button is added to a time series chart, you can parameterize the action inputs using the boundary values of the x- or y-axis selection.
To use the selection boundary values as Ontology action inputs:
1. Open the action button editor and expand the **Time Series Chart Input Override** section.
2. Add overrides based on x-axis selection, y-axis selection, or both. The selection boundaries are mapped to an action parameter based on the data type. For example, x-axis selections on a time axis can be mapped to a date/time action parameter.
In the following example, the selection left and right bounds were mapped to the `Event start` and `Event end` parameters. Selecting the action button from the time series chart selection menu auto-populates those values.
## Customize the button display
You can customize the appearance of the button in the **Display** tab of the action button editor. You can choose a label, an icon, a color, and a style.