> ## 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.

# Twitter / X

> Post incident updates to Twitter directly from Rootly workflows or the incident timeline to keep customers and stakeholders informed in real time.

## Overview

Rootly's Twitter integration lets your team publish incident updates to your organization's Twitter/X account without leaving the incident response flow. You can tweet via a workflow action or directly from the incident timeline.

<CardGroup cols={2}>
  <Card title="Workflow Tweets" icon="rotate">
    Automatically post status updates to Twitter at any point in an incident workflow — on creation, escalation, or resolution.
  </Card>

  <Card title="Timeline Posting" icon="clock">
    Share a timeline entry directly to Twitter by setting its visibility to **incident responders + private status page + twitter**.
  </Card>
</CardGroup>

## Before You Begin

* You must be a Rootly admin to set up the integration
* You need access to the Twitter/X account you want to post from

<Warning>
  Use a **dedicated service account** rather than a personal Twitter account. If the user who connected the integration leaves or loses access, the integration will stop working.
</Warning>

## Installation

Connecting Twitter to Rootly is a single OAuth step — no API keys to copy.

<Steps>
  <Step title="Open the Twitter integration in Rootly">
    Go to **Configuration → Integrations**, find **Twitter**, and click **Setup**.

    <Frame>
      <img alt="Twitter integration in the Available Integrations list" src="https://mintcdn.com/rootly/ljLqQxzWDg3HgLpA/images/integrations/twitter/images-1.webp?fit=max&auto=format&n=ljLqQxzWDg3HgLpA&q=85&s=14900cfb628a7c0f9b048078c2fbd0b8" width="867" height="396" data-path="images/integrations/twitter/images-1.webp" />
    </Frame>
  </Step>

  <Step title="Authorize with Twitter">
    You'll be redirected to Twitter to sign in and grant Rootly permission to post on your behalf. After authorizing, you'll be returned to Rootly and the integration will show as connected under your account's `@handle`.
  </Step>
</Steps>

## Posting from the Incident Timeline

You can tweet a timeline entry directly from the incident by changing the visibility of the update.

When adding a comment to the incident timeline, open the visibility dropdown and select **incident responders + private status page + twitter**. Rootly will post the entry as a tweet on your connected account.

<Frame>
  <img alt="Incident timeline visibility dropdown showing the Twitter option" src="https://mintcdn.com/rootly/ljLqQxzWDg3HgLpA/images/integrations/twitter/images-2.webp?fit=max&auto=format&n=ljLqQxzWDg3HgLpA&q=85&s=fe0c6ac2f800041e3a60b3a33948d374" width="866" height="311" data-path="images/integrations/twitter/images-2.webp" />
</Frame>

## Workflow Action

### Tweet a Message

Posts a tweet to your connected Twitter account from a workflow.

<ParamField body="Message" type="string" required>
  The text content of the tweet. Supports [Liquid variables](/liquid/incident-variables) — for example, `{{ incident.title }}` or `{{ incident.status }}`. Twitter's character limit applies.
</ParamField>

<Tip>
  Use Liquid to make tweets dynamic — for example: `"Incident resolved: {{ incident.title }}. Thanks for your patience."` will automatically fill in the incident title at runtime.
</Tip>

## Uninstall

To remove the Twitter integration:

1. Go to **Configuration → Integrations** and find **Twitter**
2. Click **Connected** to reveal the disconnect option
3. Click **Disconnect**

<Frame>
  <img src="https://mintcdn.com/rootly/QMD-dNqeYW4BA9dg/images/integrations/common/uninstall-connected.png?fit=max&auto=format&n=QMD-dNqeYW4BA9dg&q=85&s=dbb790e2576c8969bba96bc26c95265f" alt="Click Connected to reveal the Disconnect option" width="319" height="188" data-path="images/integrations/common/uninstall-connected.png" />
</Frame>

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="Can I connect multiple Twitter accounts?" icon="circle-question">
    No. Rootly supports one connected Twitter account per organization. To switch accounts, disconnect the current integration and reconnect with the new account.
  </Accordion>

  <Accordion title="What happens if the OAuth token expires?" icon="circle-question">
    Rootly automatically refreshes the OAuth token in the background. If refresh fails — for example, if the connected account's permissions were revoked — tweets will fail until you reconnect. This is why a dedicated service account is recommended.
  </Accordion>

  <Accordion title="Is there a character limit on tweets?" icon="circle-question">
    Yes — Twitter's standard 280-character limit applies. Rootly does not truncate the message automatically, so keep your Liquid templates short enough to stay within the limit.
  </Accordion>

  <Accordion title="Can I attach images or media to tweets?" icon="circle-question">
    Not currently. The workflow action supports text-only tweets.
  </Accordion>
</AccordionGroup>
