Looking for a quick introduction to building and managing Workflows? Check out the Cortex Academy course on Workflows.
Prerequisites
- You must have the
Edit Workflowspermission. - If you want to manage Workflows in the Cortex UI, ensure that GitOps editing is disabled in settings:
- From the main sidebar, click your avatar in the bottom-left corner.
- Click Settings.
- From the Settings menu, locate the Workspace section, then click GitOps.
- Select the Workflows tab.
- Ensure that Enable GitOps for Workflows editing is toggled off.
Creating a Workflow
You can choose to create a Workflow from a template or you can choose to create one from scratch.- From the main sidebar, select Workflows.
- In the upper-right corner, click Create Workflow. The Create Workflow page opens.
-
Choose whether to start with a template or from scratch:
- Blank Workflow (Start from scratch) - Use this option for a blank canvas with no predefined blocks.
- Template - Use a template when your task matches one of the predefined options. Each tile displays the requirements for secrets you must define before using the template; be sure to follow the requirements before you proceed. Click Use in the bottom-right of a template’s tile to select that template.
Expand to see the list of templates
- Creating an AWS S3 bucket
- Creating an AWS EC2 instance
- Creating an Azure function
- Triggering Humanitec pipeline with callback
- Dev onboarding: User access
- Requesting access to GitHub Copilot
- Creating a ServiceNow incident
- Creating a work item
- Creating a Cortex domain
- Creating a Cortex service
- Creating a Cortex team
- Deleting a Cortex entity
- Retrieving Cortex entity details
- Updating entity description
- Linking SOC2 documents to an entity
- Updating a JSON file in GitHub
- In the Create workflow window, enter a Workflow name.
-
Optionally, to add the Workflow to a folder, select the Add to folder checkbox.
The Add to folder checkbox only appears if your workspace has at least one Workflow folder.
-
Click Create.
If you selected Add to folder, choose where to add the Workflow:
- Existing folder - Select this option to add the Workflow to a folder that already exists in your workspace.
- New folder - Select this option to create a new folder. Enter the following:
- Folder name - The name of the folder (required).
- Description - A brief overview of the folder.
- Parent folder - The folder that contains the new folder.
- Display icon - The icon that represents the folder.
- Click Add to folder.