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

# Build automations

> Use Ravenna Assistant to build, edit, validate, and debug Ravenna workflows in plain language with full context about triggers, conditions, and run history.

Automations handle repetitive work for you. Instead of manually triaging every ticket, sending the same follow-up messages, or routing requests to the right team, you describe what should happen and Ravenna Assistant builds a workflow (Automated processes and actions) that runs automatically.

Describe the automation you want in plain language. Ravenna Assistant first returns a plan describing the workflow it intends to build and waits for your approval before creating anything. Once you approve, it builds the workflow with the triggers, conditions, approval steps, and multi-step logic you described. When you open Ravenna Assistant from a workflow page, it automatically has context about that workflow's setup and run history.

### How the plan-and-approve flow works

Every workflow build goes through the same two steps.

1. **Ravenna Assistant returns a plan.** For any request to build a workflow, Ravenna Assistant summarizes the workflow it intends to create (the trigger, the steps, and any approval or branching logic) and asks whether to build it, adjust it, or cancel. Nothing is created yet.
2. **You approve, and Ravenna Assistant builds it.** After you confirm, Ravenna Assistant creates the workflow, configures each step, and validates it.

Ravenna Assistant shows the plan and waits for your approval before it builds anything, however you phrase the request. One reply, such as `Yes, build it`, approves the plan.

> [!NOTE]
>
> Building and editing workflows is available to all workspace members. If you cannot access a workflow, check with your workspace admin.

***

## Create workflows

Tell Ravenna Assistant what you want to automate and it generates the workflow with the right trigger, steps, and settings. You can describe a complete workflow in a single message or build it up step by step.

### What Ravenna Assistant supports

* **Triggers with filters**: Choose the event that starts the workflow and narrow it to specific conditions (for example, only run when a ticket is created in the IT Support channel with high priority)
* **Conditional branches**: Add steps that follow different paths depending on a condition. For example, check whether a user belongs to a group and take different actions based on the answer
* **Approval steps**: Add approval gates where the workflow pauses and waits for someone to approve or deny before continuing
* **Passing data between steps**: Use information from one step as input to a later step. For example, use the requester's email from the trigger to look up their manager, then send that manager a notification

**Example prompts:**

Create a workflow that sends a Slack message to #it-ops when a high priority ticket is created in the IT Support channel

Create a workflow that sends a Slack message to #it-ops when a high priority ticket is created in the IT Support channel

Build a workflow that assigns new tickets in the HR channel to the on-call HR specialist

Build a workflow that assigns new tickets in the HR channel to the on-call HR specialist

Set up a workflow that closes tickets automatically when they have been in Resolved status for 7 days

Set up a workflow that closes tickets automatically when they have been in Resolved status for 7 days

### Walkthrough: building a simple notification workflow

Start with a straightforward workflow to see how the process works before adding complexity.

**1. Describe what you want to automate**

Create a workflow that sends a Slack message to #it-ops when a high priority ticket is created in the IT Support channel

Create a workflow that sends a Slack message to #it-ops when a high priority ticket is created in the IT Support channel

**2. Ravenna Assistant returns a plan**

Ravenna Assistant describes the workflow it intends to build (a "Ticket Created" trigger filtered to the IT Support channel and high priority, followed by a "Send Slack Message" step targeting #it-ops) and offers **Build it**, **Adjust the plan**, or **Cancel**. Nothing is created yet.

**3. Approve the plan**

Click **Build it** (or reply with your approval). Ravenna Assistant then creates the workflow, configures each step's inputs, and validates it.

**4. Review and publish**

Ravenna Assistant links the completed workflow's name in its reply. Click it to open the workflow editor to review it, then publish it there or ask Ravenna Assistant to publish it. If the workflow has runs in progress, Ravenna Assistant asks whether to stop them first.

### Walkthrough: building a workflow with conditional branching

You can describe workflows with "if this, then that" logic and Ravenna Assistant sets up the branching for you.

**1. Describe the full workflow**

Tell Ravenna Assistant what you want the workflow to do, including the conditions and what should happen in each case.

Create a workflow that runs when a ticket is created. Check if the requester is in the "all-employees" Google group. If they are not a member, add them to the group and post a ticket note confirming they were added. If they are already a member, post a note saying no action was needed.

Create a workflow that runs when a ticket is created. Check if the requester is in the "all-employees" Google group. If they are not a member, add them to the group and post a ticket note confirming they were added. If they are already a member, post a note saying no action was needed.

**2. Ravenna Assistant returns a plan**

Ravenna Assistant describes the workflow it intends to build:

* A "Ticket Created" trigger
* A "Check Google Group Membership" step
* Two paths: one for members already in the group (posts a note) and one for non-members (adds them and posts a confirmation)

It offers **Build it**, **Adjust the plan**, or **Cancel**. Nothing is created yet.

**3. Approve the plan**

Click **Build it**. Ravenna Assistant creates the workflow, configures each step's inputs using information from earlier steps (like the requester's email from the trigger), and validates it.

**4. Review and adjust**

Ravenna Assistant links the completed workflow's name in its reply. Click it to open the workflow and click through steps in the editor to review and make any final adjustments.

### Walkthrough: building a workflow with approval

**1. Describe the approval flow**

Create a workflow that runs when a Hardware Request ticket is created. If the request is for a MacBook Pro, add me as an approver. If I approve, assign the ticket to the procurement team. If I deny it, close the ticket and post a note explaining why.

Create a workflow that runs when a Hardware Request ticket is created. If the request is for a MacBook Pro, add me as an approver. If I approve, assign the ticket to the procurement team. If I deny it, close the ticket and post a note explaining why.

**2. Ravenna Assistant returns a plan**

Ravenna Assistant describes the workflow it intends to build: a condition that checks the hardware type, an approval step on the matching path, and separate actions for the approved and denied outcomes. It offers **Build it**, **Adjust the plan**, or **Cancel**.

**3. Approve the plan**

Click **Build it**. Ravenna Assistant creates the workflow, configures all step inputs, and validates it.

### Walkthrough: scheduled Slack reports of ticket data

Ask Ravenna Assistant to send a recurring Slack report of live ticket data (for example, your open tickets each morning, or a team's backlog every Monday). Ravenna Assistant builds a workflow with a cron-based schedule trigger, queries the tickets you describe, formats the results, and posts them to a Slack DM or channel. You can preview the message before turning the workflow on.

Use this when you want raw ticket data on a recurring schedule. For AI-generated summaries of custom dashboard widgets, use [AI Briefs](https://docs.ravenna.ai/documentation/measure/ai-briefs.md) instead.

**Example prompts:**

DM me my top 5 open tickets by priority every weekday at 9 AM

DM me my top 5 open tickets by priority every weekday at 9 AM

Every Monday at 8 AM, post a list of tickets in the IT Support channel that have been open for more than 7 days to #it-leads

Every Monday at 8 AM, post a list of tickets in the IT Support channel that have been open for more than 7 days to #it-leads

Send me a Slack DM at 5 PM every Friday with all tickets assigned to me that are still in progress

Send me a Slack DM at 5 PM every Friday with all tickets assigned to me that are still in progress

**1. Describe the recurring report**

Tell Ravenna Assistant what tickets to include, how often to send them, when to send them, and where to deliver the message.

DM me my top 5 open tickets by priority every weekday at 9 AM

DM me my top 5 open tickets by priority every weekday at 9 AM

**2. Ravenna Assistant returns a plan**

Ravenna Assistant describes the workflow it intends to build:

* A **schedule trigger** using the cron expression that matches your cadence (for example, weekdays at 9 AM)
* A **query tickets** step with the filters you described (assignee, status, priority, channel, age)
* A **send Slack message** step targeting the DM or channel you named, with the ticket list formatted for Slack

It offers **Build it**, **Adjust the plan**, or **Cancel**.

**3. Approve the plan**

Click **Build it**. Ravenna Assistant creates the workflow, configures step inputs, wires the ticket query output into the Slack message, and validates it.

**4. Preview the message before publishing**

Ravenna Assistant runs a dry run against your current ticket data and shows you the exact Slack message the workflow would send. Review the formatting, the ticket selection, and the delivery target.

If the preview looks wrong, ask Ravenna Assistant to adjust it, for example `Include the requester name`, `Sort by created date instead`, `Send it to #it-leads instead of DMing me`, or `Change the schedule to every weekday at 8 AM`.

**5. Publish the workflow**

Once the preview looks right, open the workflow editor to publish it. The workflow then runs on the schedule you set and posts the report to Slack automatically.

> [!NOTE]
>
> The Ravenna Slack app must be installed in your workspace, and for channel delivery the Ravenna bot must be a member of the target channel.

### Connect apps from the chat

When a plan needs an app your organization hasn't connected yet, such as Jira, Okta, or Google Workspace, connecting it becomes the plan's first step. Ravenna Assistant shows a connect card in the conversation with the same form you would fill in under **Settings → Integrations**. You can also ask Ravenna Assistant to connect an app directly, for example "Connect Jira".

* **OAuth apps** open the provider's sign-in in a popup, so the chat stays open. If your browser blocks the popup, the sign-in opens in the same tab.
* **Ravenna Assistant resumes on its own.** Once the app is connected, Ravenna Assistant picks the request back up without you sending a message.
* **Connected cards** open the app's **Manage** settings over the chat when you click them.

Only organization admins get the connect card. For anyone else, Ravenna Assistant explains that an organization admin has to connect the app and gives the setup steps to pass along.

If the app is already connected for your organization but turned off for your workspace, Ravenna Assistant shows an enable card instead, such as **Enable Jira for this workspace**. An organization admin clicks **Enable** to add the workspace to the app's access list, and the other workspaces keep their access. Anyone else sees that an organization admin can enable it by asking Ravenna Assistant to connect the app.

Learn more about [setup cards for custom API integrations](https://docs.ravenna.ai/documentation/foundry/integrations.md)

### Requests with unsupported parts

Some outcomes are configured elsewhere in Ravenna and no workflow step can produce them. When your request mixes a buildable workflow with one of these, Ravenna Assistant returns a plan for the buildable part and, in the same message, names each unsupported part and where to configure it instead. It does not silently drop the unsupported part, and it does not decline the whole request.

Outcomes Ravenna Assistant cannot build into a workflow:

* **SLA policies, response and resolution targets, and breach alerts.** A workflow can trigger on an SLA breach, but no workflow step creates, attaches, or edits an SLA policy. The SLA engine attaches policies to matching tickets automatically. To manage SLA policies from Ravenna Assistant, ask Ravenna Assistant directly instead of putting it in a workflow (see [Manage SLA policies](https://docs.ravenna.ai/documentation/ravenna-assistant/configure-workspace.md#sla-policies)); you can also configure them in **Settings → SLAs**.
* **Access levels, access policies, and entitlements.** Configure them in the Access Requests settings pages. Access Requests owns the eligibility, approval, provisioning, and revocation lifecycle end to end.
* **Ticket categories and app activation.** Configure them in workspace settings.

**Example: a mixed request.**

When a Salesforce access request is submitted, require manager approval, provision the user in Salesforce, and enforce a 4-hour SLA on the ticket

When a Salesforce access request is submitted, require manager approval, provision the user in Salesforce, and enforce a 4-hour SLA on the ticket

Ravenna Assistant returns a plan for the buildable half (a workflow triggered on the access request that gates provisioning behind manager approval) and, in the same message, calls out that the 4-hour SLA cannot live inside the workflow. Ravenna Assistant can still create the SLA policy for you (see [Manage SLA policies](https://docs.ravenna.ai/documentation/ravenna-assistant/configure-workspace.md#sla-policies)) or you can configure it in **Settings → SLAs**. You approve the plan, Ravenna Assistant builds the workflow, and the SLA policy is created as a separate step.

***

## Edit and organize workflows

Update existing workflows by adding, removing, or changing steps. You can also adjust triggers, update conditions, and organize workflows into collections (folders).

**What you can change:**

* Add, remove, or reorder steps in an existing workflow
* Update trigger events and filter conditions
* Change step settings like message content, assignees, or channel targets
* Move workflows between collections to keep them organized
* Rename workflows and update their descriptions

> [!NOTE]
>
> If you are not sure what actions you can add to a workflow, ask Ravenna Assistant "What workflow actions are available?" and it lists every step type you can use, including integrations like Slack, Google Workspace, and email.

**Example prompts:**

Add an email notification step after the approval step in the New Hire Onboarding workflow

Add an email notification step after the approval step in the New Hire Onboarding workflow

Update the trigger so the IT Alerts workflow only runs for high priority tickets

Update the trigger so the IT Alerts workflow only runs for high priority tickets

Create a workflow collection called "Notifications" for all alert-related workflows

Create a workflow collection called "Notifications" for all alert-related workflows

Move the "IT Alerts" workflow to the "Notifications" collection

Move the "IT Alerts" workflow to the "Notifications" collection

Remove the Slack notification step from the Offboarding workflow

Remove the Slack notification step from the Offboarding workflow

***

## Validate workflows

Before turning on a workflow, ask Ravenna Assistant to check it for common problems like missing triggers, disconnected steps, or invalid references between steps.

**Example prompts:**

Check the New Hire Onboarding workflow for issues

Check the New Hire Onboarding workflow for issues

Is the IT Alerts workflow ready to turn on?

Is the IT Alerts workflow ready to turn on?

***

## Troubleshoot workflow runs

When a workflow run fails or does something unexpected, Ravenna Assistant can pull up the full run history, show you which steps succeeded, which failed, and what the error was.

**Example prompts:**

Why did the last run of the Onboarding workflow fail?

Why did the last run of the Onboarding workflow fail?

Show me recent runs for the "IT Alerts" workflow

Show me recent runs for the "IT Alerts" workflow

***

## Tips

* **Start simple.** If you are new to workflows, begin with a single trigger and one or two steps. You can always ask Ravenna Assistant to add more steps later.
* **Describe the complete workflow in one message** when possible. Ravenna Assistant handles triggers, branches, and step configuration all at once, which works better than adding pieces one at a time.
* **Open Ravenna Assistant from the workflow page** to give it automatic context about the workflow you are editing or troubleshooting.
* **Validate before publishing.** Ask Ravenna Assistant to check for issues before opening the workflow editor to publish it.
* **Ask what actions are available.** If you are not sure what steps you can add, ask "What workflow actions are available?" and Ravenna Assistant lists them, including available integrations.

Learn more about [configuring your workspace](https://docs.ravenna.ai/documentation/ravenna-assistant/configure-workspace.md), [workflows](https://docs.ravenna.ai/documentation/workflows/overview.md), [building workflows](https://docs.ravenna.ai/documentation/workflows/publish.md), and [workflow collections](https://docs.ravenna.ai/documentation/workflows/collections.md)


## Related topics

- [What is Ravenna?](https://docs.ravenna.ai/documentation/get-started/overview.md)
- [March 2026](https://docs.ravenna.ai/changelog/2026/march.md)
- [Ravenna Assistant](https://docs.ravenna.ai/documentation/ravenna-assistant/overview.md)
- [Tags](https://docs.ravenna.ai/documentation/service-desk/structure/tags.md)
- [Categories](https://docs.ravenna.ai/documentation/service-desk/structure/categories.md)


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