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

# Coda

> Connect Coda to Rootly to automate incident retrospectives with pre-built templates, Liquid variables, and automatic timeline and action item generation.

Rootly's Coda integration streamlines the process of completing incident retrospectives. Using pre-built templates and workflows, teams automate retrospective creation and save hours of manual work per incident.

With the Coda integration, you can:

* **Use customizable templates** — define the retrospective body in Rootly for a semi-custom retrospective that follows industry best practices, or build a fully custom template in Coda and have Rootly generate the retrospective accordingly
* **Reference Liquid variables** in templates created in either Rootly or Coda
* **Generate incident timelines** automatically for templates created in Rootly, or with [custom Liquid syntax](https://docs.rootly.com/liquid/incident-variables.md) for templates created in Coda
* **Track action items** — follow-ups are recorded automatically when Rootly-hosted templates are used, and [custom Liquid syntax](https://docs.rootly.com/liquid/incident-variables.md) lists them in Coda-hosted templates

## Before You Begin

Before setting up the integration, make sure you have:

* A Rootly account, logged in as an **Admin** user
* A Coda account and an API key

> [!NOTE]
>
> Rootly recommends installing with a **service account** so the integration does not break if the installing user leaves your organization.

## Installation

**1. Open the Coda integration in Rootly**

Locate **Coda** on the [integrations catalog](https://rootly.com/account/integrations) and select **Setup**.

![Coda on the Rootly integrations catalog](https://mintcdn.com/rootly/yHcXrOapKHrppc-2/images/integrations/coda/installation/images-1.webp?fit=max\&auto=format\&n=yHcXrOapKHrppc-2\&q=85\&s=5c20d96729d5208406752f0930316a07)

**2. Enter your Coda API key**

You will be prompted to enter your Coda API key.

![Coda API key field in the Rootly integration setup](https://mintcdn.com/rootly/yHcXrOapKHrppc-2/images/integrations/coda/installation/images-2.webp?fit=max\&auto=format\&n=yHcXrOapKHrppc-2\&q=85\&s=4ba7b93cd31362e22c663aaad935f0d0)

> [!TIP]
>
> After installation, the **Create a Coda Page** and **Update a Coda Page** workflow actions are available in your Genius workflows.

## Workflow Actions

The Coda integration uses workflows to generate retrospective pages in Coda automatically. If you are unfamiliar with how workflows function, visit the [Workflows](https://docs.rootly.com/workflows/workflows.md) documentation first.

![Coda workflow actions in the action picker](https://mintcdn.com/rootly/yHcXrOapKHrppc-2/images/integrations/coda/workflows/images-1.webp?fit=max\&auto=format\&n=yHcXrOapKHrppc-2\&q=85\&s=139191c5340a0969089f1f512d2aa327)

> [!TIP]
>
> Use the [Incident Variable Explorer](https://rootly.com/account/help/liquid-explorer) to preview what Liquid variables return for your incidents.

### Create a Coda Page

Creates an incident retrospective in a Coda doc.

![Create a Coda Page action configuration form](https://mintcdn.com/rootly/yHcXrOapKHrppc-2/images/integrations/coda/workflows/images-2.webp?fit=max\&auto=format\&n=yHcXrOapKHrppc-2\&q=85\&s=e1c21135740966367c85f81686d6066e)

| Field | Description |
| - | - |
| **Page ID** | Coda page ID under which the retrospective is created. Found in the URL when viewing a page in your Coda doc |
| **Title** | Title of the Coda page. Use `{{ incident.title }}` to match the incident. Supports Liquid |
| **Subtitle** | Subtitle of the Coda page. Supports Liquid |
| **Custom Retrospective Template** | Body content of the Coda page. Use `{{ incident.summary }}` to match the incident summary. Supports Liquid |
| **Retrospective Template** | A predefined Rootly template used for the body. Managed on the [Retrospective Templates page](https://rootly.com/account/retrospective-steps?tab=documents) |
| **Coda Template** | A predefined template from your Coda doc |
| **Mark Post Mortem as Published** | Sets the retrospective status to `published` rather than `draft`. Use this when notification workflows trigger only on published retrospectives |

> [!WARNING]
>
> These three template fields override one another. **Coda Template** takes precedence over **Retrospective Template**, which takes precedence over **Custom Retrospective Template**.

### Update a Coda Page

Updates an existing incident retrospective in a Coda doc.

![Update a Coda Page action configuration form](https://mintcdn.com/rootly/yHcXrOapKHrppc-2/images/integrations/coda/workflows/images-3.webp?fit=max\&auto=format\&n=yHcXrOapKHrppc-2\&q=85\&s=fcef4b473e1b70d4ee624bc4fe800e6c)

| Field | Description |
| - | - |
| **Doc ID** | Coda doc containing the page to update |
| **Page ID** | Coda page ID to update. Found in the URL when viewing a page in your Coda doc |
| **Title** | Updated title of the Coda page. Supports Liquid |
| **Subtitle** | Updated subtitle of the Coda page. Supports Liquid |
| **Custom Retrospective Template** | Updated body content. Supports Liquid |
| **Retrospective Template** | A predefined Rootly template used for the body |
| **Coda Template** | A predefined template from your Coda doc |
| **Mark Post Mortem as Published** | Sets the retrospective status to `published` rather than `draft` |

> [!WARNING]
>
> The same precedence applies on update: **Coda Template** overrides **Retrospective Template**, which overrides **Custom Retrospective Template**.

## Uninstall

To remove the Coda integration, open the integrations panel in Rootly and select **Configure > Delete**.

## Related Resources

* [Workflows](https://docs.rootly.com/workflows/workflows.md)
* [Retrospectives](https://docs.rootly.com/retrospectives/retrospectives.md)
* [Incident variables](https://docs.rootly.com/liquid/incident-variables.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.