API Developer Resource 💡
For API documentation and resources to extend workflow automation, visit the Drata Developer page.
Overview of Workflows
Workflows in Drata allow Admins and Workspace Managers to automate routine compliance operations triggered by specific events. Instead of relying on manual follow-ups, you can define the steps, such as creating tasks, sending notifications, or triggering webhooks, that run automatically when a condition is met.
Workflows Lifecycle Overview
Workflows help automate compliance processes from trigger to resolution. Each workflow has three core components:
Component | Purpose | What You Do |
Start | Define the workflow scope | Choose which controls, risks, evidence or personnel it applies to |
Trigger | Define when it should run | Select the event that initiates the workflow |
Steps | Define what should happen | Add and configure task, notification, or webhook |
Note: Steps in a workflow run in parallel. If one step fails, the others still run. Drata automatically retries failed steps up to three times.
Prerequisite
Before creating a workflow, ensure that:
You have the Admin or Workspace Manager role.
You can access Settings > Workflows.
Before you configure your workflow:
Know which controls, risks, evidence, or personnel the workflow should apply to.
Know which event(s) you want to monitor (for example, evidence linked, treatment option changed, personnel status changed, or artifact uploaded).
You may also need to:
Identify the Slack channel or Teams group you want to notify.
Prepare any webhook URLs needed to send data from Drata to external applications.
Create a New Workflow
Workflows in Drata let you automate actions such as creating tasks, sending notifications, or triggering webhooks when specific events occur. You can build workflows based on events related to controls, risks, evidence or personnel.
You can create, name, and choose the type of object that will trigger your workflow.
Go to Settings > Workflows.
Select Create Workflow.
In the setup modal:
Enter a name for the workflow
Choose a target object type: Control, Risk, Evidence or Personnel
If you select Control or Evidence, also choose the workspace this workflow will run in
After completing this step, you’ll be redirected to a page where you can complete the rest of your workflow. The following sections showcase what the trigger and action options are for each object.
Trigger events and actions
The table provides high-level descriptions of available triggers and actions. Each workflow allows one start and trigger, but you can add multiple actions. To learn more about each workflow type, refer to the help articles linked in the table.
Objects | Description of Triggers |
Control
Learn how to set up control workflows. |
|
Risk
Learn how to set up risk workflows. |
|
Evidence
Learn how to set up evidence workflows. |
|
Personnel
Learn how to set up personnel workflows. |
|
Available Actions
Create task
Only available for Controls and Risks
Send email
Send Slack message
Send Microsoft Teams message
Note: Microsoft Teams direct messages are not supported.
Send webhook.
Note: Drata uses Svix to send our webhooks.
Review and Publish
You can publish your workflow to activate it, or save it as a draft to complete later. To create a similar workflow in the future, you can duplicate an existing workflow and reuse its configuration.
